NetBSD/sys/arch/evbarm
maxv cf570c9e4c Add support for Privileged Access Never (ARMv8.1-PAN).
PAN provides the same functionality as SMAP on x86: it forbids kernel
access to userland pages when PSTATE.PAN=1, and allows such accesses when
PSTATE.PAN=0.

We clear SCTLR_SPAN, to guarantee that PAN=1 each time the kernel is
entered. We catch PAN faults and panic right away without further
processing. In copyin, copyout, etc, we temporarily authorize access to
userland pages.

PAN is a very useful exploit mitigation. Reviewed by ryo@, thanks. Tested
on Qemu. Enabled by default.
2020-08-02 06:58:16 +00:00
..
adi_brh PMAP_DEBUG has been deleted on arm 2020-04-18 11:00:37 +00:00
altera
armadaxp
armadillo PMAP_DEBUG has been deleted on arm 2020-04-18 11:00:37 +00:00
bcm53xx Various updates and improvements to cpu start up on arm/aarch64 2020-02-15 08:16:10 +00:00
beagle Add support for KASAN on ARMv[67] 2020-07-10 12:25:08 +00:00
compile
conf Add support for Privileged Access Never (ARMv8.1-PAN). 2020-08-02 06:58:16 +00:00
cp3100
dev plcom_common_putc: do not wait for FIFO to train after writing data 2020-04-25 21:34:08 +00:00
devkit8000
evbarm
exynos
fdt Simplify 2020-07-10 12:14:58 +00:00
g42xxeb PMAP_DEBUG has been deleted on arm 2020-04-18 11:00:37 +00:00
gemini
gumstix PMAP_DEBUG has been deleted on arm 2020-04-18 11:00:37 +00:00
hawk
hdl_g PMAP_DEBUG has been deleted on arm 2020-04-18 11:00:37 +00:00
ifpga Overhaul the interface to pci_configure_bus(): 2020-07-07 03:38:45 +00:00
imx23_olinuxino
imx31 PMAP_DEBUG has been deleted on arm 2020-04-18 11:00:37 +00:00
include Don't remove the _LKM #ifdefs, but do s/_LKM/_MODULE/ 2020-07-27 10:37:58 +00:00
integrator <sys/extent.h> not needed here. 2020-06-17 06:48:06 +00:00
iq31244
iq80310 For struct timecounter, use C99 initializers. 2020-05-29 12:30:38 +00:00
iq80321 PMAP_DEBUG has been deleted on arm 2020-04-18 11:00:37 +00:00
ixdp425 PMAP_DEBUG has been deleted on arm 2020-04-18 11:00:37 +00:00
ixm1200 - <sys/extent.h> not needed here. 2020-06-17 06:59:45 +00:00
iyonix <sys/extent.h> not needed here. 2020-06-17 07:01:02 +00:00
kobo
lubbock PMAP_DEBUG has been deleted on arm 2020-04-18 11:00:37 +00:00
marvell
mini2440 PMAP_DEBUG has been deleted on arm 2020-04-18 11:00:37 +00:00
mmnet PMAP_DEBUG has been deleted on arm 2020-04-18 11:00:37 +00:00
mpcsa PMAP_DEBUG has been deleted on arm 2020-04-18 11:00:37 +00:00
n900
netwalker Use kernel API of PWM subsystems for i.MX PWM driver. 2020-05-20 05:10:42 +00:00
npwr_fc PMAP_DEBUG has been deleted on arm 2020-04-18 11:00:37 +00:00
nslu2 PMAP_DEBUG has been deleted on arm 2020-04-18 11:00:37 +00:00
osk5912
rpi G/C 2020-07-04 15:14:56 +00:00
smdk2xx0 <sys/extent.h> not needed here. 2020-06-17 07:01:02 +00:00
stand Allow a configuration to specify an arbitrary address where the 2020-02-12 19:55:32 +00:00
ti
tisdp24xx
tsarm GC toastersensors driver 2020-05-23 13:46:36 +00:00
viper PMAP_DEBUG has been deleted on arm 2020-04-18 11:00:37 +00:00
zynq Add support for KASAN on ARMv[67] 2020-07-10 12:25:08 +00:00
Makefile