[PATCH v2] crypto/ccp: fix PCI probing
Akhil Goyal
gakhil at marvell.com
Sat Mar 11 19:49:58 CET 2023
>
> Acked-by: Sunil Uttarwar <sunilprakashrao.uttarwar at amd.com>
>
> Subject: [PATCH v2] crypto/ccp: fix PCI probing
>
> Caution: This message originated from an External Source. Use proper caution
> when opening attachments, clicking links, or responding.
>
>
> This driver has been converted from a vdev driver to a pci driver some time ago.
> This conversion is buggy as it tries to probe any pci devices present on a system
> for *each* probe request from the PCI bus.
>
> Rely on the passed pci device and only probe what is requested.
>
> While at it:
> - stop copying the pci device object content into a local private copy,
> - rely on the PCI identifier and remove internal ccp_device_version
> identifier,
> - ccp_list can be made static,
>
> With this done, all the code parsing Linux sysfs can be dropped.
>
> Fixes: 889317b7ecb3 ("crypto/ccp: convert driver from vdev to PCI")
> Cc: stable at dpdk.org
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
Applied to dpdk-next-crypto.
Thanks.
More information about the dev
mailing list