freebsd-dev/sys/powerpc/include
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
..
_align.h
_bus.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
_inttypes.h
_limits.h
_stdint.h
_types.h
altivec.h
asm.h powerpc: Use IFUNCs for copyin/copyout/etc 2020-06-06 03:09:12 +00:00
atomic.h [PowerPC] Fix atomic_cmpset_masked(). 2020-05-26 19:03:45 +00:00
bat.h
bus_dma.h
bus.h
clock.h
counter.h Centralize __pcpu definitions. 2019-08-29 07:25:27 +00:00
cpu.h powerpc: Add a CPU-custom machine check handler 2020-05-10 19:00:57 +00:00
cpufunc.h powerpc64: Implement Radix MMU for POWER9 CPUs 2020-05-11 02:33:37 +00:00
db_machdep.h [PowerPC] kernel ifunc support for powerpc*, fix ppc64 relocation oddities. 2020-05-07 19:32:49 +00:00
dbdma.h
dump.h [PPC64] Initial kernel minidump implementation 2019-10-14 13:04:04 +00:00
efi.h
elf.h Fix the powerpc copyout fixup from r356113 2019-12-27 17:38:25 +00:00
endian.h
exec.h
float.h
floatingpoint.h
fpu.h
frame.h
gdb_machdep.h [PPC] Handle qOffsets packet 2019-12-16 13:17:39 +00:00
hid.h
ieee.h
ieeefp.h Fix floating point exception definitions for powerpcspe 2018-07-24 22:04:56 +00:00
ifunc.h [PowerPC] Define powerpc IFUNC kernel/userspace ABI. 2019-12-24 20:13:29 +00:00
in_cksum.h
intr_machdep.h Add NUMA support to powerpc 2019-04-13 04:03:18 +00:00
kdb.h Expose stopped cpu contexts to ddb on PowerPC 2018-06-25 22:05:33 +00:00
limits.h
machdep.h powerpc: Axe PPC4xx support. 2020-03-18 01:09:43 +00:00
md_var.h [PPC64] Initial kernel minidump implementation 2019-10-14 13:04:04 +00:00
memdev.h
metadata.h
minidump.h [PPC64] Initial kernel minidump implementation 2019-10-14 13:04:04 +00:00
mmuvar.h powerpc: Use IFUNCs for copyin/copyout/etc 2020-06-06 03:09:12 +00:00
ofw_machdep.h powerpc: Fix the NUMA domain list on powernv 2020-01-18 01:26:54 +00:00
openpicreg.h
openpicvar.h powerpc/mpc85xx: Add MSI support for Freescale PowerPC SoCs 2019-11-08 03:36:19 +00:00
param.h powerpc: Use IFUNCs for copyin/copyout/etc 2020-06-06 03:09:12 +00:00
pcb.h [PPC] Fix wrong comment 2020-01-17 14:43:58 +00:00
pcpu_aux.h Centralize __pcpu definitions. 2019-08-29 07:25:27 +00:00
pcpu.h powerpc: Add a (CPU/runtime features) flags set to pcpu struct 2020-06-06 02:40:52 +00:00
pio.h
platform.h powerpc: Fix the NUMA domain list on powernv 2020-01-18 01:26:54 +00:00
platformvar.h
pmap.h powerpc/mmu: Convert PowerPC pmap drivers to ifunc from kobj 2020-05-27 01:24:12 +00:00
pmc_mdep.h
proc.h powerpc/radix mmu: No need for delayed TLB invalidation 2020-05-20 02:33:41 +00:00
procctl.h amd64 KPTI: add control from procctl(2). 2019-03-16 11:44:33 +00:00
profile.h powerpc: Axe PPC4xx support. 2020-03-18 01:09:43 +00:00
psl.h
pte.h powerpc64: Implement Radix MMU for POWER9 CPUs 2020-05-11 02:33:37 +00:00
ptrace.h
reg.h Use uintptr_t instead of register_t * for the stack base. 2019-12-03 23:17:54 +00:00
reloc.h
resource.h powerpc/booke: Simplify the MPC85XX PCIe root complex driver 2019-10-24 03:51:33 +00:00
rtas.h
runq.h
sc_machdep.h
setjmp.h
sigframe.h
signal.h
slb.h powerpc/pmap: Move the SLB spill handlers to a better place 2019-06-08 03:07:08 +00:00
smp.h Add NUMA support to powerpc 2019-04-13 04:03:18 +00:00
spr.h [PowerPC] Fix booke64 qemu infinite loop in L2 cache enable 2020-06-19 18:40:39 +00:00
sr.h powerpc64: Implement Radix MMU for POWER9 CPUs 2020-05-11 02:33:37 +00:00
stack.h
stdarg.h
sysarch.h
tlb.h powerpc: Axe PPC4xx support. 2020-03-18 01:09:43 +00:00
trap.h D23057: [PowerPC] Fix offset calculations in bridge mode 2020-01-18 04:12:41 +00:00
ucontext.h
vdso.h
vm.h
vmparam.h powerpc64: Implement Radix MMU for POWER9 CPUs 2020-05-11 02:33:37 +00:00