5660512841
Don't disable cap_cfpc on POWER8 by default OBS-URL: https://build.opensuse.org/request/show/822503 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=554
39 lines
1.4 KiB
Diff
39 lines
1.4 KiB
Diff
From: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
|
|
Date: Tue, 12 Jun 2018 15:16:30 +1000
|
|
Subject: ppc/spapr_caps: Don't disable cap_cfpc on POWER8 by default
|
|
|
|
Git-commit: b2540203bdf4a390c3489146eae82ce237303653
|
|
References: bsc#1174374
|
|
|
|
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>
|
|
Signed-off-by: Liang Yan <lyan@suse.com>
|
|
---
|
|
hw/ppc/spapr_caps.c | 5 -----
|
|
1 file changed, 5 deletions(-)
|
|
|
|
diff --git a/hw/ppc/spapr_caps.c b/hw/ppc/spapr_caps.c
|
|
index eb54f9422722f8be922c275c4217..1134f7a1c7cd51be7d0111c6bf85 100644
|
|
--- a/hw/ppc/spapr_caps.c
|
|
+++ b/hw/ppc/spapr_caps.c
|
|
@@ -643,11 +643,6 @@ static SpaprCapabilities default_caps_with_cpu(SpaprMachineState *spapr,
|
|
|
|
caps = smc->default_caps;
|
|
|
|
- if (!ppc_type_check_compat(cputype, CPU_POWERPC_LOGICAL_3_00,
|
|
- 0, spapr->max_compat_pvr)) {
|
|
- caps.caps[SPAPR_CAP_LARGE_DECREMENTER] = SPAPR_CAP_OFF;
|
|
- }
|
|
-
|
|
if (!ppc_type_check_compat(cputype, CPU_POWERPC_LOGICAL_2_07,
|
|
0, spapr->max_compat_pvr)) {
|
|
caps.caps[SPAPR_CAP_HTM] = SPAPR_CAP_OFF;
|