target/ppc: Implement TIDR
commit650f3287abb7c6124b7fb0f4a2330246fe2d4da2
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 8 Aug 2017 03:42:53 +0000 (8 13:42 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 9 Aug 2017 01:46:44 +0000 (9 11:46 +1000)
treeea79a4602035d07276291ac11f7150798b1934ec
parente7bab9a256d653948760ef9f3d04f14eb2a81731
target/ppc: Implement TIDR

This adds a trivial implementation of the TIDR register added in
POWER9.  This isn't particularly important to qemu directly - it's
used by accelerator modules that we don't emulate.

However, since qemu isn't aware of it, its state is not synchronized
with KVM and therefore not migrated, which can be a problem.

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>
Reviewed-by: Thomas Huth <thuth@redhat.com>
target/ppc/cpu.h
target/ppc/translate_init.c