[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231025073339.630093-7-muralimk@amd.com>
Date:   Wed, 25 Oct 2023 07:33:38 +0000
From:   Muralidhara M K <muralimk@....com>
To:     <linux-edac@...r.kernel.org>, <x86@...nel.org>
CC:     <linux-kernel@...r.kernel.org>, <bp@...en8.de>,
        <mchehab@...nel.org>, Muralidhara M K <muralidhara.mk@....com>
Subject: [PATCH 6/7] RAS: Get CS fabirc ID register bit fields
From: Muralidhara M K <muralidhara.mk@....com>
Read correct register bit fields for cs_fabric_id for
address translation to work.
Signed-off-by: Muralidhara M K <muralidhara.mk@....com>
---
 drivers/ras/amd/atl/reg_fields.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/ras/amd/atl/reg_fields.h b/drivers/ras/amd/atl/reg_fields.h
index c3853a25217b..6b60091f235b 100644
--- a/drivers/ras/amd/atl/reg_fields.h
+++ b/drivers/ras/amd/atl/reg_fields.h
@@ -28,14 +28,14 @@
  *	Rev	Fieldname	Bits
  *
  *	D18F0x50 [Fabric Block Instance Information 3]
- *	DF2	BlockFabricId	[19:8]
+ *	DF2	BlockFabricId	[13:8]
  *	DF3	BlockFabricId	[19:8]
  *	DF3p5	BlockFabricId	[19:8]
  *	DF4	BlockFabricId	[19:8]
- *	DF4p5	BlockFabricId	[15:8]
+ *	DF4p5	BlockFabricId	[19:8]
  */
-#define DF2_CS_FABRIC_ID	GENMASK(19, 8)
-#define DF4p5_CS_FABRIC_ID	GENMASK(15, 8)
+#define DF2_CS_FABRIC_ID	GENMASK(13, 8)
+#define DF4p5_CS_FABRIC_ID	GENMASK(19, 8)
 
 /*
  * Component ID Mask
-- 
2.25.1
Powered by blists - more mailing lists