linux/drivers/hwtracing/stm
Alexander Shishkin f8560a9bc7 stm class: Use driver's packet callback return value
STM drivers provide a callback to generate/send individual STP packets;
it also tells the stm core how many bytes of payload it has consumed.
However, we would also need to use the negative space of this return
value to communicate errors that occur during the packet generation,
in which case the stm core will have to take appropriate action.

For now, we need to account for the possibility that the stm driver may
not support certain combinations of packet type/flags, in which case
it is expected to signal an error.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-20 14:09:14 -08:00
..
console.c stm class: stm_console: Add kernel-console-over-stm driver 2015-10-04 20:28:58 +01:00
core.c stm class: Use driver's packet callback return value 2016-02-20 14:09:14 -08:00
dummy_stm.c
Kconfig stm class: Select CONFIG_SRCU 2016-02-07 22:43:17 -08:00
Makefile stm class: stm_console: Add kernel-console-over-stm driver 2015-10-04 20:28:58 +01:00
policy.c stm class: Fix locking in unbinding policy path 2016-02-07 22:43:17 -08:00
stm.h stm class: Fix link list locking 2016-02-07 22:43:17 -08:00