Skip to content

x86/entry: disallow #DB more and x86/entry lockdep/nmi

Peter Zijlstra linuxppc-dev lkml 1 version Applied

Status from this message: The following commit has been merged into the x86/entry branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 11 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/14x86/hw_breakpoint: Add within_area() to check data breakpointsarch/x86/kernel/hw_breakpoint.c+11 -20 replies
2/14x86/hw_breakpoint: Prevent data breakpoints on direct GDTarch/x86/kernel/hw_breakpoint.c+22 -82 replies
3/14x86/hw_breakpoint: Prevent data breakpoints on per_cpu cpu_tss_rwarch/x86/kernel/hw_breakpoint.c+9 -00 replies
4/14x86/hw_breakpoint: Prevent data breakpoints on user_pcid_flush_maskarch/x86/kernel/hw_breakpoint.c+11 -00 replies
5/14x86/entry: Introduce local_db_{save,restore}()arch/x86/include/asm/debugreg.h arch/x86/kernel/traps.c+32 -160 replies
6/14x86/entry, nmi: Disable #DBarch/x86/kernel/nmi.c+3 -520 replies
7/14x86/entry, mce: Disallow #DB during #MCarch/x86/kernel/cpu/mce/core.c+12 -00 replies
8/14x86/entry: Optimize local_db_save() for virtarch/x86/include/asm/debugreg.h arch/x86/kernel/hw_breakpoint.c arch/x86/kvm/vmx/nested.c+27 -61 reply
9/14x86/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
10/14x86/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+5 -350 replies
11/14x86/entry: Clarify irq_{enter,exit}_rcu()arch/x86/include/asm/idtentry.h kernel/softirq.c+13 -83 replies
12/14x86/entry: Rename trace_hardirqs_off_prepare()arch/x86/entry/common.c arch/x86/kernel/cpu/mce/core.c arch/x86/kernel/nmi.c +3 more+14 -140 replies
13/14lockdep: Prepare for NMI IRQ state trackingkernel/locking/lockdep.c+30 -35 replies
14/14x86/entry: Fix NMI vs IRQ state trackingarch/x86/entry/common.c arch/x86/include/asm/idtentry.h arch/x86/kernel/nmi.c +2 more+69 -330 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/14] x86/entry: disallow #DB more and x86/entry lockdep/nmi

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

And also include 4 patches from the lockdep/nmi series that clean up x86/entry bits.

I'll send the rest of the lockdep patches seperately.