Re: [PATCH 2/6] device/pci: add cmdmem cap to pci_dev
From: Bjorn Helgaas
Date: Tue Mar 31 2020 - 12:03:15 EST
On Mon, Mar 30, 2020 at 02:27:00PM -0700, Dave Jiang wrote:
> Since the current accelerator devices do not have standard PCIe capability
> enumeration for accepting ENQCMDS yet, for now an attribute of pdev->cmdmem has
> been added to struct pci_dev. Currently a PCI quirk must be used for the
> devices that have such cap until the PCI cap is standardized. Add a helper
> function to provide the check if a device supports the cmdmem capability.
>
> Such capability is expected to be added to PCIe device cap enumeration in
> the future.
This needs some sort of thumbnail description of what "synchronous
write notification" and "cmdmem" mean.
Do you have a pointer to a PCI-SIG ECR or similar?
Your window size seems to be 85 or so. It would be easier if you used
80 and wrapped the commit log to fit in 75 columns so it looks decent
when "git log" indents it by 4.