Skip to content

Remove interrupt stack table usage from x86_64 kernel

Avi Kivity kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86: drop the use of the tss interrupt stack table (IST)arch/x86/include/asm/desc.h arch/x86/include/asm/page_64.h arch/x86/include/asm/processor.h +4 more+10 -1790 replies
2/3x86: Remove pda.irqcountarch/x86/include/asm/pda.h arch/x86/kernel/asm-offsets_64.c arch/x86/kernel/cpu/common.c +1 more+14 -190 replies
3/3x86: Switch critical exceptions and NMI to irqstackarch/x86/kernel/entry_64.S+3 -00 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] Remove interrupt stack table usage from x86_64 kernel

The interrupt stack table (IST) mechanism is the only thing preventing kvm from deferring saving and reloading of some significant state. It is also somewhat complicated.

Remove it by switching the special exceptions to use the normal irqstack.

Avi Kivity (3):
x86: drop the use of the tss interrupt stack table (IST)
x86: Remove pda.irqcount
x86: Switch critical exceptions and NMI to irqstack

 arch/x86/include/asm/desc.h      |   12 -----
 arch/x86/include/asm/page_64.h   |    7 ---
 arch/x86/include/asm/pda.h       |    2 +-
 arch/x86/include/asm/processor.h |   11 ----
 arch/x86/kernel/asm-offsets_64.c |    1 -
 arch/x86/kernel/cpu/common.c     |   35 --------------
 arch/x86/kernel/dumpstack_64.c   |   96 --------------------------------------
 arch/x86/kernel/entry_64.S       |   49 ++++++++-----------
 arch/x86/kernel/traps.c          |   12 ++--
 9 files changed, 27 insertions(+), 198 deletions(-)