freebsd-src/sys/arm64
Alan Cox 5ee5c40402 arm64 pmap: Defer bti lookup
Defer the bti lookup until after page table page allocation is complete.
We sometimes release the pmap lock and sleep during page table page
allocation.  Consequently, the result of a bti lookup from before
page table page allocation could be stale when we finally create the
mapping based on it.

Modify pmap_bti_same() to update the prototype PTE at the same time as
checking the address range.  This eliminates the need for calling
pmap_pte_bti() in addition to pmap_bti_same().  pmap_bti_same() was
already doing most of the work of pmap_pte_bti().

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D45502
2024-06-08 02:26:55 -05:00
..
acpica acpica: Fix build with ACPICA 20230331 and later 2024-01-31 13:41:29 -05:00
arm64 arm64 pmap: Defer bti lookup 2024-06-08 02:26:55 -05:00
broadcom sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
cavium new-bus: Remove the 'rid' and 'type' arguments from BUS_RELEASE_RESOURCE 2024-03-13 15:05:54 -07:00
conf arm64: Return newline at the end of NOTES back 2024-05-22 15:20:40 +02:00
coresight sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
freescale/imx clk: Move clock code in dev/clk 2024-01-10 19:20:26 +01:00
include arm64/vmm: Add breakpoint and single-stepping support 2024-06-04 14:58:08 -04:00
intel Intel FPGA: Support programming larger bitfiles. 2024-01-09 14:18:53 +00:00
iommu libkern: add ilog2 macro 2024-06-03 11:37:55 -05:00
linux linux64: Fix the build on arm64 with bti checking 2024-06-05 09:23:40 +00:00
nvidia/tegra210 phy: Move phy code in dev/phy 2024-01-10 19:20:34 +01:00
qoriq arm64: Remove a double word in a source code comment 2024-04-20 14:06:53 +02:00
qualcomm sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
rockchip arm64/rockchip: Fix the build with GCC 2024-05-22 08:19:19 +00:00
vmm arm64: Support BTI checking in most of the kernel 2024-06-05 09:23:40 +00:00