Re: [PATCH v2 4/6] KVM: x86/mmu: fast_page_fault support for the TDP MMU
by kernel test robot
Hi David,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on kvm/queue]
[also build test WARNING on linus/master next-20210630]
[cannot apply to vhost/linux-next v5.13]
[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/0day-ci/linux/commits/David-Matlack/KVM-x86-mmu-Fast-p...
base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/7709823e6135aaf4aeac8235973f37e67...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review David-Matlack/KVM-x86-mmu-Fast-page-fault-support-for-the-TDP-MMU/20210701-055009
git checkout 7709823e6135aaf4aeac8235973f37e679064356
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> arch/x86/kvm/mmu/mmu.c:3119:6: warning: no previous prototype for 'get_last_sptep_lockless' [-Wmissing-prototypes]
3119 | u64 *get_last_sptep_lockless(struct kvm_vcpu *vcpu, gpa_t gpa, u64 *spte)
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/get_last_sptep_lockless +3119 arch/x86/kvm/mmu/mmu.c
3107
3108 /*
3109 * Returns the last level spte pointer of the shadow page walk for the given
3110 * gpa, and sets *spte to the spte value. This spte may be non-preset.
3111 *
3112 * If no walk could be performed, returns NULL and *spte does not contain valid
3113 * data.
3114 *
3115 * Constraints:
3116 * - Must be called between walk_shadow_page_lockless_{begin,end}.
3117 * - The returned sptep must not be used after walk_shadow_page_lockless_end.
3118 */
> 3119 u64 *get_last_sptep_lockless(struct kvm_vcpu *vcpu, gpa_t gpa, u64 *spte)
3120 {
3121 struct kvm_shadow_walk_iterator iterator;
3122 u64 old_spte;
3123 u64 *sptep = NULL;
3124
3125 if (is_tdp_mmu(vcpu->arch.mmu))
3126 return kvm_tdp_mmu_get_last_sptep_lockless(vcpu, gpa, spte);
3127
3128 for_each_shadow_entry_lockless(vcpu, gpa, iterator, old_spte) {
3129 sptep = iterator.sptep;
3130 *spte = old_spte;
3131
3132 if (!is_shadow_present_pte(old_spte))
3133 break;
3134 }
3135
3136 return sptep;
3137 }
3138
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
Re: [PATCH 1/6] arm64: dts: mediatek: Move reset controller constants into common location
by kernel test robot
Hi Enric,
I love your patch! Yet something to improve:
[auto build test ERROR on robh/for-next]
[also build test ERROR on pza/reset/next linux/master linus/master v5.13 next-20210630]
[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/0day-ci/linux/commits/Enric-Balletbo-i-Serra/Add-suppo...
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: x86_64-randconfig-a012-20210630 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8d21d5472501460933e78aead04cf59579025ba4)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/0day-ci/linux/commit/d379d95430210479407b6123a1f2f39b5...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Enric-Balletbo-i-Serra/Add-support-to-the-mmsys-driver-to-be-a-reset-controller/20210630-224837
git checkout d379d95430210479407b6123a1f2f39b5c116475
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/watchdog/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> drivers/watchdog/mtk_wdt.c:12:10: fatal error: 'dt-bindings/reset-controller/mt2712-resets.h' file not found
#include <dt-bindings/reset-controller/mt2712-resets.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
vim +12 drivers/watchdog/mtk_wdt.c
9e5236e7cec110 yong.liang 2020-01-15 @12 #include <dt-bindings/reset-controller/mt2712-resets.h>
c254e103082b74 yong.liang 2020-01-15 13 #include <dt-bindings/reset-controller/mt8183-resets.h>
adc318a3406681 Crystal Guo 2020-10-14 14 #include <dt-bindings/reset-controller/mt8192-resets.h>
c254e103082b74 yong.liang 2020-01-15 15 #include <linux/delay.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13 16 #include <linux/err.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13 17 #include <linux/init.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13 18 #include <linux/io.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13 19 #include <linux/kernel.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13 20 #include <linux/module.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13 21 #include <linux/moduleparam.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13 22 #include <linux/of.h>
c254e103082b74 yong.liang 2020-01-15 23 #include <linux/of_device.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13 24 #include <linux/platform_device.h>
c254e103082b74 yong.liang 2020-01-15 25 #include <linux/reset-controller.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13 26 #include <linux/types.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13 27 #include <linux/watchdog.h>
a44a45536f7bc2 Matthias Brugger 2015-01-13 28
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
[intel-linux-intel-lts:5.4/yocto 72/1142] drivers/gpu/drm/kmb/kmb_drv.c:99:31: sparse: sparse: incorrect type in return expression (different address spaces)
by kernel test robot
tree: https://github.com/intel/linux-intel-lts.git 5.4/yocto
head: eeb611e5394c56d45c5cc8f7dc484c9f19e93143
commit: d855ca729624b25fa0552c548f8805b63bb0c017 [72/1142] drm/kmb: Cleanup probe functions
config: arm-randconfig-s031-20210630 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://github.com/intel/linux-intel-lts/commit/d855ca729624b25fa0552c548...
git remote add intel-linux-intel-lts https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-linux-intel-lts 5.4/yocto
git checkout d855ca729624b25fa0552c548f8805b63bb0c017
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/kmb/kmb_drv.c:99:31: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/kmb/kmb_drv.c:99:31: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/kmb/kmb_drv.c:99:31: sparse: got void *
drivers/gpu/drm/kmb/kmb_drv.c:104:31: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/kmb/kmb_drv.c:104:31: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/kmb/kmb_drv.c:104:31: sparse: got void *
drivers/gpu/drm/kmb/kmb_drv.c:110:31: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void [noderef] <asn:2> * @@ got void * @@
drivers/gpu/drm/kmb/kmb_drv.c:110:31: sparse: expected void [noderef] <asn:2> *
drivers/gpu/drm/kmb/kmb_drv.c:110:31: sparse: got void *
vim +99 drivers/gpu/drm/kmb/kmb_drv.c
89
90 static void __iomem *kmb_map_mmio(struct platform_device *pdev, char *name)
91 {
92 struct resource *res;
93 u32 size;
94 void __iomem *mem;
95
96 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, name);
97 if (!res) {
98 DRM_ERROR("failed to get resource for %s\n", name);
> 99 return ERR_PTR(-ENOMEM);
100 }
101 size = resource_size(res);
102 if (!request_mem_region(res->start, size, name)) {
103 DRM_ERROR("failed to reserve %s registers\n", name);
104 return ERR_PTR(-ENOMEM);
105 }
106 mem = ioremap_nocache(res->start, size);
107 if (!mem) {
108 DRM_ERROR("failed to ioremap %s registers\n", name);
109 release_mem_region(res->start, size);
110 return ERR_PTR(-ENOMEM);
111 }
112 return mem;
113 }
114
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month