diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-12-10 21:15:04 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-12-10 23:02:31 +0100 |
commit | 058df195c23403f91acc028e39ca2ad599d0af52 (patch) | |
tree | b23ca0a9a4da0a8aeb50ca4736eaea242b1a3b52 /arch/x86/xen | |
parent | 26ab12bb9d96133b7880141d68b5e01a8783de9d (diff) | |
download | linux-058df195c23403f91acc028e39ca2ad599d0af52.tar.bz2 |
x86/ioapic: Cleanup the timer_works() irqflags mess
Mark tripped over the creative irqflags handling in the IO-APIC timer
delivery check which ends up doing:
local_irq_save(flags);
local_irq_enable();
local_irq_restore(flags);
which triggered a new consistency check he's working on required for
replacing the POPF based restore with a conditional STI.
That code is a historical mess and none of this is needed. Make it
straightforward use local_irq_disable()/enable() as that's all what is
required. It is invoked from interrupt enabled code nowadays.
Reported-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/87k0tpju47.fsf@nanos.tec.linutronix.de
Diffstat (limited to 'arch/x86/xen')
0 files changed, 0 insertions, 0 deletions