public inbox for linuxppc-dev@ozlabs.org
 help / color / mirror / Atom feed
From: "Christophe Leroy (CS GROUP)" <chleroy@kernel.org>
To: Venkat <venkat88@linux.ibm.com>,
	Mukesh Kumar Chaurasiya <mkchauras@linux.ibm.com>,
	Peter Zijlstra <peterz@infradead.org>
Cc: Madhavan Srinivasan <maddy@linux.ibm.com>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Nicholas Piggin <npiggin@gmail.com>,
	oleg@redhat.com, kees@kernel.org, luto@amacapital.net,
	wad@chromium.org, mchauras@linux.ibm.com, thuth@redhat.com,
	Shrikanth Hegde <sshegde@linux.ibm.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	macro@orcam.me.uk, deller@gmx.de, ldv@strace.io,
	charlie@rivosinc.com, segher@kernel.crashing.org,
	bigeasy@linutronix.de, namcao@linutronix.de,
	Thomas Gleixner <tglx@linutronix.de>,
	Kan Liang <kan.liang@linux.intel.com>,
	mark.barnett@arm.com,
	linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v3 0/8] Generic IRQ entry/exit support for powerpc
Date: Thu, 8 Jan 2026 07:05:42 +0100	[thread overview]
Message-ID: <e18ac87b-0034-4297-ae15-0dd0a36abb15@kernel.org> (raw)
In-Reply-To: <3BBCC728-0BF9-484A-85F9-2760DEFD56BD@linux.ibm.com>

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


  reply	other threads:[~2026-01-08  6:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-29  4:54 [PATCH v3 0/8] Generic IRQ entry/exit support for powerpc Mukesh Kumar Chaurasiya
2025-12-29  4:54 ` [PATCH v3 1/8] powerpc: rename arch_irq_disabled_regs Mukesh Kumar Chaurasiya
2026-01-08  8:30   ` Jinjie Ruan
2025-12-29  4:54 ` [PATCH v3 2/8] powerpc: Prepare to build with generic entry/exit framework Mukesh Kumar Chaurasiya
2025-12-29  4:54 ` [PATCH v3 3/8] powerpc: introduce arch_enter_from_user_mode Mukesh Kumar Chaurasiya
2025-12-29  4:54 ` [PATCH v3 4/8] powerpc: Introduce syscall exit arch functions Mukesh Kumar Chaurasiya
2025-12-29  4:54 ` [PATCH v3 5/8] powerpc: add exit_flags field in pt_regs Mukesh Kumar Chaurasiya
2025-12-29  4:54 ` [PATCH v3 6/8] powerpc: Prepare for IRQ entry exit Mukesh Kumar Chaurasiya
2025-12-29  4:54 ` [PATCH v3 7/8] powerpc: Enable IRQ generic entry/exit path Mukesh Kumar Chaurasiya
2026-01-01 17:31   ` Shrikanth Hegde
2026-01-06  4:59     ` Mukesh Kumar Chaurasiya
2025-12-29  4:54 ` [PATCH v3 8/8] powerpc: Enable Generic Entry/Exit for syscalls Mukesh Kumar Chaurasiya
2026-01-01  9:07 ` [PATCH v3 0/8] Generic IRQ entry/exit support for powerpc Shrikanth Hegde
2026-01-06  5:01   ` Mukesh Kumar Chaurasiya
2026-01-08  5:16 ` Venkat
2026-01-08  6:05   ` Christophe Leroy (CS GROUP) [this message]
2026-01-08  9:09     ` Mukesh Kumar Chaurasiya

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e18ac87b-0034-4297-ae15-0dd0a36abb15@kernel.org \
    --to=chleroy@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=bigeasy@linutronix.de \
    --cc=charlie@rivosinc.com \
    --cc=deller@gmx.de \
    --cc=kan.liang@linux.intel.com \
    --cc=kees@kernel.org \
    --cc=ldv@strace.io \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=luto@amacapital.net \
    --cc=macro@orcam.me.uk \
    --cc=maddy@linux.ibm.com \
    --cc=mark.barnett@arm.com \
    --cc=mchauras@linux.ibm.com \
    --cc=mkchauras@linux.ibm.com \
    --cc=mpe@ellerman.id.au \
    --cc=namcao@linutronix.de \
    --cc=npiggin@gmail.com \
    --cc=oleg@redhat.com \
    --cc=peterz@infradead.org \
    --cc=segher@kernel.crashing.org \
    --cc=sshegde@linux.ibm.com \
    --cc=tglx@linutronix.de \
    --cc=thuth@redhat.com \
    --cc=venkat88@linux.ibm.com \
    --cc=wad@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox