freebsd-dev/sys/powerpc/booke
Justin Hibbits ec17d5e06a powerpc/pmap: Tighten condition for removing tracked pages in Book-E pmap
There are cases where there's no vm_page_t structure for a given physical
address, such as the CCSR.  In this case, trying to obtain the
md.page_tracked struct member would lead to a NULL dereference, and panic.
Tighten this up by checking for kernel_pmap AND that the page structure
actually exists before dereferencing.  The flag can only be set when it's
tracked in the kernel pmap anyway.

MFC after:	3 weeks
2019-10-13 19:33:00 +00:00
..
booke_machdep.c powerpc/booke: Check for the metadata address by physical address 2018-12-03 04:47:28 +00:00
locore.S powerpc/booke64: Align initial stack setting to match that of aim64's 2019-09-28 03:33:07 +00:00
machdep_e500.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
machdep_ppc4xx.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
mp_cpudep.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
platform_bare.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
pmap.c powerpc/pmap: Tighten condition for removing tracked pages in Book-E pmap 2019-10-13 19:33:00 +00:00
spe.c powerpc/SPE: Enable SPV bit for EFSCFD instruction emulation 2019-07-20 18:22:01 +00:00
trap_subr.S powerpc: Unify pmap definitions between AIM and Book-E 2019-08-12 03:03:56 +00:00