summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorSuraj Jitindar Singh2018-06-12 07:16:30 +0200
committerDavid Gibson2018-06-16 08:32:33 +0200
commitb2540203bdf4a390c3489146eae82ce237303653 (patch)
treef1f0dd6ff9232a2a068681ef10a016d1b304acc1 /hw
parenttarget/ppc: Don't require private l1d cache on POWER8 for cap_ppc_safe_cache (diff)
downloadqemu-b2540203bdf4a390c3489146eae82ce237303653.tar.gz
qemu-b2540203bdf4a390c3489146eae82ce237303653.tar.xz
qemu-b2540203bdf4a390c3489146eae82ce237303653.zip
ppc/spapr_caps: Don't disable cap_cfpc on POWER8 by default
In default_caps_with_cpu() we set spapr_cap_cfpc to broken for POWER8 processors and before. Since we no longer require private l1d cache on POWER8 for this cap to be set to workaround change this to default to broken for POWER7 processors and before. Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw')
-rw-r--r--hw/ppc/spapr_caps.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/hw/ppc/spapr_caps.c b/hw/ppc/spapr_caps.c
index 531e145114..00e43a9ba7 100644
--- a/hw/ppc/spapr_caps.c
+++ b/hw/ppc/spapr_caps.c
@@ -335,14 +335,10 @@ static sPAPRCapabilities default_caps_with_cpu(sPAPRMachineState *spapr,
caps = smc->default_caps;
- if (!ppc_check_compat(cpu, CPU_POWERPC_LOGICAL_3_00,
- 0, spapr->max_compat_pvr)) {
- caps.caps[SPAPR_CAP_CFPC] = SPAPR_CAP_BROKEN;
- }
-
if (!ppc_check_compat(cpu, CPU_POWERPC_LOGICAL_2_07,
0, spapr->max_compat_pvr)) {
caps.caps[SPAPR_CAP_HTM] = SPAPR_CAP_OFF;
+ caps.caps[SPAPR_CAP_CFPC] = SPAPR_CAP_BROKEN;
}
if (!ppc_check_compat(cpu, CPU_POWERPC_LOGICAL_2_06_PLUS,