freebsd-src/sys/arm64
Andrew Turner 271e669ed5 arm64: Teach bus_dma on arm64 about NUMA
When allocating memory we should try to allocate from the NUMA node
closest to the device to reduce cross domain memory traffic. Teach the
arm64 bus_dma code to do this.

While here use mallocarray to guard against an unlikely integer
overflow.

Reviewed by:	markj
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D42187
2023-10-23 11:45:22 +01:00
..
acpica sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
arm64 arm64: Teach bus_dma on arm64 about NUMA 2023-10-23 11:45:22 +01:00
broadcom IfAPI: Retire if_etherbpfmtap() and if_bpfmtap() 2023-08-25 12:50:14 -04:00
cavium sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
conf Add a COMPAT_FREEBSD14 kernel option 2023-10-10 11:48:22 +02:00
coresight sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
freescale/imx sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
include arm64: Add PAC instruction macros 2023-10-20 17:01:05 +01:00
intel sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
iommu sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
linux linux(4): Drop the outdated comment, nosys is fine since 39024a89 2023-10-10 12:20:51 +03:00
nvidia/tegra210 sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
qoriq sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
qualcomm sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
rockchip dwc: Move every sub drivers to dev/dwc 2023-10-05 17:34:38 +02:00