Re: [PATCH] usb: dwc3: make USB_DWC3_EXYNOS independent

From: Krzysztof Kozlowski
Date: Wed Mar 03 2021 - 13:25:11 EST


On 03/03/2021 16:09, Greg Kroah-Hartman wrote:
On Wed, Mar 03, 2021 at 06:56:38AM -0800, Guenter Roeck wrote:
On 3/3/21 6:05 AM, Greg Kroah-Hartman wrote:
[ ... ]
Anyway, that's the convention or consensus so far for entire SoC. If we
want to change it - sure, but let's make it for everyone, not for just
this one USB driver.

Great, let's change it for everyone, I don't see a need for ARCH_*
symbols except for people who want to make it simpler for their one
board type. And for that, use a defconfig.


I don't think that will work in practice. Many ARCH_ symbols for various
architectures contradict with each other. Almost all watchdog drivers
only _build_ for specific platforms/architectures.

Great, that's horrible to hear, so much for a "generic arm64 kernel
binary" which I _thought_ was the goal.

ugh, you would have thought we would have learned our lesson with
arm32...

I think Guenter here refers to drivers which actually came from arm32 and were not cleaned up to be build without machine-specific bits (arch/arm/mach-xxx).

Most or all of the new code is made buildable outside of machine/ARCH_xxx (so COMPILE_TEST).

Best regards,
Krzysztof