OpenCloudOS-Kernel/arch
Juergen Gross e453f872b7 x86/xen: switch initial pvops IRQ functions to dummy ones
The initial pvops functions handling irq flags will only ever be called
before interrupts are being enabled.

So switch them to be dummy functions:
- xen_save_fl() can always return 0
- xen_irq_disable() is a nop
- xen_irq_enable() can BUG()

Add some generic paravirt functions for that purpose.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: https://lore.kernel.org/r/20211028072748.29862-3-jgross@suse.com
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
2021-11-02 08:03:43 -05:00
..
alpha audit/stable-5.16 PR 20211101 2021-11-01 21:17:39 -07:00
arc Tracing updates for 5.16: 2021-11-01 20:05:19 -07:00
arm Tracing updates for 5.16: 2021-11-01 20:05:19 -07:00
arm64 Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2021-11-01 21:24:02 -07:00
csky Tracing updates for 5.16: 2021-11-01 20:05:19 -07:00
h8300 Scheduler updates: 2021-11-01 13:48:52 -07:00
hexagon sched: Add wrapper for get_wchan() to keep task blocked 2021-10-15 11:25:14 +02:00
ia64 audit/stable-5.16 PR 20211101 2021-11-01 21:17:39 -07:00
m68k m68k updates for v5.16 2021-11-01 16:57:36 -07:00
microblaze Tracing updates for 5.16: 2021-11-01 20:05:19 -07:00
mips Tracing updates for 5.16: 2021-11-01 20:05:19 -07:00
nds32 Tracing updates for 5.16: 2021-11-01 20:05:19 -07:00
nios2 Scheduler updates: 2021-11-01 13:48:52 -07:00
openrisc Scheduler updates: 2021-11-01 13:48:52 -07:00
parisc audit/stable-5.16 PR 20211101 2021-11-01 21:17:39 -07:00
powerpc audit/stable-5.16 PR 20211101 2021-11-01 21:17:39 -07:00
riscv Tracing updates for 5.16: 2021-11-01 20:05:19 -07:00
s390 audit/stable-5.16 PR 20211101 2021-11-01 21:17:39 -07:00
sh RCU pull request for v5.16 2021-11-01 20:25:38 -07:00
sparc audit/stable-5.16 PR 20211101 2021-11-01 21:17:39 -07:00
um Scheduler updates: 2021-11-01 13:48:52 -07:00
x86 x86/xen: switch initial pvops IRQ functions to dummy ones 2021-11-02 08:03:43 -05:00
xtensa RCU pull request for v5.16 2021-11-01 20:25:38 -07:00
.gitignore
Kconfig Tracing updates for 5.16: 2021-11-01 20:05:19 -07:00