Skip to content

ARM: Expose Armv8 AArch32 features via hwcap

Amit Daniel Kachhap linux-arm-kernel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ARM: Define Armv8 registers in AArch32 statearch/arm/include/asm/cputype.h+4 -00 replies
2/8ARM: vfp: Add hwcap FPHP and ASIMDHP for FEAT_FP16arch/arm/include/asm/vfp.h arch/arm/include/uapi/asm/hwcap.h arch/arm/kernel/setup.c +1 more+14 -00 replies
3/8ARM: vfp: Add hwcap for FEAT_DotProdarch/arm/include/uapi/asm/hwcap.h arch/arm/kernel/setup.c arch/arm/vfp/vfpmodule.c+12 -00 replies
4/8ARM: vfp: Add hwcap for FEAT_FHMarch/arm/include/uapi/asm/hwcap.h arch/arm/kernel/setup.c arch/arm/vfp/vfpmodule.c+8 -00 replies
5/8ARM: vfp: Add hwcap for FEAT_AA32BF16arch/arm/include/uapi/asm/hwcap.h arch/arm/kernel/setup.c arch/arm/vfp/vfpmodule.c+8 -00 replies
6/8ARM: vfp: Add hwcap for FEAT_AA32I8MMarch/arm/include/uapi/asm/hwcap.h arch/arm/kernel/setup.c arch/arm/vfp/vfpmodule.c+8 -00 replies
7/8ARM: Add hwcap for Speculation Barrier(SB)arch/arm/include/uapi/asm/hwcap.h arch/arm/kernel/setup.c+9 -03 replies
8/8ARM: Add hwcap for Speculative Store Bypassing Safearch/arm/include/uapi/asm/hwcap.h arch/arm/kernel/setup.c+9 -00 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLinus Walleij
SeriesR-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] ARM: Expose Armv8 AArch32 features via hwcap

Hi All,

This series advertise availability of Armv8 features present in AArch32 state. These features are mostly Advanced SIMD(fphp, asimdhp, dp, fhm, bf16, i8mm) and few others(sb ssbs). These features are already exposed to user in arm64 kernel. A similar series advertising the features in arm64 kernel in compat mode will be sent separately.

Some other remaining features(SPECRES, ETS, nTLBPA, CSV3, LSMAOC) are not advertised in arm64 kernel so left here also.

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 series is based on Linux 6.1-rc1.

Thanks,
Amit Daniel

Amit Daniel Kachhap (8):
ARM: Define Armv8 registers in AArch32 state
ARM: vfp: Add hwcap FPHP and ASIMDHP for FEAT_FP16
ARM: vfp: Add hwcap for FEAT_DotProd
ARM: vfp: Add hwcap for FEAT_FHM
ARM: vfp: Add hwcap for FEAT_AA32BF16
ARM: vfp: Add hwcap for FEAT_AA32I8MM
ARM: Add hwcap for Speculation Barrier(SB)
ARM: Add hwcap for Speculative Store Bypassing Safe

 arch/arm/include/asm/cputype.h    |  4 ++++
 arch/arm/include/asm/vfp.h        |  6 ++++++
 arch/arm/include/uapi/asm/hwcap.h |  8 ++++++++
 arch/arm/kernel/setup.c           | 22 +++++++++++++++++++++
 arch/arm/vfp/vfpmodule.c          | 32 +++++++++++++++++++++++++++++++
 5 files changed, 72 insertions(+)
Signature · 7 lines
2.17.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel