]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - drivers/hwtracing/stm/core.c
stm class: Introduce framing protocol drivers
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 5 Oct 2018 12:42:54 +0000 (15:42 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Oct 2018 10:12:54 +0000 (12:12 +0200)
commitc7fd62bc69d0224877a49383e606f0fe52cba741
tree493d702a25c3993b827457fcbb5d254ea5693d97
parente967b8bdd462def829b1722ea2f0babdc9806bc2
stm class: Introduce framing protocol drivers

At the moment, the stm class applies a certain STP framing pattern to
the data as it is written to the underlying STM device. In order to
allow different framing patterns (aka protocols), this patch introduces
the concept of STP protocol drivers, defines data structures and APIs
for the protocol drivers to use.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Tested-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/stm/core.c
drivers/hwtracing/stm/policy.c
drivers/hwtracing/stm/stm.h