Re: [PATCH 0/2] coresight: ultrasoc: Add support for System Memory Buffer device
From: Mathieu Poirier
Date: Thu Sep 02 2021 - 13:51:47 EST
On Mon, Jul 19, 2021 at 07:17:35PM +0800, Qi Liu wrote:
> This patchset add support for SMB(System Memory Buffer) device, SMB
> obtains CPU instructions from Coresight ETM device and stores these
> messages in system memory.
> SMB is developed by Ultrasoc technology, which is acquired by Siemens,
> and we still use "Ultrasoc" to name document and driver.
>
> Change since RFC:
> - Move ultrasoc driver to drivers/hwtracing/coresight.
> - Remove ultrasoc-axi-com.c, as AXI-COM doesn't need to be configured in
> basic tracing function.
> - Remove ultrasoc.c as SMB does not need to register with the ultrasoc core.
> - Address the comments from Mathieu and Suzuki.
> - Link: https://lists.linaro.org/pipermail/coresight/2021-June/006535.html
>
> Qi Liu (2):
> Documentation: tracing: Documentation for ultrasoc SMB drivers
> coresight: ultrasoc: Add System Memory Buffer driver
>
> .../trace/coresight/ultrasoc-trace.rst | 193 +++++
> MAINTAINERS | 7 +
> drivers/hwtracing/coresight/Kconfig | 3 +
> drivers/hwtracing/coresight/Makefile | 2 +
> drivers/hwtracing/coresight/ultrasoc/Kconfig | 12 +
> drivers/hwtracing/coresight/ultrasoc/Makefile | 6 +
> .../coresight/ultrasoc/ultrasoc-smb.c | 722 ++++++++++++++++++
> .../coresight/ultrasoc/ultrasoc-smb.h | 142 ++++
> 8 files changed, 1087 insertions(+)
I have started to review this set. Comments will follow shortly.
Thanks,
Mathieu
> create mode 100644 Documentation/trace/coresight/ultrasoc-trace.rst
> create mode 100644 drivers/hwtracing/coresight/ultrasoc/Kconfig
> create mode 100644 drivers/hwtracing/coresight/ultrasoc/Makefile
> create mode 100644 drivers/hwtracing/coresight/ultrasoc/ultrasoc-smb.c
> create mode 100644 drivers/hwtracing/coresight/ultrasoc/ultrasoc-smb.h
>
> --
> 2.17.1
>