freebsd-nq/sys
Mitchell Horne 752eb6a995 arm64: export new HWCAP features
Expose some of the new HWCAP features added in r65304. This includes the
addition of elf_hwcap2 into the sysvec, and a separate function to parse
for those features.

This only exposes features which require no further configuration, e.g.
indicating the presence of certain instructions. Larger features (SVE)
will not be advertised until we actually support them. The exact list of
features/extensions this patch exposes is:
  - ARMv8.0-DGH
  - ARMv8.0-SB
  - ARMv8.2-BF16
  - ARMv8.2-DCCVADP
  - ARMv8.2-I8MM
  - ARMv8.4-LRCPC
  - ARMv8.5-CondM
  - ARMv8.5-FRINT
  - ARMv8.5-RNG
  - PSTATE.SSBS

While here, annotate elf_hwcap and elf_hwcap2 as __read_frequently, and
move the declarations to the machine/md_var.h header.

Submitted by:	mikael@ (D22314 portion)
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D26031
Differential Revision:	https://reviews.freebsd.org/D22314
2020-09-08 15:36:38 +00:00
..
amd64 Include the psind in data returned by mincore(2). 2020-09-02 18:16:43 +00:00
arm Allwinner USB DRD support (musb_otg) 2020-09-07 06:39:00 +00:00
arm64 arm64: export new HWCAP features 2020-09-08 15:36:38 +00:00
bsm bsm: add AUE_CLOSERANGE 2020-04-24 01:27:25 +00:00
cam mmc_da: universally use uint8_t for the partition index 2020-09-08 06:19:23 +00:00
cddl Tighten frame pointer checking in DTrace's amd64 stack unwinder. 2020-09-01 15:15:44 +00:00
compat Add emulation support for the Linux kcov(4) ioctl API. 2020-09-04 00:12:28 +00:00
conf RISC-V: enable MK_FORMAT_EXTENSIONS 2020-09-08 13:24:44 +00:00
contrib ZFS: MFV 2.0-rc1-gfd20a8 2020-09-04 22:25:14 +00:00
crypto padlock(4): fix instapanics with geli authentication 2020-09-06 19:25:31 +00:00
ddb ddb: clean up empty lines in .c and .h files 2020-09-01 22:14:30 +00:00
dev RISC-V: fix some mismatched format specifiers 2020-09-08 13:21:13 +00:00
dts Remove licenses 2020-06-04 17:20:58 +00:00
fs tmpfs: drop spurious cache_purge in tmpfs_reclaim 2020-09-04 19:30:15 +00:00
gdb gdb(4): Support empty qSupported queries 2020-08-18 20:59:10 +00:00
geom geom: clean up empty lines in .c and .h files 2020-09-01 22:14:09 +00:00
gnu Import DTS files for arm, arm64, riscv from Linux 5.8 2020-08-04 19:44:43 +00:00
i386 Include the psind in data returned by mincore(2). 2020-09-02 18:16:43 +00:00
isa
kern imgact_elf.c: unify check for phdr fitting into the first page. 2020-09-07 21:37:16 +00:00
kgssapi kgssapi: clean up empty lines in .c and .h files 2020-09-01 22:15:02 +00:00
libkern libkern: clean up empty lines in .c and .h files 2020-09-01 21:25:23 +00:00
mips Add the MEM_EXTRACT_PADDR ioctl to /dev/mem. 2020-09-02 18:12:47 +00:00
modules Stop setting DEBUG_FLAGS in the zfs.ko Makefile. 2020-09-04 18:55:03 +00:00
net net: mitigate vnet / epair cleanup races 2020-09-08 14:54:10 +00:00
net80211 net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
netgraph ng_ether: Enter NET_EPOCH where required 2020-09-02 11:49:22 +00:00
netinet bbr: remove unused static function 2020-09-05 00:20:32 +00:00
netinet6 net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
netipsec net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
netpfil net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
netsmb net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
nfs nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsclient nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsserver nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nlm nlm: clean up empty lines in .c and .h files 2020-09-01 22:14:52 +00:00
ofed infiniband: Appease Coverty 2020-08-31 16:17:28 +00:00
opencrypto Name the on-stack union of compat thunks. 2020-08-26 22:36:08 +00:00
powerpc [PowerPC] Implement VDSO timebase access on powerpc* 2020-09-08 03:00:31 +00:00
riscv RISC-V: fix some mismatched format specifiers 2020-09-08 13:21:13 +00:00
rpc Fix a potential memory leak in the NFS over TLS handling code. 2020-09-05 00:50:52 +00:00
security mac_framework.h: fix build with DEBUG_VFS_LOCKS and !MAC 2020-09-03 20:30:52 +00:00
sys arm64: fix incorrect HWCAP definitions 2020-09-08 15:08:20 +00:00
teken
tests Add small tool to invoke kernel test framework tests. 2020-09-02 09:20:40 +00:00
tools makesyscalls.lua: improve syscall ordering validation 2020-08-04 21:49:13 +00:00
ufs ufs: clean up empty lines in .c and .h files 2020-09-01 21:23:00 +00:00
vm vm_object_split(): Handle orig_object type changes. 2020-09-07 23:28:33 +00:00
x86 x86: clean up empty lines in .c and .h files 2020-09-01 21:23:59 +00:00
xdr xdr: clean up empty lines in .c and .h files 2020-09-01 22:13:28 +00:00
xen xen: clean up empty lines in .c and .h files 2020-09-01 21:21:55 +00:00
Makefile