coresight: etm4x: Improve usability of sysfs - CID and VMID masks.
authorMike Leach <mike.leach@linaro.org>
Mon, 4 Nov 2019 18:12:46 +0000 (11:12 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Nov 2019 20:57:55 +0000 (21:57 +0100)
commit3e12d3b01324a077a6313327d414a698584ef8c3
treec05bf6f056c513d36fa94518ef1a96eb6a28623e
parentc2431fed288a4a5771dc6470366c07fb42c691ef
coresight: etm4x: Improve usability of sysfs - CID and VMID masks.

Context ID and VM ID masks required 2 value inputs, even when the
second value is ignored as insufficient CID / VMID comparators are
implemented.

Permit a single value to be used if that is sufficient to cover all
implemented comparators.

Signed-off-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20191104181251.26732-10-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-etm4x-sysfs.c