From: Jacob Pan <jacob.jun.pan@linux.intel.com>
To: Sohil Mehta <sohil.mehta@intel.com>
Cc: x86@kernel.org, Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
"H . Peter Anvin" <hpa@zytor.com>,
linux-kernel@vger.kernel.org, jacob.jun.pan@linux.intel.com
Subject: Re: [PATCH] x86/irq: Fix comment on IRQ vector layout
Date: Tue, 18 Jun 2024 14:02:22 -0700 [thread overview]
Message-ID: <20240618140222.13086b0c@jacob-builder> (raw)
In-Reply-To: <20240618201320.2066726-1-sohil.mehta@intel.com>
On Tue, 18 Jun 2024 20:13:20 +0000, Sohil Mehta <sohil.mehta@intel.com>
wrote:
> commit f5a3562ec9dd ("x86/irq: Reserve a per CPU IDT vector for posted
> MSIs") changed the first system vector from LOCAL_TIMER_VECTOR to
> POSTED_MSI_NOTIFICATION_VECTOR. Reflect this change in the vector layout
> comment as well.
>
> However, instead of pointing to the specific vector, use the
> FIRST_SYSTEM_VECTOR indirection which essentially refers to the same.
> This would avoid unnecessary modifications to the same comment whenever
> additional system vectors get added.
>
> Signed-off-by: Sohil Mehta <sohil.mehta@intel.com>
> ---
> arch/x86/include/asm/irq_vectors.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/x86/include/asm/irq_vectors.h
> b/arch/x86/include/asm/irq_vectors.h index 13aea8fc3d45..970a89e7c6b7
> 100644 --- a/arch/x86/include/asm/irq_vectors.h
> +++ b/arch/x86/include/asm/irq_vectors.h
> @@ -18,8 +18,8 @@
> * Vectors 0 ... 31 : system traps and exceptions - hardcoded events
> * Vectors 32 ... 127 : device interrupts
> * Vector 128 : legacy int80 syscall interface
> - * Vectors 129 ... LOCAL_TIMER_VECTOR-1
> - * Vectors LOCAL_TIMER_VECTOR ... 255 : special interrupts
> + * Vectors 129 ... FIRST_SYSTEM_VECTOR-1
Should this range be explicitly labeled as "device interrupts"?
Thanks,
Jacob
next prev parent reply other threads:[~2024-06-18 20:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-18 20:13 [PATCH] x86/irq: Fix comment on IRQ vector layout Sohil Mehta
2024-06-18 21:02 ` Jacob Pan [this message]
2024-06-18 21:11 ` Sohil Mehta
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=20240618140222.13086b0c@jacob-builder \
--to=jacob.jun.pan@linux.intel.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=sohil.mehta@intel.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.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.