diff options
| author | Chenyi Qiang <[email protected]> | 2022-08-02 03:32:06 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2022-08-02 11:42:00 +0000 |
| commit | ffa6482e461ff550325356ae705b79e256702ea9 (patch) | |
| tree | e191f4506dd6a5a482ad5962a031622346601ae8 /lib/bitmap.c | |
| parent | Merge tag 'irq-core-2022-08-01' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
| download | kernel-ffa6482e461ff550325356ae705b79e256702ea9.tar.gz kernel-ffa6482e461ff550325356ae705b79e256702ea9.zip | |
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 <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Reviewed-by: Tony Luck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions
