All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/MSI: adjust permitted vector range
@ 2025-11-12 15:45 Jan Beulich
  2026-02-02 15:54 ` Roger Pau Monné
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Beulich @ 2025-11-12 15:45 UTC (permalink / raw)
  To: xen-devel@lists.xenproject.org; +Cc: Andrew Cooper, Roger Pau Monné

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 )
         return;
 
     if ( cpu_mask )


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-02-02 17:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-12 15:45 [PATCH] x86/MSI: adjust permitted vector range Jan Beulich
2026-02-02 15:54 ` Roger Pau Monné
2026-02-02 16:12   ` Jan Beulich
2026-02-02 17:47     ` Roger Pau Monné

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.