Re: irq-loongson-pch-pic.c:undefined reference to `of_iomap'
From: Heiko Carstens
Date: Tue Nov 17 2020 - 13:40:09 EST
On Tue, Nov 17, 2020 at 07:34:55PM +0100, Krzysztof Kozlowski wrote:
> > Looking a bit further, I now find that we ended up disabling CONFIG_COMPILE_TEST
> > entirely for arch/um, which is clearly an option that would also work for s390.
>
> Yes, that was the easier solution than to spread "depends on HAS_IOMEM"
> all over Kconfigs.
>
> +Cc Greg KH,
>
> I got similar report around phy drivers:
> https://lore.kernel.org/lkml/202011140335.tceVqHmN-lkp@xxxxxxxxx/
>
> When reproducing this, I saw multiple unmet dependencies on s390 for
> MFD_SYSCON and MFD_STM32_TIMERS.
>
> I suppose there is no point to fix them all because this will be
> basically UML case, so HAS_IOMEM all over the tree.
FWIW, I just replied a couple of minutes, but you might have missed
that:
---
I'll add a patch to the s390 tree which disables CONFIG_COMPILE_TEST
for s390. I wouldn't like to start again chasing/adding missing
'select' or 'depends on' statements in various config files.
---