Received: by 2002:a05:7412:1492:b0:e2:908c:2ebd with SMTP id s18csp487877rdh; Wed, 23 Aug 2023 06:19:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEJBtwSPTjOhUy0WN3Ram5vgJ3CJGQ1vXrFQ6Ei8RJWcsGZNiOfzAgNch8nzfEFpP9gzqdd X-Received: by 2002:aa7:d40d:0:b0:522:3ef1:b1d with SMTP id z13-20020aa7d40d000000b005223ef10b1dmr7501087edq.6.1692796748818; Wed, 23 Aug 2023 06:19:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692796748; cv=none; d=google.com; s=arc-20160816; b=0cADClecBxRJ1dXoveHPXgd+m3l+qSFz85XuqCy+T+FYreWK8LLNapwaqbvMiuFWmz G1h1Nl0Rd2trGAW1zPRf4A8rNDPgPVuAooLq6ISISsmpR9j+oLxVUmTqwFd3mgkB7E0p 8HvNwlgkzZEp5umtVHD/k2/+8+LDErUI3z+z6Sob/ltcgkkE68DWbn5UUPtklj7uo3nZ +TMPStttVSbgRGUK5FLegiT6stiD/fkYa5awWx9HF3FCSL2Rft96BVYrXYqvHwbiGuP9 ATskLny3AX2JO76m4rTmgKtTehaeuWxwrDBP7mGPvbq3bX+5PzHiAiI4qYYuEmNCKCqH NC1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=uMdL2UYhPVlTkDK8XIJjFWoQH9ysEE8tRsP29aoO6FU=; fh=q6LG329WdXauU9s6HfGA8W9QiGTVS+abGvush6o8hKE=; b=TcYxn0Xoqy/6HQGfDLYr9AvfXfw0uCJH0s5WsEIEQZ8Rl3WlMTT8LI8Ko93iVr7GcK 7ls2GdYavtKrMa8TckLjExdL71Hm/3nCegzMyl9jryhv4mOXAgkH5DexV4aQH3lcUNwS c+c/EYP+p6pE71NPOHbNEd1qutZituLTvv8++bqDnMUtY8s8wyPHEU3JU+vSEpWczAG+ xSnjTXnslatLLQXT2dSk5WxxT8/VKG+6YhEbkYT1YxK7C7lQALHk26vxb5lLRtJmv5JC 7TogQqe7hKxKeATycdaGGJDKdp1ByscjOBkS45fpELdfv0s8b8Z3yJ2oz1phs/msT2Ip 0T+g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j21-20020aa7c415000000b00529fc0b471esi6377067edq.624.2023.08.23.06.18.43; Wed, 23 Aug 2023 06:19:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234788AbjHWMEV (ORCPT + 99 others); Wed, 23 Aug 2023 08:04:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234660AbjHWMDz (ORCPT ); Wed, 23 Aug 2023 08:03:55 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A341E72 for ; Wed, 23 Aug 2023 05:03:53 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4RW4cl5wZcz4x2D; Wed, 23 Aug 2023 22:03:51 +1000 (AEST) From: Michael Ellerman To: Nicholas Piggin , Christophe Leroy Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kernel test robot In-Reply-To: <3d72efd39f986ee939d068af69fdce28bd600766.1691568093.git.christophe.leroy@csgroup.eu> References: <3d72efd39f986ee939d068af69fdce28bd600766.1691568093.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH] powerpc/radix: Move some functions into #ifdef CONFIG_KVM_BOOK3S_HV_POSSIBLE Message-Id: <169279175547.797584.10395628134457071142.b4-ty@ellerman.id.au> Date: Wed, 23 Aug 2023 21:55:55 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 09 Aug 2023 10:01:43 +0200, Christophe Leroy wrote: > With skiboot_defconfig, Clang reports: > > CC arch/powerpc/mm/book3s64/radix_tlb.o > arch/powerpc/mm/book3s64/radix_tlb.c:419:20: error: unused function '_tlbie_pid_lpid' [-Werror,-Wunused-function] > static inline void _tlbie_pid_lpid(unsigned long pid, unsigned long lpid, > ^ > arch/powerpc/mm/book3s64/radix_tlb.c:663:20: error: unused function '_tlbie_va_range_lpid' [-Werror,-Wunused-function] > static inline void _tlbie_va_range_lpid(unsigned long start, unsigned long end, > ^ > > [...] Applied to powerpc/next. [1/1] powerpc/radix: Move some functions into #ifdef CONFIG_KVM_BOOK3S_HV_POSSIBLE https://git.kernel.org/powerpc/c/4a9dd8f292efd614f0a18452e6474fe19ae17b47 cheers