diff options
author | Oliver Upton <oupton@google.com> | 2020-02-07 02:36:04 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-19 19:53:08 +0100 |
commit | 1164c338095839f80aab7c7b2e1d066c3687c272 (patch) | |
tree | a3c654274ed264462ea0a92b27d70f99ea5b2346 /fs/jbd2/commit.c | |
parent | ec86856b4672cf0b8e72284db00e0050da17a3f0 (diff) |
KVM: x86: Mask off reserved bit from #DB exception payload
commit 307f1cfa269657c63cfe2c932386fcc24684d9dd upstream.
KVM defines the #DB payload as compatible with the 'pending debug
exceptions' field under VMX, not DR6. Mask off bit 12 when applying the
payload to DR6, as it is reserved on DR6 but not the 'pending debug
exceptions' field.
Fixes: f10c729ff965 ("kvm: vmx: Defer setting of DR6 until #DB delivery")
Signed-off-by: Oliver Upton <oupton@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions