From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E79D3A0B1A for ; Thu, 8 Jan 2026 06:05:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767852353; cv=none; b=HxxFG4b3rK0zl5i4lFIenyTqzsMdTr0itbnPV1ekxtUKTfUZ8b5qYswaxZq6wL4vz0PvQBRVQhJKiyl8WhyCBNSIenjGKPxFr/SvOhRrXuALly/3/4vj0Iq4PhEYfbCXds/uVkR/d3DzsmCcLwJtRWmT8LpMYgDsuzQURkBZGeg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767852353; c=relaxed/simple; bh=Hps+AALnPVZeA483Uog7NYKfmhvaru1s4Fp0DGXndcU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ESPOcoJVm3IF+mmdq1fhCnuzL4cn3MAFUm0j10WN+bwSvhQwHmve4ykC8SiSNor0AFmcjuBgJ/V2J4pIjUZTF97jy6FYBAC2dY8HfFiRcbql8gSNGBGBKOssRW00i4hf3XvBoBXmY12s/uN7ppo8F/Vz8yOoRMrQrhxeuGg3X5M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DCviss9a; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DCviss9a" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 574E2C116C6; Thu, 8 Jan 2026 06:05:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1767852353; bh=Hps+AALnPVZeA483Uog7NYKfmhvaru1s4Fp0DGXndcU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=DCviss9apLvD+bHnOHR+JlAJawx/BSIe3EHDgS+7eryOZxLwTd9otIK9hx0sPfwIr XBybt6iFg1MHEd+UFu7TrfJ/LGP2x57tHIIGE4eK67GemyGsM7ztAauKui7ZFDJd+3 cFyMWT+U8tX4uJGLKjeB3Nn/tIsLbIdj8VZzc9qguWGsegZPSYmAEzkYpNgGdmn6O5 Q8sCXgBM1HlipIDKzTHwfrAD3XnSs1RZVZhyRyz6oupRQUVgQRmnrVVhG9bPGZNaSB Zn4JFIO2kCtoSYDaYjPO/qXG4p2aAPKpCnY0TFaSqzV26Llhq8mr0M4p8ZPJZNKNHW hhqAqMqEMoN8Q== Message-ID: Date: Thu, 8 Jan 2026 07:05:42 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/8] Generic IRQ entry/exit support for powerpc To: Venkat , Mukesh Kumar Chaurasiya , Peter Zijlstra Cc: Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , oleg@redhat.com, kees@kernel.org, luto@amacapital.net, wad@chromium.org, mchauras@linux.ibm.com, thuth@redhat.com, Shrikanth Hegde , Andrew Morton , 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 , Kan Liang , mark.barnett@arm.com, linuxppc-dev , LKML References: <20251229045416.3193779-1-mkchauras@linux.ibm.com> <3BBCC728-0BF9-484A-85F9-2760DEFD56BD@linux.ibm.com> Content-Language: fr-FR From: "Christophe Leroy (CS GROUP)" In-Reply-To: <3BBCC728-0BF9-484A-85F9-2760DEFD56BD@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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