Re: [PATCH 7/9] x86/nmi: Improve NMI header documentation
From: Ingo Molnar
Date: Tue Apr 01 2025 - 04:08:47 EST
* Sohil Mehta <sohil.mehta@xxxxxxxxx> wrote:
> On 3/31/2025 9:04 AM, Sohil Mehta wrote:
> > On 3/31/2025 3:47 AM, Ingo Molnar wrote:
> >>
> >> * Sohil Mehta <sohil.mehta@xxxxxxxxx> wrote:
> >>
> >>> diff --git a/arch/x86/include/asm/x86_init.h b/arch/x86/include/asm/x86_init.h
> >>> index 213cf5379a5a..36698cc9fb44 100644
> >>> --- a/arch/x86/include/asm/x86_init.h
> >>> +++ b/arch/x86/include/asm/x86_init.h
> >>> @@ -292,6 +292,7 @@ struct x86_hyper_runtime {
> >>> * @set_wallclock: set time back to HW clock
> >>> * @is_untracked_pat_range exclude from PAT logic
> >>> * @nmi_init enable NMI on cpus
> >>> + * @get_nmi_reason get the reason an NMI was received
> >>> * @save_sched_clock_state: save state for sched_clock() on suspend
> >>> * @restore_sched_clock_state: restore state for sched_clock() on resume
> >>> * @apic_post_init: adjust apic if needed
> >>
> >> Note that I've split off this second half into a separate commit:
> >>
> >> x86/nmi: Add missing description x86_hyper_runtime::get_nmi_reason to <asm/x86_init.h>
> >>
>
> Upon closer inspection, I realized that the commit title for the new
> patch is incorrect.
> s/x86_hyper_runtime/x86_platform_ops
Yeah, the git patch context threw me off: I fixed the title, have
included the other review feedback, and added the Reviewed-by tags of
Kai Huang as well.
Thanks!
Ingo