[arm-platforms:hack/m1-pcie-v3 32/33] drivers/iommu/apple-dart.c:724:26: error: 'CONFIG_PCIE_APPLE_MSI_DOORBELL_ADDR' undeclared
kernel test robot
lkp at intel.com
Thu Sep 16 10:40:10 PDT 2021
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/commit/?id=09373a738b511f313aa719e01a9d603ad8611ce2
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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 31141 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210917/e3aa20ad/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list