tree:
https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
hack/m1-pcie-v3
head: 0389358efbefd48615bb469f26658abebc911736
commit: 09373a738b511f313aa719e01a9d603ad8611ce2 [32/33] iommu/dart: Exclude MSI doorbell
from PCIe device IOVA range
config: sparc64-randconfig-r024-20210916 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 11.2.0
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
#
https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/com...
git remote add arm-platforms
https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
git fetch --no-tags arm-platforms hack/m1-pcie-v3
git checkout 09373a738b511f313aa719e01a9d603ad8611ce2
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=sparc64 SHELL=/bin/bash drivers/iommu/
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/iommu/apple-dart.c: In function 'apple_dart_get_resv_regions':
> drivers/iommu/apple-dart.c:724:26: error:
'CONFIG_PCIE_APPLE_MSI_DOORBELL_ADDR' undeclared (first use in this function)
724 | #define DOORBELL_ADDR (CONFIG_PCIE_APPLE_MSI_DOORBELL_ADDR &
PAGE_MASK)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/iommu/apple-dart.c:724:26: note: in definition of macro
'DOORBELL_ADDR'
724 | #define DOORBELL_ADDR (CONFIG_PCIE_APPLE_MSI_DOORBELL_ADDR & PAGE_MASK)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/iommu/apple-dart.c:724:26: note: each undeclared identifier is reported only
once for each function it appears in
724 | #define DOORBELL_ADDR (CONFIG_PCIE_APPLE_MSI_DOORBELL_ADDR & PAGE_MASK)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/iommu/apple-dart.c:724:26: note: in definition of macro
'DOORBELL_ADDR'
724 | #define DOORBELL_ADDR (CONFIG_PCIE_APPLE_MSI_DOORBELL_ADDR & PAGE_MASK)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/CONFIG_PCIE_APPLE_MSI_DOORBELL_ADDR +724 drivers/iommu/apple-dart.c
723
724 #define DOORBELL_ADDR (CONFIG_PCIE_APPLE_MSI_DOORBELL_ADDR &
PAGE_MASK)
725
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org