freebsd-src/sys/dev/psci
Andrew Turner c2e0d56f5e arm64: Support BTI checking in most of the kernel
LLD has the -zbti-report=error argument to check if the BTI note is
present when linking. To allow for this to be used when linking the
kernel and modules:
 - Add the BTI note to the remaining assembly files
 - Mark ptrauth.c as protected by BTI
 - Disable -zbti-report for vmm hypervisor switching code as it's not
   used there.

The linux64 module doesn't build with the flag as it includes vdso code
that doesn't include the note.

Reviewed by:	imp, kib, emaste
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D45466
2024-06-05 09:23:40 +00:00
..
psci.c dev/psci: Check all compat strings 2024-05-10 09:29:24 +00:00
psci.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
smccc_arm.S sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
smccc_arm64.S arm64: Support BTI checking in most of the kernel 2024-06-05 09:23:40 +00:00
smccc.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
smccc.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00