Skip to content

ARM: add module autoloading support for crypto modules

Russell King - ARM Linux linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest0 of 5 patches 0 repliesNew

Patches in v2 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] ARM: add module autoloading support for crypto modules
Quoted 11 lines · Ard Biesheuvel
Quoted 9 lines · Russell King - ARM Linux
Quoted 5 lines · Ard Biesheuvel

This series wires up the crypto modules that use the ARM 32-bit versions of the ARMv8 Crypto Extensions to udev autoloading, by exposing the HWCAP2 feature bits via the CPU modalias. This is very similar to the arm64 implementation, with the notable exception that ARM has its CPU feature definitions split across HWCAP and HWCAP2.

Note that Aarch64 has:

Quoted 7 lines
Quoted 4 lines

MODALIAS=cpu:type:aarch64:feature:,0000,0001,0002,0003,0004,0005,0006,0007

which looks weird with the first numeric entry starting with a ','.

IIRC this is deliberate, since the udev code matches the feature field for *nnnn*, which is what the module alias exposes.

I noticed, feature:*0000* matches both "feature:0000" and "feature:,0000".

Quoted 2 lines

Yes, I am aware of that. But there aren't /that/ many optional features that lend themselves for module autoloading.

Yes. Once we've exhausted the HWCAP2 space, we'll either have to add HWCAP3 or finish off using the unused 11 in the HWCAP space.

Signature · 3 lines
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.