• Linus Torvalds's avatar
    Merge tag 'x86-entry-2021-02-24' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 29c395c7
    Linus Torvalds authored
    Pull x86 irq entry updates from Thomas Gleixner:
     "The irq stack switching was moved out of the ASM entry code in course
      of the entry code consolidation. It ended up being suboptimal in
      various ways.
    
      This reworks the X86 irq stack handling:
    
       - Make the stack switching inline so the stackpointer manipulation is
         not longer at an easy to find place.
    
       - Get rid of the unnecessary indirect call.
    
       - Avoid the double stack switching in interrupt return and reuse the
         interrupt stack for softirq handling.
    
       - A objtool fix for CONFIG_FRAME_POINTER=y builds where it got
         confused about the stack pointer manipulation"
    
    * tag 'x86-entry-2021-02-24' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      objtool: Fix stack-swizzle for FRAME_POINTER=y
      um: Enforce the usage of asm-generic/softirq_stack.h
      x86/softirq/64: Inline do_softirq_own_stack()
      softirq: Move do_softirq_own_stack() to g...
    29c395c7
irq.c 11 KB