qemu-patch-raspberry4/target/ppc
Benjamin Herrenschmidt 24b5e0a5ce target/ppc: Don't check UPRT in radix mode when in HV real mode
It appears that during kexec, we run for a while in hypervisor
real mode with LPCR:HR set and LPCR:UPRT clear, which trips
the assertion in ppc_radix64_handle_mmu_fault().

First this shouldn't be an assertion, it's a guest error.

Then we shouldn't be checking these things in hypervisor real
mode (or in virtual hypervisor guest real mode which is similar)
as the real HW won't use those LPCR bits in those cases anyway,
so technically it's ok to have this discrepancy.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190411080004.8690-2-clg@kaod.org>
[dwg: Fix for 32-bit builds]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2019-04-26 11:37:57 +10:00
..
translate target/ppc: Style fixes for translate/spe-impl.inc.c 2019-04-26 11:37:57 +10:00
arch_dump.c target/ppc: Add helper_mfvscr 2019-02-18 11:00:44 +11:00
compat.c target/ppc: Allow cpu compatiblity checks based on type, not instance 2018-06-21 21:22:53 +10:00
cpu-models.c target/ppc: Style fixes for ppc-models.[ch] 2019-04-26 10:41:24 +10:00
cpu-models.h target/ppc: Style fixes for ppc-models.[ch] 2019-04-26 10:41:24 +10:00
cpu-qom.h target/ppc: Implement large decrementer support for TCG 2019-03-12 12:07:49 +11:00
cpu.c target/ppc: support for 32-bit carry and overflow 2017-03-01 11:23:39 +11:00
cpu.h target/ppc: Style fixes for cpu.[ch] 2019-04-26 10:42:38 +10:00
dfp_helper.c target/ppc: Style fixes for dfp_helper.c 2019-04-26 10:42:38 +10:00
excp_helper.c target/ppc: Style fixes for excp_helper.c 2019-04-26 10:42:38 +10:00
fpu_helper.c target/ppc: Style fixes for fpu_helper.c 2019-04-26 10:42:38 +10:00
gdbstub.c target/ppc: Style fixes for gdbstub.c 2019-04-26 10:42:38 +10:00
helper.h target/ppc: Flush the TLB locally when the LPIDR is written 2019-02-26 09:21:25 +11:00
helper_regs.h target/ppc: Style fixes for helper_regs.h 2019-04-26 10:42:38 +10:00
int_helper.c target/ppc: Style fixes for int_helper.c 2019-04-26 10:42:38 +10:00
internal.h target/ppc: switch fpr/vsrl registers so all VSX registers are in host endian order 2019-03-12 14:33:04 +11:00
kvm-stub.c openpic: move KVM-specific declarations into separate openpic_kvm.h file 2018-03-06 13:16:29 +11:00
kvm.c target/ppc/kvm: Convert DPRINTF to traces 2019-04-26 11:37:57 +10:00
kvm_ppc.h target/ppc: Style fixes for kvm_ppc.h and kvm.c 2019-04-26 10:42:38 +10:00
machine.c target/ppc: Style fixes for machine.c 2019-04-26 10:42:38 +10:00
Makefile.objs build: remove CONFIG_LIBDECNUMBER 2017-10-16 18:03:52 +02:00
mem_helper.c target/ppc: Style fixes for mem_helper.c 2019-04-26 10:42:38 +10:00
mfrom_table.inc.c target/ppc: Style fixes for mfrom_table.inc.c & mfrom_table_gen.c 2019-04-26 10:42:38 +10:00
mfrom_table_gen.c target/ppc: Style fixes for mfrom_table.inc.c & mfrom_table_gen.c 2019-04-26 10:42:38 +10:00
misc_helper.c target/ppc: Style fixes for misc_helper.c 2019-04-26 10:42:38 +10:00
mmu-book3s-v3.c target/ppc: Support for POWER9 native hash 2019-02-26 09:21:25 +11:00
mmu-book3s-v3.h target/ppc: Support for POWER9 native hash 2019-02-26 09:21:25 +11:00
mmu-hash32.c target/ppc: Style fixes for mmu-hash32.[ch] 2019-04-26 10:42:38 +10:00
mmu-hash32.h target/ppc: Manage external HPT via virtual hypervisor 2017-03-01 11:23:39 +11:00
mmu-hash64.c target/ppc: Style fixes for mmu-hash64.[ch] 2019-04-26 10:42:38 +10:00
mmu-hash64.h target: Clean up how the dump_mmu() print 2019-04-18 22:18:59 +02:00
mmu-radix64.c target/ppc: Don't check UPRT in radix mode when in HV real mode 2019-04-26 11:37:57 +10:00
mmu-radix64.h target/ppc: Rename PATB/PATBE -> PATE 2019-02-26 09:21:25 +11:00
mmu_helper.c target/ppc: Style fixes for mmu_helper.c 2019-04-26 10:42:38 +10:00
monitor.c target/ppc: Style fixes for monitor.c 2019-04-26 10:43:23 +10:00
timebase_helper.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
trace-events target/ppc/kvm: Convert DPRINTF to traces 2019-04-26 11:37:57 +10:00
translate.c target/ppc: Style fixes for translate.c 2019-04-26 11:37:55 +10:00
translate_init.inc.c target/ppc: Style fixes for translate_init.inc.c 2019-04-26 10:43:23 +10:00
user_only_helper.c accel/tcg: add size paremeter in tlb_fill() 2018-01-25 16:02:24 +01:00