Re: [PATCH v2 0/6] s390: Add kCFI support
From: Heiko Carstens
Date: Fri Jul 31 2026 - 07:40:05 EST
On Thu, Jul 30, 2026 at 04:13:17PM -0700, Nathan Chancellor wrote:
> On Mon, Jul 27, 2026 at 04:05:07PM +0200, Heiko Carstens wrote:
> > Add s390 kCFI support using the generic support provided by clang.
>
> Yes, getting coverage over s390 specific code and drivers is worthwhile,
> even if there is no architecture specific expansion available yet, since
> most problems should be visible with either implementation. Getting that
> sooner rather than later would be nice to avoid the panic when a CFI
> check fails and make debugging easier but we will take what we can get.
>
> I tested clang-18 and clang-23 with defconfig + CFI, which both properly
> fails the CFI_FORWARD_PROTO LKDTM test. I built allmodconfig (which now
> includes CFI=y) with both compilers, which showed no issues.
>
> Tested-by: Nathan Chancellor <nathan@xxxxxxxxxx>
Thanks a lot!