qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] spapr: change default interrupt mode back to 'xics'


From: Lijun Pan
Subject: [PATCH] spapr: change default interrupt mode back to 'xics'
Date: Tue, 5 Nov 2019 15:17:44 -0600

The hugetlbfs hugepage leakage is found under following test procedures:
1. configure hugetlbfs to back guest memory with '-mem-path /dev/hugepages'
2. hot plug a vcpu and remove it, then quit the guest.
3. hugepage leaks found on the host

git bisect points to the first bad commit: bd94bc064.

Fixes: bd94bc064 ("spapr: change default interrupt mode to 'dual'")
Cc: Cédric Le Goater <address@hidden>
Cc: David Gibson <address@hidden>
Signed-off-by: Lijun Pan <address@hidden>
---
 hw/ppc/spapr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 94f9d27096..26b064fb6c 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -4437,7 +4437,7 @@ static void spapr_machine_class_init(ObjectClass *oc, 
void *data)
     smc->default_caps.caps[SPAPR_CAP_LARGE_DECREMENTER] = SPAPR_CAP_ON;
     smc->default_caps.caps[SPAPR_CAP_CCF_ASSIST] = SPAPR_CAP_OFF;
     spapr_caps_add_properties(smc, &error_abort);
-    smc->irq = &spapr_irq_dual;
+    smc->irq = &spapr_irq_xics;
     smc->dr_phb_enabled = true;
     smc->linux_pci_probe = true;
     smc->smp_threads_vsmt = true;
-- 
2.18.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]