Re: [PATCH v6 9/9] x86/nmi: Print source information with the unknown NMI console message
From: Sohil Mehta
Date: Tue Jun 03 2025 - 21:56:22 EST
On 6/3/2025 9:55 AM, Xin Li wrote:
> On 5/13/2025 1:38 PM, Sohil Mehta wrote:
>> + if (cpu_feature_enabled(X86_FEATURE_NMI_SOURCE))
>> + pr_emerg_ratelimited("NMI-source bitmap is 0x%lx\n", fred_event_data(regs));
>
> "0x%04lx"?
Yeah, this would be better. But, it might not matter now.
Based on the discussion in the other patch, I am considering printing
the source names rather than the raw bitmap.