Skip to contentSkip to conversation

linux-next: build failure after merge of the rpmsg tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Apr 26, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Bjorn,

After merging the rpmsg tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

drivers/remoteproc/remoteproc_core.c: In function 'rproc_handle_devmem':
drivers/remoteproc/remoteproc_core.c:557:8: error: implicit declaration of function 'iommu_map_sync'; did you mean 'iommu_map_sg'? [-Werror=implicit-function-declaration]
ret = iommu_map_sync(rproc->domain, rsc->da,

        ^~~~~~~~~~~~~~
        iommu_map_sg
drivers/remoteproc/remoteproc_core.c: In function 'rproc_resource_cleanup':
drivers/remoteproc/remoteproc_core.c:845:14: error: implicit declaration of function 'iommu_unmap_sync'; did you mean 'iommu_unmap_fast'? [-Werror=implicit-function-declaration]
   unmapped = iommu_unmap_sync(rproc->domain, entry->da,
              ^~~~~~~~~~~~~~~~
              iommu_unmap_fast

Caused by commit

aace25b18cbd ("remoteproc: Use sychronized interface of the IOMMU-API")

I suspect that part of the commit is missing ...

I have use the rpmsg tree from next-20180424 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 16 lines · Stephen Rothwell

Hi Bjorn,

After merging the rpmsg tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

drivers/remoteproc/remoteproc_core.c: In function 'rproc_handle_devmem':
drivers/remoteproc/remoteproc_core.c:557:8: error: implicit declaration of function 'iommu_map_sync'; did you mean 'iommu_map_sg'? [-Werror=implicit-function-declaration]
ret = iommu_map_sync(rproc->domain, rsc->da,

        ^~~~~~~~~~~~~~
        iommu_map_sg
drivers/remoteproc/remoteproc_core.c: In function 'rproc_resource_cleanup':
drivers/remoteproc/remoteproc_core.c:845:14: error: implicit declaration of function 'iommu_unmap_sync'; did you mean 'iommu_unmap_fast'? [-Werror=implicit-function-declaration]
   unmapped = iommu_unmap_sync(rproc->domain, entry->da,
              ^~~~~~~~~~~~~~~~
              iommu_unmap_fast
Quoted 6 lines

Caused by commit

aace25b18cbd ("remoteproc: Use sychronized interface of the IOMMU-API")

I suspect that part of the commit is missing ...

Sorry about that, now I've actually pushed the branch with this commit removed again.

Quoted 2 lines

I have use the rpmsg tree from next-20180424 for today.

Thanks, should be good tomorrow again!

Regards,
Bjorn