Re: [PATCH RFC] NMI Re-introduce un[set]_nmi_callback

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vivek Goyal
Date: Thursday, September 4, 2008 - 1:57 pm

On Thu, Sep 04, 2008 at 08:01:31PM +0000, Mingarelli, Thomas wrote:

Sorry I did not get it. Few questions.

- So you want to capture every NMI and then do something. So what's the
  harm in registering on die chain and look for both DIE_NMI_IPI and
  DIE_NMI events and take appropriate action? Depending on reason code,
  one or other will be called. If I read the code correctly, you will get
  to see every NMI on that cpu irrespective of the reason and then you can
  take the action accordingly.

- How would kdump continue to work above driver hijacks the nmi callback.
  You will disable watchdog, log message and call panic(). panic() will
  lead to kdump and kdump will send NMI IPI to reset of the cpus in the
  system to save their state and halt these. The moment other cpus get
  NMI IPI, above driver will hijack that NMI also and nobody gets a chance
  to run? So kdump will not work?

  Am I missing something?

Thanks
Vivek
  

 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH RFC] NMI Re-introduce un[set]_nmi_callback, Prarit Bhargava, (Thu Sep 4, 6:07 am)
Re: [PATCH RFC] NMI Re-introduce un[set]_nmi_callback, Peter Zijlstra, (Thu Sep 4, 6:37 am)
Re: [PATCH RFC] NMI Re-introduce un[set]_nmi_callback, Prarit Bhargava, (Thu Sep 4, 7:29 am)
Re: [PATCH RFC] NMI Re-introduce un[set]_nmi_callback, H. Peter Anvin, (Thu Sep 4, 8:12 am)
Re: [PATCH RFC] NMI Re-introduce un[set]_nmi_callback, Vivek Goyal, (Thu Sep 4, 12:08 pm)
RE: [PATCH RFC] NMI Re-introduce un[set]_nmi_callback, Mingarelli, Thomas, (Thu Sep 4, 1:01 pm)
RE: [PATCH RFC] NMI Re-introduce un[set]_nmi_callback, Mingarelli, Thomas, (Thu Sep 4, 1:21 pm)
Re: [PATCH RFC] NMI Re-introduce un[set]_nmi_callback, Vivek Goyal, (Thu Sep 4, 1:57 pm)
RE: [PATCH RFC] NMI Re-introduce un[set]_nmi_callback, Mingarelli, Thomas, (Thu Sep 4, 2:05 pm)