diff options
author | Sean Christopherson <seanjc@google.com> | 2021-02-04 03:01:15 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-02-04 17:27:30 +0300 |
commit | a8ac864a7d6dbc2fc43081b1eecd9e0183065d47 (patch) | |
tree | eef1dceffffb8792929b3f953093552373ef03cb /drivers/gpu/drm/i915 | |
parent | 6f8e65a60168567cc59f9b99980ea9112d4152f5 (diff) | |
download | linux-a8ac864a7d6dbc2fc43081b1eecd9e0183065d47.tar.xz |
KVM: x86: Add helper to consolidate "raw" reserved GPA mask calculations
Add a helper to generate the mask of reserved GPA bits _without_ any
adjustments for repurposed bits, and use it to replace a variety of
open coded variants in the MTRR and APIC_BASE flows.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210204000117.3303214-11-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915')
0 files changed, 0 insertions, 0 deletions