From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Jan Beulich <jbeulich@suse.com>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
Andrew Cooper <andrew.cooper3@citrix.com>
Subject: Re: [PATCH] x86/MSI: adjust permitted vector range
Date: Mon, 2 Feb 2026 16:54:34 +0100 [thread overview]
Message-ID: <aYDIusUCsFZaSaQH@Mac.lan> (raw)
In-Reply-To: <52227196-dbc9-4f6d-9c64-a5da5037b1ec@suse.com>
On Wed, Nov 12, 2025 at 04:45:05PM +0100, Jan Beulich wrote:
> It's really FIRST_IRQ_VECTOR vector which is meant here, i.e. effectively
> there is a form of open-coding in use right now.
>
> No change in practice, due to the present aliasing.
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
> ---
> While doing the HPET work I had to fiddle with this, even if in the end
> no vector below FIRST_DYNAMIC_VECTOR is being used there (for now at
> least).
>
> --- a/xen/arch/x86/msi.c
> +++ b/xen/arch/x86/msi.c
> @@ -158,7 +158,7 @@ void msi_compose_msg(unsigned vector, co
> {
> memset(msg, 0, sizeof(*msg));
>
> - if ( vector < FIRST_DYNAMIC_VECTOR )
> + if ( vector < FIRST_IRQ_VECTOR )
Should vector also be rejected if it's > LAST_IRQ_VECTOR?
Thanks, Roger.
next prev parent reply other threads:[~2026-02-02 15:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-12 15:45 [PATCH] x86/MSI: adjust permitted vector range Jan Beulich
2026-02-02 15:54 ` Roger Pau Monné [this message]
2026-02-02 16:12 ` Jan Beulich
2026-02-02 17:47 ` Roger Pau Monné
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=aYDIusUCsFZaSaQH@Mac.lan \
--to=roger.pau@citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=jbeulich@suse.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.