[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v19 7/7] ppc: spapr: Activate the FWNMI functionality
From: |
Ganesh Goudar |
Subject: |
[PATCH v19 7/7] ppc: spapr: Activate the FWNMI functionality |
Date: |
Thu, 16 Jan 2020 22:09:52 +0530 |
From: Aravinda Prasad <address@hidden>
This patch sets the default value of SPAPR_CAP_FWNMI_MCE
to SPAPR_CAP_ON for machine type 4.2.
Signed-off-by: Aravinda Prasad <address@hidden>
Signed-off-by: Ganesh Goudar <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 c8bc2fa9f3..a81c18b6b6 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_OFF;
- 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;
@@ -4544,6 +4544,7 @@ static void spapr_machine_4_1_class_options(MachineClass
*mc)
smc->smp_threads_vsmt = false;
compat_props_add(mc->compat_props, hw_compat_4_1, hw_compat_4_1_len);
compat_props_add(mc->compat_props, compat, G_N_ELEMENTS(compat));
+ smc->default_caps.caps[SPAPR_CAP_FWNMI_MCE] = SPAPR_CAP_OFF;
}
DEFINE_SPAPR_MACHINE(4_1, "4.1", false);
--
2.17.2
- [PATCH v19 0/7]target-ppc/spapr: Add FWNMI support in QEMU for PowerKM guests, Ganesh Goudar, 2020/01/16
- [PATCH v19 1/7] Wrapper function to wait on condition for the main loop mutex, Ganesh Goudar, 2020/01/16
- [PATCH v19 2/7] ppc: spapr: Introduce FWNMI capability, Ganesh Goudar, 2020/01/16
- [PATCH v19 3/7] target/ppc: Handle NMI guest exit, Ganesh Goudar, 2020/01/16
- [PATCH v19 4/7] target/ppc: Build rtas error log upon an MCE, Ganesh Goudar, 2020/01/16
- [PATCH v19 5/7] ppc: spapr: Handle "ibm, nmi-register" and "ibm, nmi-interlock" RTAS calls, Ganesh Goudar, 2020/01/16
- [PATCH v19 6/7] migration: Include migration support for machine check handling, Ganesh Goudar, 2020/01/16
- [PATCH v19 7/7] ppc: spapr: Activate the FWNMI functionality,
Ganesh Goudar <=
- Re: [PATCH v19 0/7]target-ppc/spapr: Add FWNMI support in QEMU for PowerKM guests, Ganesh, 2020/01/17