Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2725816lqt; Mon, 22 Apr 2024 22:18:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX5PV2AOrL6S5bAdvEFqnqvGC7nguEJBqi+3IEzYDnasqt4M+dyUWo8d0CXxGzBw+CT0zHArQIF5buEdIDFVLzoSjHkDaNRZl8tM3SOqQ== X-Google-Smtp-Source: AGHT+IHelVz0xTXvLTKwTQfnv2AHrSd+KcZla7Oz/jcpKiDvGeto/qH6tJVBjLH/woMVMQ1Xu15j X-Received: by 2002:aca:d01:0:b0:3c6:e8d:3ef0 with SMTP id 1-20020aca0d01000000b003c60e8d3ef0mr13289534oin.49.1713849482295; Mon, 22 Apr 2024 22:18:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713849482; cv=pass; d=google.com; s=arc-20160816; b=rq8wlW8GY8eSzuN7b+lrO7no/L4Gi6/XKT/LfFylJzWAt4p7eSxN5RiNnzygJrQCiA gGdpHjuBouepB0GIjMEBkE9q2b3imTLmImimVw+So5t8HncpNjyLrTo+BRax+VCzbv7V SCLgcD1VXI6yudsoqr3eXh/DLDWxBAE7ywXbU6DUZ6qPM/LEz9ZMiF0DeKwA0mVQOVFB as2ont/CzpdD+2ysv9JUugzVAU5xpves2in8bcaSUImrAQ9cunZlkeZfQvtf9vE+F8uS nX21idnTjMb/+nyPw0F+DIScljXCV9302cCMzV7uynNMyriDGRJPY4F5kkt6ZHUzQrNW QOpw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4WafxN/IiOJAqfT+vcshRzU9qchnBDWg+UqcCE5OCP4=; fh=8e9JFMShBbPF2Yi83TB3E7woyPMN4u46J7KxG8Ox4dE=; b=HlHiI3324gPt/LP09J3587AahpEd3BSIAFbrJdcVuvlB93pnxjVpO4WMX9fJ+x0d87 iYvG2DnAMbj8F0FALEdo9nFJywEkXe32KjNR2AcqM5V6MoigYgyJliV6nZNiCIdyB8Oe R0vHWrOq+IIuFnL4Qs2THxaryD4we6Ee9c+PqP29J4U6fd5H9ggKlUca1zyn8+4AeHxu iQ30zU5Q6Y5/pGlMrnCunD0ZqhLx5naMbknXkKuzE6ozkSFcDe55Mcj1NbNJUuhbMQfT BBdcBVfKlDQivvJjISq3TRR/dvG88NxhZ640tkQP9fM/2qBmiiIZDN5mUqpR1kebyRhS KGLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CIO6khEz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-154519-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154519-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id g27-20020a63565b000000b005f8074174fdsi5879687pgm.6.2024.04.22.22.18.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 22:18:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154519-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CIO6khEz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-154519-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154519-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id F2BC0281C70 for ; Tue, 23 Apr 2024 05:17:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B50B3208A8; Tue, 23 Apr 2024 05:17:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CIO6khEz" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE2B41B966 for ; Tue, 23 Apr 2024 05:17:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713849456; cv=none; b=NNoSsXa2xhRFInvKs7ac7dJAixrl5eKVf9RVw5Jvb7VXRHYFrj/OXxcbb8KyUtbskJydr1LIMFvXqmrL/03lX+bPYHEUJfhuYjcsBuCb5oDGLYKm8TbQ8g+5KcKp7p00L8gjFj00ZSYMaCarTtprp4m68N+50odWLAneEL6kDCM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713849456; c=relaxed/simple; bh=HeotCJcghQNRi29l1z9kedkrAnyUVRoEWfii/QDKt8g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mwReKL9cW9Q/U772T57gqB7II0ASiLR+BYD2Dp1bYFVdAfYUUACnYhtpfxkLs2Zcv0J2TOkzc9ownIVNzZqGJYqdVvX+qnpT8ZrKUIq+W7O/KMDsFHR38vMKAb6AiwFapnOuEEjFjR7qvAqmvheJXdqFl1dM2mMK5/MmkXMcLIc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CIO6khEz; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E0B1C116B1; Tue, 23 Apr 2024 05:17:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713849455; bh=HeotCJcghQNRi29l1z9kedkrAnyUVRoEWfii/QDKt8g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CIO6khEzSV5X2pduJLo2BZ+/nmO14FmNE7MgN52sse47jYAuzu7qSJnA0fPMHfcqo TLLJypvQOOulbffvV3jP2+9gSIYh78OHa5ho5avD3bOHlKeuSACyl7yrSdlxVdJdyb gRk226h8UonH2h/jQTGWGGUuGHNsO6R4pyTbp+FFBrpcXaAsSPkDRSl6gAGwualhI4 64QTt6Ws2h7bawaYfwrv0lubFh8pHYA6C02w0gCuvVcRHANFBn8UczJfRQIQqSWkNt RC5Y/tEfrE1kGqQuID6prLWrgUtDkbF2l5Nbadlre5y7nW4GM77o8iDY3tG1BgRpca fNsFqrrUmESuA== Date: Tue, 23 Apr 2024 14:17:30 +0900 From: Mark Brown To: Will Deacon Cc: Anshuman Khandual , linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64/sysreg: Update ID_AA64MMFR2_EL1 register Message-ID: References: <20240419021325.2880384-1-anshuman.khandual@arm.com> <20240419134623.GE3148@willie-the-truck> <49365864-0080-4ddd-b0cb-eef41c88b6a9@arm.com> <20240422171613.GC6223@willie-the-truck> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="J8bn/pOzNwfYEkkm" Content-Disposition: inline In-Reply-To: <20240422171613.GC6223@willie-the-truck> X-Cookie: TANSTAAFL --J8bn/pOzNwfYEkkm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Apr 22, 2024 at 06:16:13PM +0100, Will Deacon wrote: > On Mon, Apr 22, 2024 at 08:38:40AM +0530, Anshuman Khandual wrote: > > This is not being used currently but will be required for upcoming > > features. I was under the impression that register fields (atleast > > for the ID registers) should be kept updated, with latest released > > spec ? Besides lately arch/arm64/tools/sysreg serves as very good > > reference for all necessary register fields. > Why? The linux headers aren't documenting the architecture. I don't know that it's something that we should be doing apropos of nothing but if people have done updates and they're not unreasonbly complicated to review it does seem useful to integrate them to avoid duplicated work. There have been some issues with that around the ID registers (which are going to be on the places most prone to this I guess). --J8bn/pOzNwfYEkkm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmYnRGkACgkQJNaLcl1U h9C6Rwf/Ss9y362yQfFUmqUbdi+GZr96SuHmRHPsQRhOKnjP/fmjGX5igoJldgcG wfa15cpBIwRKW46rDlSVehzzX43u+zRKd6CMtOjRrol173F6hXVfIXHGBi2a9tdj 5oIAsnytZD8ho36DjdrzkxKrDytuY57B4034LqPLQ1GqAR7ay3PMXHN8PEyr8H9a 6iCjg51kcqjPozIqBTcf+PGYB4U784K7Tf7RPG2gRWTnNYhy/0oOT62khSZCTL25 CBbpnbyKeQdp+dBmF8wB6mGjsVnHATsrC82d3av6q7aLBrMVPVF7Lccghe3A7jT0 yUXFEtHLFdooQirabUSk+EDz7Ej+EQ== =h7X/ -----END PGP SIGNATURE----- --J8bn/pOzNwfYEkkm--