Message ID | 20230602062552.565992-6-anshuman.khandual@arm.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp831734vqr; Thu, 1 Jun 2023 23:37:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ51xBib9wVb2Au8CR3dcGCL5y3rshwlMbVyw9gROFAor+HyZEQCYMorTio3YhiglpDVceOk X-Received: by 2002:ac8:5bc8:0:b0:3f8:229:7a21 with SMTP id b8-20020ac85bc8000000b003f802297a21mr14741388qtb.4.1685687857915; Thu, 01 Jun 2023 23:37:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685687857; cv=none; d=google.com; s=arc-20160816; b=M7EDGDjwmkrgCU/gisn4yd1qYDEBLyxwhtiQPiseYKen735yL+7hSvTi5ExjM+Ii+n lGDE21091gzqKp0ndUVfn6FKDhjMadLCDYAwbTPgbfNZ9b7k0Oqm9TGt/hly277cAtmu GXcCm5V9fpwyYe148YYETUe9c2XrcU49FihI2njowNHd5aaHb9LPLqvjszXiMvq0aBSi eBxFOAZ7h9J91PsEmhRtLr8RJrg++Aai3JxuLlQk3NpwwZLYDF2Enxe5UBV0d71dq9cG bBW6Ga8Dq5LritHh6pafr40C6UqEmsyWyDhBxB1E1owDr6LnvNHcxQOFa00iH3n3m78Z wnjg== 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=05BGQARgjds/wa+5ca0Gn02BNxm2Wnt9S8A/ZiPsqoo=; b=rEORs9STY/Tr+1T33wLw41/BAmxVcisSPQsKcIvJP3AAOFnkFZdoXBhQ+pbnYG/B/E i2r3B2YXqZ2t5vSaFYwD64qdJDoayGbjTWrUmGjVmg5t9Nyp9uNqj8TJCRN/ualHKv6E xZqKUVeyFap0K/v8kQU8sejIR42FH7Lar7tZ9tk5tU6E1MVKA74QAuTQLkRpFSQRavRT bxavdTipqTzkO81IcG5YGWa4cn/RqMKPTGydRlhETWzex5Z5ubDJaduG0qKHRqce6kr1 MSY070shc1JvANe9jmDfKVyRj189z79fX+A45xnqu38LHZSLffklEkZgn/iqU/7hBWTs 3/qQ== 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 20-20020a631854000000b0051b9a71329fsi493106pgy.360.2023.06.01.23.37.22; Thu, 01 Jun 2023 23:37:37 -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 S233572AbjFBG1G (ORCPT <rfc822;limurcpp@gmail.com> + 99 others); Fri, 2 Jun 2023 02:27:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233873AbjFBG0j (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 2 Jun 2023 02:26:39 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7641BE6B for <linux-kernel@vger.kernel.org>; Thu, 1 Jun 2023 23:26:28 -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 9BFA11063; Thu, 1 Jun 2023 23:27:13 -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 5E3913F67D; Thu, 1 Jun 2023 23:26:24 -0700 (PDT) From: Anshuman Khandual <anshuman.khandual@arm.com> To: linux-arm-kernel@lists.infradead.org, broonie@kernel.org Cc: Anshuman Khandual <anshuman.khandual@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Marc Zyngier <maz@kernel.org>, Rob Herring <robh@kernel.org>, Suzuki K Poulose <suzuki.poulose@arm.com>, James Morse <james.morse@arm.com>, kvmarm@lists.linux.dev, coresight@lists.linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 05/14] arm64/sysreg: Rename TRBMAR_EL1 fields per auto-gen tools format Date: Fri, 2 Jun 2023 11:55:43 +0530 Message-Id: <20230602062552.565992-6-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 Content-Transfer-Encoding: 8bit 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: <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?1767571831244013414?= X-GMAIL-MSGID: =?utf-8?q?1767571831244013414?= |
Series |
arm64/sysreg: Convert TRBE registers to automatic generation
|
|
Commit Message
Anshuman Khandual
June 2, 2023, 6:25 a.m. UTC
This renames TRBMAR_EL1 register fields per auto-gen tools format without
causing any functional change in the TRBE driver.
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Mark Brown <broonie@kernel.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: James Morse <james.morse@arm.com>
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 <anshuman.khandual@arm.com>
---
arch/arm64/include/asm/sysreg.h | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h index af9e93ca1905..58cc9fd1935e 100644 --- a/arch/arm64/include/asm/sysreg.h +++ b/arch/arm64/include/asm/sysreg.h @@ -271,12 +271,10 @@ #define TRBSR_EL1_BSC_SHIFT 0 #define TRBSR_EL1_FSC_MASK GENMASK(5, 0) #define TRBSR_EL1_FSC_SHIFT 0 -#define TRBMAR_SHARE_MASK GENMASK(1, 0) -#define TRBMAR_SHARE_SHIFT 8 -#define TRBMAR_OUTER_MASK GENMASK(3, 0) -#define TRBMAR_OUTER_SHIFT 4 -#define TRBMAR_INNER_MASK GENMASK(3, 0) -#define TRBMAR_INNER_SHIFT 0 +#define TRBMAR_EL1_SH_MASK GENMASK(9, 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 TRBIDR_FLAG BIT(5)