Skip to content

x86/irq: Refactor special vector definition and cleanup

Jianyu Zhan lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/asm/irq: Rearrange definitoin of specical irq vectors and cleanup.arch/x86/include/asm/irq_vectors.h+55 -170 replies
2/3x86/irq: refactor native_init_IRQarch/x86/kernel/irqinit.c+40 -281 reply
3/3x86/irq: update first_system_vector only when X86_LOCAL_PIC is onarch/x86/include/asm/desc.h arch/x86/kernel/irqinit.c+2 -312 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] x86/irq: Refactor special vector definition and cleanup

Currently special(system) irq definition layout is a bit random, due to quite a long period of code shuffle and refactorization, making native_init_IRQ() quit hard to follow.

Besides, there are also some leftovers on the vector layout comment. For example, INVALIDATE_TLB_VECTOR_START vectors have gone by using generic IPI mechanism(see commit 52aec3308db8). VSYSCALL_EMU_VECTOR is also gone because vsyscalls are emulated by instruction fault traps(see commit 3ae36655b97a).

This patch set aims at refactoring the speical vector defnition and do some cleanup.

*** Test done ***
This patch set has been rebased on tip/master and have done build test and run it for hours, doing daily jobs, and found no problem.

Jianyu Zhan (3):
x86/asm/irq: Rearrange definitoin of specical irq vectors and cleanup. x86/irq: refactor native_init_IRQ
x86/irq: update first_system_vector only when X86_LOCAL_PIC is on

 arch/x86/include/asm/desc.h        |  2 ++
 arch/x86/include/asm/irq_vectors.h | 72 +++++++++++++++++++++++++++++---------
 arch/x86/kernel/irqinit.c          | 71 +++++++++++++++++++++----------------
 3 files changed, 97 insertions(+), 48 deletions(-)
Signature · 1 line
2.4.3