Put page tables in normal cachable memory on armv7. Check if the MMU walks
authorkettenis <kettenis@openbsd.org>
Sat, 6 Aug 2016 16:46:25 +0000 (16:46 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 6 Aug 2016 16:46:25 +0000 (16:46 +0000)
commit8ce639bc9535f3a1cfaece1f243e056192661943
treecc14d44678d42730a966891735650583ccad5309
parent7ef443e3059d46a546315969205de6f12a29c920
Put page tables in normal cachable memory on armv7.  Check if the MMU walks
the page tables coherently and also skip flushing modified ptes out of the
cache in that case.  Speeds up building a kernel with a factor of two on
Cortex-A9 (tested by me) and Cortex-A8 (tested by mglocker@).

ok patrick@
sys/arch/arm/arm/cpufunc_asm_armv7.S
sys/arch/arm/arm/pmap7.c
sys/arch/arm/include/armreg.h