[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 38/44] spapr/xive: Fix kvm_xive_source_reset trace event
From: |
David Gibson |
Subject: |
[PULL 38/44] spapr/xive: Fix kvm_xive_source_reset trace event |
Date: |
Thu, 30 Sep 2021 15:44:20 +1000 |
From: Cédric Le Goater <clg@kaod.org>
The trace event was placed in the wrong routine. Move it under
kvmppc_xive_source_reset_one().
Fixes: 4e960974d4ee ("xive: Add trace events")
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20210922070205.1235943-1-clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
---
hw/intc/spapr_xive_kvm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/intc/spapr_xive_kvm.c b/hw/intc/spapr_xive_kvm.c
index 3e534b9685..6d4909d0a8 100644
--- a/hw/intc/spapr_xive_kvm.c
+++ b/hw/intc/spapr_xive_kvm.c
@@ -236,6 +236,8 @@ int kvmppc_xive_source_reset_one(XiveSource *xsrc, int
srcno, Error **errp)
SpaprXive *xive = SPAPR_XIVE(xsrc->xive);
uint64_t state = 0;
+ trace_kvm_xive_source_reset(srcno);
+
assert(xive->fd != -1);
if (xive_source_irq_is_lsi(xsrc, srcno)) {
@@ -311,8 +313,6 @@ uint64_t kvmppc_xive_esb_rw(XiveSource *xsrc, int srcno,
uint32_t offset,
return xive_esb_rw(xsrc, srcno, offset, data, 1);
}
- trace_kvm_xive_source_reset(srcno);
-
/*
* Special Load EOI handling for LSI sources. Q bit is never set
* and the interrupt should be re-triggered if the level is still
--
2.31.1
- [PULL 29/44] spapr: move FORM1 verifications to post CAS, (continued)
- [PULL 29/44] spapr: move FORM1 verifications to post CAS, David Gibson, 2021/09/30
- [PULL 32/44] target/ppc: Convert debug to trace events (decrementer and IRQ), David Gibson, 2021/09/30
- [PULL 36/44] hw/intc: openpic: Clean up the styles, David Gibson, 2021/09/30
- [PULL 28/44] spapr_numa.c: rename numa_assoc_array to FORM1_assoc_array, David Gibson, 2021/09/30
- [PULL 30/44] spapr_numa.c: FORM2 NUMA affinity support, David Gibson, 2021/09/30
- [PULL 33/44] target/ppc: Fix 64-bit decrementer, David Gibson, 2021/09/30
- [PULL 34/44] hw/intc: openpic: Correct the reset value of IPIDR for FSL chipset, David Gibson, 2021/09/30
- [PULL 31/44] spapr_numa.c: handle auto NUMA node with no distance info, David Gibson, 2021/09/30
- [PULL 35/44] hw/intc: openpic: Drop Raven related codes, David Gibson, 2021/09/30
- [PULL 37/44] spapr_numa.c: fixes in spapr_numa_FORM2_write_rtas_tables(), David Gibson, 2021/09/30
- [PULL 38/44] spapr/xive: Fix kvm_xive_source_reset trace event,
David Gibson <=
- [PULL 39/44] MAINTAINERS: Remove machine specific files from ppc TCG CPUs entry, David Gibson, 2021/09/30
- [PULL 40/44] MAINTAINERS: Remove David & Greg as reviewers for a number of boards, David Gibson, 2021/09/30
- [PULL 43/44] MAINTAINERS: Add information for OpenPIC, David Gibson, 2021/09/30
- [PULL 41/44] MAINTAINERS: Orphan obscure ppc platforms, David Gibson, 2021/09/30
- [PULL 42/44] MAINTAINERS: Remove David & Greg as reviewers/co-maintainers of powernv, David Gibson, 2021/09/30
- [PULL 44/44] MAINTAINERS: Demote sPAPR from "Supported" to "Maintained", David Gibson, 2021/09/30
- Re: [PULL 00/44] ppc-for-6.2 queue 20210930, Peter Maydell, 2021/09/30