freebsd-dev/sys/arm64
Andrew Turner ae16cbfdd2 gicv3: Use an offset to find the redist registers
To find the redistributor registers use the resource we have already
found and add an offset. This removed the need to create a
per-redistributor resource as it can now be a pointer to the resource
found in attach.

While here check the offset is within the bounds of the resource. Some
ACPI tables list each redistributor as a separate memory range, even
if they are physically contiguous. In this case we may not have each
resource virtually contiguous with neighbouring resources. This can
lead to a data abort when reading past the resource range.

Reviewed by:	kevans
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D40263
2023-05-31 15:10:41 +01:00
..
acpica spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
arm64 gicv3: Use an offset to find the redist registers 2023-05-31 15:10:41 +01:00
broadcom Mechanically convert genet(4) to IfAPI 2023-01-31 16:26:34 -05:00
cavium arm64: fix the LINT-ACPI build 2023-03-07 11:37:31 -06:00
conf Add vt_simplefb to the arm64 NOTES file 2023-04-26 14:11:36 +01:00
coresight arm64: coresight: fix the build without FDT 2022-09-29 14:33:33 -05:00
freescale/imx spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
include smp: Dynamically allocate the stoppcbs array 2023-05-25 18:09:55 -04:00
intel arm64 intel: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:45 -07:00
iommu arm64: Fix a typo in a source code comment 2023-05-12 10:45:46 +02:00
linux linux(4): Regen for linux_execve 2023-05-29 12:18:30 +03:00
nvidia/tegra210 spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
qoriq spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
qualcomm arm/arm64 qualcomm: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:45 -07:00
rockchip spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00