-
- Downloads
x86/split_lock: Move Split and Bus lock code to a dedicated file
Bus Lock Detect functionality on AMD platforms works identical to Intel. Move split_lock and bus_lock specific code from intel.c to a dedicated file so that it can be compiled and supported on non-Intel platforms. Also, introduce CONFIG_X86_BUS_LOCK_DETECT, make it dependent on CONFIG_CPU_SUP_INTEL and add compilation dependency of the new bus_lock.c file on CONFIG_X86_BUS_LOCK_DETECT. Signed-off-by:Ravi Bangoria <ravi.bangoria@amd.com> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Reviewed-by:
Tom Lendacky <thomas.lendacky@amd.com> Link: https://lore.kernel.org/all/20240808062937.1149-2-ravi.bangoria@amd.com
parent
de9c2c66
No related branches found
No related tags found
Showing
- arch/x86/Kconfig 8 additions, 0 deletionsarch/x86/Kconfig
- arch/x86/include/asm/cpu.h 9 additions, 2 deletionsarch/x86/include/asm/cpu.h
- arch/x86/kernel/cpu/Makefile 2 additions, 0 deletionsarch/x86/kernel/cpu/Makefile
- arch/x86/kernel/cpu/bus_lock.c 406 additions, 0 deletionsarch/x86/kernel/cpu/bus_lock.c
- arch/x86/kernel/cpu/intel.c 0 additions, 406 deletionsarch/x86/kernel/cpu/intel.c
- include/linux/sched.h 1 addition, 1 deletioninclude/linux/sched.h
- kernel/fork.c 1 addition, 1 deletionkernel/fork.c
Loading
Please register or sign in to comment