Re: [PATCH v7 07/13] PCI: Move dev-enabled status bit to struct pci_dev

2024-06-06 Thread Philipp Stanner
On Wed, 2024-06-05 at 16:11 -0500, Bjorn Helgaas wrote: > On Wed, Jun 05, 2024 at 10:15:59AM +0200, Philipp Stanner wrote: > > The bit describing whether the PCI device is currently enabled is > > stored > > in struct pci_devres. Besides this struct being subject of a > > cleanup > > process, struc

Re: [PATCH v7 07/13] PCI: Move dev-enabled status bit to struct pci_dev

2024-06-05 Thread Bjorn Helgaas
On Wed, Jun 05, 2024 at 10:15:59AM +0200, Philipp Stanner wrote: > The bit describing whether the PCI device is currently enabled is stored > in struct pci_devres. Besides this struct being subject of a cleanup > process, struct pci_device is in general the right place to store this > information,

[PATCH v7 07/13] PCI: Move dev-enabled status bit to struct pci_dev

2024-06-05 Thread Philipp Stanner
The bit describing whether the PCI device is currently enabled is stored in struct pci_devres. Besides this struct being subject of a cleanup process, struct pci_device is in general the right place to store this information, since it is not devres-specific. Move the 'enabled' boolean bit to struc