All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] x86/irq: trap and interrupt cleanups
@ 2021-05-11  0:55 H. Peter Anvin
  2021-05-11  0:55 ` [PATCH 1/6] x86/traps: add X86_NR_HW_TRAPS to <asm/trapnr.h> H. Peter Anvin
                   ` (5 more replies)
  0 siblings, 6 replies; 21+ messages in thread
From: H. Peter Anvin @ 2021-05-11  0:55 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner, Borislav Petkov, Andy Lutomirski
  Cc: Steve Wahl, Mike Travis, Dimitri Sivanich, Russ Anderson,
	Linux Kernel Mailing List, H. Peter Anvin (Intel)

From: "H. Peter Anvin (Intel)" <hpa@zytor.com>

A collection of trap/interrupt-related patches, almost all
cleanups. The only patches that should have any possible effect at all
are:

4/6 - x86/irq: merge common code in DEFINE_IDTENTRY_SYSVEC[_SIMPLE]

	This patch reverses kvm_set_cpu_l1tf_flush_l1d() and
	__irq_enter_raw() in DEFINE_IDTENTRY_SYSVEC_SIMPLE() in order
	to be able to unify the code with DEFINE_IDTENTRY_SYSVEC().

	The reason for unification is mainly to avoid the possibility
	of inadvertent divergence rather than the rather modest amount
	of code.

5/6 - x86/irq: WARN_ONCE() if irq_move_cleanup is called on a pending interrupt

	This condition is believed to be impossible after many
	improvements to the IRQ vector allocation code since this
	function was written. Per discussion with tglx, add a
	WARN_ONCE() if this happens as a first step towards excising
	this hack.

--- 
    x86/traps: add X86_NR_HW_TRAPS to <asm/trapnr.h>
    x86/irqvector: add NR_EXTERNAL_VECTORS and NR_SYSTEM_VECTORS
    x86/idt: remove address argument to idt_invalidate()
    x86/irq: merge common code in DEFINE_IDTENTRY_SYSVEC[_SIMPLE]
    x86/irq: WARN_ONCE() if irq_move_cleanup is called on a pending interrupt
    x86/irq: remove unused vectors from <asm/irq_vectors.h>

 arch/x86/include/asm/desc.h              |  2 +-
 arch/x86/include/asm/idtentry.h          | 39 +++++++++++++++++---------------
 arch/x86/include/asm/irq_vectors.h       |  7 ++++--
 arch/x86/include/asm/trapnr.h            |  1 +
 arch/x86/kernel/apic/vector.c            |  5 ++++
 arch/x86/kernel/idt.c                    |  5 ++--
 arch/x86/kernel/machine_kexec_32.c       |  4 ++--
 arch/x86/kernel/reboot.c                 |  2 +-
 tools/arch/x86/include/asm/irq_vectors.h |  7 ++++--
 9 files changed, 43 insertions(+), 29 deletions(-)

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2021-05-14 22:53 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11  0:55 [PATCH 0/6] x86/irq: trap and interrupt cleanups H. Peter Anvin
2021-05-11  0:55 ` [PATCH 1/6] x86/traps: add X86_NR_HW_TRAPS to <asm/trapnr.h> H. Peter Anvin
2021-05-14 22:53   ` Andy Lutomirski
2021-05-11  0:55 ` [PATCH 2/6] x86/irqvector: add NR_EXTERNAL_VECTORS and NR_SYSTEM_VECTORS H. Peter Anvin
2021-05-14 22:53   ` Andy Lutomirski
2021-05-11  0:55 ` [PATCH 3/6] x86/idt: remove address argument to idt_invalidate() H. Peter Anvin
2021-05-11  4:37   ` kernel test robot
2021-05-11  4:37     ` kernel test robot
2021-05-11 14:14   ` Thomas Gleixner
2021-05-11 14:43     ` H. Peter Anvin
2021-05-11  0:55 ` [PATCH 4/6] x86/irq: merge common code in DEFINE_IDTENTRY_SYSVEC[_SIMPLE] H. Peter Anvin
2021-05-11 14:22   ` Thomas Gleixner
2021-05-11 17:44     ` H. Peter Anvin
2021-05-12  8:38       ` Ingo Molnar
2021-05-12 18:00         ` H. Peter Anvin
2021-05-12 18:40           ` Ingo Molnar
2021-05-11  0:55 ` [PATCH 5/6] x86/irq: WARN_ONCE() if irq_move_cleanup is called on a pending interrupt H. Peter Anvin
2021-05-11 14:23   ` Thomas Gleixner
2021-05-11 15:55     ` H. Peter Anvin
2021-05-11  0:55 ` [PATCH 6/6] x86/irq: remove unused vectors from <asm/irq_vectors.h> H. Peter Anvin
2021-05-11 17:04   ` Steve Wahl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.