[PATCH v3 0/8] Generic IRQ entry/exit support for powerpc
Mukesh Kumar Chaurasiya
mkchauras at linux.ibm.com
Thu Jan 8 20:09:53 AEDT 2026
On Thu, Jan 08, 2026 at 07:05:42AM +0100, Christophe Leroy (CS GROUP) wrote:
> Hi,
>
> Le 08/01/2026 à 06:16, Venkat a écrit :
> > With this patch set, build fails.
> >
> > Failure logs:
> >
> > ld: init/main.o: in function `do_one_initcall':
> > /root/linux/init/main.c:1384: undefined reference to `memcpy'
>
> I guess you have KASAN enabled ?
>
> See
> https://lore.kernel.org/all/0947502d-96e3-4179-ae48-603de74dc7b3@kernel.org/
>
> This is because of commit 69d4c0d32186 ("entry, kasan, x86: Disallow
> overriding mem*() functions") which changed the core behaviour in 2023
> without taking care of other architectures than x86 who was the only one
> with CONFIG_GENERIC_ENTRY ?
>
> For powerpc the expected behaviour introduced in 2019 by commit 26deb04342e3
> ("powerpc: prepare string/mem functions for KASAN") needs to be modified the
> same way to fit with the core change.
>
> Christophe
Hey Christophe, Venkat
I am working on this. I'll send out a new revision soon.
Regards,
Mukesh
More information about the Linuxppc-dev
mailing list