x86: debugctlmsr context switch
This adds low-level support for a per-thread value of MSR_IA32_DEBUGCTLMSR. The per-thread value is switched in when TIF_DEBUGCTLMSR is set. Signed-off-by:Roland McGrath <roland@redhat.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
Showing
- arch/x86/kernel/process_32.c 5 additions, 1 deletionarch/x86/kernel/process_32.c
- arch/x86/kernel/process_64.c 3 additions, 0 deletionsarch/x86/kernel/process_64.c
- include/asm-x86/processor_32.h 2 additions, 0 deletionsinclude/asm-x86/processor_32.h
- include/asm-x86/processor_64.h 2 additions, 0 deletionsinclude/asm-x86/processor_64.h
- include/asm-x86/thread_info_32.h 4 additions, 2 deletionsinclude/asm-x86/thread_info_32.h
- include/asm-x86/thread_info_64.h 3 additions, 1 deletioninclude/asm-x86/thread_info_64.h
Loading
Please register or sign in to comment