Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86/xen: Remove redundant irq_enter/exit() invocations

All these handlers are regular device interrupt handlers, so they already
went through the proper entry code which handles this correctly.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Juergen Gross <jgross@suse.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: x86@kernel.org
Cc: xen-devel@lists.xenproject.org
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/877deicqqy.ffs@tglx
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>

authored by

Thomas Gleixner and committed by
Boris Ostrovsky
dce69259 4745ea26

-6
-4
arch/x86/xen/smp.c
··· 268 268 269 269 static irqreturn_t xen_call_function_interrupt(int irq, void *dev_id) 270 270 { 271 - irq_enter(); 272 271 generic_smp_call_function_interrupt(); 273 272 inc_irq_stat(irq_call_count); 274 - irq_exit(); 275 273 276 274 return IRQ_HANDLED; 277 275 } 278 276 279 277 static irqreturn_t xen_call_function_single_interrupt(int irq, void *dev_id) 280 278 { 281 - irq_enter(); 282 279 generic_smp_call_function_single_interrupt(); 283 280 inc_irq_stat(irq_call_count); 284 - irq_exit(); 285 281 286 282 return IRQ_HANDLED; 287 283 }
-2
arch/x86/xen/smp_pv.c
··· 458 458 459 459 static irqreturn_t xen_irq_work_interrupt(int irq, void *dev_id) 460 460 { 461 - irq_enter(); 462 461 irq_work_run(); 463 462 inc_irq_stat(apic_irq_work_irqs); 464 - irq_exit(); 465 463 466 464 return IRQ_HANDLED; 467 465 }