Messages in this thread | | | From | "Luck, Tony" <> | Subject | RE: [RFC][PATCH v3 2/3] Skip spin_locks in panic case and add WARN_ON() | Date | Mon, 2 Jan 2012 19:41:52 +0000 |
| |
> 7.1.1 Exception for Machine Check, INIT, and NMI.
I wonder if this section is poorly named ... I suspect that it may really mean "Exception for fatal situations". I don't think that the EFI code has any way to know that one of these events has happened (in theory it could tell that it was executing a machine check handler if it looked at MCIP bit in MCG_STATUS, but I doubt that it does that ... INIT/NMI would seem even harder to detect).
> My suggestion is that panicked cpu sends NMI to itself and then it calls kmsg_dump(KMSG_DUMP_PANIC) in NMI.
So I wonder whether there is any value in the cpu sending an NMI to itself to meet the exact wording of this section in the spec.
I'll ask an Intel EFI guru whether I'm on target.
-Tony
| |