summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@kernel.org>2026-10-05 10:53:10 +0100
committerSudeep Holla <sudeep.holla@kernel.org>2026-10-05 11:10:48 +0100
commit3b0c8dd5a8d57dd143f31e7a042ad5737663b312 (patch)
treecf7af57b233531224bae62c6068456505cc887c8 /tools/perf/scripts/python/exported-sql-viewer.py
parente637b774416775d09540070ceecf972c59070d90 (diff)
firmware: arm_scmi: Avoid protocol devices in exclusive raw mode
Since standard protocol devices are created without a driver request, rejecting SCMI driver registration is no longer enough to prevent them from appearing when raw mode is enabled without coexistence. When raw-mode debugfs setup succeeds, scmi_probe() returns success before protocol enumeration, so it does not normally create those devices. That early return is not sufficient: scmi_device_create() is exported and can be called later. Skip protocol-device creation in exclusive raw mode, including named non-transport requests. Keep named transport devices so raw mode can still set up its channels. Share the raw-mode condition and transport name check with the existing bus paths. Cc: Hans de Goede <johannes.goede@oss.qualcomm.com> Fixes: aac4e67d6eb9 ("firmware: arm_scmi: Always create devices for standard protocols") Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com> Tested-by: Peng Fan <peng.fan@nxp.com> #i.MX95 EVK Link: https://patch.msgid.link/20261005-scmi_bus_fixes-v3-1-d9bada32ed38@kernel.org Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions