mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 23:27:06 +00:00
crypto: ccp - Add support for new CCP/PSP device ID
Add a new CCP/PSP PCI device ID. This uses same register offsets as the previously supported structure. Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Acked-by: Tom Lendacky <thomas.lendacky@amd.com> Acked-by: Rijo Thomas <Rijo-john.Thomas@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
fa4d57b857
commit
96ec8dfdd0
1 changed files with 7 additions and 0 deletions
|
@ -427,6 +427,12 @@ static const struct sp_dev_vdata dev_vdata[] = {
|
||||||
.bar = 2,
|
.bar = 2,
|
||||||
#ifdef CONFIG_CRYPTO_DEV_SP_PSP
|
#ifdef CONFIG_CRYPTO_DEV_SP_PSP
|
||||||
.psp_vdata = &pspv2,
|
.psp_vdata = &pspv2,
|
||||||
|
#endif
|
||||||
|
},
|
||||||
|
{ /* 6 */
|
||||||
|
.bar = 2,
|
||||||
|
#ifdef CONFIG_CRYPTO_DEV_SP_PSP
|
||||||
|
.psp_vdata = &pspv3,
|
||||||
#endif
|
#endif
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -438,6 +444,7 @@ static const struct pci_device_id sp_pci_table[] = {
|
||||||
{ PCI_VDEVICE(AMD, 0x15DF), (kernel_ulong_t)&dev_vdata[4] },
|
{ PCI_VDEVICE(AMD, 0x15DF), (kernel_ulong_t)&dev_vdata[4] },
|
||||||
{ PCI_VDEVICE(AMD, 0x1649), (kernel_ulong_t)&dev_vdata[4] },
|
{ PCI_VDEVICE(AMD, 0x1649), (kernel_ulong_t)&dev_vdata[4] },
|
||||||
{ PCI_VDEVICE(AMD, 0x14CA), (kernel_ulong_t)&dev_vdata[5] },
|
{ PCI_VDEVICE(AMD, 0x14CA), (kernel_ulong_t)&dev_vdata[5] },
|
||||||
|
{ PCI_VDEVICE(AMD, 0x15C7), (kernel_ulong_t)&dev_vdata[6] },
|
||||||
/* Last entry must be zero */
|
/* Last entry must be zero */
|
||||||
{ 0, }
|
{ 0, }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue