From mboxrd@z Thu Jan 1 00:00:00 1970 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 10541C001DC for ; Wed, 26 Jul 2023 07:29:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231945AbjGZH33 (ORCPT ); Wed, 26 Jul 2023 03:29:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231617AbjGZH2p (ORCPT ); Wed, 26 Jul 2023 03:28:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD01D1BFB for ; Wed, 26 Jul 2023 00:27:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 797446167E for ; Wed, 26 Jul 2023 07:27:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9B93C433C7; Wed, 26 Jul 2023 07:27:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690356453; bh=lXv5kEOl0nlAkBvS9zBgaIgcRETE3LySQnYmx497ku8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dgbVQRa6ex9Z2aR9Gw41oJcNj9Tg/od57dkdOg2sVsMk6yfZK4nbETQ+DZLZA9jwg wnhU/Ngv0Vqvi1xGwcevef4TLER12M+WuKznZ16S6t8byEfMPx0tsSUgajxyICTB5Z Tr2KKSwTyyRbkegHOgyeZZsj2RUgAQaTHnk3gPaLWV9vGUJH9a9ZoIY9JSnNZdeDBO dUqOu+HKJJm7inL5/TrX0DccQN3zfNSglELy6aEqQkq6Ctx+4VgGy282Xyzj3VhIxA VyP4S+dwyb2Exg68QFlrmGkSZRHpVvcur2plbTGsbXpBfcq/7JDQ/0PGE5yuvolQTr 6VuJ7aw9e9jjA== Received: from ip-185-104-136-29.ptr.icomera.net ([185.104.136.29] helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qOYvj-00GwkB-61; Wed, 26 Jul 2023 08:27:31 +0100 Date: Wed, 26 Jul 2023 08:27:27 +0100 Message-ID: <87wmynqgio.wl-maz@kernel.org> From: Marc Zyngier To: Arnd Bergmann Cc: Oliver Upton , Catalin Marinas , Will Deacon , Mostafa Saleh , Arnd Bergmann , James Morse , Suzuki K Poulose , Zenghui Yu , Fuad Tabba , Ricardo Koller , Quentin Perret , Kalesh Singh , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] KVM: arm64: fix __kvm_host_psci_cpu_entry() prototype In-Reply-To: <20230724121850.1386668-1-arnd@kernel.org> References: <20230724121850.1386668-1-arnd@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.104.136.29 X-SA-Exim-Rcpt-To: arnd@kernel.org, oliver.upton@linux.dev, catalin.marinas@arm.com, will@kernel.org, smostafa@google.com, arnd@arndb.de, james.morse@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, tabba@google.com, ricarkol@google.com, qperret@google.com, kaleshsingh@google.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 24 Jul 2023 13:18:42 +0100, Arnd Bergmann wrote: > > From: Arnd Bergmann > > The kvm_host_psci_cpu_entry() function was renamed in order to add a wrapper around > it, but the prototype did not change, so now the missing-prototype warning came > back in W=1 builds: > > arch/arm64/kvm/hyp/nvhe/psci-relay.c:203:28: error: no previous prototype for function '__kvm_host_psci_cpu_entry' [-Werror,-Wmissing-prototypes] > asmlinkage void __noreturn __kvm_host_psci_cpu_entry(bool is_cpu_on) > > Fixes: dcf89d1111995 ("KVM: arm64: Add missing BTI instructions") > Signed-off-by: Arnd Bergmann Acked-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible.