From patchwork Fri Jun 2 06:25:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anshuman Khandual X-Patchwork-Id: 102322 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp832024vqr; Thu, 1 Jun 2023 23:38:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7NW68KzDybQ1Z0VroqLtPCUWNpRISv0/Vnf/Ve3+IiB7Gs4XNCswRxrp8za1qwoege23hP X-Received: by 2002:a05:6a21:99a7:b0:10e:e58d:ce85 with SMTP id ve39-20020a056a2199a700b0010ee58dce85mr13280616pzb.10.1685687914336; Thu, 01 Jun 2023 23:38:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685687914; cv=none; d=google.com; s=arc-20160816; b=uL9LwJfap3Nx3lbOUdNImHkaitEqHHJmgTLFgYmoZpCT6iOgHhW7CxJ5RHnydRUzpM vphKneMylrrfoQf1d3c+8aCLdzniWrwdTID9wQdFWYXOh8ueGiGD8HfqwVMjTiIRwR0e 0dx/AW61A4vzbnwvN5kMGY91SLoVexW9sPlAhrnn+yVvrSKrZaC7ccL1G/wrBkWszcET SmmJtF5NTdqO2ykHR+d4DyLk7QBsFQACUiKF1ahBI3ypAC3MwzXK1W6RWtBAzGvXkS+w pXrChkJhb37Q3p58pZP+n0y9zlJpMIX9TkSwSATlvbo2lg0dPMwiEmFt7lp/R9KI1GH+ n9tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=+TcuMOtVkcZAg4du7FDC+IY0yPph8RtmWgggpda9BTE=; b=kYhgCyXdvlR69XvlwohJKwQgJY3YPHOOwU7zKfzWn7ebZo5SRcza1IE6AGMYdD/Hwk A/E5MGrZxfUkSH34Qhoc7Eh/cS97GbdgwMEog1KJP9UopXfg4P3HqtxvA7nJ0G1NihnB Ag7kDe7Qxzm+zriWh8KIBjn2EDoInfZZK4eH1pDSDsZOl1VqF+UZne3c0yCaU7Sr3/nb 8Sv/vWKUHIlp7yDJ5LdrbPlgbfS2FEtRtSVQkqjVPRZuH2Le8fy9ONBERxroLvtJhMJt folCb8S+Fy/PBTpoPQRMG7cxM1zWYulncezIobSbzX2Web5UyBltIOgXKwpTg/J+HmIK 6T9Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a65480b000000b0053f26bf15ccsi498251pgs.82.2023.06.01.23.38.20; Thu, 01 Jun 2023 23:38:34 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233876AbjFBG1J (ORCPT + 99 others); Fri, 2 Jun 2023 02:27:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233919AbjFBG0u (ORCPT ); Fri, 2 Jun 2023 02:26:50 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D9EEF1B1 for ; Thu, 1 Jun 2023 23:26:32 -0700 (PDT) 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 00A851042; Thu, 1 Jun 2023 23:27:18 -0700 (PDT) Received: from a077893.blr.arm.com (unknown [10.162.41.6]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B46D83F67D; Thu, 1 Jun 2023 23:26:28 -0700 (PDT) From: Anshuman Khandual To: linux-arm-kernel@lists.infradead.org, broonie@kernel.org Cc: Anshuman Khandual , Catalin Marinas , Will Deacon , Marc Zyngier , Rob Herring , Suzuki K Poulose , James Morse , kvmarm@lists.linux.dev, coresight@lists.linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 06/14] arm64/sysreg: Rename TRBTRG_EL1 fields per auto-gen tools format Date: Fri, 2 Jun 2023 11:55:44 +0530 Message-Id: <20230602062552.565992-7-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230602062552.565992-1-anshuman.khandual@arm.com> References: <20230602062552.565992-1-anshuman.khandual@arm.com> MIME-Version: 1.0 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767571890620012133?= X-GMAIL-MSGID: =?utf-8?q?1767571890620012133?= This renames TRBTRG_EL1 register fields per auto-gen tools format without causing any functional change in the TRBE driver. Cc: Catalin Marinas Cc: Will Deacon Cc: Marc Zyngier Cc: Mark Brown Cc: Rob Herring Cc: Suzuki K Poulose Cc: James Morse Cc: kvmarm@lists.linux.dev Cc: coresight@lists.linaro.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Anshuman Khandual --- arch/arm64/include/asm/sysreg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h index 58cc9fd1935e..f1de473ff027 100644 --- a/arch/arm64/include/asm/sysreg.h +++ b/arch/arm64/include/asm/sysreg.h @@ -275,8 +275,8 @@ #define TRBMAR_EL1_SH_SHIFT 8 #define TRBMAR_EL1_Attr_MASK GENMASK(7, 0) #define TRBMAR_EL1_Attr_SHIFT 0 -#define TRBTRG_TRG_MASK GENMASK(31, 0) -#define TRBTRG_TRG_SHIFT 0 +#define TRBTRG_EL1_TRG_MASK GENMASK(31, 0) +#define TRBTRG_EL1_TRG_SHIFT 0 #define TRBIDR_FLAG BIT(5) #define TRBIDR_PROG BIT(4) #define TRBIDR_ALIGN_MASK GENMASK(3, 0)