diff options
author | Sean Christopherson <seanjc@google.com> | 2021-02-05 04:24:57 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-02-09 16:17:05 +0300 |
commit | 16d5163f338753fb93b1809e067da5d27d540fbc (patch) | |
tree | 0b9deb681e2c29c6265dea3fd77f69f376fca411 /mm/hwpoison-inject.c | |
parent | 448841f0b7b50f1b8d7a40138dfb0d882435c8bd (diff) | |
download | linux-16d5163f338753fb93b1809e067da5d27d540fbc.tar.xz |
KVM: x86: Remove misleading DR6/DR7 adjustments from RSM emulation
Drop the DR6/7 volatile+fixed bits adjustments in RSM emulation, which
are redundant and misleading. The necessary adjustments are made by
kvm_set_dr(), which properly sets the fixed bits that are conditional
on the vCPU model.
Note, KVM incorrectly reads only bits 31:0 of the DR6/7 fields when
emulating RSM on x86-64. On the plus side for this change, that bug
makes removing "& DRx_VOLATILE" a nop.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210205012458.3872687-2-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mm/hwpoison-inject.c')
0 files changed, 0 insertions, 0 deletions