freebsd-src/sys/arm64
Andrew Turner 9d40492efa arm64: Check DMAP address is valid in PHYS_IN_DMAP
When checking if a physical address is in the DMAP region we assume
all physical addresses between DMAP_MIN_PHYSADDR and DMAP_MAX_PHYSADDR
are able to be accesses through the DMAP. It may be the case that
there is device memory in this range that shouldn't be accessed through
the DMAP mappings.

Add a check to PHYS_IN_DMAP that the translated virtual address is a
valid kernel address. To support code that already checks the address
is valid add PHYS_IN_DMAP_RANGE.

PR:		278233
Reviewed by:	alc, markj
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D44677
2024-04-24 18:17:19 +00:00
..
acpica acpica: Fix build with ACPICA 20230331 and later 2024-01-31 13:41:29 -05:00
arm64 arm64: Check DMAP address is valid in PHYS_IN_DMAP 2024-04-24 18:17:19 +00: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 sys/*/conf: do not use "../../conf/" when including std.* 2024-04-23 15:13:31 -06: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: Check DMAP address is valid in PHYS_IN_DMAP 2024-04-24 18:17:19 +00:00
intel Intel FPGA: Support programming larger bitfiles. 2024-01-09 14:18:53 +00:00
iommu sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
linux sysproto.h: sys/acl.h -> sys/types.h 2024-04-15 21:35:41 +01: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 sys/arm64/rockchip/rk_gpio.c: remove an extra semicolon 2024-02-02 18:35:01 -07:00
vmm arm64/vmm: Ensure the tlbi has completed 2024-04-24 18:17:19 +00:00