]> git.proxmox.com Git - mirror_qemu.git/commit
target/ppc: Remove unnecessary POWERPC_MMU_V3 flag from mmu_model
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 23 Mar 2018 05:42:45 +0000 (16:42 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 27 Apr 2018 08:05:22 +0000 (18:05 +1000)
commitca79b3b7fd0757ceb6436d4407e26c8b511a4080
tree251f7cbc2ae394f090697669c23d09623a7d3368
parent26cd35b8613881c410d5226e6dc56e7bfb4b83d1
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>
target/ppc/cpu-qom.h
target/ppc/mmu-hash64.c