public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Vineeth Pillai <viremana@linux.microsoft.com>
Cc: kbuild-all@lists.01.org, kvm@vger.kernel.org,
	Robert Hu <robert.hu@intel.com>,
	Farrah Chen <farrah.chen@intel.com>,
	Danmei Wei <danmei.wei@intel.com>,
	Paolo Bonzini <pbonzini@redhat.com>
Subject: [kvm:queue 155/222] arch/x86/kvm/svm/svm_onhyperv.h:49:34: error: 'hv_remote_flush_tlb' undeclared; did you mean 'svm_flush_tlb'?
Date: Fri, 11 Jun 2021 06:30:55 +0800	[thread overview]
Message-ID: <202106110647.2D0gveWs-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2235 bytes --]

tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
head:   c1dc20e254b421a2463da7f053b37d822788224a
commit: 1fb7f06d81d209b3ad57a9720808ccaf1c9d55f6 [155/222] KVM: SVM: hyper-v: Remote TLB flush for SVM
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=1fb7f06d81d209b3ad57a9720808ccaf1c9d55f6
        git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git
        git fetch --no-tags kvm queue
        git checkout 1fb7f06d81d209b3ad57a9720808ccaf1c9d55f6
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from arch/x86/kvm/svm/svm.c:47:
   arch/x86/kvm/svm/svm_onhyperv.h: In function 'svm_hv_hardware_setup':
>> arch/x86/kvm/svm/svm_onhyperv.h:49:34: error: 'hv_remote_flush_tlb' undeclared (first use in this function); did you mean 'svm_flush_tlb'?
      49 |   svm_x86_ops.tlb_remote_flush = hv_remote_flush_tlb;
         |                                  ^~~~~~~~~~~~~~~~~~~
         |                                  svm_flush_tlb
   arch/x86/kvm/svm/svm_onhyperv.h:49:34: note: each undeclared identifier is reported only once for each function it appears in
>> arch/x86/kvm/svm/svm_onhyperv.h:51:5: error: 'hv_remote_flush_tlb_with_range' undeclared (first use in this function)
      51 |     hv_remote_flush_tlb_with_range;
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +49 arch/x86/kvm/svm/svm_onhyperv.h

    43	
    44	static inline void svm_hv_hardware_setup(void)
    45	{
    46		if (npt_enabled &&
    47		    ms_hyperv.nested_features & HV_X64_NESTED_ENLIGHTENED_TLB) {
    48			pr_info("kvm: Hyper-V enlightened NPT TLB flush enabled\n");
  > 49			svm_x86_ops.tlb_remote_flush = hv_remote_flush_tlb;
    50			svm_x86_ops.tlb_remote_flush_with_range =
  > 51					hv_remote_flush_tlb_with_range;
    52		}
    53	}
    54	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 66554 bytes --]

                 reply	other threads:[~2021-06-10 22:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202106110647.2D0gveWs-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=danmei.wei@intel.com \
    --cc=farrah.chen@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=robert.hu@intel.com \
    --cc=viremana@linux.microsoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox