def list_to_mask(values, base=0x0):
    for v in values:
        base |= (1 << v)
    return base
Converts the specified list of integer values into
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/utils/misc.py/list_to_mask