]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drivers/coresight: Add UltraSoc System Memory Buffer driver
authorQi Liu <liuqi115@huawei.com>
Sat, 14 Jan 2023 10:13:01 +0000 (18:13 +0800)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 16 Jan 2023 10:16:15 +0000 (10:16 +0000)
commit06f5c2926aaa0fba7f99678da6ef77cbbbda1441
tree734848ae9a8aa09bb9b9126da28a280305b2a65a
parent479043b778337fe1245ef82609203e83354d3733
drivers/coresight: Add UltraSoc System Memory Buffer driver

Add driver for UltraSoc SMB(System Memory Buffer) device.
SMB provides a way to buffer messages from ETM, and store
these "CPU instructions trace" in system memory.
The SMB device is identifier as ACPI HID "HISI03A1". Device
system memory address resources are allocated using the _CRS
method and buffer modes is the circular buffer mode.

SMB is developed by UltraSoc technology, which is acquired by
Siemens, and we still use "UltraSoc" to name driver.

Signed-off-by: Qi Liu <liuqi115@huawei.com>
Signed-off-by: Junhao He <hejunhao3@huawei.com>
Tested-by: JunHao He <hejunhao3@huawei.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20230114101302.62320-2-hejunhao3@huawei.com
drivers/hwtracing/coresight/Kconfig
drivers/hwtracing/coresight/Makefile
drivers/hwtracing/coresight/ultrasoc-smb.c [new file with mode: 0644]
drivers/hwtracing/coresight/ultrasoc-smb.h [new file with mode: 0644]