Re: [PATCH] xen/platform-pci: Disable device before releasing PCI regions
From: Juergen Gross
Date: Mon Nov 09 2026 - 09:03:17 EST
On 13.10.26 07:36, Teshan Kannangara wrote:
The probe error paths release the PCI regions before disabling theReviewed-by: Juergen Gross <jgross@xxxxxxxx>
device. Documentation/PCI/pci.rst specifies that drivers should disable
the device before releasing its regions to prevent devices from
colliding on the same address range.
Track successfully requested BARs in a bitmask and use a common cleanup
path to disable the device before releasing those regions.
Signed-off-by: Teshan Kannangara <tpk.teshan@xxxxxxxxx>
Juergen
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature