From: Roland Dreier Date: Thu, 27 Oct 2005 18:03:38 +0000 (-0700) Subject: [IB] mthca: first pass at catastrophic error reporting X-Git-Tag: v2.6.15-rc1~731^2~21^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d155f8cd0d077938d271225d26ee52f8eb26082;p=pandora-kernel.git [IB] mthca: first pass at catastrophic error reporting Add some initial support for detecting and reporting catastrophic errors reported by Mellanox HCAs. We start a periodic timer which polls the catastrophic error reporting buffer in device memory. If an error is detected, we dump the contents of the buffer for port-mortem debugging, and report a fatal asynchronous error to higher levels. In the future we can try to recover from these errors by resetting the device, but this will require some work in higher-level code as well. Let's get this in now, so that we at least get catastrophic errors reported in logs. Signed-off-by: Roland Dreier --- Reading git-diff-tree failed