Re: [PATCH 00/10] Make PCI's devres API more consistent

From: Bjorn Helgaas
Date: Tue Jan 16 2024 - 13:30:22 EST


On Mon, Jan 15, 2024 at 03:46:11PM +0100, Philipp Stanner wrote:
> ...

> pci: add new set of devres functions
> pci: deprecate iomap-table functions
> pci: warn users about complicated devres nature
> pci: devres: make devres region requests consistent
> pci: move enabled status bit to pci_dev struct
> pci: move pinned status bit to pci_dev struct
> pci: devres: give mwi its own callback
> pci: devres: give pci(m)_intx its own callback
> pci: devres: remove legacy pcim_release()
> drm/vboxvideo: fix mapping leaks

If/when you update these, take a look at the drivers/pci/ subject line
history and capitalize these to match.

We haven't really used the "devres" prefix in drivers/pci.

The de facto convention is:

- "PCI/AER:" for major features defined by the PCIe base spec (AER,
DPC, VGA, ASPM, PM, etc).

- "PCI: iproc:" for controller drivers (iproc, dwc, qcom, mvebu,
etc).

- "PCI:" for everything else