From: Mykyta Poturai <Mykyta_Poturai@epam.com>
To: "Orzel, Michal" <michal.orzel@amd.com>,
Mykyta Poturai <Mykyta_Poturai@epam.com>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Cc: "Andrew Cooper" <andrew.cooper3@citrix.com>,
"Anthony PERARD" <anthony.perard@vates.tech>,
"Jan Beulich" <jbeulich@suse.com>,
"Julien Grall" <julien@xen.org>,
"Roger Pau Monné" <roger@xenproject.org>,
"Stefano Stabellini" <sstabellini@kernel.org>,
"Bertrand Marquis" <bertrand.marquis@arm.com>,
"Volodymyr Babchuk" <Volodymyr_Babchuk@epam.com>,
"Hildebrand, Stewart" <Stewart.Hildebrand@amd.com>,
Xen-devel <xen-devel-bounces@lists.xenproject.org>
Subject: Re: [PATCH] arm/pci-designware: Make config space iATU index configurable
Date: Fri, 4 Dec 2026 08:29:16 +0000 [thread overview]
Message-ID: <DNBT2EZLUTWJ.1S8F726JASED2@epam.com> (raw)
In-Reply-To: <91564cf9-74f2-42b0-a8bc-ceeb06212830@amd.com>
On Thu Dec 3, 2026 at 1:38 PM EET, Michal Orzel wrote:
>
>
> On 02-Dec-26 10:53, Mykyta Poturai wrote:
>> Xen programs outbound iATU window 1 for child bus config space
>> accesses, following the pre-5.11 Linux layout. Since Linux commit
>> 9f9e59a48095 ("PCI: dwc: Support multiple ATU memory regions") the
>> hardware domain uses window 0 for config space and windows 1 and up
>> for MEM ranges, so every config access from Xen overwrites the first
>> MEM window.
>>
>> Add the "pci-dw-cfg-atu" command line option to select the window and
>> default it to 0 to match current Linux. Older kernels need
>> pci-dw-cfg-atu=1.
>>
>> Signed-off-by: Mykyta Poturai <mykyta_poturai@epam.com>
> Only 0 and 1 are meaningful here. Wouldn't a boolean legacy option be
> a better fit (e.g. pci-dw-legacy-cfg-atu) that if set would use value 0?
>
> ~Michal
Yes, that seems like a good idea. Will do it this way in v2.
Thanks.
prev parent reply other threads:[~2026-12-04 8:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 9:53 [PATCH] arm/pci-designware: Make config space iATU index configurable Mykyta Poturai
2026-12-03 11:38 ` Orzel, Michal
2026-12-04 8:29 ` Mykyta Poturai [this message]
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=DNBT2EZLUTWJ.1S8F726JASED2@epam.com \
--to=mykyta_poturai@epam.com \
--cc=Stewart.Hildebrand@amd.com \
--cc=Volodymyr_Babchuk@epam.com \
--cc=andrew.cooper3@citrix.com \
--cc=anthony.perard@vates.tech \
--cc=bertrand.marquis@arm.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=roger@xenproject.org \
--cc=sstabellini@kernel.org \
--cc=xen-devel-bounces@lists.xenproject.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.