Thread (9 messages) 9 messages, 5 authors, 2021-05-28

Re: [PATCH v1] kbuild: Disable compile testing if HAVE_LEGACY_CLK enabled

From: Randy Dunlap <hidden>
Date: 2021-05-26 00:40:09
Also in: linux-clk, linux-m68k, linux-mips, linux-omap, linux-tegra, lkml

On 5/25/21 2:29 PM, Dmitry Osipenko wrote:
25.05.2021 15:19, Geert Uytterhoeven пишет:
...
quoted
quoted
quoted
There 3 possible solutions:

1. Factor out COMMON_CLK from HAVE_LEGACY_CLK, if this is possible
2. Build stubs universally, maybe using weak functions.
I vote for this one - global stubs.
Yep.
quoted
Or for a new one:
4. Disable COMPILE_TEST for specific platforms (mentioned in commit
msg). Eventually could be like:
config RALINK
        depends !COMPILE_TEST || (COMPILE_TEST && COMMON_CLK)
That's a neat idea!

Of course there's a fifth option:

5. Convert legacy platforms to COMMON_CLK.

Which is already happening for ARM EP93XX.
I'll try to take a closer look at alternative options, thank you for
yours input.
Hi,

If you are messing around with HAVE_LEGACY_CLK and COMMON_CLK
and don't mind, please have a look at this report from
'kernel test robot':
  https://lore.kernel.org/lkml/202103162301.oomY9NwI-lkp@intel.com/ (local)


Maybe this one is more MIPS-specific. I dunno.
I tried to come up with a patch for it and failed.

I will be happy to built-test any patches that you come up with.

Maybe I have just looked at this too long...

thanks.
-- 
~Randy


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help