Re: [PATCH v6 00/12] KVM: x86: Bus Lock Detect fixes and SVM support

From: Sean Christopherson

Date: Fri Oct 02 2026 - 17:09:06 EST


On Wed, 30 Sep 2026 12:36:22 -0700, Sean Christopherson wrote:
> Fix KVM's handling of DR6.BLD, and add support for virtualizing BLD on SVM.
> KUT tests: https://lore.kernel.org/all/20260925230003.2362261-1-seanjc@xxxxxxxxxx
>
> v6:
> - Throw in the towel, at least for now, on WARNing if KVM sees a DR6 without
> all of the fixed-1 bits set. [Sashiko]
>
> [...]

Applied to kvm-x86 misc, thanks!

[01/12] KVM: x86: Preserve DR6.BLD (Bus Lock Detect) when delivering #DB payload
https://github.com/kvm-x86/linux/commit/719a1d58bf43
[02/12] KVM: x86: Rename kvm_dr6_fixed() => kvm_get_dr6_fixed_1()
https://github.com/kvm-x86/linux/commit/cc551e8d4f77
[03/12] KVM: Return an "unsigned long", not "u64" for the fixed-1 DR6 bits
https://github.com/kvm-x86/linux/commit/28bb033664ee
[04/12] KVM: x86: Force fixed-1 bits in DR6 after synchronizing with hardware
https://github.com/kvm-x86/linux/commit/7b88577a0983
[05/12] KVM: x86: Set guest's fixed-1 DR6 bits when delivering #DB payload
https://github.com/kvm-x86/linux/commit/c62ffee78db8
[06/12] KVM: x86: Kill off DR6_FIXED_1 to prevent future misuse
https://github.com/kvm-x86/linux/commit/0e2342b02380
[07/12] KVM: SVM: Add helper to query if LBR virtualization needs to be enabled
https://github.com/kvm-x86/linux/commit/7faa73133e40
[08/12] KVM: nSVM: Disable LBRV in nested control cache when unsupported
https://github.com/kvm-x86/linux/commit/5cb0577b7497
[09/12] KVM: nSVM: Open code check on LBR virtualization being enabled in vmcb12
https://github.com/kvm-x86/linux/commit/cab4449bddbd
[10/12] KVM: nSVM: Don't assume all active-low bits DR6 are fixed-1
https://github.com/kvm-x86/linux/commit/39080c3ca8b1
[11/12] KVM: SVM: Add a vCPU-aware helper to get supported DEBUGCTL bits
https://github.com/kvm-x86/linux/commit/cd0e6f4d7cec
[12/12] KVM: SVM: Add support for virtualizating Bus Lock Detect
https://github.com/kvm-x86/linux/commit/62ad461079e7

--
https://github.com/kvm-x86/linux/tree/next