* [avpatel:riscv_trace_support_v6 51/104] drivers/iommu/riscv/iommu.c:1363:30: error: implicit declaration of function 'virt_to_pfn'; did you mean 'virt_to_phys'?
@ 2026-11-25 23:23 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-25 23:23 UTC (permalink / raw)
To: Andrew Jones; +Cc: oe-kbuild-all, Anup Patel
tree: https://github.com/avpatel/linux.git riscv_trace_support_v6
head: d77c0270e18de0b01434fec8027d8a61ae1f7c00
commit: be5d2309758668a467fd2d50931ae6a12b44552f [51/104] iommu/riscv: Prepare MSI table updates for interrupt remapping
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20261126/20261126071205.a5FHx1US-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261126/20261126071205.a5FHx1US-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/20261126071205.a5FHx1US-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/iommu/riscv/iommu.c: In function 'riscv_iommu_msi_table_set_dc':
>> drivers/iommu/riscv/iommu.c:1363:30: error: implicit declaration of function 'virt_to_pfn'; did you mean 'virt_to_phys'? [-Wimplicit-function-declaration]
1363 | dc->msiptp = virt_to_pfn(msi_table->root) |
| ^~~~~~~~~~~
| virt_to_phys
vim +1363 drivers/iommu/riscv/iommu.c
1358
1359 static void riscv_iommu_msi_table_set_dc(struct riscv_iommu_msi_table *msi_table,
1360 struct riscv_iommu_dc *dc, bool activate)
1361 {
1362 if (activate) {
> 1363 dc->msiptp = virt_to_pfn(msi_table->root) |
1364 FIELD_PREP(RISCV_IOMMU_DC_MSIPTP_MODE,
1365 RISCV_IOMMU_DC_MSIPTP_MODE_FLAT);
1366 dc->msi_addr_mask = msi_table->msi_addr_mask;
1367 dc->msi_addr_pattern = msi_table->msi_addr_pattern;
1368 } else {
1369 dc->msiptp = 0;
1370 dc->msi_addr_mask = 0;
1371 dc->msi_addr_pattern = 0;
1372 }
1373 }
1374
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-25 23:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 23:23 [avpatel:riscv_trace_support_v6 51/104] drivers/iommu/riscv/iommu.c:1363:30: error: implicit declaration of function 'virt_to_pfn'; did you mean 'virt_to_phys'? kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.