target/ppc: Don't require private l1d cache on POWER8 for cap_ppc_safe_cache
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Tue, 12 Jun 2018 05:16:29 +0000 (15:16 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sat, 16 Jun 2018 06:32:33 +0000 (16:32 +1000)
commit072f416a53ead5211c987cb2068ee9dbd7ba06cc
tree7ca9b7e933b43a8c692840433798f0907c534915
parent2ef2f16781af9dee6ba6517755e9073ba5799fa2
target/ppc: Don't require private l1d cache on POWER8 for cap_ppc_safe_cache

For cap_ppc_safe_cache to be set to workaround, we require both a l1d
cache flush instruction and private l1d cache.

On POWER8 don't require private l1d cache. This means a guest on a
POWER8 machine can make use of the cache flush workarounds.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/kvm.c