[RFC PATCH] mmu: spp: is_spp_protected() can be static
by kbuild test robot
Fixes: aacd4e33a5dd ("mmu: spp: Enable Lazy mode SPP protection")
Signed-off-by: kbuild test robot <lkp(a)intel.com>
---
spp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kvm/mmu/spp.c b/arch/x86/kvm/mmu/spp.c
index a5b881f438b1f..6b0317edf0b08 100644
--- a/arch/x86/kvm/mmu/spp.c
+++ b/arch/x86/kvm/mmu/spp.c
@@ -571,7 +571,7 @@ inline u64 construct_spptp(unsigned long root_hpa)
}
EXPORT_SYMBOL_GPL(construct_spptp);
-bool is_spp_protected(struct kvm_memory_slot *slot, gfn_t gfn, int level)
+static bool is_spp_protected(struct kvm_memory_slot *slot, gfn_t gfn, int level)
{
int page_num = KVM_PAGES_PER_HPAGE(level);
u32 *access;
2 years, 7 months
Re: [PATCH v10 07/10] mmu: spp: Enable Lazy mode SPP protection
by kbuild test robot
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 linus/master v5.5-rc4 next-20191219]
[if your patch is applied to the wrong git tree, please drop us a note to help
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/37406982]
url: https://github.com/0day-ci/linux/commits/Yang-Weijiang/Enable-Sub-Page-Wr...
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=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
arch/x86/kvm/mmu/spp.c:202:5: sparse: sparse: symbol 'kvm_spp_level_pages' 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 Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
2 years, 7 months
[zen-kernel-zen-kernel:5.4/fixes 1/4] lib/devres.c:44:10: error: implicit declaration of function 'ioremap_uc'; did you mean 'ioremap_wc'?
by kbuild test robot
tree: https://github.com/zen-kernel/zen-kernel 5.4/fixes
head: 9ee25dd5ad73678f96469e77b6968c05f008f851
commit: 3819a8e1b1b6d89b737a0566b579aef00a3cf723 [1/4] lib: devres: add a helper function for ioremap_uc
config: sparc64-randconfig-a001-20191231 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 7.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 3819a8e1b1b6d89b737a0566b579aef00a3cf723
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=sparc64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
lib/devres.c: In function '__devm_ioremap':
>> lib/devres.c:44:10: error: implicit declaration of function 'ioremap_uc'; did you mean 'ioremap_wc'? [-Werror=implicit-function-declaration]
addr = ioremap_uc(offset, size);
^~~~~~~~~~
ioremap_wc
>> lib/devres.c:44:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
addr = ioremap_uc(offset, size);
^
cc1: some warnings being treated as errors
vim +44 lib/devres.c
25
26 static void __iomem *__devm_ioremap(struct device *dev, resource_size_t offset,
27 resource_size_t size,
28 enum devm_ioremap_type type)
29 {
30 void __iomem **ptr, *addr = NULL;
31
32 ptr = devres_alloc(devm_ioremap_release, sizeof(*ptr), GFP_KERNEL);
33 if (!ptr)
34 return NULL;
35
36 switch (type) {
37 case DEVM_IOREMAP:
38 addr = ioremap(offset, size);
39 break;
40 case DEVM_IOREMAP_NC:
41 addr = ioremap_nocache(offset, size);
42 break;
43 case DEVM_IOREMAP_UC:
> 44 addr = ioremap_uc(offset, size);
45 break;
46 case DEVM_IOREMAP_WC:
47 addr = ioremap_wc(offset, size);
48 break;
49 }
50
51 if (addr) {
52 *ptr = addr;
53 devres_add(dev, ptr);
54 } else
55 devres_free(ptr);
56
57 return addr;
58 }
59
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
2 years, 7 months
sound/soc/sof/sof-pci-dev.c:281: undefined reference to `snd_intel_dsp_driver_probe'
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fd6988496e79a6a4bdb514a4655d2920209eb85d
commit: 82d9d54a6c0ee8b12211fa4e59fd940a2da4e063 ALSA: hda: add Intel DSP configuration / probe code
date: 2 months ago
config: alpha-randconfig-a001-20200101 (attached as .config)
compiler: alpha-linux-gcc (GCC) 7.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 82d9d54a6c0ee8b12211fa4e59fd940a2da4e063
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=alpha
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
sound/soc/sof/sof-pci-dev.o: In function `sof_pci_probe':
>> sound/soc/sof/sof-pci-dev.c:281: undefined reference to `snd_intel_dsp_driver_probe'
>> sound/soc/sof/sof-pci-dev.c:281: undefined reference to `snd_intel_dsp_driver_probe'
vim +281 sound/soc/sof/sof-pci-dev.c
269
270 static int sof_pci_probe(struct pci_dev *pci,
271 const struct pci_device_id *pci_id)
272 {
273 struct device *dev = &pci->dev;
274 const struct sof_dev_desc *desc =
275 (const struct sof_dev_desc *)pci_id->driver_data;
276 struct snd_soc_acpi_mach *mach;
277 struct snd_sof_pdata *sof_pdata;
278 const struct snd_sof_dsp_ops *ops;
279 int ret;
280
> 281 ret = snd_intel_dsp_driver_probe(pci);
282 if (ret != SND_INTEL_DSP_DRIVER_ANY &&
283 ret != SND_INTEL_DSP_DRIVER_SOF)
284 return -ENODEV;
285
286 dev_dbg(&pci->dev, "PCI DSP detected");
287
288 /* get ops for platform */
289 ops = desc->ops;
290 if (!ops) {
291 dev_err(dev, "error: no matching PCI descriptor ops\n");
292 return -ENODEV;
293 }
294
295 sof_pdata = devm_kzalloc(dev, sizeof(*sof_pdata), GFP_KERNEL);
296 if (!sof_pdata)
297 return -ENOMEM;
298
299 ret = pcim_enable_device(pci);
300 if (ret < 0)
301 return ret;
302
303 ret = pci_request_regions(pci, "Audio DSP");
304 if (ret < 0)
305 return ret;
306
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
2 years, 7 months
[RFC PATCH] vmx: spp: kvm_spp_level_pages() can be static
by kbuild test robot
Fixes: 5ab8f03b84b6 ("vmx: spp: Set up SPP paging table at vmentry/vmexit")
Signed-off-by: kbuild test robot <lkp(a)intel.com>
---
spp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kvm/mmu/spp.c b/arch/x86/kvm/mmu/spp.c
index 9d9edb295394c..3ec4341409674 100644
--- a/arch/x86/kvm/mmu/spp.c
+++ b/arch/x86/kvm/mmu/spp.c
@@ -199,7 +199,7 @@ bool is_spp_spte(struct kvm_mmu_page *sp)
return sp->role.spp;
}
-int kvm_spp_level_pages(gfn_t gfn_lower, gfn_t gfn_upper, int level)
+static int kvm_spp_level_pages(gfn_t gfn_lower, gfn_t gfn_upper, int level)
{
int page_num = KVM_PAGES_PER_HPAGE(level);
gfn_t gfn_max = (gfn_lower & ~(page_num - 1)) + page_num - 1;
@@ -416,7 +416,7 @@ static void kvm_spp_zap_pte(struct kvm *kvm, u64 *spte, int level)
}
}
-bool kvm_spp_flush_rmap(struct kvm *kvm, u64 gfn_min, u64 gfn_max)
+static bool kvm_spp_flush_rmap(struct kvm *kvm, u64 gfn_min, u64 gfn_max)
{
u64 *sptep;
struct rmap_iterator iter;
2 years, 7 months
Re: [PATCH v10 06/10] vmx: spp: Set up SPP paging table at vmentry/vmexit
by kbuild test robot
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 linus/master v5.5-rc4 next-20191219]
[if your patch is applied to the wrong git tree, please drop us a note to help
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/37406982]
url: https://github.com/0day-ci/linux/commits/Yang-Weijiang/Enable-Sub-Page-Wr...
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=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> arch/x86/kvm/mmu/spp.c:202:5: sparse: sparse: symbol 'kvm_spp_level_pages' 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/mmu.c:4807:57: sparse: sparse: cast truncates bits from constant value (ffffff33 becomes 33)
arch/x86/kvm/mmu/mmu.c:4809:56: sparse: sparse: cast truncates bits from constant value (ffffff0f becomes f)
arch/x86/kvm/mmu/mmu.c:4811:57: sparse: sparse: cast truncates bits from constant value (ffffff55 becomes 55)
--
>> arch/x86/kvm/vmx/../mmu/spp.h:16:27: sparse: sparse: marked inline, but without a definition
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (110011 becomes 11)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (110011 becomes 11)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100110 becomes 110)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100490 becomes 490)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100310 becomes 310)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100510 becomes 510)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100410 becomes 410)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100490 becomes 490)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100310 becomes 310)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100510 becomes 510)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100410 becomes 410)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (30203 becomes 203)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (30203 becomes 203)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (30283 becomes 283)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (30283 becomes 283)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1b019b becomes 19b)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1b021b becomes 21b)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1b029b becomes 29b)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1b031b becomes 31b)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1b041b becomes 41b)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (80c88 becomes c88)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (110311 becomes 311)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a081a becomes 81a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a081a becomes 81a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a081a becomes 81a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (120912 becomes 912)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (120912 becomes 912)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (120912 becomes 912)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (110311 becomes 311)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (120992 becomes 992)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (120992 becomes 992)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100610 becomes 610)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100690 becomes 690)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100590 becomes 590)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (80408 becomes 408)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a039a becomes 39a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a041a becomes 41a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (120a92 becomes a92)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a099a becomes 99a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a091a becomes 91a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (a048a becomes 48a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a039a becomes 39a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a041a becomes 41a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (120a92 becomes a92)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a099a becomes 99a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a091a becomes 91a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (a048a becomes 48a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (a010a becomes 10a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (a050a becomes 50a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a071a becomes 71a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a079a becomes 79a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a009a becomes 9a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a081a becomes 81a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a081a becomes 81a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a011a becomes 11a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (180198 becomes 198)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a011a becomes 11a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a051a becomes 51a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (120392 becomes 392)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (120892 becomes 892)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a081a becomes 81a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a081a becomes 81a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a011a becomes 11a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a011a becomes 11a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100490 becomes 490)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100490 becomes 490)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (120892 becomes 892)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (120892 becomes 892)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100490 becomes 490)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a001a becomes 1a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a011a becomes 11a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (a028a becomes 28a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (a030a becomes 30a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (a038a becomes 38a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (a040a becomes 40a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (a028a becomes 28a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (a030a becomes 30a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (a038a becomes 38a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (a040a becomes 40a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100090 becomes 90)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100090 becomes 90)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (180118 becomes 118)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a001a becomes 1a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (80688 becomes 688)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a009a becomes 9a)
>> arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (80c08 becomes c08)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100790 becomes 790)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (100790 becomes 790)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (180198 becomes 198)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a011a becomes 11a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (120492 becomes 492)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a061a becomes 61a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (120492 becomes 492)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a061a becomes 61a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (120412 becomes 412)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a059a becomes 59a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (120412 becomes 412)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: cast truncates bits from constant value (1a059a becomes 59a)
arch/x86/kvm/vmx/evmcs.h:80:30: sparse: sparse: too many warnings
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
2 years, 7 months
[audit-next:ghak90-audit-containerID.v8 17/17] fs/proc/base.c:3177:37-44: duplicated argument to & or | (fwd)
by Julia Lawall
Hello,
Line 3177 has two instances of S_IRUSR. Please check line 3579 (not
included here) for a similar issue.
julia
---------- Forwarded message ----------
Date: Wed, 1 Jan 2020 01:31:47 +0800
From: kbuild test robot <lkp(a)intel.com>
To: kbuild(a)lists.01.org
Cc: Julia Lawall <julia.lawall(a)lip6.fr>
Subject: [audit-next:ghak90-audit-containerID.v8 17/17]
fs/proc/base.c:3177:37-44: duplicated argument to & or |
CC: kbuild-all(a)lists.01.org
TO: Richard Guy Briggs <rgb(a)redhat.com>
tree: git://toccata2.tricolour.ca/linux-2.6-rgb.git ghak90-audit-containerID.v8
head: 5941671b6b6b5de28ab2cc80e72f288cf83291d5
commit: 5941671b6b6b5de28ab2cc80e72f288cf83291d5 [17/17] audit: add capcontid to set contid outside init_user_ns
:::::: branch date: 21 hours ago
:::::: commit date: 21 hours ago
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
Reported-by: Julia Lawall <julia.lawall(a)lip6.fr>
>> fs/proc/base.c:3177:37-44: duplicated argument to & or |
fs/proc/base.c:3579:37-44: duplicated argument to & or |
git remote add audit-next git://toccata2.tricolour.ca/linux-2.6-rgb.git
git remote update audit-next
git checkout 5941671b6b6b5de28ab2cc80e72f288cf83291d5
vim +3177 fs/proc/base.c
20cdc894c45d2e4 Eric W. Biederman 2006-10-02 3104
c5141e6d64ab5c4 Eric Dumazet 2007-05-08 3105 static const struct pid_entry tgid_base_stuff[] = {
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3106 DIR("task", S_IRUGO|S_IXUGO, proc_task_inode_operations, proc_task_operations),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3107 DIR("fd", S_IRUSR|S_IXUSR, proc_fd_inode_operations, proc_fd_operations),
640708a2cff7f81 Pavel Emelyanov 2012-01-10 3108 DIR("map_files", S_IRUSR|S_IXUSR, proc_map_files_inode_operations, proc_map_files_operations),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3109 DIR("fdinfo", S_IRUSR|S_IXUSR, proc_fdinfo_inode_operations, proc_fdinfo_operations),
6b4e306aa3dc94a Eric W. Biederman 2010-03-07 3110 DIR("ns", S_IRUSR|S_IXUGO, proc_ns_dir_inode_operations, proc_ns_dir_operations),
b2211a361a4289c Andrew Morton 2008-03-11 3111 #ifdef CONFIG_NET
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3112 DIR("net", S_IRUGO|S_IXUGO, proc_net_inode_operations, proc_net_operations),
b2211a361a4289c Andrew Morton 2008-03-11 3113 #endif
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3114 REG("environ", S_IRUSR, proc_environ_operations),
c5317167854e01d Al Viro 2016-10-05 3115 REG("auxv", S_IRUSR, proc_auxv_operations),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3116 ONE("status", S_IRUGO, proc_pid_status),
35a35046e4f9d88 Djalal Harouni 2014-04-07 3117 ONE("personality", S_IRUSR, proc_pid_personality),
1c963eb135075ec Alexey Dobriyan 2014-08-08 3118 ONE("limits", S_IRUGO, proc_pid_limits),
43ae34cb4cd650d Ingo Molnar 2007-07-09 3119 #ifdef CONFIG_SCHED_DEBUG
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3120 REG("sched", S_IRUGO|S_IWUSR, proc_pid_sched_operations),
5091faa449ee0b7 Mike Galbraith 2010-11-30 3121 #endif
5091faa449ee0b7 Mike Galbraith 2010-11-30 3122 #ifdef CONFIG_SCHED_AUTOGROUP
5091faa449ee0b7 Mike Galbraith 2010-11-30 3123 REG("autogroup", S_IRUGO|S_IWUSR, proc_pid_sched_autogroup_operations),
ebcb67341fee340 Roland McGrath 2008-07-25 3124 #endif
4614a696bd1c3a9 John Stultz 2009-12-14 3125 REG("comm", S_IRUGO|S_IWUSR, proc_pid_set_comm_operations),
ebcb67341fee340 Roland McGrath 2008-07-25 3126 #ifdef CONFIG_HAVE_ARCH_TRACEHOOK
09d93bd62709814 Alexey Dobriyan 2014-08-08 3127 ONE("syscall", S_IRUSR, proc_pid_syscall),
43ae34cb4cd650d Ingo Molnar 2007-07-09 3128 #endif
c2c0bb44620dece Alexey Dobriyan 2015-06-25 3129 REG("cmdline", S_IRUGO, proc_pid_cmdline_ops),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3130 ONE("stat", S_IRUGO, proc_tgid_stat),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3131 ONE("statm", S_IRUGO, proc_pid_statm),
b76437579d1344b Siddhesh Poyarekar 2012-03-21 3132 REG("maps", S_IRUGO, proc_pid_maps_operations),
28a6d67179da696 Eric W. Biederman 2006-10-02 3133 #ifdef CONFIG_NUMA
b76437579d1344b Siddhesh Poyarekar 2012-03-21 3134 REG("numa_maps", S_IRUGO, proc_pid_numa_maps_operations),
28a6d67179da696 Eric W. Biederman 2006-10-02 3135 #endif
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3136 REG("mem", S_IRUSR|S_IWUSR, proc_mem_operations),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3137 LNK("cwd", proc_cwd_link),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3138 LNK("root", proc_root_link),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3139 LNK("exe", proc_exe_link),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3140 REG("mounts", S_IRUGO, proc_mounts_operations),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3141 REG("mountinfo", S_IRUGO, proc_mountinfo_operations),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3142 REG("mountstats", S_IRUSR, proc_mountstats_operations),
1e88328111aae3e Matt Mackall 2008-02-04 3143 #ifdef CONFIG_PROC_PAGE_MONITOR
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3144 REG("clear_refs", S_IWUSR, proc_clear_refs_operations),
b76437579d1344b Siddhesh Poyarekar 2012-03-21 3145 REG("smaps", S_IRUGO, proc_pid_smaps_operations),
493b0e9d945fa9d Daniel Colascione 2017-09-06 3146 REG("smaps_rollup", S_IRUGO, proc_pid_smaps_rollup_operations),
32ed74a4b968a4f Djalal Harouni 2014-04-07 3147 REG("pagemap", S_IRUSR, proc_pagemap_operations),
28a6d67179da696 Eric W. Biederman 2006-10-02 3148 #endif
28a6d67179da696 Eric W. Biederman 2006-10-02 3149 #ifdef CONFIG_SECURITY
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3150 DIR("attr", S_IRUGO|S_IXUGO, proc_attr_dir_inode_operations, proc_attr_dir_operations),
28a6d67179da696 Eric W. Biederman 2006-10-02 3151 #endif
28a6d67179da696 Eric W. Biederman 2006-10-02 3152 #ifdef CONFIG_KALLSYMS
edfcd6064fa7d36 Alexey Dobriyan 2014-08-08 3153 ONE("wchan", S_IRUGO, proc_pid_wchan),
28a6d67179da696 Eric W. Biederman 2006-10-02 3154 #endif
2ec220e27f5040a Ken Chen 2008-11-10 3155 #ifdef CONFIG_STACKTRACE
35a35046e4f9d88 Djalal Harouni 2014-04-07 3156 ONE("stack", S_IRUSR, proc_pid_stack),
28a6d67179da696 Eric W. Biederman 2006-10-02 3157 #endif
5968cecedd7a09f Naveen N. Rao 2015-06-30 3158 #ifdef CONFIG_SCHED_INFO
f6e826ca37a56e1 Alexey Dobriyan 2014-08-08 3159 ONE("schedstat", S_IRUGO, proc_pid_schedstat),
28a6d67179da696 Eric W. Biederman 2006-10-02 3160 #endif
9745512ce79de68 Arjan van de Ven 2008-01-25 3161 #ifdef CONFIG_LATENCYTOP
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3162 REG("latency", S_IRUGO, proc_lstats_operations),
9745512ce79de68 Arjan van de Ven 2008-01-25 3163 #endif
8793d854edbc277 Paul Menage 2007-10-18 3164 #ifdef CONFIG_PROC_PID_CPUSET
52de4779f201758 Zefan Li 2014-09-18 3165 ONE("cpuset", S_IRUGO, proc_cpuset_show),
a424316ca154317 Paul Menage 2007-10-18 3166 #endif
a424316ca154317 Paul Menage 2007-10-18 3167 #ifdef CONFIG_CGROUPS
006f4ac49742b5f Zefan Li 2014-09-18 3168 ONE("cgroup", S_IRUGO, proc_cgroup_show),
28a6d67179da696 Eric W. Biederman 2006-10-02 3169 #endif
6ba51e3751a3543 Alexey Dobriyan 2014-08-08 3170 ONE("oom_score", S_IRUGO, proc_oom_score),
fa0cbbf145aabbf David Rientjes 2012-11-12 3171 REG("oom_adj", S_IRUGO|S_IWUSR, proc_oom_adj_operations),
a63d83f427fbce9 David Rientjes 2010-08-09 3172 REG("oom_score_adj", S_IRUGO|S_IWUSR, proc_oom_score_adj_operations),
4b7d248b3a1de48 Richard Guy Briggs 2019-01-22 3173 #ifdef CONFIG_AUDIT
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3174 REG("loginuid", S_IWUSR|S_IRUGO, proc_loginuid_operations),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3175 REG("sessionid", S_IRUGO, proc_sessionid_operations),
05ba38492e83101 Richard Guy Briggs 2018-02-19 3176 REG("audit_containerid", S_IWUSR|S_IRUSR, proc_contid_operations),
5941671b6b6b5de Richard Guy Briggs 2019-08-20 @3177 REG("audit_capcontainerid", S_IWUSR|S_IRUSR|S_IRUSR, proc_capcontid_operations),
28a6d67179da696 Eric W. Biederman 2006-10-02 3178 #endif
f4f154fd920b217 Akinobu Mita 2006-12-08 3179 #ifdef CONFIG_FAULT_INJECTION
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3180 REG("make-it-fail", S_IRUGO|S_IWUSR, proc_fault_inject_operations),
168c42bc56d8d47 Akinobu Mita 2017-07-14 3181 REG("fail-nth", 0644, proc_fail_nth_operations),
f4f154fd920b217 Akinobu Mita 2006-12-08 3182 #endif
698ba7b5a3a7be7 Christoph Hellwig 2009-12-15 3183 #ifdef CONFIG_ELF_CORE
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3184 REG("coredump_filter", S_IRUGO|S_IWUSR, proc_coredump_filter_operations),
3cb4a0bb1e773e3 Kawai, Hidehiro 2007-07-19 3185 #endif
aba76fdb8a5fefb Andrew Morton 2006-12-10 3186 #ifdef CONFIG_TASK_IO_ACCOUNTING
19aadc98d6a242e Alexey Dobriyan 2014-08-08 3187 ONE("io", S_IRUSR, proc_tgid_io_accounting),
aba76fdb8a5fefb Andrew Morton 2006-12-10 3188 #endif
22d917d80e84282 Eric W. Biederman 2011-11-17 3189 #ifdef CONFIG_USER_NS
22d917d80e84282 Eric W. Biederman 2011-11-17 3190 REG("uid_map", S_IRUGO|S_IWUSR, proc_uid_map_operations),
22d917d80e84282 Eric W. Biederman 2011-11-17 3191 REG("gid_map", S_IRUGO|S_IWUSR, proc_gid_map_operations),
f76d207a66c3a53 Eric W. Biederman 2012-08-30 3192 REG("projid_map", S_IRUGO|S_IWUSR, proc_projid_map_operations),
9cc46516ddf497e Eric W. Biederman 2014-12-02 3193 REG("setgroups", S_IRUGO|S_IWUSR, proc_setgroups_operations),
22d917d80e84282 Eric W. Biederman 2011-11-17 3194 #endif
b18b6a9cef7f30e Nicolas Pitre 2017-01-21 3195 #if defined(CONFIG_CHECKPOINT_RESTORE) && defined(CONFIG_POSIX_TIMERS)
48f6a7a511ef882 Pavel Emelyanov 2013-03-11 3196 REG("timers", S_IRUGO, proc_timers_operations),
48f6a7a511ef882 Pavel Emelyanov 2013-03-11 3197 #endif
5de23d435e88996 John Stultz 2016-03-17 3198 REG("timerslack_ns", S_IRUGO|S_IWUGO, proc_pid_set_timerslack_ns_operations),
7c23b3300116907 Josh Poimboeuf 2017-02-13 3199 #ifdef CONFIG_LIVEPATCH
7c23b3300116907 Josh Poimboeuf 2017-02-13 3200 ONE("patch_state", S_IRUSR, proc_pid_patch_state),
7c23b3300116907 Josh Poimboeuf 2017-02-13 3201 #endif
c8d126275a5fa59 Alexander Popov 2018-08-17 3202 #ifdef CONFIG_STACKLEAK_METRICS
c8d126275a5fa59 Alexander Popov 2018-08-17 3203 ONE("stack_depth", S_IRUGO, proc_stack_depth),
c8d126275a5fa59 Alexander Popov 2018-08-17 3204 #endif
68bc30bb9f33fc8 Aubrey Li 2019-06-06 3205 #ifdef CONFIG_PROC_PID_ARCH_STATUS
68bc30bb9f33fc8 Aubrey Li 2019-06-06 3206 ONE("arch_status", S_IRUGO, proc_pid_arch_status),
68bc30bb9f33fc8 Aubrey Li 2019-06-06 3207 #endif
28a6d67179da696 Eric W. Biederman 2006-10-02 3208 };
28a6d67179da696 Eric W. Biederman 2006-10-02 3209
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
2 years, 7 months
[zx2c4:thinkpad-p1-gen-2-x1-extreme-gen-2 7/8] ERROR: "poly1305_init_x86_64" [arch/x86/crypto/poly1305-x86_64.ko] undefined!
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/zx2c4/linux.git thinkpad-p1-gen-2-x1-extreme-gen-2
head: 7b3f43d628b50b3c8d1b6e119ab1d103e0d22876
commit: 56b85bbc074a2bb694508053afe6ef722785c556 [7/8] crypto: x86_64/poly1305 - add faster implementations
config: x86_64-fedora-25 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
git checkout 56b85bbc074a2bb694508053afe6ef722785c556
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> ERROR: "poly1305_init_x86_64" [arch/x86/crypto/poly1305-x86_64.ko] undefined!
>> ERROR: "poly1305_blocks_avx2" [arch/x86/crypto/poly1305-x86_64.ko] undefined!
>> ERROR: "poly1305_blocks_avx512" [arch/x86/crypto/poly1305-x86_64.ko] undefined!
>> ERROR: "poly1305_emit_avx" [arch/x86/crypto/poly1305-x86_64.ko] undefined!
>> ERROR: "poly1305_blocks_avx" [arch/x86/crypto/poly1305-x86_64.ko] undefined!
>> ERROR: "poly1305_emit_x86_64" [arch/x86/crypto/poly1305-x86_64.ko] undefined!
>> ERROR: "poly1305_blocks_x86_64" [arch/x86/crypto/poly1305-x86_64.ko] undefined!
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
2 years, 7 months