[PATCH 0/8] arm64: Expose compat Armv8 AArch32 features

Amit Daniel Kachhap amit.kachhap at arm.com
Tue Oct 25 22:58:05 PDT 2022


Hi All,

This series advertises the Armv8 AArch32 features in arm64 kernel in
compat mode. A similar series adding such features (fphp, asimdhp, dp,
fhm, bf16, i8mm, sb and ssbs) in arm kernel was posted earlier.

The entire series is divided feature wise as present in Armv8 manual.
The details of these features can be found in Armv8 architecture
reference manual available from
https://developer.arm.com/documentation/ddi0487/gb/?lang=en

All the changes have been tested on Arm FVP Base Revc model after adding
necessary model parameters. The different hwcaps added are visible in
/proc/cpuinfo in PER_LINUX32 personality mode.

The series is based on Linux 6.1-rc1.

Thanks,
Amit Daniel

Amit Daniel Kachhap (8):
  arm64: cpufeature: Fix the visibility of compat hwcaps
  arm64: Add compat hwcap FPHP and ASIMDHP
  arm64: Add compat hwcap ASIMDDP
  arm64: Add compat hwcap ASIMDFHM
  arm64: Add compat hwcap ASIMDBF16
  arm64: Add compat hwcap I8MM
  arm64: Add compat hwcap SB
  arm64: Add compat hwcap SSBS

 arch/arm64/include/asm/hwcap.h |  8 +++++
 arch/arm64/kernel/cpufeature.c | 56 ++++++++++++++++++++++++++--------
 arch/arm64/kernel/cpuinfo.c    |  8 +++++
 3 files changed, 60 insertions(+), 12 deletions(-)

-- 
2.17.1




More information about the linux-arm-kernel mailing list