Skip to contentSkip to conversation

Review request for edac: ie31200: Add Intel Corporation 3rd Gen Core processor

PATCH In review Jiping Ma 2 participants 3 messages Jun 19, 2019 – Aug 12, 2019

Subsystems (2)
lore
Share & tools
lore

Jiping Ma

author
#0 lore raw

Hi, Jason Baron

Could you help to check if we can support Intel Corporation 3rd Gen Core processor in driver ie31200? It is tested by our customer. Test result is accepted by the customer.

Summary: EDAC, ie31200: Add Intel Corporation 3rd Gen Core processor

commit 9a5001c8840928c3b51bc330a078524dff4d9be5 (HEAD -> master)

Author: Jiping Ma <[email protected]>
Date:   Mon Jun 17 13:36:20 2019 +0800

EDAC, ie31200: Add Intel Corporation 3rd Gen Core processor

3rd Gen Core seems to work just like Skylake.

Thanks,
Jiping

author
#1 lore raw

PATCH 1/1 EDAC, ie31200: Add Intel Corporation 3rd Gen Core processor

3rd Gen Core seems to work just like Skylake.

---
 drivers/edac/ie31200_edac.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/edac/ie31200_edac.c +5 -0
index aac9b9b..1445336 100644
@@ -19,6 +19,7 @@
  * 0c08: Xeon E3-1200 v3 Processor DRAM Controller
  * 1918: Xeon E3-1200 v5 Skylake Host Bridge/DRAM Registers
  * 5918: Xeon E3-1200 Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
+ * 0154: 3rd Gen Core processor DRAM Controller
  *
  * Based on Intel specification:
  * http://www.intel.com/content/dam/www/public/us/en/documents/datasheets/xeon-e3-1200v3-vol-2-datasheet.pdf
@@ -59,6 +60,7 @@
 #define PCI_DEVICE_ID_INTEL_IE31200_HB_7 0x0c08
 #define PCI_DEVICE_ID_INTEL_IE31200_HB_8 0x1918
 #define PCI_DEVICE_ID_INTEL_IE31200_HB_9 0x5918
+#define PCI_DEVICE_ID_INTEL_IE31200_HB_10 0x0154
 
 #define IE31200_DIMMS			4
 #define IE31200_RANKS			8
@@ -569,6 +571,9 @@ static void ie31200_remove_one(struct pci_dev *pdev)
 		PCI_VEND_DEV(INTEL, IE31200_HB_9), PCI_ANY_ID, PCI_ANY_ID, 0, 0,
 		IE31200},
 	{
+		PCI_VEND_DEV(INTEL, IE31200_HB_10), PCI_ANY_ID, PCI_ANY_ID, 0, 0
+		, IE31200},
+	{
 		0,
 	}            /* 0 terminated list. */
 };
Signature · 1 line
1.9.1
maintainer
#2 lore raw

Re: [PATCH] EDAC, ie31200: Add Intel Corporation 3rd Gen Core processor

On Wed, Jun 19, 2019 at 12:34 AM Jiping Ma <[email protected]> wrote:

Oops. Boris pointed out to me that this has been left hanging. Sorry for the delay.

Quoted 1 line

3rd Gen Core seems to work just like Skylake.

Maybe "just like all the other Xeon-E3 processors?

"3rd Gen Core" seems to be Ivybridge generation (based on the PCI device ID below).
I.e. "Xeon E3-12xx V2". Is that correct?

I don't have a way to test that, so I'd like some more details on the testing that
you have done. Specifically has this driver been run on a system and correctly reported at least one error?

Quoted 10 lines
---
 drivers/edac/ie31200_edac.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/edac/ie31200_edac.c +0 -0
index aac9b9b..1445336 100644

drivers/edac/ie31200_edac.c line 22

Quoted 4 lines
drivers/edac/ie31200_edac.c +1 -0
@@ -19,6 +19,7 @@
  * 0c08: Xeon E3-1200 v3 Processor DRAM Controller
  * 1918: Xeon E3-1200 v5 Skylake Host Bridge/DRAM Registers
  * 5918: Xeon E3-1200 Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
+ * 0154: 3rd Gen Core processor DRAM Controller

I think this line should be added chronologically by age of processor (i.e. at the start
of the list)

Quoted 24 lines
drivers/edac/ie31200_edac.c +4 -1
  *
  * Based on Intel specification:
  * http://www.intel.com/content/dam/www/public/us/en/documents/datasheets/xeon-e3-1200v3-vol-2-datasheet.pdf
@@ -59,6 +60,7 @@
 #define PCI_DEVICE_ID_INTEL_IE31200_HB_7 0x0c08
 #define PCI_DEVICE_ID_INTEL_IE31200_HB_8 0x1918
 #define PCI_DEVICE_ID_INTEL_IE31200_HB_9 0x5918
+#define PCI_DEVICE_ID_INTEL_IE31200_HB_10 0x0154
 
 #define IE31200_DIMMS                  4
 #define IE31200_RANKS                  8
@@ -569,6 +571,9 @@ static void ie31200_remove_one(struct pci_dev *pdev)
                PCI_VEND_DEV(INTEL, IE31200_HB_9), PCI_ANY_ID, PCI_ANY_ID, 0, 0,
                IE31200},
        {
+               PCI_VEND_DEV(INTEL, IE31200_HB_10), PCI_ANY_ID, PCI_ANY_ID, 0, 0
+               , IE31200},
+       {
                0,
        }            /* 0 terminated list. */
 };
--

1.9.1