From 1b53f3644a27fca2fe15b431b5cdcaa465edf6bb Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 3 Feb 2026 15:09:34 +0100 Subject: [PATCH] x86/MSI: adjust permitted vector range MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Acked-by: Roger Pau Monné --- xen/arch/x86/msi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/msi.c b/xen/arch/x86/msi.c index 57ad5002c5..3fe22b3b6d 100644 --- a/xen/arch/x86/msi.c +++ b/xen/arch/x86/msi.c @@ -158,7 +158,7 @@ void msi_compose_msg(unsigned vector, const cpumask_t *cpu_mask, struct msi_msg { memset(msg, 0, sizeof(*msg)); - if ( vector < FIRST_DYNAMIC_VECTOR ) + if ( vector < FIRST_IRQ_VECTOR ) return; if ( cpu_mask )