Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4733597rwd; Tue, 23 May 2023 11:39:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Y8bpd/iHHdME1C7dbrzdXvCp7Z12JxP9I6rwyM6vQHPOoXnFCPBCTy659Hc86ut4EWb6T X-Received: by 2002:a05:6a20:9185:b0:101:41f8:7a17 with SMTP id v5-20020a056a20918500b0010141f87a17mr16272170pzd.20.1684867147942; Tue, 23 May 2023 11:39:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684867147; cv=none; d=google.com; s=arc-20160816; b=BromO8knrsq/cfhxbQM3uA8Ui+PG5wIEzL/y7qWgwSAycN7XuWVzog5+ws8HxQLmDI JT0lO1YBIO89n4O+X7izC4VRPg7LJo64XiFnEnp7q7xSyVPGs5U8a+8ElG83aN1j3MuG Otc3AcuNvcuDrClJ5ORmtuYiObN/9se+se9BsYEDZa25Pg4pe9GtNn+tM4QWya2sQGl2 pd0DD5ljrEZJd8t9ivF3EQHdwOeV7tfdqopmmo57r43kNzoxxoJg8MldBZKzE4e4ACAp raWxiWyBsbooc/7xZ59jzOnDK9t4engwFI76sB92Di49y8bJr7hlUmSps2AfKidYzzFb IA2g== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m11-20020a63710b000000b00534784002c0si1440868pgc.424.2023.05.23.11.38.53; Tue, 23 May 2023 11:39:07 -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 S237749AbjEWSh2 (ORCPT + 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 ); 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 ; 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 ; 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 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 , Will Deacon , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kvmarm@lists.linux.dev, Mark Brown , Anshuman Khandual , Shaoqin Huang 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: X-Mailing-List: linux-kernel@vger.kernel.org Continue working through the register defintions, converting them to automatic generation. Signed-off-by: Mark Brown --- 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, -- Mark Brown