diff options
| author | Hans de Goede <johannes.goede@oss.qualcomm.com> | 2026-09-18 11:29:51 +0200 |
|---|---|---|
| committer | Sudeep Holla <sudeep.holla@kernel.org> | 2026-09-24 09:10:43 +0100 |
| commit | aac4e67d6eb93118cfa70c6562b5f9c81a7042ef (patch) | |
| tree | c960f4b78ec465821b48f63204daa7b52400ac7b /tools/perf/scripts/python/stackcollapse.py | |
| parent | d59717cfbe1e7c03e4ce1a6ab35c16661b1a55c0 (diff) | |
firmware: arm_scmi: Always create devices for standard protocols
Protocol driver module auto-loading requires the devices to already be
created for udev to get the necessary uevents based on which udev loads
modules. But SCMI devices are only created after their { protocol, name }
device-id has been added to the requested-devices list which is done from
scmi_driver_register().
This creates a circular dependency where device creation is waiting for
the driver to register and loading the module with the driver is waiting
for the device to be created.
Add a list of standard protocol device-ids and always create devices for
these without relying on these being added to the requested-devices list.
This removes the circular dependency, fixing module auto-loading.
Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Link: https://patch.msgid.link/20260918092951.5656-3-johannes.goede@oss.qualcomm.com
Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
