From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 765CF606A322 for ; Fri, 4 Dec 2026 16:57:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=o/p0irUV; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=CVnuoGr7 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=aX8yK7CwjuPDdmFKC3Zt6H4bskKkmzAvOoyrEnLgM18=; b=o/p0irUVXBi+RnXuODW7+L7SzT A/fIH2UepL9P0jPELX9GLyzP1DAJTTr5Cv1Nqh0XdhO7/GEMpR/PKVA6VSlSMP+FCoKFaRVr9hnhG unZ3lEPo5iq2VVzB0gb/KxN9Fj/852GnxNGxEoMtqsHq936peoI9ZiTOsEP+tTBy9bVeHePjzdgwZ DRd4R/aF2kRSxuhz6xEcsmDuYznxpkaaqoYfNlI2Ij0fbEPwRZo3UvW6x+YXvFgb5ZjyiWuySftla 3GJ/yYPlhZ/mvAJyxMHJlMBvuSWRNj+CLVCA6b9PMcXC6ZOxzmeXYUjYwxBf/KkGzjVLkI7i5SLmY +q6S8i/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZWad-00000000zU8-0fFp; Fri, 04 Dec 2026 16:56:55 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZWaZ-00000000zTQ-1PKN for linux-arm-kernel@lists.infradead.org; Fri, 04 Dec 2026 16:56:54 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F144114BF; Fri, 4 Dec 2026 08:56:46 -0800 (PST) Received: from arm.com (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F348F3F632; Fri, 4 Dec 2026 08:56:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1796403409; bh=PzO1qHT9abMdHEePUcz337C4cwTLEbn2gOr06Oxde2E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CVnuoGr7bqCEgZA+beO36nsn3+MgDVt5NdXWvxJ7JonSr8nsa2i307bt8nf7sRW+a dHtWCTMA9IP1hef2TO4b9+B9zHwJ+cLI+HuyWS5yk1xIJ/oZJmtfX9w20JWTAzUJBk +DQQgyIxVG8/UPYVqa1YswbnFg/l0kFoYoKRZeP0= Date: Fri, 4 Dec 2026 16:56:45 +0000 From: Catalin Marinas To: Vincent =?iso-8859-1?Q?Stehl=E9?= Cc: Will Deacon , Mark Rutland , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm64: smccc: adjust quirk id to 32-bits Message-ID: References: <20261126-w9-v1-1-b5fad7213afe@arm.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20261126-w9-v1-1-b5fad7213afe@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261204_085653_223815_AEDBA310 X-CRM114-Status: GOOD ( 11.27 ) X-Spam-Score: -4.4 (----) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-11.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Thu, Nov 26, 2026 at 10:01:00AM +0100, Vincent Stehlé wrote: > The id member of the arm_smccc_quirk structure is declared as a 32-bits > int, but it is loaded as 64-bits. This will load the alignment bytes > present in the structure after id into the high part of the x9 register. > > This has no effect in practice, as the alignment bytes are probably zeros, > but fix the load and compare instructions for consistency. > > Signed-off-by: Vincent Stehlé > Cc: Catalin Marinas > Cc: Will Deacon Reviewed-by: Catalin Marinas