mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
29c395c77a
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. - 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. -----BEGIN PGP SIGNATURE----- iQJHBAABCgAxFiEEQp8+kY+LLUocC4bMphj1TA10mKEFAmA21OcTHHRnbHhAbGlu dXRyb25peC5kZQAKCRCmGPVMDXSYoaX0D/9S0ud6oqbsIvI8LwhvYub63a2cjKP9 liHAJ7xwMYYVwzf0skwsPb/QE6+onCzdq0upJkgG/gEYm2KbiaMWZ4GgHdj0O7ER qXKJONDd36AGxSEdaVzLY5kPuD/mkomGk5QdaZaTmjruthkNzg4y/N2wXUBIMZR0 FdpSpp5fGspSZCn/DXDx6FjClwpLI53VclvDs6DcZ2DIBA0K+F/cSLb1UQoDLE1U hxGeuNa+GhKeeZ5C+q5giho1+ukbwtjMW9WnKHAVNiStjm0uzdqq7ERGi/REvkcB LY62u5uOSW1zIBMmzUjDDQEqvypB0iFxFCpN8g9sieZjA0zkaUioRTQyR+YIQ8Cp l8LLir0dVQivR1bHghHDKQJUpdw/4zvDj4mMH10XHqbcOtIxJDOJHC5D00ridsAz OK0RlbAJBl9FTdLNfdVReBCoehYAO8oefeyMAG12nZeSh5XVUWl238rvzmzIYNhG cEtkSx2wIUNEA+uSuI+xvfmwpxL7voTGvqmiRDCAFxyO7Bl/GBu9OEBFA1eOvHB+ +wTmPDMswRetQNh4QCRXzk1JzP1Wk5CobUL9iinCWFoTJmnsPPSOWlosN6ewaNXt kYFpRLy5xt9EP7dlfgBSjiRlthDhTdMrFjD5bsy1vdm1w7HKUo82lHa4O8Hq3PHS tinKICUqRsbjig== =Sqr1 -----END PGP SIGNATURE----- Merge tag 'x86-entry-2021-02-24' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 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 generic asm header softirq: Move __ARCH_HAS_DO_SOFTIRQ to Kconfig x86: Select CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK x86/softirq: Remove indirection in do_softirq_own_stack() x86/entry: Use run_sysvec_on_irqstack_cond() for XEN upcall x86/entry: Convert device interrupts to inline stack switching x86/entry: Convert system vectors to irq stack macro x86/irq: Provide macro for inlining irq stack switching x86/apic: Split out spurious handling code x86/irq/64: Adjust the per CPU irq stack pointer by 8 x86/irq: Sanitize irq stack tracking x86/entry: Fix instrumentation annotation
64 lines
1.6 KiB
Makefile
64 lines
1.6 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# asm headers that all architectures except um should have
|
|
# (This file is not included when SRCARCH=um since UML borrows several
|
|
# asm headers from the host architecutre.)
|
|
|
|
mandatory-y += atomic.h
|
|
mandatory-y += barrier.h
|
|
mandatory-y += bitops.h
|
|
mandatory-y += bug.h
|
|
mandatory-y += bugs.h
|
|
mandatory-y += cacheflush.h
|
|
mandatory-y += checksum.h
|
|
mandatory-y += compat.h
|
|
mandatory-y += current.h
|
|
mandatory-y += delay.h
|
|
mandatory-y += device.h
|
|
mandatory-y += div64.h
|
|
mandatory-y += dma-mapping.h
|
|
mandatory-y += dma.h
|
|
mandatory-y += emergency-restart.h
|
|
mandatory-y += exec.h
|
|
mandatory-y += fb.h
|
|
mandatory-y += ftrace.h
|
|
mandatory-y += futex.h
|
|
mandatory-y += hardirq.h
|
|
mandatory-y += hw_irq.h
|
|
mandatory-y += io.h
|
|
mandatory-y += irq.h
|
|
mandatory-y += irq_regs.h
|
|
mandatory-y += irq_work.h
|
|
mandatory-y += kdebug.h
|
|
mandatory-y += kmap_size.h
|
|
mandatory-y += kprobes.h
|
|
mandatory-y += linkage.h
|
|
mandatory-y += local.h
|
|
mandatory-y += local64.h
|
|
mandatory-y += mmiowb.h
|
|
mandatory-y += mmu.h
|
|
mandatory-y += mmu_context.h
|
|
mandatory-y += module.h
|
|
mandatory-y += module.lds.h
|
|
mandatory-y += msi.h
|
|
mandatory-y += pci.h
|
|
mandatory-y += percpu.h
|
|
mandatory-y += pgalloc.h
|
|
mandatory-y += preempt.h
|
|
mandatory-y += rwonce.h
|
|
mandatory-y += sections.h
|
|
mandatory-y += serial.h
|
|
mandatory-y += shmparam.h
|
|
mandatory-y += simd.h
|
|
mandatory-y += softirq_stack.h
|
|
mandatory-y += switch_to.h
|
|
mandatory-y += timex.h
|
|
mandatory-y += tlbflush.h
|
|
mandatory-y += topology.h
|
|
mandatory-y += trace_clock.h
|
|
mandatory-y += uaccess.h
|
|
mandatory-y += unaligned.h
|
|
mandatory-y += vermagic.h
|
|
mandatory-y += vga.h
|
|
mandatory-y += word-at-a-time.h
|
|
mandatory-y += xor.h
|