mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
target/ppc: Remove unnecessary POWERPC_MMU_V3 flag from mmu_model
The only place we test this flag is in conjunction with ppc64_use_proc_tbl(). That checks for the LPCR_UPRT bit, which we already ensure can't be set except on a machine with a v3 MMU (i.e. POWER9). Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Greg Kurz <groug@kaod.org>
This commit is contained in:
parent
26cd35b861
commit
ca79b3b7fd
2 changed files with 2 additions and 4 deletions
|
@ -761,7 +761,7 @@ int ppc_hash64_handle_mmu_fault(PowerPCCPU *cpu, vaddr eaddr,
|
|||
slb = slb_lookup(cpu, eaddr);
|
||||
if (!slb) {
|
||||
/* No entry found, check if in-memory segment tables are in use */
|
||||
if ((env->mmu_model & POWERPC_MMU_V3) && ppc64_use_proc_tbl(cpu)) {
|
||||
if (ppc64_use_proc_tbl(cpu)) {
|
||||
/* TODO - Unsupported */
|
||||
error_report("Segment Table Support Unimplemented");
|
||||
exit(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue