From patchwork Mon Feb 26 11:30:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Clark X-Patchwork-Id: 206575 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2009581dyb; Mon, 26 Feb 2024 03:33:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUIXvXkhAw1mCUfMiwbnQrlRSX3msUf19ZW4fI6mZyV660TN8Ch9NGPaRc6N4ZX34D9y/4RMoS0+q0XOji90/YnqlrhXg== X-Google-Smtp-Source: AGHT+IHyQZSVkwkVRWnVlEFl/UqM9UdYb4SD1vGAQAlV8szvyT6v5HnHjnyRDk0CM2ohRoixV9Hc X-Received: by 2002:aa7:d513:0:b0:564:aa72:78e1 with SMTP id y19-20020aa7d513000000b00564aa7278e1mr4125472edq.9.1708947229169; Mon, 26 Feb 2024 03:33:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708947229; cv=pass; d=google.com; s=arc-20160816; b=ie7iCDSCtmLe4UuEgp9nmwjmv4qFKqN4GIecqwC+oCSL6tmrLPwRqIQQssnFb+D5A4 mBlpdL+pYkVffG1OImG1nFLEddbyuEds74Z6nCs9luV9Mxy8ZaQfPin4mjUYzVT8aLlB r99gnDUkiqXlJhYnh2ylsdkCNNtuzm9ZTbCcrNyhwEV+q+KrblCGBzOX6MfeRZ8edpq2 arT7WlfBeekKBu9p21EB5M8tk1CqnYkBT4O5p836D3SnpZBIUBJO171JJEPq1ip3xrra vcCO/rIiqDXG6xNHqqd6mHFlXd9cUP0zGIfj6e1IgApvtorO4hQxJArjwyJvacjzWCMq r5Ug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=kN2acj+FZup2Eh6yoHqXIttWJ+srRqMgAwbabiifWII=; fh=LvtWfPeqktVW/laBxBesgj6Xx6YN7Ky8I3ETDAWfTP8=; b=Rp67+VlWX6hpEQO7CYoTBLkx8BR7BPhisIRG0pWiv5VD7IAtJcSjQoRg5z09+q5fO9 49v74epEcX0CFhnMoJKyNyl7dXyDJWOgTiAGv6DyFWulm0lE/Tpsxgk6fSRvLCp1dMTO 1aetAUUYuajuCCX1wzUbNA83cGag1tAJAF3fXKIAItuUnuzngoH6skyY3zGkTCXg2ooV JCv8vKvxUwx1JoWjuXywARHU1Z+rGWgCXBgC5gnmWJl3GuAiu6SPHwjDVRkK44Owgz/7 Yj9lDbw6qqT4e6dWb9OyIZOzh1BAPcDehEvA/3kQNbWPNYBNVOokXr6Enet3ffM3+Z+z tHFA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-81267-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81267-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id e1-20020aa7d7c1000000b005647bed88b6si1917527eds.258.2024.02.26.03.33.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 03:33:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81267-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-81267-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81267-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id C5B651F24FA5 for ; Mon, 26 Feb 2024 11:33:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B17D423768; Mon, 26 Feb 2024 11:33:27 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D0E06208B8 for ; Mon, 26 Feb 2024 11:33:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708947206; cv=none; b=u5AqFVKN2uiE4jDCZOB9HfUbzpMtnSmqZftNWs6e1D8ENzpWcSOD6/bWZAZLu9pwGxlqZj9LJRR279MrHDYCIkb/wBDl6SThhe1OGpTYH/u8RVeMN/W/dSzL6xMkegZeLGhAKZfC5pkFvz5ecyonoLWS/uGwFDWDqqJaQFRT1js= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708947206; c=relaxed/simple; bh=itmjCQvkDKYCOqdryrMcD03YE3rCvHggOaRIyi037GU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=VEB9VdxgpamXFREdqVTvr8ifDohbSvgrlZFB3aiWC2gQD6WeENEOBeSGYq82L4JCfP21u7+d3qIIlzej5FdwpGX0BWxQpunuv1u2054K05flJX4JfZYGeCWxc9dsUsbgxpmz94PbEqwjWG7hKE1RA+u57Vrf+Cpb9uptEPtHwj0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 F2B27DA7; Mon, 26 Feb 2024 03:34:02 -0800 (PST) Received: from e127643.broadband (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D30E63F6C4; Mon, 26 Feb 2024 03:33:20 -0800 (PST) From: James Clark To: coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, maz@kernel.org, suzuki.poulose@arm.com, acme@kernel.org, oliver.upton@linux.dev, broonie@kernel.org Cc: James Clark , James Morse , Zenghui Yu , Catalin Marinas , Will Deacon , Mike Leach , Alexander Shishkin , Anshuman Khandual , Miguel Luis , Joey Gouly , Ard Biesheuvel , Mark Rutland , Helge Deller , Greg Kroah-Hartman , Arnd Bergmann , Ryan Roberts , Vincent Donnefort , Fuad Tabba , Jing Zhang , linux-kernel@vger.kernel.org Subject: [PATCH v6 2/8] arm64/sysreg: Add a comment that the sysreg file should be sorted Date: Mon, 26 Feb 2024 11:30:30 +0000 Message-Id: <20240226113044.228403-3-james.clark@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240226113044.228403-1-james.clark@arm.com> References: <20240226113044.228403-1-james.clark@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791961049372801772 X-GMAIL-MSGID: 1791961049372801772 There are a few entries particularly at the end of the file that aren't in order. To avoid confusion, add a comment that might help new entries to be added in the right place. Signed-off-by: James Clark Reviewed-by: Mark Brown --- arch/arm64/tools/sysreg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index fa3fe0856880..a84c19c111fa 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -48,6 +48,8 @@ # feature that introduces them (eg, FEAT_LS64_ACCDATA introduces enumeration # item ACCDATA) though it may be more taseful to do something else. +# Please try to keep entries in this file sorted by sysreg encoding. + Sysreg OSDTRRX_EL1 2 0 0 0 2 Res0 63:32 Field 31:0 DTRRX