On Mon, Apr 08, 2024 at 10:44:16AM +0200, Philipp Stanner wrote: > Now that pure managed region request functions are available, the > implementation of the hybrid-functions which are only sometimes managed > can be made more consistent and readable by wrapping those > always-managed functions. > > Implement a new pcim_ function for exclusively requested regions. > Have the pci_request / release functions call their pcim_ counterparts. > Remove the now surplus region_mask from struct pci_devres. This looks like two patches; could they be separated? - Convert __pci_request_region() etc to the new pcim model - Add pcim_request_region_exclusive() IORESOURCE_EXCLUSIVE was added by e8de1481fd71 ("resource: allow MMIO exclusivity for device drivers") in 2008 to help debug an e1000e problem. In the 16 years since, there's only been one new PCI-related use (ne_pci_probe()), and we don't add a user of pcim_request_region_exclusive() in this series, so I would defer it until somebody wants it. Bjorn