On Mon, Jan 23, 2023 at 11:10:00AM +0100, Lukas Wunner wrote: > Collection of DOE material, v2: > > * Fix WARN splat reported by Gregory Price > * Migrate to synchronous API > * Create DOE mailboxes in PCI core instead of in drivers > * No longer require request and response size to be multiple of 4 bytes > > This is in preparation for CMA device authentication (PCIe r6.0, sec 6.31), > which performs DOE exchanges of irregular size and is going to be handled > in the PCI core. The synchronous API reduces code size for DOE users. > > Link to CMA development branch: > https://github.com/l1k/linux/commits/doe > > > Changes v1 -> v2: > * [PATCH v2 01/10] PCI/DOE: Silence WARN splat with CONFIG_DEBUG_OBJECTS=y > * Add note in kernel-doc of pci_doe_submit_task() that pci_doe_task must > be allocated on the stack (Jonathan) > * [PATCH v2 05/10] PCI/DOE: Make asynchronous API private > * Deduplicate note in kernel-doc of struct pci_doe_task that caller need > not initialize certain fields (Jonathan) > > Link to v1: > https://lore.kernel.org/linux-pci/cover.1669608950.git.lukas@xxxxxxxxx/ > > > Lukas Wunner (10): > PCI/DOE: Silence WARN splat with CONFIG_DEBUG_OBJECTS=y > PCI/DOE: Fix memory leak with CONFIG_DEBUG_OBJECTS=y > PCI/DOE: Provide synchronous API and use it internally > cxl/pci: Use synchronous API for DOE > PCI/DOE: Make asynchronous API private > PCI/DOE: Allow mailbox creation without devres management > PCI/DOE: Create mailboxes on device enumeration > cxl/pci: Use CDAT DOE mailbox created by PCI core > PCI/DOE: Make mailbox creation API private > PCI/DOE: Relax restrictions on request and response size Looks nice. Do you envision getting acks from the CXL folks and merging via the PCI tree, or the reverse? Bjorn