From: kernel test robot <lkp@intel.com>
To: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Jason Gunthorpe <jgg@ziepe.ca>
Subject: [jgunthorpe:iommu_pt 19/22] ld.lld: error: undefined symbol: pt_iommu_x86_64_hw_info
Date: Wed, 30 Apr 2025 06:37:36 +0800 [thread overview]
Message-ID: <202504300622.6hXIcimG-lkp@intel.com> (raw)
tree: https://github.com/jgunthorpe/linux iommu_pt
head: c1dec260d8b78443ef82054138c29a8d3d155a74
commit: ee6aae7327cd34c61889435908500dbce710d984 [19/22] iommu/amd: Use the generic iommu page table
config: x86_64-buildonly-randconfig-006-20250430 (https://download.01.org/0day-ci/archive/20250430/202504300622.6hXIcimG-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250430/202504300622.6hXIcimG-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504300622.6hXIcimG-lkp@intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: pt_iommu_x86_64_hw_info
>>> referenced by iommu.c:2144 (drivers/iommu/amd/iommu.c:2144)
>>> vmlinux.o:(amd_iommu_attach_device)
--
>> ld.lld: error: undefined symbol: pt_iommu_amdv1_hw_info
>>> referenced by iommu.c:2029 (drivers/iommu/amd/iommu.c:2029)
>>> vmlinux.o:(set_dte_entry)
--
>> ld.lld: error: undefined symbol: pt_iommu_x86_64_unmap_pages
>>> referenced by usercopy_64.c
>>> vmlinux.o:(amdv2_ops)
--
>> ld.lld: error: undefined symbol: pt_iommu_amdv1_init
>>> referenced by iommu.c:2608 (drivers/iommu/amd/iommu.c:2608)
>>> vmlinux.o:(amd_iommu_domain_alloc_paging_v1)
--
>> ld.lld: error: undefined symbol: pt_iommu_x86_64_init
>>> referenced by iommu.c:2669 (drivers/iommu/amd/iommu.c:2669)
>>> vmlinux.o:(amd_iommu_domain_alloc_paging_v2)
--
>> ld.lld: error: undefined symbol: pt_iommu_amdv1_read_and_clear_dirty
>>> referenced by usercopy_64.c
>>> vmlinux.o:(amdv1_dirty_ops)
--
>> ld.lld: error: undefined symbol: pt_iommu_amdv1_map_pages
>>> referenced by usercopy_64.c
>>> vmlinux.o:(amdv1_ops)
--
>> ld.lld: error: undefined symbol: pt_iommu_amdv1_iova_to_phys
>>> referenced by usercopy_64.c
>>> vmlinux.o:(amdv1_ops)
--
>> ld.lld: error: undefined symbol: pt_iommu_amdv1_unmap_pages
>>> referenced by usercopy_64.c
>>> vmlinux.o:(amdv1_ops)
--
>> ld.lld: error: undefined symbol: pt_iommu_x86_64_map_pages
>>> referenced by usercopy_64.c
>>> vmlinux.o:(amdv2_ops)
--
>> ld.lld: error: undefined symbol: pt_iommu_x86_64_iova_to_phys
>>> referenced by usercopy_64.c
>>> vmlinux.o:(amdv2_ops)
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for IOMMU_PT_AMDV1
Depends on [n]: GENERIC_PT [=n] && IOMMU_PT [=n] && !GENERIC_ATOMIC64 [=n]
Selected by [y]:
- AMD_IOMMU [=y] && IOMMU_SUPPORT [=y] && X86_64 [=y] && PCI [=y] && ACPI [=y] && HAVE_CMPXCHG_DOUBLE [=y]
WARNING: unmet direct dependencies detected for IOMMU_PT_X86_64
Depends on [n]: GENERIC_PT [=n] && IOMMU_PT [=n] && !GENERIC_ATOMIC64 [=n]
Selected by [y]:
- AMD_IOMMU [=y] && IOMMU_SUPPORT [=y] && X86_64 [=y] && PCI [=y] && ACPI [=y] && HAVE_CMPXCHG_DOUBLE [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-04-29 22:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202504300622.6hXIcimG-lkp@intel.com \
--to=lkp@intel.com \
--cc=alejandro.j.jimenez@oracle.com \
--cc=jgg@ziepe.ca \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox