[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1555329868-17895-2-git-send-email-fenghao@hygon.cn>
Date: Mon, 15 Apr 2019 20:04:23 +0800
From: Hao Feng <fenghao@...on.cn>
To: "'Tom Lendacky '" <thomas.lendacky@....com>,
"'Gary Hook '" <gary.hook@....com>,
"'Herbert Xu '" <herbert@...dor.apana.org.au>,
"' David S. Miller '" <davem@...emloft.net>
CC: "'Zhaohui Du '" <duzhaohui@...on.cn>,
"'Zhiwei Ying '" <yingzhiwei@...on.cn>,
"'Wen Pu '" <puwen@...on.cn>, Hao Feng <fenghao@...on.cn>,
<linux-crypto@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH 1/6] crypto: ccp: Add Hygon Dhyana support
The Hygon Dhyana CPU has 2 CCP devices, the device IDs are 0x1456 and
0x1468, Hygon uses the same device interface as AMD, so enable the CCP
driver to support Hygon CCP devices.
Signed-off-by: Hao Feng <fenghao@...on.cn>
---
drivers/crypto/ccp/sp-pci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/crypto/ccp/sp-pci.c b/drivers/crypto/ccp/sp-pci.c
index 41bce0a..363ad9f 100644
--- a/drivers/crypto/ccp/sp-pci.c
+++ b/drivers/crypto/ccp/sp-pci.c
@@ -321,6 +321,8 @@ static const struct pci_device_id sp_pci_table[] = {
{ PCI_VDEVICE(AMD, 0x1456), (kernel_ulong_t)&dev_vdata[1] },
{ PCI_VDEVICE(AMD, 0x1468), (kernel_ulong_t)&dev_vdata[2] },
{ PCI_VDEVICE(AMD, 0x1486), (kernel_ulong_t)&dev_vdata[3] },
+ { PCI_VDEVICE(HYGON, 0x1456), (kernel_ulong_t)&dev_vdata[1] },
+ { PCI_VDEVICE(HYGON, 0x1468), (kernel_ulong_t)&dev_vdata[2] },
/* Last entry must be zero */
{ 0, }
};
--
2.7.4
Powered by blists - more mailing lists