lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241209164957.1801886-1-cristian.marussi@arm.com>
Date: Mon,  9 Dec 2024 16:49:54 +0000
From: Cristian Marussi <cristian.marussi@....com>
To: linux-kernel@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org,
	arm-scmi@...r.kernel.org
Cc: sudeep.holla@....com,
	james.quinlan@...adcom.com,
	f.fainelli@...il.com,
	vincent.guittot@...aro.org,
	etienne.carriere@...com,
	peng.fan@....nxp.com,
	michal.simek@....com,
	quic_sibis@...cinc.com,
	dan.carpenter@...aro.org,
	johan+linaro@...nel.org,
	Cristian Marussi <cristian.marussi@....com>
Subject: [PATCH 0/3] Add SCMI Vendor module autoload support

Hi,

a tiny series to add the capability to automatically load the proper
vendor protocol module when an SCMI driver tries to use it; while proper
vendor protocol selection is already provided by the SCMI core, automatic
loading of vendor protocols was not.

Lookup is now based on module aliases following the pattern:

	scmi-protocol-0x<PROTO_ID_NN>-<VENDOR_ID>

In [2/2] proper aliases are added to existing i.MX Vendor protocols...
...could not find a better way to build the alias string automagically...
...any advice is welcome in these regards...and any feedback too !

In V2, an additional patch is added to simply add the proper/required
MODULE_DEVICE_TABLE to SCMI transport driver to enable autoloading also
for those.

Thanks,
Cristian

V1 --> V2
- added tags
- added Transport aliases patch via MODULE_DEVICE_TABLE

Cristian Marussi (3):
  firmware: arm_scmi: Support vendor protocol modules autoloading
  firmware: arm_scmi: Add module aliases to i.MX vendor protocols
  firmware: arm_scmi: Add aliases to transport modules

 drivers/firmware/arm_scmi/driver.c            | 56 +++++++++++++++----
 .../firmware/arm_scmi/transports/mailbox.c    |  1 +
 drivers/firmware/arm_scmi/transports/smc.c    |  1 +
 drivers/firmware/arm_scmi/transports/virtio.c |  1 +
 .../arm_scmi/vendors/imx/imx-sm-bbm.c         |  5 +-
 .../arm_scmi/vendors/imx/imx-sm-misc.c        |  5 +-
 include/linux/scmi_imx_protocol.h             |  9 +--
 7 files changed, 60 insertions(+), 18 deletions(-)

-- 
2.47.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ