diff options
| author | Anshuman Khandual <[email protected]> | 2023-08-29 19:24:04 +0530 |
|---|---|---|
| committer | Suzuki K Poulose <[email protected]> | 2023-11-16 11:34:55 +0000 |
| commit | 4277f035d227e829133df284be7e35b7236a5b0f (patch) | |
| tree | acaff8014d582551f5628b0711bca98996c8a795 /tools/perf/scripts/python/netdev-times.py | |
| parent | 182d44f9ce2d44a554432139c2d8026faddbe635 (diff) | |
coresight: trbe: Add a representative coresight_platform_data for TRBE
TRBE coresight devices do not need regular connections information, as the
paths get built between all percpu source and their respective percpu sink
devices. Please refer 'commit 2cd87a7b293d ("coresight: core: Add support
for dedicated percpu sinks")' which added support for percpu sink devices.
coresight_register() expect device connections via the platform_data. TRBE
devices do not have any graph connections and thus is empty. With upcoming
ACPI support for TRBE, we do not get a real acpi_device and thus
coresight_get_platform_dat() will end up in failures. Hence this allocates
a zeroed coresight_platform_data structure and assigns that back into the
device.
Cc: Suzuki K Poulose <[email protected]>
Cc: Mike Leach <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Anshuman Khandual <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions