x86/irqflags: Provide native versions of the local_irq_save()/restore()
authorTom Lendacky <thomas.lendacky@amd.com>
Wed, 5 Jun 2024 15:18:44 +0000 (10:18 -0500)
committerBorislav Petkov (AMD) <bp@alien8.de>
Tue, 11 Jun 2024 05:22:46 +0000 (07:22 +0200)
commitb547fc2c9927a95808ef93d7fbd5dd70679fb501
tree75049ad88aca4d3ca4e26ab33a5487afecfc3835
parentc3f38fa61af77b49866b006939479069cd451173
x86/irqflags: Provide native versions of the local_irq_save()/restore()

Functions that need to disable IRQs, but are common to both early boot and
post-boot execution, are unable to deal with paravirt support associated
with local_irq_save() and local_irq_restore().

Create native versions of these for use in these situations.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/c4c33c0d07200164a3dd8cfd6da0344f57732648.1717600736.git.thomas.lendacky@amd.com
arch/x86/include/asm/irqflags.h