commit | c70fee3879ba3a3172b64634c2f10e2e6bb2a88c | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@amd.com> | Tue Feb 18 13:43:07 2025 +0100 |
committer | Michal Simek <michal.simek@amd.com> | Mon Mar 03 16:09:59 2025 +0100 |
tree | 20488e0b3ca8e4b7287a8160ab97f225235f8dff | |
parent | 17f4407cfb9d0baf0328c5a40577679e95626e58 [diff] [blame] |
arm64: versal2: Show major and minor silicon version ES1 silicon is 0x10 (16) and production is 0x20 (32) but correct number to see are v1.0 or v2.0 instead of v16 or v32. Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/20095339334fe07f373ffae3bdbfec51f5a00dc7.1739882585.git.michal.simek@amd.com
diff --git a/arch/arm/mach-versal2/include/mach/hardware.h b/arch/arm/mach-versal2/include/mach/hardware.h index 42e3061..15085f9 100644 --- a/arch/arm/mach-versal2/include/mach/hardware.h +++ b/arch/arm/mach-versal2/include/mach/hardware.h
@@ -51,7 +51,8 @@ #define PMC_TAP_VERSION (PMC_TAP + 0x4) # define PMC_VERSION_MASK GENMASK(7, 0) # define PS_VERSION_MASK GENMASK(15, 8) -# define PS_VERSION_PRODUCTION 0x20 +# define PS_VERSION_MAJOR GENMASK(7, 4) +# define PS_VERSION_MINOR GENMASK(3, 0) # define RTL_VERSION_MASK GENMASK(23, 16) # define PLATFORM_MASK GENMASK(27, 24) # define PLATFORM_VERSION_MASK GENMASK(31, 28)