Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98B55C61DA4 for ; Thu, 16 Feb 2023 11:10:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230377AbjBPLKQ (ORCPT ); Thu, 16 Feb 2023 06:10:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230058AbjBPLKN (ORCPT ); Thu, 16 Feb 2023 06:10:13 -0500 Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [80.241.56.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C917F4224 for ; Thu, 16 Feb 2023 03:10:12 -0800 (PST) Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4PHXKX1zpxz9sTL; Thu, 16 Feb 2023 12:10:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1676545808; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Cp0Jdbn8qsTqbb34HVg+YijwzLsVoOWb0viZR1J/NEg=; b=xhZpkWeZ/fKKIJ56LZV7DW+vtFSYAO4yGTaTSnS9icbXPXfPTJWUPXdIsWTf97M5tLtWJ/ ZfhUzUw2L9M7NPVVX2Df/CQso1N32VXAtbKCQREKtC2kcff2QEwrqry30kyTDXdwuBhnyX RXlfb0Z6lG5IShP1y4TcuEwlVcjBkkbqAu53meTrjub+H65r6lM4IIYR/7PQ54EMcQSu8C /JIE5ORo7J35uPTuAzAViXFW51mhQN7Qz2Fe7gG0qlGxGIr22I65SCBLQAy4BzcUUGBKRP 9EgFJZeJqo2gmeAH4434kMLNzOabqegBakU2Yg4UgS2oK47YtwqEVOdaTV+EFQ== Date: Thu, 16 Feb 2023 12:10:05 +0100 From: "Erhard F." To: Christophe Leroy Cc: "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" Subject: Re: 6.2-rc7 fails building on Talos II: memory.c:(.text+0x2e14): undefined reference to `hash__tlb_flush' Message-ID: <20230216121005.5033ffec@yea> In-Reply-To: References: <20230216005535.6bff7aa6@yea> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-MBO-RS-ID: 1eab50639c59a028a84 X-MBO-RS-META: eie6moxr4du9w8diask4c8su8orzgfn5 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 16 Feb 2023 06:29:52 +0000 Christophe Leroy wrote: > Can you try with : > > diff --git a/arch/powerpc/include/asm/book3s/64/tlbflush.h > b/arch/powerpc/include/asm/book3s/64/tlbflush.h > index d5cd16270c5d..2bbc0fcce04a 100644 > --- a/arch/powerpc/include/asm/book3s/64/tlbflush.h > +++ b/arch/powerpc/include/asm/book3s/64/tlbflush.h > @@ -97,8 +97,8 @@ static inline void tlb_flush(struct mmu_gather *tlb) > { > if (radix_enabled()) > radix__tlb_flush(tlb); > - > - return hash__tlb_flush(tlb); > + else > + hash__tlb_flush(tlb); > } > > #ifdef CONFIG_SMP With the patch applied my 6.2-rc7 .config builds. Thanks Christophe! Regards, Erhard