mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Edward Adam Davis <eadavis@qq.com>, seanjc@google.com
Cc: oe-kbuild-all@lists.linux.dev, pbonzini@redhat.com,
	tglx@linutronix.de, mingo@redhat.com, bp@alien8.de,
	dave.hansen@linux.intel.com, binbin.wu@linux.intel.com,
	x86@kernel.org, hpa@zytor.com, kvm@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH next] KVM: VMX: add noinstr for is_td_vcpu and is_td
Date: Tue, 27 May 2025 16:28:55 +0800	[thread overview]
Message-ID: <202505271443.0QM8TjLH-lkp@intel.com> (raw)
In-Reply-To: <tencent_27A451976AF76E66DF1379C3604976A3A505@qq.com>

Hi Edward,

kernel test robot noticed the following build warnings:

[auto build test WARNING on next-20250526]

url:    https://github.com/intel-lab-lkp/linux/commits/Edward-Adam-Davis/KVM-VMX-add-noinstr-for-is_td_vcpu-and-is_td/20250527-114712
base:   next-20250526
patch link:    https://lore.kernel.org/r/tencent_27A451976AF76E66DF1379C3604976A3A505%40qq.com
patch subject: [PATCH next] KVM: VMX: add noinstr for is_td_vcpu and is_td
config: x86_64-buildonly-randconfig-001-20250527 (https://download.01.org/0day-ci/archive/20250527/202505271443.0QM8TjLH-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250527/202505271443.0QM8TjLH-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505271443.0QM8TjLH-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from arch/x86/kvm/vmx/vmx.h:20,
                    from arch/x86/kvm/vmx/hyperv.h:7,
                    from arch/x86/kvm/vmx/nested.c:13:
>> arch/x86/kvm/vmx/common.h:74:21: warning: 'is_td' defined but not used [-Wunused-function]
      74 | static noinstr bool is_td(struct kvm *kvm) { return false; }
         |                     ^~~~~


vim +/is_td +74 arch/x86/kvm/vmx/common.h

    73	
  > 74	static noinstr bool is_td(struct kvm *kvm) { return false; }
    75	static noinstr bool is_td_vcpu(struct kvm_vcpu *vcpu) { return false; }
    76	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2025-05-27  8:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-27  3:45 Edward Adam Davis
2025-05-27  5:31 ` Binbin Wu
2025-05-27  5:39   ` Edward Adam Davis
2025-05-27  8:44   ` [PATCH next V2] KVM: VMX: use __always_inline " Edward Adam Davis
2025-05-27 11:07     ` Peter Zijlstra
2025-05-27 12:34       ` Huang, Kai
2025-05-27 13:47         ` Peter Zijlstra
2025-05-27 21:47           ` Huang, Kai
2025-05-27 17:53     ` Edgecombe, Rick P
2025-05-27 21:48       ` Huang, Kai
2025-05-28  0:28         ` Binbin Wu
2025-05-27  8:28 ` kernel test robot [this message]
2025-05-27 11:07 ` [PATCH next] KVM: VMX: add noinstr " Peter Zijlstra

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=202505271443.0QM8TjLH-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=binbin.wu@linux.intel.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=eadavis@qq.com \
    --cc=hpa@zytor.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pbonzini@redhat.com \
    --cc=seanjc@google.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /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

all inboxes | Powered by JetHome®