Content-Type: multipart/mixed; boundary="===============4649669727036497959==" MIME-Version: 1.0 From: Sean Christopherson To: kbuild-all@lists.01.org Subject: Re: [PATCH 04/11] KVM: SVM: Use common kvm_apic_write_nodecode() for AVIC write traps Date: Mon, 07 Feb 2022 16:16:37 +0000 Message-ID: In-Reply-To: <202202050720.YPm113nN-lkp@intel.com> List-Id: --===============4649669727036497959== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Sat, Feb 05, 2022, kernel test robot wrote: > All errors (new ones prefixed by >>): > = > arch/x86/kvm/svm/avic.c: In function 'avic_unaccel_trap_write': > >> arch/x86/kvm/svm/avic.c:486:35: error: 'svm' undeclared (first use in = this function); did you mean 'sem'? > 486 | if (avic_handle_apic_id_update(&svm->vcpu)) > | ^~~ > | sem > arch/x86/kvm/svm/avic.c:486:35: note: each undeclared identifier is re= ported only once for each function it appears in > = > = > vim +486 arch/x86/kvm/svm/avic.c > = > ef0f64960d012cb Joerg Roedel 2020-03-31 478 = > 528172fca9c0e8f Sean Christopherson 2022-02-04 479 static int avic_unac= cel_trap_write(struct kvm_vcpu *vcpu) > ef0f64960d012cb Joerg Roedel 2020-03-31 480 { > 528172fca9c0e8f Sean Christopherson 2022-02-04 481 u32 offset =3D to_s= vm(vcpu)->vmcb->control.exit_info_1 & > ef0f64960d012cb Joerg Roedel 2020-03-31 482 AVIC_UNACCEL_ACC= ESS_OFFSET_MASK; > ef0f64960d012cb Joerg Roedel 2020-03-31 483 = > ef0f64960d012cb Joerg Roedel 2020-03-31 484 switch (offset) { > ef0f64960d012cb Joerg Roedel 2020-03-31 485 case APIC_ID: > ef0f64960d012cb Joerg Roedel 2020-03-31 @486 if (avic_handle_ap= ic_id_update(&svm->vcpu)) > ef0f64960d012cb Joerg Roedel 2020-03-31 487 return 0; Doh, I did all my testing with avic_handle_apic_id_update() completely remo= ved (because it's broken), but obviously forgot to rebuild without that patch w= hen posting. --===============4649669727036497959==--