Message ID | 20230419-arm64-syreg-gen-v2-0-4c6add1f6257@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2350926vqo; Tue, 23 May 2023 11:52:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4IsROUvgKYtMgSunYlS0X/9mlt0B8/zXEV4B7VU51LfqkQFj9x5xA6bD15kpbLP1UTi9Go X-Received: by 2002:a05:6a21:998f:b0:10a:be5c:6e3d with SMTP id ve15-20020a056a21998f00b0010abe5c6e3dmr11718840pzb.13.1684867967350; Tue, 23 May 2023 11:52:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684867967; cv=none; d=google.com; s=arc-20160816; b=X7BeP+ZZF/dZ+aE217IOFyOsZyHUpWUZQPpq2GP2APJNFgmbZunvdxFjCAE7Kk5O5P HmjSMHTfY5xYvq9iVLl4lePSGCLGi6HLKMl5JAkUO8hsgMJ5pXfpdD1DE8EbSD58SosZ c0NqszhGz5CSI5PX91HK7j893nBiRukMHze+ap0lFsfFJeTLGdJWStBhU3o5aAERkypU f/9QgFsDL6kwJVK1byd70mU8ICsi385AOH7e5K5brm//W7vnaO1E9JA6l2zuByOg2s11 ucsz4PNIVgYBMYqn9tmtLzeegGlB5nHTXO3IHYdbrPAtp3BhsvG0wy4dgA2RuoTsgepf YnOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=pR6AtCYcd1Ni/Qow9M9ijCjUu0xqz1RddGE+Gz2WqxU=; b=Zw02AL2Nks0XTrrTSH2sphM3JMcRml1XFHG6+ATQ9Qrs3N1Z86zmftH1Z1eWuRN4W7 RiE/u53Hnmqq8bSjUNBCFUrjamRwoMRsNh88fnFmrTCACdN1ERjTfFFLt2zHGtWxYmLV dVo2sjh5z1bT0PKSqgza/5brxy6SP+tkaOj9IAYugk3xQrKbr24cSuY+KVSnmirM7abo jDgw5xJK69K/QOuwAj4JNqJdY0zfaU9ztvMRkIcqzY0jo1w7OSQhSqwVhVEPme3T7cPd z3AyJyVpy46FapxXggEPiRGeBBpD8e9yZbNn66BNsIGMjxNqwXgoYvBIU1zs8zJMkIx2 4d2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HY+7SGEP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z1-20020a633301000000b0050309caf60esi7055484pgz.750.2023.05.23.11.52.31; Tue, 23 May 2023 11:52:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HY+7SGEP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236914AbjEWSh2 (ORCPT <rfc822;ahmedalshaiji.dev@gmail.com> + 99 others); Tue, 23 May 2023 14:37:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237047AbjEWShZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 23 May 2023 14:37:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 168C41B5 for <linux-kernel@vger.kernel.org>; Tue, 23 May 2023 11:37:13 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id CCB6B62DAD for <linux-kernel@vger.kernel.org>; Tue, 23 May 2023 18:37:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E45A2C433D2; Tue, 23 May 2023 18:37:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684867032; bh=85tRnbat52B6IBzDM3UnXuQ+f5nD406kWabSowIdwAA=; h=From:Subject:Date:To:Cc:From; b=HY+7SGEPmz+PnYzd1K19s5ZCB3+KfWVyYeEwSBtbkUaxVK7rl8J+bKYn6GJGHnzaS AczhTNPG9As3HLTI4bQuSHVUoFLRQjcSfYx1XyuvUIK8xR4OvlAVTgcKBcZNqd2xuE AO5kvpF5ZyJVoNhMnXzwvutuNHjk93lVS1dmv6frNerMjbHVEJca8Qq/UBMtGKZK7G ietkpOULcJhaeUApHmlvRn1Ct9tEEdaya6lgyUOS7XV7XaDxCGoy10kYlGNeQcZ0y7 ZsggIjgS81MWC07h764HkakYr45DUIk4slMSm9QaxCV4sxl/inKRZ83kSUSYq7AcEV A5EmeN+DtUQnQ== From: Mark Brown <broonie@kernel.org> Subject: [PATCH v2 0/7] arm64/sysreg: More conversions to automatic generation Date: Tue, 23 May 2023 19:36:58 +0100 Message-Id: <20230419-arm64-syreg-gen-v2-0-4c6add1f6257@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAMoHbWQC/3WNQQ6CMBAAv0L27BoopFJP/sNwaMtSGrQ1W4MSw t8t3D3OJJNZIRF7SnAtVmCaffIxZBCnAuyogyP0fWYQpajLplKo+SkbTAuTQ0cBjdC6VdK0epC QK6MToWEd7Lh3n8jTrl9Mg/8eo3uXefTpHXk5vnO12/+LucISVS1tf5HKGkW3iTjQ4xzZQbdt2 w8w/8I3xgAAAA== To: Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Marc Zyngier <maz@kernel.org>, Oliver Upton <oliver.upton@linux.dev>, James Morse <james.morse@arm.com>, Suzuki K Poulose <suzuki.poulose@arm.com> Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kvmarm@lists.linux.dev, Mark Brown <broonie@kernel.org>, Anshuman Khandual <anshuman.khandual@arm.com>, Shaoqin Huang <shahuang@redhat.com> X-Mailer: b4 0.13-dev-bfdf5 X-Developer-Signature: v=1; a=openpgp-sha256; l=1297; i=broonie@kernel.org; h=from:subject:message-id; bh=85tRnbat52B6IBzDM3UnXuQ+f5nD406kWabSowIdwAA=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBkbQfPNZeWD+F+ZKEYK9wEDhAlMa3SfFD2Oh7/dB2S xAkMEVCJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCZG0HzwAKCRAk1otyXVSH0HxVB/ 43QaDputTKF3OtYBvgFUGwvbT4F88iC4/286aS8jpxDLBL22TKRy8grVT/EGGi3SXKNBsCCYKofvgs nQtKK1axKn8Ks/CIcMluLJAyz80IIre0WlpjgMd3Ma3cYB9ZvktetN5uWDHsa2vMCpVKKELSRkHUxl 8CjAWObXBwOVX/3odXCeQHvH9xvsBbYiQiUaCOAuF4LvYcOXakGGiNjFcVGP+WcTxZU9uifITYDrTA TvLC+Yfv64kQyz5Pxgaw8F3ZSYRcUDTVscFBgEo9MOv8xbmQoFs3fT5bRrmuJLTILMewFvB67aApVW g/c7S+YI5yvsz9kmCYnVLv9nNwalIs X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766712113373207034?= X-GMAIL-MSGID: =?utf-8?q?1766712113373207034?= |
Series |
arm64/sysreg: More conversions to automatic generation
|
|
Message
Mark Brown
May 23, 2023, 6:36 p.m. UTC
Continue working through the register defintions, converting them to
automatic generation.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
Changes in v2:
- Also convert OSECCR_EL1, OSDTRRX_EL1 and OSDTRTX_EL1 instead of
dropping them.
- Link to v1: https://lore.kernel.org/r/20230419-arm64-syreg-gen-v1-0-936cd769cb9e@kernel.org
---
Mark Brown (7):
arm64/sysreg: Convert MDCCINT_EL1 to automatic register generation
arm64/sysreg: Convert MDSCR_EL1 to automatic register generation
arm64/sysreg: Standardise naming of bitfield constants in OSL[AS]R_EL1
arm64/sysreg: Convert OSLAR_EL1 to automatic generation
arm64/sysreg: Convert OSDTRRX_EL1 to automatic generation
arm64/sysreg: Convert OSDTRTX_EL1 to automatic generation
arm64/sysreg: Convert OSECCR_EL1 to automatic generation
arch/arm64/include/asm/kvm_host.h | 2 +-
arch/arm64/include/asm/sysreg.h | 16 +++---------
arch/arm64/kvm/sys_regs.c | 10 +++----
arch/arm64/tools/sysreg | 55 +++++++++++++++++++++++++++++++++++++++
4 files changed, 65 insertions(+), 18 deletions(-)
---
base-commit: 44c026a73be8038f03dbdeef028b642880cf1511
change-id: 20230419-arm64-syreg-gen-b2aa896b8af6
Best regards,
Comments
On Tue, May 23, 2023 at 07:36:58PM +0100, Mark Brown wrote: > Continue working through the register defintions, converting them to > automatic generation. > > Signed-off-by: Mark Brown <broonie@kernel.org> > --- > Changes in v2: > - Also convert OSECCR_EL1, OSDTRRX_EL1 and OSDTRTX_EL1 instead of > dropping them. > - Link to v1: https://lore.kernel.org/r/20230419-arm64-syreg-gen-v1-0-936cd769cb9e@kernel.org > > --- > Mark Brown (7): > arm64/sysreg: Convert MDCCINT_EL1 to automatic register generation > arm64/sysreg: Convert MDSCR_EL1 to automatic register generation > arm64/sysreg: Standardise naming of bitfield constants in OSL[AS]R_EL1 > arm64/sysreg: Convert OSLAR_EL1 to automatic generation > arm64/sysreg: Convert OSDTRRX_EL1 to automatic generation > arm64/sysreg: Convert OSDTRTX_EL1 to automatic generation > arm64/sysreg: Convert OSECCR_EL1 to automatic generation Besides the one comment I had: Reviewed-by: Oliver Upton <oliver.upton@linux.dev> I imagine these will go through the arm64 tree right? The KVM diff is miniscule.
On Tue, 23 May 2023 19:36:58 +0100, Mark Brown wrote: > Continue working through the register defintions, converting them to > automatic generation. > > Applied to arm64 (for-next/sysreg), thanks! [1/7] arm64/sysreg: Convert MDCCINT_EL1 to automatic register generation https://git.kernel.org/arm64/c/3def3387f755 [2/7] arm64/sysreg: Convert MDSCR_EL1 to automatic register generation https://git.kernel.org/arm64/c/103b88427bc5 [3/7] arm64/sysreg: Standardise naming of bitfield constants in OSL[AS]R_EL1 https://git.kernel.org/arm64/c/187de7c2aad8 [4/7] arm64/sysreg: Convert OSLAR_EL1 to automatic generation https://git.kernel.org/arm64/c/31d504fce595 [5/7] arm64/sysreg: Convert OSDTRRX_EL1 to automatic generation https://git.kernel.org/arm64/c/7b416a162229 [6/7] arm64/sysreg: Convert OSDTRTX_EL1 to automatic generation https://git.kernel.org/arm64/c/42383388758a [7/7] arm64/sysreg: Convert OSECCR_EL1 to automatic generation https://git.kernel.org/arm64/c/175cea665877