summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@kernel.org>2026-09-15 18:03:38 +0100
committerSudeep Holla <sudeep.holla@kernel.org>2026-09-15 18:28:08 +0100
commit17b3cdaa7ab4e9c4fc9b1b6816e80d9ade153272 (patch)
tree71c6f90f777265f794324bbb35cfd4a851d09004 /tools/perf/scripts/python
parent16276ab69678a4dd0f81d45ee0b709e036b3afa4 (diff)
firmware: arm_scmi: Fall back to ACPI HID when "compatible" is absent
scmi_debugfs_common_setup() uses the "compatible" property to populate the debugfs transport type string. ACPI-described SCMI devices do not provide that DT property, so the string remains NULL and debugfs setup falls through the allocation failure path. Check the property lookup result and use the ACPI HID as the fallback transport type when an ACPI companion is present. All supported DT SCMI platforms are expected to provide "compatible", so the non-ACPI fallback is not needed for normal DT operation. Keep the explicit "unknown" fallback anyway to avoid passing NULL to kstrdup() if that assumption is ever violated. Link: https://patch.msgid.link/20260915-acpi_scmi_pcc-v5-4-298579e9f359@kernel.org Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions