Re: [dpdk-dev] [PATCH v3] crypto/ccp: enable IOMMU for CCP
From: Thomas Monjalon <hidden>
Date: 2021-05-27 14:10:25
From: Thomas Monjalon <hidden>
Date: 2021-05-27 14:10:25
27/05/2021 15:24, David Marchand:
On Fri, Dec 25, 2020 at 9:06 AM [off-list ref] wrote:quoted
From: Amaranath Somalapuram <redacted> CCP use vdev framework, and vdev framework don’t support IOMMU. Adding custom IOMMU support for AMD CCP driver.I am currently looking at pci bus patches/cleanups. I ended up looking at crypto/ccp. This driver code contains a lot of features duplicated with the pci bus. Why is the ccp driver not a PCI driver?
Indeed it looks abusing vdev. We should drop all the code duplicating the PCI bus driver. If nothing else is done, it would mean breaking the probing of this driver. Adding more people in Cc list to have a fix before it is broken, thanks.