freebsd-dev/sys/powerpc/aim
Justin Hibbits 21e47be25e Set pcpu curpmap for powerpc64
Summary:
If an illegal instruction is encountered on a process running on a
powerpc64 kernel it would attempt to sync the cache before retrying the
instruction "just in case".  However, since curpmap is not set, when
moea64_sync_icache() attempts to lock the pmap, it's locking on a NULL pointer,
triggering a panic.  Fix this by adding a (assumed unnecessary) fallback to
curthread's pmap in moea64_sync_icache().

Reported by:	alfredo.junior_eldorado.org.br
Reviewed by:	luporl, alfredo.junior_eldorado.org.br
Differential Revision: https://reviews.freebsd.org/D20911
2019-07-13 00:19:57 +00:00
..
aim_machdep.c powerpc: Add POWER8NVL definition 2019-04-27 02:33:49 +00:00
locore32.S powerpc64: Add a trap stack area 2019-02-04 16:02:03 +00:00
locore64.S powerpc64: Add a trap stack area 2019-02-04 16:02:03 +00:00
locore.S Add a kdb show command to print arbitrary SPRs on PowerPC 2016-08-13 18:46:49 +00:00
mmu_oea64.c Set pcpu curpmap for powerpc64 2019-07-13 00:19:57 +00:00
mmu_oea64.h [PPC64] Support QEMU/KVM pseries without hugepages 2019-06-07 17:58:59 +00:00
mmu_oea.c Merge the vm_page hold and wire mechanisms. 2019-07-08 19:46:20 +00:00
moea64_if.m
moea64_native.c powerpc/moea: Fix moea64 native VA invalidation 2019-06-01 01:40:14 +00:00
mp_cpudep.c powerpc: Initialize the Hardware Interrupt Offset Register (HIOR) earlier for ppc970 2019-05-10 19:36:14 +00:00
slb.c [PPC] Add missing SLB allocation KASSERT 2019-07-08 13:01:54 +00:00
trap_subr32.S powerpc: Add a couple missing isyncs 2019-04-24 02:51:58 +00:00
trap_subr64.S Fix PPC64 kernel build with clang8 + lld8 2019-05-22 15:56:41 +00:00