Re: Linux 5.19-rc6

From: Guenter Roeck
Date: Wed Jul 13 2022 - 16:46:23 EST

On 7/13/22 12:36, Linus Torvalds wrote:
On Tue, Jul 12, 2022 at 10:07 PM Guenter Roeck <linux@xxxxxxxxxxxx> wrote:

Same problems as every week.

Building powerpc:allmodconfig ... failed

Ok, this has been going on since -rc1, which is much too long.

From your patch submission that that was rejected:

The problem was introduced with commit 41b7a347bf14 ("powerpc: Book3S
64-bit outline-only KASAN support") which adds support for KASAN. This
commit in turn enables DRM_AMD_DC_DCN because KCOV_INSTRUMENT_ALL and
KCOV_ENABLE_COMPARISONS are no longer enabled. As result, new files are
compiled which lack the selection of hard-float.

And considering that neither the ppc people nor the drm people seem
interested in fixing this, and it doesn't revert cleanly I think the
sane solution seems to be to just remove PPC64 support for DRM_AMD_DC

IOW, does something like this (obviously nor a proper patch, but you
get the idea) fix the ppc build for you?

@@ -6,7 +6,7 @@ config DRM_AMD_DC
bool "AMD DC - Enable new display engine"
default y
- select DRM_AMD_DC_DCN if (X86 || PPC64) &&
+ select DRM_AMD_DC_DCN if X86 && !(KCOV_INSTRUMENT_ALL &&
Choose this option if you want to use the new display engine
support for AMDGPU. This adds required support for Vega and

It does, but I can't imagine that the drm or ppc people would be happy
about it.