History

crypto: ccp - Add support for new CCP/PSP device ID

Add a new CCP/PSP PCI device ID and corresponding entry in the dev_vdata struct.

John Allen committed 5 years ago

Commit 3438de01 parent 5b2efa21 file · +7 −0Browse files

Unified · Split

drivers/crypto/ccp/sp-pci.c+7−0
@@ -360,6 +360,12 @@ static const struct sp_dev_vdata dev_vdata[] = { · 359 unmodified lines
360360 #endif
361361 #ifdef CONFIG_CRYPTO_DEV_SP_PSP
362362 .psp_vdata = &pspv3,
363+#endif
364+ },
365+ { /* 5 */
366+ .bar = 2,
367+#ifdef CONFIG_CRYPTO_DEV_SP_PSP
368+ .psp_vdata = &pspv2,
363369 #endif
364370 },
365371 };
@@ -370,6 +376,7 @@ static const struct pci_device_id sp_pci_table[] = { · 4 unmodified lines
370376 { PCI_VDEVICE(AMD, 0x1486), (kernel_ulong_t)&dev_vdata[3] },
371377 { PCI_VDEVICE(AMD, 0x15DF), (kernel_ulong_t)&dev_vdata[4] },
372378 { PCI_VDEVICE(AMD, 0x1649), (kernel_ulong_t)&dev_vdata[4] },
379+ { PCI_VDEVICE(AMD, 0x14CA), (kernel_ulong_t)&dev_vdata[5] },
373380 /* Last entry must be zero */
374381 { 0, }
375382 };