[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 30/34] ppc: spapr: Activate the FWNMI functionality
From: |
David Gibson |
Subject: |
[PULL 30/34] ppc: spapr: Activate the FWNMI functionality |
Date: |
Fri, 31 Jan 2020 17:09:20 +1100 |
From: Aravinda Prasad <address@hidden>
This patch sets the default value of SPAPR_CAP_FWNMI_MCE
to SPAPR_CAP_ON for machine type 5.0.
Signed-off-by: Aravinda Prasad <address@hidden>
Signed-off-by: Ganesh Goudar <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: David Gibson <address@hidden>
---
hw/ppc/spapr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 137f5c9a33..c9b2e0a5e0 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -4454,7 +4454,7 @@ static void spapr_machine_class_init(ObjectClass *oc,
void *data)
smc->default_caps.caps[SPAPR_CAP_NESTED_KVM_HV] = SPAPR_CAP_OFF;
smc->default_caps.caps[SPAPR_CAP_LARGE_DECREMENTER] = SPAPR_CAP_ON;
smc->default_caps.caps[SPAPR_CAP_CCF_ASSIST] = SPAPR_CAP_ON;
- smc->default_caps.caps[SPAPR_CAP_FWNMI_MCE] = SPAPR_CAP_OFF;
+ smc->default_caps.caps[SPAPR_CAP_FWNMI_MCE] = SPAPR_CAP_ON;
spapr_caps_add_properties(smc, &error_abort);
smc->irq = &spapr_irq_dual;
smc->dr_phb_enabled = true;
@@ -4527,6 +4527,7 @@ static void spapr_machine_4_2_class_options(MachineClass
*mc)
spapr_machine_5_0_class_options(mc);
compat_props_add(mc->compat_props, hw_compat_4_2, hw_compat_4_2_len);
smc->default_caps.caps[SPAPR_CAP_CCF_ASSIST] = SPAPR_CAP_OFF;
+ smc->default_caps.caps[SPAPR_CAP_FWNMI_MCE] = SPAPR_CAP_OFF;
}
DEFINE_SPAPR_MACHINE(4_2, "4.2", false);
--
2.24.1
- [PULL 29/34] migration: Include migration support for machine check handling, (continued)
- [PULL 29/34] migration: Include migration support for machine check handling, David Gibson, 2020/01/31
- [PULL 23/34] target/ppc/cpu.h: Put macro parameter in parentheses, David Gibson, 2020/01/31
- [PULL 31/34] target/ppc: Use probe_access for LSW, STSW, David Gibson, 2020/01/31
- [PULL 34/34] target/ppc: Use probe_write for DCBZ, David Gibson, 2020/01/31
- [PULL 18/34] docs/specs/tpm: reST-ify TPM documentation, David Gibson, 2020/01/31
- [PULL 26/34] target/ppc: Handle NMI guest exit, David Gibson, 2020/01/31
- [PULL 28/34] ppc: spapr: Handle "ibm, nmi-register" and "ibm, nmi-interlock" RTAS calls, David Gibson, 2020/01/31
- [PULL 20/34] ppc/pnv: Add models for POWER8 PHB3 PCIe Host bridge, David Gibson, 2020/01/31
- [PULL 19/34] ppc/pnv: Add models for POWER9 PHB4 PCIe Host bridge, David Gibson, 2020/01/31
- [PULL 32/34] target/ppc: Use probe_access for LMW, STMW, David Gibson, 2020/01/31
- [PULL 30/34] ppc: spapr: Activate the FWNMI functionality,
David Gibson <=
- [PULL 33/34] target/ppc: Remove redundant mask in DCBZ, David Gibson, 2020/01/31
- Re: [PULL 00/34] ppc-for-5.0 queue 20200131, Peter Maydell, 2020/01/31