From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============9040312380439428908==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v3 17/30] KVM: s390: pci: enable host forwarding of Adapter Event Notifications Date: Sat, 05 Feb 2022 21:57:56 +0800 Message-ID: <202202052152.V6WfEnsb-lkp@intel.com> In-Reply-To: <20220204211536.321475-18-mjrosato@linux.ibm.com> List-Id: --===============9040312380439428908== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Matthew, I love your patch! Perhaps something to improve: [auto build test WARNING on s390/features] [also build test WARNING on v5.17-rc2 next-20220204] [cannot apply to kvms390/next awilliam-vfio/next] [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/Matthew-Rosato/KVM-s390-en= able-zPCI-for-interpretive-execution/20220205-052233 base: https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git feat= ures config: s390-randconfig-s032-20220131 (https://download.01.org/0day-ci/arch= ive/20220205/202202052152.V6WfEnsb-lkp(a)intel.com/config) compiler: s390-linux-gcc (GCC) 11.2.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.4-dirty # https://github.com/0day-ci/linux/commit/5889fc3e91862ce82ec0ce5f9= 491d6048c72d3e6 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Matthew-Rosato/KVM-s390-enable-zPC= I-for-interpretive-execution/20220205-052233 git checkout 5889fc3e91862ce82ec0ce5f9491d6048c72d3e6 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=3Dbuild_dir ARCH=3Ds= 390 SHELL=3D/bin/bash arch/s390/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> arch/s390/kvm/interrupt.c:3288:20: sparse: sparse: Using plain integer a= s NULL pointer arch/s390/kvm/interrupt.c: note: in included file: >> arch/s390/kvm/pci.h:41:65: sparse: sparse: Using plain integer as NULL p= ointer arch/s390/kvm/pci.h:42:32: sparse: sparse: Using plain integer as NULL p= ointer arch/s390/kvm/pci.h:43:24: sparse: sparse: Using plain integer as NULL p= ointer vim +3288 arch/s390/kvm/interrupt.c 3273 = 3274 static void aen_host_forward(unsigned long si) 3275 { 3276 struct kvm_s390_gisa_interrupt *gi; 3277 struct zpci_gaite *gaite; 3278 struct kvm *kvm; 3279 = 3280 gaite =3D (struct zpci_gaite *)aift->gait + 3281 (si * sizeof(struct zpci_gaite)); 3282 if (gaite->count =3D=3D 0) 3283 return; 3284 if (gaite->aisb !=3D 0) 3285 set_bit_inv(gaite->aisbo, (unsigned long *)gaite->aisb); 3286 = 3287 kvm =3D kvm_s390_pci_si_to_kvm(aift, si); > 3288 if (kvm =3D=3D 0) 3289 return; 3290 gi =3D &kvm->arch.gisa_int; 3291 = 3292 if (!(gi->origin->g1.simm & AIS_MODE_MASK(gaite->gisc)) || 3293 !(gi->origin->g1.nimm & AIS_MODE_MASK(gaite->gisc))) { 3294 gisa_set_ipm_gisc(gi->origin, gaite->gisc); 3295 if (hrtimer_active(&gi->timer)) 3296 hrtimer_cancel(&gi->timer); 3297 hrtimer_start(&gi->timer, 0, HRTIMER_MODE_REL); 3298 kvm->stat.aen_forward++; 3299 } 3300 } 3301 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============9040312380439428908==--