[PATCH 5.10.y 0/5] Backport call_on_irq_stack to fix scs overwritten in irq_stack_entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The shadow call stack for irq now stored in current task's thread info
may restored incorrectly, so backport call_on_irq_stack from mainline to
fix it.

Ard Biesheuvel (1):
  arm64: Stash shadow stack pointer in the task struct on interrupt

Mark Rutland (3):
  arm64: entry: move arm64_preempt_schedule_irq to entry-common.c
  arm64: entry: add a call_on_irq_stack helper
  arm64: entry: convert IRQ+FIQ handlers to C

Xiang Yang (1):
  Revert "arm64: Stash shadow stack pointer in the task struct on
    interrupt"

 arch/arm64/include/asm/exception.h |  5 ++
 arch/arm64/kernel/entry-common.c   | 86 ++++++++++++++++++++++++++++++
 arch/arm64/kernel/entry.S          | 84 ++++++++++++++---------------
 arch/arm64/kernel/process.c        | 17 ------
 4 files changed, 132 insertions(+), 60 deletions(-)

-- 
2.34.1





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux