Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4734270rwd; Tue, 23 May 2023 11:39:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4fQhcLfwoFEgvdqoBn/wHPfM3+4H3AJZ6lIAzxYuNMeUql6s6+cofNQ8jzowKrl9WlzrKQ X-Received: by 2002:a05:6a20:6a28:b0:10b:2ed8:1859 with SMTP id p40-20020a056a206a2800b0010b2ed81859mr10241892pzk.6.1684867196625; Tue, 23 May 2023 11:39:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684867196; cv=none; d=google.com; s=arc-20160816; b=KmzGOR4hmNt7eiTWrdSiGDm5C+c6XYJHqkHViJwmrmAbJlLydNZDOCornEzZfKaFnm 0a/itUm07oh+fLorqcn3VCIDa+I2bhcyft3GtXFbIulVoFk8npwHlcMIEtyNvzgzHUd1 U/Y5Kk/rwwPbAsGQHDpsxaXI5N0hytagnulTHcgdWmWiO6+K15hZJIGVcNYexhylJnCf 5tQa6QVMgtu4RtUaSCQ0/ogSDnM+EPGaSbez7eXasaagButGJsHKWcImX2z8c7qlof6V SruUtetBFO2KFch5pYecd90WdJrsfu+YENpV46HhJ6q2Qx1D8R7L85/XRvt6XUFF3ZDa bYww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=1HKTf0i9D2yUftvsg0+tqJQTkKCye2YJpOrjAmZqAOk=; b=dz1CaB7K7neTQyqdTtI7SPVUw5mJHHPk+iMCRW59OwKfpA+lKLDSgr99Kt3sEYNuXS 5WCySgWXiD+29cWaW9Avxv6wan3GazrPqMoZXbWHLACS9gIPBw9ShIYCFDRL3Jw2H0eX cLO2F2QJp8Iu1HocCQFs6W7V4eayM5mj2rI4b9eviv7wV7P1N1+d099OanBiYhHUEodm qpHva0yCx2Owyp9AHrxXE3eNQeXUck1wLnv1MfynKvFBYVeaRQVuS65Je1tDWNhfunoI ecfLAg/2KQuLcxajBo8YvUY4Uzgn/yil3WQwVRiSgCOviuSRGQGK3jW90HWhVg8JZmLk 0teA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Yld0Pyat; 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 k4-20020aa79d04000000b0064f44863407si601086pfp.384.2023.05.23.11.39.42; Tue, 23 May 2023 11:39:56 -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=Yld0Pyat; 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 S238101AbjEWShi (ORCPT + 99 others); Tue, 23 May 2023 14:37:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237876AbjEWShb (ORCPT ); Tue, 23 May 2023 14:37:31 -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 D408818F for ; Tue, 23 May 2023 11:37:19 -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 313F5635B7 for ; Tue, 23 May 2023 18:37:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6FA98C433A1; Tue, 23 May 2023 18:37:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684867037; bh=Dx+cWy0dcqpkMVnXLdbKAeKzPOC7O9mGntVnbrrmpd4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=Yld0PyatutKZheV5HR/xOZVi3li7NRfOrOSw1EC1fuKElOQVSGmPonvZ4Yc78dxfO CkCAU/ygvsSbTPUxqOsRIXMwtEPA7zXwCSJ3jd2TqfvpR8JlznJjZvIq68MBvn20+f zGPMdesQrxK+VPAAWEqZwBeNECQgRhyUqjp471m0ktDer0NMx9LZUHcwUGQyKNPIzc NJf1PU5XDxtoGQSXxYlANmFjd5JCe5kxxSMopCG80lowoScR2f6PR0XBkPhY41k/7r 3yHv9qdXwi/KCCKfTy3ox40/XcmkLNT5WJlsDVjGGVHbU8kZCkcrQxzgpSpR0nVdxH tGFCPKh54Iz2Q== From: Mark Brown Date: Tue, 23 May 2023 19:37:00 +0100 Subject: [PATCH v2 2/7] arm64/sysreg: Convert MDSCR_EL1 to automatic register generation MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230419-arm64-syreg-gen-v2-2-4c6add1f6257@kernel.org> References: <20230419-arm64-syreg-gen-v2-0-4c6add1f6257@kernel.org> In-Reply-To: <20230419-arm64-syreg-gen-v2-0-4c6add1f6257@kernel.org> 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 , Shaoqin Huang X-Mailer: b4 0.13-dev-bfdf5 X-Developer-Signature: v=1; a=openpgp-sha256; l=1623; i=broonie@kernel.org; h=from:subject:message-id; bh=Dx+cWy0dcqpkMVnXLdbKAeKzPOC7O9mGntVnbrrmpd4=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBkbQfQEOsIM7sSRKGUU9M0sMYE/zC2hQ8ElSX0dynF BkK5NNWJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCZG0H0AAKCRAk1otyXVSH0KrFB/ 9KVYryXKJ0Q9v9gHbJocpaeLjfSllAbDBNZN7H/2WcAncEaUYEbYJUNwtDbdKXx6IUAHKhzj+2IT7L E/bee4jUOy9lWi1e0iqSViHoIROUk8cOrjvcEwkDFmpLxpU9mG/nC2FPDjX4kjkTY6U2MPLLTLa9Sw /Zlef1nSW9RLbxItSc5fVBH9mDjKdnXFd6ByIR2J7NSzMfik3cOX04a9nk60pMtQqWLl622mI9d7H8 /Y+SI6MVRIMzist2gaDZ9xoAhfKA2bdLGveYBecR1VYj74C7RLNqIKE/EHgGjSLFTLfTm/jTXGWlM0 cn3TdCw/j5OwSpdKi7+yk+pZkxTetM 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 Convert MDSCR_EL1 to automatic register generation as per DDI0616 2023-03. No functional change. Reviewed-by: Shaoqin Huang Signed-off-by: Mark Brown --- arch/arm64/include/asm/sysreg.h | 1 - arch/arm64/tools/sysreg | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h index 3d69bda0e608..95de1aaee0e9 100644 --- a/arch/arm64/include/asm/sysreg.h +++ b/arch/arm64/include/asm/sysreg.h @@ -135,7 +135,6 @@ #define SYS_SVCR_SMSTOP_SMZA_EL0 sys_reg(0, 3, 4, 6, 3) #define SYS_OSDTRRX_EL1 sys_reg(2, 0, 0, 0, 2) -#define SYS_MDSCR_EL1 sys_reg(2, 0, 0, 2, 2) #define SYS_OSDTRTX_EL1 sys_reg(2, 0, 0, 3, 2) #define SYS_OSECCR_EL1 sys_reg(2, 0, 0, 6, 2) #define SYS_DBGBVRn_EL1(n) sys_reg(2, 0, 0, n, 4) diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index df7a7ba97b43..601cc8024734 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -55,6 +55,34 @@ Field 29 TX Res0 28:0 EndSysreg +Sysreg MDSCR_EL1 2 0 0 2 2 +Res0 63:36 +Field 35 EHBWE +Field 34 EnSPM +Field 33 TTA +Field 32 EMBWE +Field 31 TFO +Field 30 RXfull +Field 29 TXfull +Res0 28 +Field 27 RXO +Field 26 TXU +Res0 25:24 +Field 23:22 INTdis +Field 21 TDA +Res0 20 +Field 19 SC2 +Res0 18:16 +Field 15 MDE +Field 14 HDE +Field 13 KDE +Field 12 TDCC +Res0 11:7 +Field 6 ERR +Res0 5:1 +Field 0 SS +EndSysreg + Sysreg ID_PFR0_EL1 3 0 0 1 0 Res0 63:32 UnsignedEnum 31:28 RAS -- 2.30.2