freebsd-dev/sys/conf
Kyle Evans 89c52f9d59 arm64: add KASAN support
This entails:
- Marking some obvious candidates for __nosanitizeaddress
- Similar trap frame markings as amd64, for similar reasons
- Shadow map implementation

The shadow map implementation is roughly similar to what was done on
amd64, with some exceptions.  Attempting to use available space at
preinit_map_va + PMAP_PREINIT_MAPPING_SIZE (up to the end of that range,
as depicted in the physmap) results in odd failures, so we instead
search the physmap for free regions that we can carve out, fragmenting
the shadow map as necessary to try and fit as much as we need for the
initial kernel map.  pmap_bootstrap_san() is thus after
pmap_bootstrap(), which still included some technically reserved areas
of the memory map that needed to be included in the DMAP.

The odd failure noted above may be a bug, but I haven't investigated it
all that much.

Initial work by mhorne with additional fixes from kevans and markj.

Reviewed by:	andrew, markj
Sponsored by:	Juniper Networks, Inc.
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D36701
2023-03-23 16:34:33 -05:00
..
config.mk config.mk: All options in DEFAULTS are now defined in opt_global.h 2022-10-24 12:13:04 -06:00
dtb.build.mk dtb: Be much less verbose in the building of dtb 2022-10-29 10:13:54 -06:00
dtb.mk
files ng_atmllc: remove 2023-03-09 18:04:21 +00:00
files.amd64 superio,ftgpio: Add support for Fintek F81865 GPIO 2023-02-28 10:17:53 -07:00
files.arm arm: Rename hdmi_if.m to crtc_if.m 2023-03-17 13:34:57 +01:00
files.arm64 arm64: add KASAN support 2023-03-23 16:34:33 -05:00
files.i386 wdatwd: Add support for ACPI WDAT based watchdog timer. 2023-01-04 00:36:24 +09:00
files.powerpc ice(4): Update to 1.37.7-k 2023-02-13 17:29:44 -08:00
files.riscv Import an optimized str{n}cmp on arm64 2022-09-08 14:23:20 +01:00
files.x86 abstract out the vm detection via smbios.. 2023-03-02 16:54:21 -08:00
kern.mk sys: Stop enabling -Wnested-externs. 2023-03-22 12:35:09 -07:00
kern.opts.mk powerpc: enable ZFS on 32 bit powerpc/powerpcspe 2023-03-12 03:20:11 -03:00
kern.post.mk kern.post.mk we need .MAKE.DEPENDFILE for DIRDEPS_BUILD 2023-02-05 14:50:31 -08:00
kern.pre.mk arm64: add KASAN support 2023-03-23 16:34:33 -05:00
kmod_syms_prefix.awk
kmod_syms.awk
kmod.mk sys: Retire OPENZFS_CWARNFLAGS now that it is empty. 2023-03-22 12:35:30 -07:00
kmod.opts.mk
ldscript.amd64
ldscript.arm
ldscript.arm64
ldscript.i386
ldscript.kmod.amd64
ldscript.kmod.i386
ldscript.powerpc
ldscript.powerpc64
ldscript.powerpc64le
ldscript.powerpcspe
ldscript.riscv
Makefile.amd64 Clarify DTR_ENABLED make variable 2023-01-12 11:03:49 -04:00
Makefile.arm
Makefile.arm64 Clarify DTR_ENABLED make variable 2023-01-12 11:03:49 -04:00
Makefile.i386
Makefile.powerpc Stop adding -Wredundant-decls to CWARNFLAGS. 2022-02-07 12:47:51 -08:00
Makefile.riscv riscv: always include frame pointer 2023-01-12 11:04:24 -04:00
newvers.sh newvers.sh: Don't use return to exit. 2022-06-14 10:51:39 -07:00
NOTES ng_atmllc: remove 2023-03-09 18:04:21 +00:00
options Move access to tcp's t_logstate into inline functions and provide new tracepoint and bbpoint capabilities. 2023-03-16 11:43:16 -04:00
options.amd64 x86: Add MPTABLE_LINUX_BUG_COMPAT option 2022-10-17 23:02:22 -07:00
options.arm arm: Remove useless armv6/armv7 options 2022-10-20 10:48:31 -06:00
options.arm64 Add Rockchip RK3568 SoC 2022-12-20 03:01:41 +00:00
options.i386 x86: Add MPTABLE_LINUX_BUG_COMPAT option 2022-10-17 23:02:22 -07:00
options.powerpc
options.riscv conf: Document why we have ARM64 and RISCV options 2022-10-20 10:48:31 -06:00
std.nodebug Exclude DEBUG_VFS_LOCKS from non-debug kernel configs 2022-02-02 19:27:32 +02:00
sysent.mk
systags.sh
vdso_amd64_ia32.ldscript vdso linker scripts: explicitly specify output arch and target 2022-02-12 00:32:23 +02:00
vdso_amd64.ldscript vdso linker scripts: explicitly specify output arch and target 2022-02-12 00:32:23 +02:00
WITHOUT_SOURCELESS
WITHOUT_SOURCELESS_HOST
WITHOUT_SOURCELESS_UCODE retire cp(4) driver 2022-12-13 15:24:52 -05:00