qemu-e2k/target/ppc
Nicholas Piggin 0e2a3ec368 target/ppc: Fix VRMA page size for ISA v3.0
Until v2.07s, the VRMA page size (L||LP) was encoded in LPCR[VRMASD].
In v3.0 that moved to the partition table PS field.

The powernv machine can now run KVM HPT guests on POWER9/10 CPUs with
this fix and the patch to add ASDR.

Fixes: 3367c62f52 ("target/ppc: Support for POWER9 native hash")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-ID: <20230730111842.39292-1-npiggin@gmail.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
2023-08-04 12:22:03 -03:00
..
translate target/ppc: Inline gen_icount_io_start() 2023-06-05 12:04:29 -07:00
arch_dump.c target: ppc: Use MSR_HVB bit to get the target endianness for memory dump 2023-07-07 04:46:12 -03:00
compat.c
cpu_init.c target/ppc: Restrict 'kvm_ppc.h' to sysemu in cpu_init.c 2023-07-07 04:49:14 -03:00
cpu-models.c target/ppc: Add POWER9 DD2.2 model 2023-05-28 13:25:11 -03:00
cpu-models.h target/ppc: Add POWER9 DD2.2 model 2023-05-28 13:25:11 -03:00
cpu-param.h target/ppc: Remove NB_MMU_MODES define 2023-03-13 06:44:37 -07:00
cpu-qom.h target/ppc: Define TYPE_HOST_POWERPC_CPU in cpu-qom.h 2023-07-07 04:49:14 -03:00
cpu.c ppc: spapr: cleanup cr get/set with helpers. 2023-05-05 12:34:22 -03:00
cpu.h target/ppc: Move CPU QOM definitions to cpu-qom.h 2023-07-07 04:49:14 -03:00
dfp_helper.c target/ppc: Fix warning with clang-15 2023-02-27 22:29:01 +01:00
excp_helper.c target/ppc: Fix pending HDEC when entering PM state 2023-08-04 10:50:19 -03:00
fpu_helper.c target/ppc: Merge COMPUTE_CLASS and COMPUTE_FPRF 2023-05-28 07:13:54 -03:00
gdbstub.c target/ppc: gdbstub init spr gdb_id for all CPUs 2023-06-25 22:41:30 +02:00
helper_regs.c target: Widen pc/cs_base in cpu_get_tb_cpu_state 2023-06-26 17:32:59 +02:00
helper_regs.h target/ppc: Fix PMU hflags calculation 2023-06-10 10:19:24 -03:00
helper.h target/ppc: SMT support for the HID SPR 2023-07-07 04:47:49 -03:00
insn32.decode target/ppc: Fix fallback to MFSS for MFFS* instructions on pre 3.0 ISAs 2023-05-27 08:25:19 -03:00
insn64.decode
int_helper.c target/ppc: Use aesdec_ISB_ISR_AK_IMC 2023-07-08 07:30:17 +01:00
internal.h target/ppc: Machine check on invalid real address access on POWER9/10 2023-07-07 04:49:14 -03:00
Kconfig
kvm_ppc.h target/ppc: Remove pointless checks of CONFIG_USER_ONLY in 'kvm_ppc.h' 2023-07-07 04:49:14 -03:00
kvm-stub.c
kvm.c target/ppc: Fix timer register accessors when !KVM 2023-06-25 22:41:30 +02:00
machine.c target/ppc: Fix PMU hflags calculation 2023-06-10 10:19:24 -03:00
mem_helper.c target/ppc: Use tcg_gen_qemu_{ld,st}_i128 for LQARX, LQ, STQ 2023-05-23 16:51:19 -07:00
meson.build target/ppc: Only generate decodetree files when TCG is enabled 2023-07-07 04:18:26 -03:00
misc_helper.c target/ppc: SMT support for the HID SPR 2023-07-07 04:47:49 -03:00
mmu_common.c target/ppc: Restrict KVM-specific fields from ArchCPU 2023-06-28 14:27:59 +02:00
mmu_helper.c target/ppc: Move ppcemb_tlb_search() to mmu_common.c 2023-06-10 10:19:24 -03:00
mmu-book3s-v3.c
mmu-book3s-v3.h
mmu-books.h
mmu-hash32.c bulk: Rename TARGET_FMT_plx -> HWADDR_FMT_plx 2023-01-18 11:14:34 +01:00
mmu-hash32.h
mmu-hash64.c target/ppc: Fix VRMA page size for ISA v3.0 2023-08-04 12:22:03 -03:00
mmu-hash64.h target/ppc: Fix VRMA page size for ISA v3.0 2023-08-04 12:22:03 -03:00
mmu-radix64.c target/ppc: Add SRR1 prefix indication to interrupt handlers 2023-06-25 22:41:30 +02:00
mmu-radix64.h
power8-pmu-regs.c.inc target/ppc: Inline gen_icount_io_start() 2023-06-05 12:04:29 -07:00
power8-pmu.c target/ppc: PMU implement PERFM interrupts 2023-06-10 10:19:24 -03:00
power8-pmu.h target/ppc: Fix PMU hflags calculation 2023-06-10 10:19:24 -03:00
ppc-qmp-cmds.c ppc: spapr: cleanup cr get/set with helpers. 2023-05-05 12:34:22 -03:00
spr_common.h target/ppc: SMT support for the HID SPR 2023-07-07 04:47:49 -03:00
tcg-stub.c
timebase_helper.c target/ppc: Add TFMR SPR implementation with read and write helpers 2023-07-07 04:18:26 -03:00
trace-events
trace.h
translate.c target/ppc: Disable goto_tb with architectural singlestep 2023-07-31 12:19:13 -07:00
user_only_helper.c