Thread (42 messages) 42 messages, 7 authors, 2025-07-24

Re: [PATCH v7 07/10] x86/nmi: Prepare for the new NMI-source vector encoding

From: Sohil Mehta <hidden>
Date: 2025-06-19 22:24:01
Also in: kvm, linux-edac, linux-perf-users, linux-pm, lkml

On 6/19/2025 12:43 AM, Chao Gao wrote:
quoted
Suggested-by: Sean Christopherson <seanjc@google.com>
Co-developed-by: Xin Li (Intel) <xin@zytor.com>
Signed-off-by: Xin Li (Intel) <xin@zytor.com>
Signed-off-by: Sohil Mehta <redacted>
Reviewed-by: Chao Gao <redacted>
Thanks!
One nit below,
quoted
--- a/arch/x86/kernel/apic/local.h
+++ b/arch/x86/kernel/apic/local.h
@@ -24,22 +24,24 @@ extern u32 x2apic_max_apicid;
/* IPI */

+u16 __prepare_ICR_DM_vector(u16 vector);
+
This seems unnecessary. local.h already includes asm/apic.h, where the function
is defined.
I added this because 0day was flagging an issue with i386 allnoconfig.
But, thinking about it more, I'll instead move the definition of
__prepare_ICR_DM_vector() outside the CONFIG_X86_LOCAL_APIC section in
asm/apic.h.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help