freebsd-dev/sys/powerpc/booke
Konstantin Belousov 2a499f92ba Fix assert in PowerPC pmaps after introduction of object busy.
The VM_PAGE_OBJECT_BUSY_ASSERT() in pmap_enter() implementation should
be only asserted when the code is executed as result of pmap_enter(),
not when the same code is entered from e.g. pmap_enter_quick().  This
is relevant for all PowerPC pmap variants, because mmu_*_enter() is
used as the backend, and assert is located there.

Add a PowerPC private pmap_enter() PMAP_ENTER_QUICK_LOCKED flag to
indicate that the call is not from pmap_enter().  For non-quick-locked
calls, assert that the object is locked.

Reported and tested by:	bdragon
Reviewed by:	alc, bdragon, markj
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D22041
2019-10-16 07:09:15 +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 Fix assert in PowerPC pmaps after introduction of object busy. 2019-10-16 07:09:15 +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