Skip to content

x86/entry: disallow #DB more

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86/entry: Introduce local_db_{save,restore}()arch/x86/include/asm/debugreg.h arch/x86/kernel/traps.c+27 -166 replies
2/6x86/entry, nmi: Disable #DBarch/x86/kernel/nmi.c+3 -520 replies
3/6x86/entry, mce: Disallow #DB during #MCarch/x86/kernel/cpu/mce/core.c+12 -00 replies
4/6x86/entry: Optimize local_db_save() for virtarch/x86/include/asm/debugreg.h arch/x86/kernel/hw_breakpoint.c arch/x86/kvm/vmx/nested.c+30 -41 reply
5/6x86/entry: Remove debug IDT frobbingarch/x86/include/asm/debugreg.h arch/x86/include/asm/desc.h arch/x86/kernel/cpu/common.c +2 more+1 -1080 replies
6/6x86/entry: Remove DBn stacksarch/x86/entry/entry_64.S arch/x86/include/asm/cpu_entry_area.h arch/x86/kernel/asm-offsets_64.c +2 more+0 -262 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/6] x86/entry: disallow #DB more

These patches disallow #DB during NMI/#MC and allow removing a lot of fugly code.

Patch #6 should probably wait until we've got the KGDB situation sorted because applying that makes a bad situation worse.