netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Appending firmware/hardware dump to vmcore during kernel panic
@ 2018-02-20 10:56 Rahul Lakkireddy
  0 siblings, 0 replies; only message in thread
From: Rahul Lakkireddy @ 2018-02-20 10:56 UTC (permalink / raw)
  To: linux-kernel, netdev
  Cc: akpm, torvalds, davem, ganeshgr, nirranjan, indranil,
	rahul.lakkireddy

Hi all,

We have a requirement to collect firmware/hardware state of the
underlying NIC during kernel panic.  We are doing this in cxgb4
driver, using panic notifier list [1].  cxgb4 registers a callback
function to the panic notifier list, which gets invoked during kernel
panic. In the callback function, firmware/hardware dump is collected
into pre-allocated buffer and then extracted later from the vmcore,
for post-analysis.

Is this approach of using panic notifier correct?  Any suggestions are
much appreciated.

Thanks,
Rahul

[1] https://patchwork.ozlabs.org/patch/873830/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-02-20 10:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-20 10:56 Appending firmware/hardware dump to vmcore during kernel panic Rahul Lakkireddy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).