2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-16 01:24:08 +08:00
linux-next/arch
Sebastian Andrzej Siewior a6d996cbd3 x86/alternatives: Acquire pte lock with interrupts enabled
pte lock is never acquired in-IRQ context so it does not require interrupts
to be disabled. The lock is a regular spinlock which cannot be acquired
with interrupts disabled on RT.

RT complains about pte_lock() in __text_poke() because it's invoked after
disabling interrupts.

__text_poke() has to disable interrupts as use_temporary_mm() expects
interrupts to be off because it invokes switch_mm_irqs_off() and uses
per-CPU (current active mm) data.

Move the PTE lock handling outside the interrupt disabled region.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by; Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20200813105026.bvugytmsso6muljw@linutronix.de
2020-08-13 14:11:54 +02:00
..
alpha dma-mapping updates for 5.9 2020-08-04 17:29:57 -07:00
arc fork-v5.9 2020-08-04 14:47:45 -07:00
arm This tree adds the sched_set_fifo*() encapsulation APIs to remove 2020-08-06 11:55:43 -07:00
arm64 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
c6x Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
csky arch/csky patches for 5.9-rc1 2020-08-06 10:15:28 -07:00
h8300 fork-v5.9 2020-08-04 14:47:45 -07:00
hexagon fork-v5.9 2020-08-04 14:47:45 -07:00
ia64 It's been a busy cycle for documentation - hopefully the busiest for a 2020-08-04 22:47:54 -07:00
m68k close-range-v5.9 2020-08-04 15:12:02 -07:00
microblaze close-range-v5.9 2020-08-04 15:12:02 -07:00
mips MIPS upates for v5.9 2020-08-06 10:54:07 -07:00
nds32 arch: rename copy_thread_tls() back to copy_thread() 2020-07-04 23:41:37 +02:00
nios2 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
openrisc fork-v5.9 2020-08-04 14:47:45 -07:00
parisc Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
powerpc Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
riscv Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
s390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
sh It's been a busy cycle for documentation - hopefully the busiest for a 2020-08-04 22:47:54 -07:00
sparc Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
um arch: rename copy_thread_tls() back to copy_thread() 2020-07-04 23:41:37 +02:00
x86 x86/alternatives: Acquire pte lock with interrupts enabled 2020-08-13 14:11:54 +02:00
xtensa Xtensa updates for v5.9: 2020-08-06 10:07:40 -07:00
.gitignore
Kconfig It's been a busy cycle for documentation - hopefully the busiest for a 2020-08-04 22:47:54 -07:00