mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] firmware: arm_scmi: Ensure automatic module loading
@ 2026-06-16 18:09 Bjorn Andersson
  2026-06-16 18:09 ` [PATCH 1/2] module: add SCMI device table alias support Bjorn Andersson
  2026-06-16 18:09 ` [PATCH 2/2] firmware: arm_scmi: request modules for discovered protocols Bjorn Andersson
  0 siblings, 2 replies; 5+ messages in thread
From: Bjorn Andersson @ 2026-06-16 18:09 UTC (permalink / raw)
  To: Sudeep Holla, Cristian Marussi, Nathan Chancellor, Nicolas Schier
  Cc: arm-scmi, linux-arm-kernel, linux-kernel, linux-kbuild,
	Hans de Goede, Bjorn Andersson

SCMI drivers such as the Arm SCMI CPUfreq driver are allowed to built as
modules, but they are then not automatically loaded. Rework the SCMI
device table alias support to make modpost consume the information from
MODULE_DEVICE_TABLE(scmi, ...) and allow drivers to be loaded based on
this information, if known. Also add a protocol-based alias to also
trigger driver loading when only the SCMI protocol id is known.

Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
---
Bjorn Andersson (2):
      module: add SCMI device table alias support
      firmware: arm_scmi: request modules for discovered protocols

 drivers/firmware/arm_scmi/bus.c    | 19 +++++++++----------
 drivers/firmware/arm_scmi/driver.c |  2 ++
 include/linux/mod_devicetable.h    | 12 ++++++++++++
 include/linux/scmi_protocol.h      |  6 +-----
 scripts/mod/devicetable-offsets.c  |  4 ++++
 scripts/mod/file2alias.c           | 13 +++++++++++++
 6 files changed, 41 insertions(+), 15 deletions(-)
---
base-commit: 8d6dbbbe3ba62de0a63e962ee004afb848c8e3ac
change-id: 20260616-scmi-modalias-0f32421bd452

Best regards,
--  
Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-06-16 19:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-16 18:09 [PATCH 0/2] firmware: arm_scmi: Ensure automatic module loading Bjorn Andersson
2026-06-16 18:09 ` [PATCH 1/2] module: add SCMI device table alias support Bjorn Andersson
2026-06-16 19:49   ` Hans de Goede
2026-06-16 18:09 ` [PATCH 2/2] firmware: arm_scmi: request modules for discovered protocols Bjorn Andersson
2026-06-16 19:53   ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®