ppc: Remove stub of PPC970 HID4 implementation
commit19acd4b610a2f6a8db2840faecaab813089a33b2
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 11 Dec 2019 10:55:05 +0000 (11 21:55 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Mar 2020 22:41:14 +0000 (17 09:41 +1100)
treed6ca807ce6663be2ee05adfe67d0d2b4f6026229
parent23513f818f2112cceadfc1cf4007a4f068ecd84b
ppc: Remove stub of PPC970 HID4 implementation

The PowerPC 970 CPU was a cut-down POWER4, which had hypervisor capability.
However, it can be (and often was) strapped into "Apple mode", where the
hypervisor capabilities were disabled (essentially putting it always in
hypervisor mode).

That's actually the only mode of the 970 we support in qemu, and we're
unlikely to change that any time soon.  However, we do have a partial
implementation of the 970's HID4 register which affects things only
relevant for hypervisor mode.

That stub is also really ugly, since it attempts to duplicate the effects
of HID4 by re-encoding it into the LPCR register used in newer CPUs, but
in a really confusing way.

Just get rid of it.

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/mmu-hash64.c
target/ppc/translate_init.inc.c