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

Amit Daniel Kachhap amit.kachhap at arm.com
Tue Jan 10 21:36:59 PST 2023


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 and merged
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 v6.2-rc3.

Changes in V2:
* Dropped the patch "arm64: cpufeature: Fix the visibility of compat hwcaps"
  as it is merged.
* Rebased to 6.2-rc3.
* Few commit log modifications.

Thanks,
Amit Daniel

Amit Daniel Kachhap (7):
  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 | 24 ++++++++++++++++--------
 arch/arm64/kernel/cpuinfo.c    |  8 ++++++++
 3 files changed, 32 insertions(+), 8 deletions(-)

-- 
2.17.1




More information about the linux-arm-kernel mailing list