freebsd-dev/sys/powerpc
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
..
aim Fix assert in PowerPC pmaps after introduction of object busy. 2019-10-16 07:09:15 +00:00
amigaone powerpc: Add AmigaOne platform, a subclass of MPC85xx 2019-10-16 00:38:50 +00:00
booke Fix assert in PowerPC pmaps after introduction of object busy. 2019-10-16 07:09:15 +00:00
conf Fix bogusly declared WERRORs in kernel build 2019-08-25 19:39:31 +00:00
cpufreq powerpc: Fix cpufreq statement scoping 2019-03-08 03:59:53 +00:00
fpu powerpc: Apply r178139 from sparc64 to powerpc's fpu_sqrt 2019-04-03 03:54:30 +00:00
include Fix assert in PowerPC pmaps after introduction of object busy. 2019-10-16 07:09:15 +00:00
mambo sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
mikrotik - Allow different slicers for different flash types to be registered 2017-02-22 10:21:39 +00:00
mpc85xx powerpc/mpc85xx: Fix function type for fsl_pcib_error_intr() 2019-10-16 03:03:59 +00:00
ofw powerpc: Get 32-bit AIM building with secure-PLT 2019-08-05 01:37:18 +00:00
powermac Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
powernv powerpc64/powernv: Add opal NVRAM driver for PowerNV systems 2019-09-14 03:30:34 +00:00
powerpc Fix powerpc/powerpcspe builds 2019-10-14 19:06:17 +00:00
ps3 powerpc/pmap64: Make moea64 statistics optional 2019-07-25 03:47:27 +00:00
pseries [PPC64] Initial kernel minidump implementation 2019-10-14 13:04:04 +00:00
psim add snps IP uart support / genaralize UART 2018-08-19 21:10:21 +00:00