From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============4386206073823763635==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC PATCH v2 4/5] vfio/pci: Invalidate mmaps and block the access in D3hot power state Date: Tue, 25 Jan 2022 10:35:37 +0800 Message-ID: <202201251024.DoqLcJkP-lkp@intel.com> In-Reply-To: <20220124181726.19174-5-abhsahu@nvidia.com> List-Id: --===============4386206073823763635== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Abhishek, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on awilliam-vfio/next] [also build test WARNING on v5.17-rc1 next-20220124] [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/Abhishek-Sahu/vfio-pci-Ena= ble-runtime-power-management-support/20220125-021827 base: https://github.com/awilliam/linux-vfio.git next config: x86_64-randconfig-s022-20220124 (https://download.01.org/0day-ci/ar= chive/20220125/202201251024.DoqLcJkP-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-dirty # https://github.com/0day-ci/linux/commit/84afeb78e3ae55e0f1c1f84d4= 2e28c60585fdc48 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Abhishek-Sahu/vfio-pci-Enable-runt= ime-power-management-support/20220125-021827 git checkout 84afeb78e3ae55e0f1c1f84d42e28c60585fdc48 # save the config file to linux build tree mkdir build_dir make W=3D1 C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=3D= build_dir ARCH=3Dx86_64 SHELL=3D/bin/bash drivers/vfio/pci/ mm/kasan/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/vfio/pci/vfio_pci_rdwr.c:64:1: sparse: sparse: restricted pci_po= wer_t degrades to integer >> drivers/vfio/pci/vfio_pci_rdwr.c:64:1: sparse: sparse: restricted pci_po= wer_t degrades to integer drivers/vfio/pci/vfio_pci_rdwr.c:65:1: sparse: sparse: restricted pci_po= wer_t degrades to integer drivers/vfio/pci/vfio_pci_rdwr.c:65:1: sparse: sparse: restricted pci_po= wer_t degrades to integer drivers/vfio/pci/vfio_pci_rdwr.c:66:1: sparse: sparse: restricted pci_po= wer_t degrades to integer drivers/vfio/pci/vfio_pci_rdwr.c:66:1: sparse: sparse: restricted pci_po= wer_t degrades to integer drivers/vfio/pci/vfio_pci_rdwr.c:95:1: sparse: sparse: restricted pci_po= wer_t degrades to integer drivers/vfio/pci/vfio_pci_rdwr.c:95:1: sparse: sparse: restricted pci_po= wer_t degrades to integer drivers/vfio/pci/vfio_pci_rdwr.c:96:1: sparse: sparse: restricted pci_po= wer_t degrades to integer drivers/vfio/pci/vfio_pci_rdwr.c:96:1: sparse: sparse: restricted pci_po= wer_t degrades to integer drivers/vfio/pci/vfio_pci_rdwr.c:97:1: sparse: sparse: restricted pci_po= wer_t degrades to integer drivers/vfio/pci/vfio_pci_rdwr.c:97:1: sparse: sparse: restricted pci_po= wer_t degrades to integer vim +64 drivers/vfio/pci/vfio_pci_rdwr.c bc93b9ae0151ae Alex Williamson 2020-08-17 63 = bc93b9ae0151ae Alex Williamson 2020-08-17 @64 VFIO_IOWRITE(8) bc93b9ae0151ae Alex Williamson 2020-08-17 65 VFIO_IOWRITE(16) bc93b9ae0151ae Alex Williamson 2020-08-17 66 VFIO_IOWRITE(32) bc93b9ae0151ae Alex Williamson 2020-08-17 67 #ifdef iowrite64 bc93b9ae0151ae Alex Williamson 2020-08-17 68 VFIO_IOWRITE(64) bc93b9ae0151ae Alex Williamson 2020-08-17 69 #endif bc93b9ae0151ae Alex Williamson 2020-08-17 70 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============4386206073823763635==--