mbox series

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

Message ID 20221026055813.13484-1-amit.kachhap@arm.com (mailing list archive)
Headers show
Series arm64: Expose compat Armv8 AArch32 features | expand

Message

Amit Daniel Kachhap Oct. 26, 2022, 5:58 a.m. UTC
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(-)