summaryrefslogtreecommitdiff
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorJae Hyun Yoo <jae.hyun.yoo@intel.com>2018-11-07 03:25:58 +0300
committerJae Hyun Yoo <jae.hyun.yoo@linux.intel.com>2021-11-05 10:22:14 +0300
commitb15fedcdef61345058498e0e8aca6acb7d332229 (patch)
tree0b5c5fbc9cc90642454ae95d7194779ac27e6bfd /include/linux/mfd
parentcd17b65e196a67d52388f75bd277e041d0638c0c (diff)
downloadlinux-b15fedcdef61345058498e0e8aca6acb7d332229.tar.xz
mfd: peci: Add ICX generation info
This commit adds CPU generation info for ICX family. Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@intel.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/intel-peci-client.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/mfd/intel-peci-client.h b/include/linux/mfd/intel-peci-client.h
index c60591348c37..1303e3f93c33 100644
--- a/include/linux/mfd/intel-peci-client.h
+++ b/include/linux/mfd/intel-peci-client.h
@@ -18,6 +18,7 @@
#define INTEL_FAM6_BROADWELL_X 0x4F
#define INTEL_FAM6_SKYLAKE_X 0x55
#define INTEL_FAM6_SKYLAKE_XD 0x56
+#define INTEL_FAM6_ICELAKE_X 0x6A
#endif
#define INTEL_FAM6 6 /* P6 (Pentium Pro and later) */
@@ -38,7 +39,11 @@
#define CHAN_RANK_MAX_ON_SKXD 2 /* Max number of channel ranks on Skylake D */
#define DIMM_IDX_MAX_ON_SKXD 2 /* Max DIMM index per channel on Skylake D */
-#define CORE_MASK_BITS_MAX CORE_MASK_BITS_ON_SKX
+#define CORE_MASK_BITS_ON_ICX 64
+#define CHAN_RANK_MAX_ON_ICX 8 /* Max number of channel ranks on Icelake */
+#define DIMM_IDX_MAX_ON_ICX 2 /* Max DIMM index per channel on Icelake */
+
+#define CORE_MASK_BITS_MAX CORE_MASK_BITS_ON_ICX
#define CHAN_RANK_MAX CHAN_RANK_MAX_ON_HSX
#define DIMM_IDX_MAX DIMM_IDX_MAX_ON_HSX
#define DIMM_NUMS_MAX (CHAN_RANK_MAX * DIMM_IDX_MAX)