diff options
| author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2022-02-22 18:46:41 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-25 13:52:12 +0300 |
| commit | 7321f47eada53a395fb3086d49297eebb19e8e58 (patch) | |
| tree | 35bd7d7a16295bd39f61ef9a3d06b2741e002cce /include/uapi | |
| parent | 82c1ead0d678af31e5d883656c12096a0004178b (diff) | |
| download | linux-7321f47eada53a395fb3086d49297eebb19e8e58.tar.xz | |
KVM: x86: hyper-v: Fix the maximum number of sparse banks for XMM fast TLB flush hypercalls
When TLB flush hypercalls (HVCALL_FLUSH_VIRTUAL_ADDRESS_{LIST,SPACE}_EX are
issued in 'XMM fast' mode, the maximum number of allowed sparse_banks is
not 'HV_HYPERCALL_MAX_XMM_REGISTERS - 1' (5) but twice as many (10) as each
XMM register is 128 bit long and can hold two 64 bit long banks.
Cc: stable@vger.kernel.org # 5.14.x
Fixes: 5974565bc26d ("KVM: x86: kvm_hv_flush_tlb use inputs from XMM registers")
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20220222154642.684285-4-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
