From: Juergen Gross <jgross@suse.com>
To: Teshan Kannangara <tpk.teshan@gmail.com>
Cc: sstabellini@kernel.org, oleksandr_tyshchenko@epam.com,
xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] xen/platform-pci: Disable device before releasing PCI regions
Date: Mon, 9 Nov 2026 14:56:26 +0100 [thread overview]
Message-ID: <50795de6-002b-4c86-833d-30381153ec4f@suse.com> (raw)
In-Reply-To: <20261013053614.1337340-1-tpk.teshan@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 584 bytes --]
On 13.10.26 07:36, Teshan Kannangara wrote:
> The probe error paths release the PCI regions before disabling the
> 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@gmail.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Juergen
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]
next prev parent reply other threads:[~2026-11-09 13:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-13 5:36 Teshan Kannangara
2026-11-09 13:56 ` Juergen Gross [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-10-13 5:35 Teshan Kannangara
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50795de6-002b-4c86-833d-30381153ec4f@suse.com \
--to=jgross@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oleksandr_tyshchenko@epam.com \
--cc=sstabellini@kernel.org \
--cc=tpk.teshan@gmail.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®