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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BFC74C3DA7A for ; Thu, 5 Jan 2023 21:40:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZZJgNuA/6vmw83a0eNPGH5BoeLyc0R99/yqurASiYXY=; b=i3jauCpcJr1Us2 QTHpiYhQ1ntBWkB/MjrDyxLwNpwgshduzYgLM8Ng+e8HR9jkoE8Cpq2Y3PH1fYNAGJviMOzIst+Un oVCQXHaSAdetEBg2G3ykWGpebIevh4Q9CWot++jkzbwalJTdeDeFSzjr2pkMETcSU3a1xO+m0ubIw T8kkg3DRijTmdrmw6GagZI1hdyto0VJnriGKhpc7yoDwGJQdutghoYzTu7BsbYOIKJVmVVq7Ynsk9 P/J6O5id5w7xbmj3TeT67w4J9BH3g/dFEnoY5TsZdx7bm/ziriz4cMqEaE2oye/NeUI9DTuFMUo60 P+1ZzjhD+1kr2fBwoenw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pDXxn-00FCD7-JQ; Thu, 05 Jan 2023 21:39:52 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pDUzd-00DbZf-Kl for linux-arm-kernel@bombadil.infradead.org; Thu, 05 Jan 2023 18:29:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:MIME-Version:References: In-Reply-To:Subject:Cc:To:From:Message-ID:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=cyPzJF7RNZaFPg0NImqLDsRYY4W33TcwBMvMZUsRz28=; b=VJeJq9IhZN6jv09WHBMhmZPsvh /mO75XjbC+gK7JBbqE7pkXREqsym5BD+p9d0/8M3rRg7KaOKmuUf9GqI+KKkdffh4gj/NYap81y95 I/184u7cPFKezn+y+BskrU8ubTh7LCDoR3wkG7aBOC6/RFfee7PXOtDkn7nrG3R8P0m7j5WcFPNvc f60cOu52b4EpaHfdoSW31nkPqw/ETTQgtKnKkSNalEvBwFHJwSMGUco3d2Mu8Gmj85n4Xgh39QsUV hBZvBqh1AoHba/O4RWXNSrvF8pXK6ojRKHmYR/bmxBqwVzBE4jMWkTAS9uW7YMBjYMgZFJx0Xv3Ck zW8HNZ/Q==; Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pDSV1-001SCD-0l for linux-arm-kernel@lists.infradead.org; Thu, 05 Jan 2023 15:49:49 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E1ECEB81B33; Thu, 5 Jan 2023 15:49:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FA2AC433F0; Thu, 5 Jan 2023 15:49:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672933789; bh=CrV4mUVmmVrzfQR52I1zafV6/7a/WQqNpPOTe/0HBgw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=TJu/VGAX9TKaSq8Si58ncopKvz+BltyCjawbhDCH0z2ImhB1F7E58uwc9RjuQcoPE TzKR00hDFCf55nsQ/riP5o0RVu7xh7NPeu04MQAUBrV+6B6xSHR9LvXM+oL6dtOrN4 MgHK87CTYMeUR82FLk9CPYS6kczelc6QYf2TjwCiTS7752zlyRfoJiCepgaJ0dk1bm HL5Nrj7ZjdJt8f+qxWtOAVW0qJ7bxLhivN7bix9VmRYdXTPgQKYGqwNg6OHwgPm78z pUoQoocoAPFVkyH5K9PdTh1ZrnnXZkuh+rF7+pXi6edrV8CW5V3qq8jK6N6w4Jnwzt ctBMCNq9qje2g== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.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 1pDSV1-00H2Be-EO; Thu, 05 Jan 2023 15:49:47 +0000 Date: Thu, 05 Jan 2023 15:49:47 +0000 Message-ID: <86r0w9nfqc.wl-maz@kernel.org> From: Marc Zyngier To: Will Deacon Cc: linux-arm-kernel@lists.infradead.org, Dmitry Baryshkov , Mark Rutland , Lorenzo Pieralisi , Arnd Bergmann Subject: Re: [PATCH] firmware/psci: Fix MEM_PROTECT_RANGE function numbers In-Reply-To: <20221125101826.22404-1-will@kernel.org> References: <20221125101826.22404-1-will@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 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: will@kernel.org, linux-arm-kernel@lists.infradead.org, dmitry.baryshkov@linaro.org, mark.rutland@arm.com, lpieralisi@kernel.org, arnd@arndb.de X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230105_154947_774708_7263F8EF X-CRM114-Status: GOOD ( 21.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 25 Nov 2022 10:18:26 +0000, Will Deacon wrote: > > PSCI v1.1 offers 32-bit and 64-bit variants of the MEM_PROTECT_RANGE > call using function identifier 20. > > Fix the incorrect definitions of the MEM_PROTECT_CHECK_RANGE calls in > the PSCI UAPI header. > > Cc: Dmitry Baryshkov > Cc: Mark Rutland > Cc: Lorenzo Pieralisi > Cc: Arnd Bergmann > Fixes: 3137f2e60098 ("firmware/psci: Add debugfs support to ease debugging") > Signed-off-by: Will Deacon > --- > include/uapi/linux/psci.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/uapi/linux/psci.h b/include/uapi/linux/psci.h > index 3511095c2702..42a40ad3fb62 100644 > --- a/include/uapi/linux/psci.h > +++ b/include/uapi/linux/psci.h > @@ -58,7 +58,7 @@ > > #define PSCI_1_1_FN_SYSTEM_RESET2 PSCI_0_2_FN(18) > #define PSCI_1_1_FN_MEM_PROTECT PSCI_0_2_FN(19) > -#define PSCI_1_1_FN_MEM_PROTECT_CHECK_RANGE PSCI_0_2_FN(19) > +#define PSCI_1_1_FN_MEM_PROTECT_CHECK_RANGE PSCI_0_2_FN(20) > > #define PSCI_1_0_FN64_CPU_DEFAULT_SUSPEND PSCI_0_2_FN64(12) > #define PSCI_1_0_FN64_NODE_HW_STATE PSCI_0_2_FN64(13) > @@ -67,7 +67,7 @@ > #define PSCI_1_0_FN64_STAT_COUNT PSCI_0_2_FN64(17) > > #define PSCI_1_1_FN64_SYSTEM_RESET2 PSCI_0_2_FN64(18) > -#define PSCI_1_1_FN64_MEM_PROTECT_CHECK_RANGE PSCI_0_2_FN64(19) > +#define PSCI_1_1_FN64_MEM_PROTECT_CHECK_RANGE PSCI_0_2_FN64(20) > > /* PSCI v0.2 power state encoding for CPU_SUSPEND function */ > #define PSCI_0_2_POWER_STATE_ID_MASK 0xffff Acked-by: Marc Zyngier Should this be taken via the arm64 tree, together with [1]? Thanks, M. [1] https://lore.kernel.org/r/20230105090834.630238-1-maz@kernel.org -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel