freebsd-skq/sys/powerpc/booke
Brandon Bergren 8415f755f1 [PowerPC] Fix booke64 qemu infinite loop in L2 cache enable
Since qemu does not implement the L2 cache, we get stuck forever waiting
for a bit to be set when trying to invalidate it.

To prevent that, we should bail out if the L2 cache is missing.
One easy way to check this is L2CFG0 == 0 (since L2CSIZE always has at
least one bit set in a valid implementation)

(tested on qemu, rb800, and x5000)

Reviewed by:	jhibbits
Sponsored by:	Tag1 Consulting, Inc.
Differential Revision:	https://reviews.freebsd.org/D25225
2020-06-19 18:40:39 +00:00
..
booke_machdep.c powerpc/mmu: Convert PowerPC pmap drivers to ifunc from kobj 2020-05-27 01:24:12 +00:00
locore.S powerpc/booke: Fix 32-bit Book-E SMP AP bringup 2019-12-04 03:41:55 +00:00
machdep_e500.c [PowerPC] Fix booke64 qemu infinite loop in L2 cache enable 2020-06-19 18:40:39 +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_32.c powerpc/mmu: Convert PowerPC pmap drivers to ifunc from kobj 2020-05-27 01:24:12 +00:00
pmap_64.c powerpc/pmap: Fix pte_find_next() iterators for booke64 pmap 2020-06-10 23:03:35 +00:00
pmap.c powerpc: Use IFUNCs for copyin/copyout/etc 2020-06-06 03:09:12 +00:00
spe.c powerpc: Simplify _nodrop variants of FPU and vector register saves 2020-03-13 01:27:37 +00:00
trap_subr.S powerpc/booke: Change Book-E 64-bit pmap to 4-level table 2020-04-11 00:12:34 +00:00