* Re: [PATCH 3/3] KVM: x86: Don't deflect MSRs to userspace that can't be filtered
[not found] <20220703191636.2159067-4-aaronlewis@google.com>
@ 2022-07-03 21:05 ` kernel test robot
2022-07-04 0:09 ` kernel test robot
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-07-03 21:05 UTC (permalink / raw)
To: Aaron Lewis, kvm
Cc: llvm, kbuild-all, pbonzini, jmattson, seanjc, Aaron Lewis
Hi Aaron,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on kvm/queue]
[also build test WARNING on next-20220701]
[cannot apply to mst-vhost/linux-next linus/master v5.19-rc4]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/intel-lab-lkp/linux/commits/Aaron-Lewis/MSR-Filtering-updates/20220704-031727
base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
config: i386-randconfig-a011 (https://download.01.org/0day-ci/archive/20220704/202207040448.69LBG38o-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5d787689b14574fe58ba9798563f4a6df6059fbf)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/0c12a0d47fb511592df45bf2030cc200b5bab5ef
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Aaron-Lewis/MSR-Filtering-updates/20220704-031727
git checkout 0c12a0d47fb511592df45bf2030cc200b5bab5ef
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kvm/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> arch/x86/kvm/x86.c:1715:6: warning: no previous prototype for function 'kvm_msr_filtering_disallowed' [-Wmissing-prototypes]
bool kvm_msr_filtering_disallowed(u32 index)
^
arch/x86/kvm/x86.c:1715:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
bool kvm_msr_filtering_disallowed(u32 index)
^
static
1 warning generated.
vim +/kvm_msr_filtering_disallowed +1715 arch/x86/kvm/x86.c
1714
> 1715 bool kvm_msr_filtering_disallowed(u32 index)
1716 {
1717 /* x2APIC MSRs do not support filtering. */
1718 if (index >= 0x800 && index <= 0x8ff)
1719 return true;
1720
1721 return false;
1722 }
1723
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 3/3] KVM: x86: Don't deflect MSRs to userspace that can't be filtered
[not found] <20220703191636.2159067-4-aaronlewis@google.com>
2022-07-03 21:05 ` [PATCH 3/3] KVM: x86: Don't deflect MSRs to userspace that can't be filtered kernel test robot
@ 2022-07-04 0:09 ` kernel test robot
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-07-04 0:09 UTC (permalink / raw)
To: Aaron Lewis, kvm
Cc: llvm, kbuild-all, pbonzini, jmattson, seanjc, Aaron Lewis
Hi Aaron,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on kvm/queue]
[also build test ERROR on next-20220701]
[cannot apply to mst-vhost/linux-next linus/master v5.19-rc5]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/intel-lab-lkp/linux/commits/Aaron-Lewis/MSR-Filtering-updates/20220704-031727
base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220704/202207040818.udTt0mLB-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5d787689b14574fe58ba9798563f4a6df6059fbf)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/0c12a0d47fb511592df45bf2030cc200b5bab5ef
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Aaron-Lewis/MSR-Filtering-updates/20220704-031727
git checkout 0c12a0d47fb511592df45bf2030cc200b5bab5ef
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> arch/x86/kvm/x86.c:1715:6: error: no previous prototype for function 'kvm_msr_filtering_disallowed' [-Werror,-Wmissing-prototypes]
bool kvm_msr_filtering_disallowed(u32 index)
^
arch/x86/kvm/x86.c:1715:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
bool kvm_msr_filtering_disallowed(u32 index)
^
static
1 error generated.
vim +/kvm_msr_filtering_disallowed +1715 arch/x86/kvm/x86.c
1714
> 1715 bool kvm_msr_filtering_disallowed(u32 index)
1716 {
1717 /* x2APIC MSRs do not support filtering. */
1718 if (index >= 0x800 && index <= 0x8ff)
1719 return true;
1720
1721 return false;
1722 }
1723
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-04 0:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20220703191636.2159067-4-aaronlewis@google.com>
2022-07-03 21:05 ` [PATCH 3/3] KVM: x86: Don't deflect MSRs to userspace that can't be filtered kernel test robot
2022-07-04 0:09 ` kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox