lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202505271443.0QM8TjLH-lkp@intel.com>
Date: Tue, 27 May 2025 16:28:55 +0800
From: kernel test robot <lkp@...el.com>
To: Edward Adam Davis <eadavis@...com>, seanjc@...gle.com
Cc: oe-kbuild-all@...ts.linux.dev, pbonzini@...hat.com, tglx@...utronix.de,
	mingo@...hat.com, bp@...en8.de, dave.hansen@...ux.intel.com,
	binbin.wu@...ux.intel.com, x86@...nel.org, hpa@...or.com,
	kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH next] KVM: VMX: add noinstr for is_td_vcpu and is_td

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ