From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Jan Beulich <jbeulich@suse.com>
Cc: oleksii.kurochko@gmail.com,
Anthony PERARD <anthony.perard@vates.tech>,
Juergen Gross <jgross@suse.com>,
xen-devel@lists.xenproject.org
Subject: Re: [PATCH for-4.21] tools/libxc: fix xc_physdev_map_pirq_msi() with PCI segments != 0
Date: Mon, 20 Oct 2025 10:07:25 +0100 [thread overview]
Message-ID: <aPX7zfet83VZm6wq@Mac.lan> (raw)
In-Reply-To: <706663d2-61dd-4fb0-b278-d3282dc7b5ca@suse.com>
On Mon, Oct 20, 2025 at 09:46:42AM +0200, Jan Beulich wrote:
> On 17.10.2025 16:14, Roger Pau Monne wrote:
> > Otherwise it's not possible for device models to map IRQs of devices on
> > segments different than 0. Keep the same function prototype and pass the
> > segment in the high 16bits of the bus parameter, like it's done for the
> > hypercall itself.
>
> While easiest, that's an odd interface, though. Should, at the very least the
> function parameter then be named e.g. "segbus", along the lines of "devfn"?
I certainly don't mind using segbus instead of plain bus, will adjust
now.
> > Fixes: 7620c0cf9a4d ("PCI multi-seg: add new physdevop-s")
>
> This commit wasn't about tool stack uses of the interfaces at all.
But there should have been a tools side change somewhere to make use
of that interface, at the point that support for multi-segment was
added to Xen? Otherwise the support feels like half done.
Would you prefer me to use the "Amends:" tag? Or no tag at all.
Thanks, Roger.
next prev parent reply other threads:[~2025-10-20 9:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-17 14:14 [PATCH for-4.21] tools/libxc: fix xc_physdev_map_pirq_msi() with PCI segments != 0 Roger Pau Monne
2025-10-17 15:41 ` Oleksii Kurochko
2025-10-18 4:46 ` Frediano Ziglio
2025-10-20 7:50 ` Jan Beulich
2025-10-20 7:46 ` Jan Beulich
2025-10-20 9:07 ` Roger Pau Monné [this message]
2025-10-20 10:50 ` Jan Beulich
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=aPX7zfet83VZm6wq@Mac.lan \
--to=roger.pau@citrix.com \
--cc=anthony.perard@vates.tech \
--cc=jbeulich@suse.com \
--cc=jgross@suse.com \
--cc=oleksii.kurochko@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 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.