Re: linux-next: Tree for Jun 14 (arch/x86/kvm/svm/avic.c)

From: Randy Dunlap
Date: Tue Jun 14 2022 - 12:15:38 EST




On 6/13/22 23:17, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20220610:
>

on i386:

In file included from ../include/linux/bits.h:6:0,
from ../include/linux/kvm_types.h:21,
from ../arch/x86/kvm/svm/avic.c:17:
../arch/x86/kvm/svm/avic.c: In function ‘avic_check_apicv_inhibit_reasons’:
../include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow]
#define BIT(nr) (UL(1) << (nr))
^
../arch/x86/kvm/svm/avic.c:911:6: note: in expansion of macro ‘BIT’
BIT(APICV_INHIBIT_REASON_SEV |
^~~


>From commit 3743c2f02517
Author: Maxim Levitsky <mlevitsk@xxxxxxxxxx>
Date: Mon Jun 6 21:08:24 2022 +0300

KVM: x86: inhibit APICv/AVIC on changes to APIC ID or APIC base


--
~Randy