[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aV90NVNEUjMABRNp@li-1a3e774c-28e4-11b2-a85c-acc9f2883e29.ibm.com>
Date: Thu, 8 Jan 2026 14:39:53 +0530
From: Mukesh Kumar Chaurasiya <mkchauras@...ux.ibm.com>
To: "Christophe Leroy (CS GROUP)" <chleroy@...nel.org>
Cc: Venkat <venkat88@...ux.ibm.com>, Peter Zijlstra <peterz@...radead.org>,
Madhavan Srinivasan <maddy@...ux.ibm.com>,
Michael Ellerman <mpe@...erman.id.au>,
Nicholas Piggin <npiggin@...il.com>, oleg@...hat.com, kees@...nel.org,
luto@...capital.net, wad@...omium.org, mchauras@...ux.ibm.com,
thuth@...hat.com, Shrikanth Hegde <sshegde@...ux.ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>, macro@...am.me.uk,
deller@....de, ldv@...ace.io, charlie@...osinc.com,
segher@...nel.crashing.org, bigeasy@...utronix.de,
namcao@...utronix.de, Thomas Gleixner <tglx@...utronix.de>,
Kan Liang <kan.liang@...ux.intel.com>, mark.barnett@....com,
linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 0/8] Generic IRQ entry/exit support for powerpc
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
Powered by blists - more mailing lists