Re: [PATCH v2 0/6] s390: Add kCFI support

Heiko Carstens <[email protected]> Fri, 31 Jul 2026 13:35:27 +0200
Newsgroups dev.linux.lists.llvm,org.kernel.vger.bpf,org.kernel.vger.linux-kernel,org.kernel.vger.linux-s390
Message-ID <[email protected]>
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 <[email protected]>

Thanks a lot!