x86/IRQ: relax locking in irq_guest_eoi_timer_fn()
authorJan Beulich <jbeulich@suse.com>
Thu, 6 Jun 2019 09:14:00 +0000 (11:14 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 6 Jun 2019 09:14:00 +0000 (11:14 +0200)
commitf6b00177c38068eb2ad1b00f62a3db4a28e18a9c
treebf8fada67dd7757fd73e745edc338ccc1a301b2e
parent928b99a66c3f213933e4d4dc6a4edf2200253f22
x86/IRQ: relax locking in irq_guest_eoi_timer_fn()

This is a timer handler, so it gets entered with IRQs enabled. Therefore
there's no need to save/restore the IRQ masking flag.

Additionally the final switch()'es ACKTYPE_EOI case re-acquires the lock
just for it to be dropped again right away. Do away with this.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/irq.c