opnsense-src/sys/arm
Hans Petter Selasky 78088c5714 busdma: Protect ARM busdma bounce page counters using the bounce page lock.
In bus_dmamap_unload() on ARM, the counters for free_bpages and reserved_bpages
appear to be vulnerable to unprotected read-modify-write operations that result
in accounting that looks like a page leak.

This was noticed on a 2GB quad core i.MX6 system that has more than one device
attached via FTDI based USB serial connection.

Submitted by:	John Hein <jcfyecrayz@liamekaens.com>
Differential Revision:	https://reviews.freebsd.org/D35553
PR:		264836
Sponsored by:	NVIDIA Networking

(cherry picked from commit 6c4b6f55f7)
2022-06-28 08:20:34 +02:00
..
allwinner aw_wdog: support Allwinner D1 watchdog 2022-05-16 10:34:04 -03:00
altera/socfpga arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
annapurna/alpine Remove the pre-ARMv6 and pre-INTRNG code. 2020-11-29 08:40:12 +00:00
arm busdma: Protect ARM busdma bounce page counters using the bounce page lock. 2022-06-28 08:20:34 +02:00
broadcom/bcm2835 Fix an indentation bug in the bcm pci driver 2022-06-07 15:20:19 +01:00
cloudabi32 Add infrastructure required for Linux coredump support 2022-05-12 15:12:59 -07:00
conf Add the extres pseudo devices to some kernels. 2022-05-17 14:15:44 -07:00
freescale vf_i2c: Make ext_resources non-optional 2022-05-16 13:45:38 +02:00
include Create sys/reg.h for the common code previously in machine/reg.h 2022-05-12 15:12:59 -07:00
linux linux(4): Regen for clone syscall. 2022-06-17 22:33:29 +03:00
mv mvebu_gpio: Fix settings of gpio pin direction. 2022-01-20 11:22:30 +01:00
nvidia tegra: Fix a typo in a source code comment 2022-06-10 14:30:59 +02:00
qemu arm: Add kern_clocksource.c directly in files.arm 2019-04-16 20:04:22 +00:00
rockchip Add support for RK3288 SoC. 2020-12-04 16:24:44 +00:00
ti am335x: Fix a typo in a source code comment 2022-06-10 14:26:26 +02:00
versatile Remove the pre-ARMv6 and pre-INTRNG code. 2020-11-29 08:40:12 +00:00
xilinx arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00