stm class: Support devices that override software assigned masters
commit8e996a2874bbbed30e8dfe881453825fc6b7654e
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Tue, 3 May 2016 17:33:37 +0000 (3 11:33 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 May 2016 21:59:30 +0000 (3 14:59 -0700)
tree3dd50be8cc4462eba2b1a87dc682258cfd986043
parent6327a454a8ab0dcab24a647367d216c1b84020c6
stm class: Support devices that override software assigned masters

Some STM devices adjust software assigned master numbers depending on
the trace source and its runtime state and whatnot. This patch adds
a sysfs attribute to inform the trace-side software that master numbers
assigned to software sources will not match those in the STP stream,
so that, for example, master/channel allocation policy can be adjusted
accordingly.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-class-stm
drivers/hwtracing/stm/core.c
include/linux/stm.h