[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-pci
Subject:    Re: [PATCH v3 07/16] PCI/DOE: Provide synchronous API and use it internally
From:       Davidlohr Bueso <dave () stgolabs ! net>
Date:       2023-02-28 18:58:57
Message-ID: 20230228185857.hvktpiq7nxcx5xch () offworld
[Download RAW message or body]

On Fri, 10 Feb 2023, Lukas Wunner wrote:

>The DOE API only allows asynchronous exchanges and forces callers to
>provide a completion callback.  Yet all existing callers only perform
>synchronous exchanges.  Upcoming commits for CMA (Component Measurement
>and Authentication, PCIe r6.0 sec 6.31) likewise require only
>synchronous DOE exchanges.
>
>Provide a synchronous pci_doe() API call which builds on the internal
>asynchronous machinery.
>
>Convert the internal pci_doe_discovery() to the new call.
>
>The new API allows submission of const-declared requests, necessitating
>the addition of a const qualifier in struct pci_doe_task.
>
>Tested-by: Ira Weiny <ira.weiny@intel.com>
>Signed-off-by: Lukas Wunner <lukas@wunner.de>
>Reviewed-by: Ira Weiny <ira.weiny@intel.com>
>Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>Cc: Dan Williams <dan.j.williams@intel.com>

Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic