1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-01 08:27:59 +00:00
freebsd/sys/amd64
Mark Johnston 78cc000cba amd64: Increase sanitizers' static shadow memory reservation
Because KASAN shadows the kernel image itself (KMSAN currently does
not), a shadow mapping of the boot stack must be created very early
during boot.  pmap_san_enter() reserves a fixed number of pages for the
purpose of creating and mapping this shadow region.

After commit 789df254cc ("amd64: Use a larger boot stack"), it could
happen that this reservation is insufficient; this happens when
bootstack crosses a PAGE_SHIFT + KASAN_SHADOW_SCALE_SHIFT boundary.
Update the calculation to take into account the new size of the boot
stack.

Fixes:		789df254cc ("amd64: Use a larger boot stack")
Sponsored by:	The FreeBSD Foundation
2023-08-04 12:38:24 -04:00
..
acpica spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
amd64 amd64: Increase sanitizers' static shadow memory reservation 2023-08-04 12:38:24 -04:00
conf qlnxe: add driver to amd64 NOTES 2023-07-01 11:06:59 -06:00
ia32 spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
include amd64: Bump MAXCPU to 1024 (from 256) 2023-08-03 17:41:26 -04:00
linux linux(4): Regen for ioprio syscalls 2023-08-04 16:03:57 +03:00
linux32 linux(4): Regen for ioprio syscalls 2023-08-04 16:03:57 +03:00
pci spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
sgx sgx: Remove unused variable. 2022-04-07 17:01:28 -07:00
vmm vmm: don't leak locks exiting vmmdev_ioctl() 2023-07-12 09:16:40 -07:00
Makefile Bring the tags and links entries for amd64 up to date. 2021-09-27 20:04:51 -07:00