arm64: advertise availability of CRC and crypto instructions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | arm64: drop redundant macros from read_cpuid() | +0 | 1 reply | |
| 1/4 | arm64: drop redundant macros from read_cpuid() | +0 | 0 replies | |
| 2/4 | arm64: Add hwcaps for crypto and CRC32 extensions. | +0 | 0 replies | |
| 2/4 | arm64: Add hwcaps for crypto and CRC32 extensions. | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] arm64: advertise availability of CRC and crypto instructions
Quoted 15 lines · Ard Biesheuvel
This series is an expansion of the patch posted by Steve Capper about 6 weeks ago that allocates hwcaps bits for CRC and Crypto Extensions instructions so userland can discover whether the current CPU has any of those capabilities.
Patch #1 is a cleanup patch for
read_cpuid(), which allowed me to skip adding yet another #define toasm/cputype.h(forID_ISAR5_EL1)Patch #2 is Steve's original patch, but slightly tweaked because hwcaps bit 2 has been allocated for something else in the mean time.
Patch #3 allocates the capability bits in the
arch/armtree. This is necessary because 32-bit ARM binaries can execute both under ARM and under arm64 kernels, so there should be agreement about the meaning of feature bits, even if those features don't actually exist on systems covered by thearch/armtree.
Quoted 6 lines
@Russell: if this looks ok to you, could you please indicate whether you prefer to take this patch separately, or ack it and let it be merged as part of the series.
Patch #4 advertises the CRC and Crypto Extensions to 32-bit binaries running under an arm64 kernel.
The series look fine to me. I'm happy to take all the patches if Russell Acks the arm one (or it can send it via the patch system).
Signature · 1 line
Catalin