Skip to content

arm64: Add AT_HWCAP3

Mark Brown linux-arm-kernel 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 0 repliesNew
  2. v24 patches 11 repliesSuperseded
  3. v14 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Expand comment on CPU_FEATURES_PER_HWCAP.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4arm64/cpufeature: Store elf_hwcaps as an array rather than unsigned longarch/arm64/include/asm/cpufeature.h arch/arm64/include/asm/hwcap.h arch/arm64/kernel/cpufeature.c+24 -80 replies
2/4elf: Allow architectures to provide AT_HWCAP3fs/binfmt_elf.c include/uapi/linux/auxvec.h+4 -00 replies
3/4arm64/cpufeature: Support AT_HWCAP3Documentation/arm64/elf_hwcaps.rst arch/arm64/include/asm/cpufeature.h arch/arm64/include/asm/hwcap.h +2 more+22 -80 replies
4/4arm64/hwcap: Support FEAT_EBF16Documentation/arm64/elf_hwcaps.rst arch/arm64/include/asm/hwcap.h arch/arm64/include/uapi/asm/hwcap.h +2 more+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/4] arm64: Add AT_HWCAP3

Currently for arm64 we expose hwcaps to userspace using the low 32 bits of AT_HWCAP and AT_HWCAP2. Due to the ever expanding capabilties of the architecture we have now allocated all the available bits in this scheme so we need to expand, either using the higher bits or adding a new AT_HWCAP3. Discussions with glibc developers suggested that AT_HWCAP3 would be cleaner for them so the series adopts that approach.

The final patch adds an initial value in AT_HWCAP3 reporting the presence of FEAT_EBF16, this will conflict with my series converting ID_AA64ISAR1_EL1 to be generated. I've got a version based on top of that which I can send if that's convenient.

v3:
- Expand comment on CPU_FEATURES_PER_HWCAP.
v2:
- Rebase onto v5.19-rc3.

Mark Brown (4):
arm64/cpufeature: Store elf_hwcaps as an array rather than unsigned
long
elf: Allow architectures to provide AT_HWCAP3 arm64/cpufeature: Support AT_HWCAP3
arm64/hwcap: Support FEAT_EBF16

 Documentation/arm64/elf_hwcaps.rst  | 10 +++++++---
 arch/arm64/include/asm/cpufeature.h |  9 ++++++++-
 arch/arm64/include/asm/hwcap.h      | 17 ++++++++++++-----
 arch/arm64/include/uapi/asm/hwcap.h |  5 +++++
 arch/arm64/kernel/cpufeature.c      | 28 +++++++++++++++++++++-------
 arch/arm64/kernel/cpuinfo.c         |  1 +
 fs/binfmt_elf.c                     |  3 +++
 include/uapi/linux/auxvec.h         |  1 +
 8 files changed, 58 insertions(+), 16 deletions(-)

base-commit: a111daf0c53ae91e71fd2bfe7497862d14132e3e

Signature · 7 lines
2.30.2


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