Thread (37 messages) 37 messages, 7 authors, 2018-08-17

Re: [PATCH v3 16/17] driver/edac: enable Hygon support to AMD64 EDAC driver

From: Pu Wen <puwen@hygon.cn>
Date: 2018-08-13 16:19:50
Also in: linux-edac, lkml

On 2018/8/12 4:10, Michael Jin wrote:
On Sat, Aug 11, 2018 at 3:56 PM, Michael Jin [off-list ref] wrote:
quoted
On Sat, Aug 11, 2018 at 9:30 AM, Pu Wen [off-list ref] wrote:
quoted
@@ -1051,6 +1065,16 @@ static void determine_memory_type(struct amd64_pvt *pvt)
                 else
                         pvt->dram_type = MEM_DDR4;
                 return;
+       case 0x18:
+               if (pvt->vendor == X86_VENDOR_HYGON) {
This vendor checking is not necessary as there are no other known
family 18h processors.
Actually, vendor checking works here. Although, AMD has not released a
family 18h yet.
Yes, that's the case.

Thanks,
Pu Wen
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help