From: Paolo Bonzini Date: Sun, 12 May 2024 07:18:44 +0000 (-0400) Subject: Merge tag 'kvm-x86-misc-6.10' of https://github.com/kvm-x86/linux into HEAD X-Git-Tag: io_uring-6.10-20240523~71^2~1 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=7d41e24da29a83acc52a78a68aa515dd76e41cc1;p=linux-block.git Merge tag 'kvm-x86-misc-6.10' of https://github.com/kvm-x86/linux into HEAD KVM x86 misc changes for 6.10: - Advertise the max mappable GPA in the "guest MAXPHYADDR" CPUID field, which is unused by hardware, so that KVM can communicate its inability to map GPAs that set bits 51:48 due to lack of 5-level paging. Guest firmware is expected to use the information to safely remap BARs in the uppermost GPA space, i.e to avoid placing a BAR at a legal, but unmappable, GPA. - Use vfree() instead of kvfree() for allocations that always use vcalloc() or __vcalloc(). - Don't completely ignore same-value writes to immutable feature MSRs, as doing so results in KVM failing to reject accesses to MSR that aren't supposed to exist given the vCPU model and/or KVM configuration. - Don't mark APICv as being inhibited due to ABSENT if APICv is disabled KVM-wide to avoid confusing debuggers (KVM will never bother clearing the ABSENT inhibit, even if userspace enables in-kernel local APIC). --- 7d41e24da29a83acc52a78a68aa515dd76e41cc1