intel_th: Add Memory Storage Unit driver
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Tue, 22 Sep 2015 12:47:18 +0000 (15:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 19:28:58 +0000 (20:28 +0100)
commitba82664c134ef7ab97808f09a3c5e894b0a4900d
treeba2e8cb6cd816dd2ec05a678c3c9b3688d73d66f
parentf04e449fc76e7bfd1b8ed11967ab092d05355b6b
intel_th: Add Memory Storage Unit driver

Memory Storage Unit (MSU) is a trace output device that collects trace
data to system memory. It consists of 2 independent Memory Storage
Controllers (MSCs).

This driver provides userspace interfaces to configure in-memory tracing
parameters, such as contiguous (high-order allocation) buffer or multiblock
(scatter list) buffer mode, wrapping (data overwrite) and number and sizes
of windows in multiblock mode. Userspace can read the buffers via mmap()ing
or read()ing of the corresponding device node.

Signed-off-by: Laurent Fert <laurent.fert@intel.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-bus-intel_th-devices-msc [new file with mode: 0644]
drivers/hwtracing/intel_th/Kconfig
drivers/hwtracing/intel_th/Makefile
drivers/hwtracing/intel_th/msu.c [new file with mode: 0644]
drivers/hwtracing/intel_th/msu.h [new file with mode: 0644]