Content-Type: multipart/mixed; boundary="===============4863877961221633703==" MIME-Version: 1.0 From: kbuild test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v10 07/10] mmu: spp: Enable Lazy mode SPP protection Date: Wed, 01 Jan 2020 06:26:45 +0800 Message-ID: <202001010504.RyikzFRu%lkp@intel.com> In-Reply-To: <20191231065043.2209-8-weijiang.yang@intel.com> List-Id: --===============4863877961221633703== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Yang, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on kvm/linux-next] [also build test WARNING on vhost/linux-next tip/auto-latest linux/master l= inus/master v5.5-rc4 next-20191219] [if your patch is applied to the wrong git tree, please drop us a note to h= elp improve the system. BTW, we also suggest to use '--base' option to specify = the base tree in git format-patch, please see https://stackoverflow.com/a/37406= 982] url: https://github.com/0day-ci/linux/commits/Yang-Weijiang/Enable-Sub-P= age-Write-Protection-Support/20191231-145254 base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next reproduce: # apt-get install sparse # sparse version: v0.6.1-129-g341daf20-dirty make ARCH=3Dx86_64 allmodconfig make C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag Reported-by: kbuild test robot sparse warnings: (new ones prefixed by >>) arch/x86/kvm/mmu/spp.c:202:5: sparse: sparse: symbol 'kvm_spp_level_page= s' was not declared. Should it be static? arch/x86/kvm/mmu/spp.c:419:6: sparse: sparse: symbol 'kvm_spp_flush_rmap= ' was not declared. Should it be static? >> arch/x86/kvm/mmu/spp.c:574:6: sparse: sparse: symbol 'is_spp_protected' = was not declared. Should it be static? arch/x86/kvm/mmu/mmu.c:4827:57: sparse: sparse: cast truncates bits from= constant value (ffffff33 becomes 33) arch/x86/kvm/mmu/mmu.c:4829:56: sparse: sparse: cast truncates bits from= constant value (ffffff0f becomes f) arch/x86/kvm/mmu/mmu.c:4831:57: sparse: sparse: cast truncates bits from= constant value (ffffff55 becomes 55) Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructure Open Source Technology Cen= ter https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corpor= ation --===============4863877961221633703==--