|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] x86/vPMU: move APIC ack past the handling of the interrupt
commit f4a4287dbbcf0e3d80bb706c09da3e6d48f55234
Author: Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Tue Nov 25 10:24:38 2025 +0100
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Tue Nov 25 10:24:38 2025 +0100
x86/vPMU: move APIC ack past the handling of the interrupt
While benign as long as it's using a direct-APIC-vector (handlers for
which are called with IRQs off), follow the more usual pattern of ack-ing
the IRQ only after handling it.
Requested-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
xen/arch/x86/apic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/arch/x86/apic.c b/xen/arch/x86/apic.c
index 7747718600..fb38be7ec3 100644
--- a/xen/arch/x86/apic.c
+++ b/xen/arch/x86/apic.c
@@ -1319,8 +1319,8 @@ static void cf_check error_interrupt(void)
static void cf_check pmu_interrupt(void)
{
- ack_APIC_irq();
vpmu_do_interrupt();
+ ack_APIC_irq();
}
void __init apic_intr_init(void)
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |