Re: [PATCH kernel 1/4] pci/doe: Define protocol types and make those public

From: Alexey Kardashevskiy
Date: Thu Feb 15 2024 - 06:44:21 EST

On 9/2/24 19:52, Lukas Wunner wrote:
On Thu, Feb 01, 2024 at 09:16:37PM +1100, Alexey Kardashevskiy wrote:
Or the plan is to add pci_doe_secure_transport() to cma.c and force everyone
use that?

Right, the plan is to pass an additional callback to spdm_create()
which performs a secure transmission. And cma.c would define that
to use the separate DOE type.

But it is no use for the TDISP case which won't be calling spdm_create() and will have to define CMA_SPDM and SECURED_CMA_SPDM, again.