summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/machine_kexec_64.c
diff options
context:
space:
mode:
authorChenyi Qiang <chenyi.qiang@intel.com>2022-08-02 06:32:06 +0300
committerIngo Molnar <mingo@kernel.org>2022-08-02 14:42:00 +0300
commitffa6482e461ff550325356ae705b79e256702ea9 (patch)
treee191f4506dd6a5a482ad5962a031622346601ae8 /arch/x86/kernel/machine_kexec_64.c
parent9de1f9c8ca5100a02a2e271bdbde36202e251b4b (diff)
downloadlinux-ffa6482e461ff550325356ae705b79e256702ea9.tar.xz
x86/bus_lock: Don't assume the init value of DEBUGCTLMSR.BUS_LOCK_DETECT to be zero
It's possible that this kernel has been kexec'd from a kernel that enabled bus lock detection, or (hypothetically) BIOS/firmware has set DEBUGCTLMSR_BUS_LOCK_DETECT. Disable bus lock detection explicitly if not wanted. Fixes: ebb1064e7c2e ("x86/traps: Handle #DB for bus lock") Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Tony Luck <tony.luck@intel.com> Link: https://lore.kernel.org/r/20220802033206.21333-1-chenyi.qiang@intel.com
Diffstat (limited to 'arch/x86/kernel/machine_kexec_64.c')
0 files changed, 0 insertions, 0 deletions