Re: [PATCH 06/10] pci: move pinned status bit to pci_dev struct

2024-01-17 Thread Philipp Stanner
On Tue, 2024-01-16 at 23:34 +0200, andy.shevche...@gmail.com wrote: > Mon, Jan 15, 2024 at 03:46:17PM +0100, Philipp Stanner kirjoitti: > > The bit describing whether the PCI device is currently pinned is > > stored > > in the PCI devres struct. To clean up and simplify the pci-devres > > API, > >

Re: [PATCH 06/10] pci: move pinned status bit to pci_dev struct

2024-01-16 Thread andy . shevchenko
Mon, Jan 15, 2024 at 03:46:17PM +0100, Philipp Stanner kirjoitti: > The bit describing whether the PCI device is currently pinned is stored > in the PCI devres struct. To clean up and simplify the pci-devres API, "PCI devres", 'pci-devres', ... Shouldn't these (and across entire series) be consist

[PATCH 06/10] pci: move pinned status bit to pci_dev struct

2024-01-15 Thread Philipp Stanner
The bit describing whether the PCI device is currently pinned is stored in the PCI devres struct. To clean up and simplify the pci-devres API, it's better if this information is stored in the pci_dev struct, because it allows for checking that device's pinned-status directly through the device stru