]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Pull all HMI events before panic.
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Tue, 5 May 2015 08:05:43 +0000 (13:35 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 6 Aug 2015 05:10:18 +0000 (15:10 +1000)
commit9c35ef269a68d0a3720ba505d475c14a9e876beb
tree95d0010b50bc0f41c0a9be4198e7ea387b702d5d
parentc8c5f5b05f4b5457b3a6ce018168327bf6c4c07d
powerpc/powernv: Pull all HMI events before panic.

In the event of unrecovered HMI the existing code panics as soon as
it receives the first unrecovered HMI event. This makes host to report
partial information about HMIs before panic. There may be more errors
which would have caused the HMI and hence more HMI event would have been
generated waiting to be pulled by host. This patch implements a logic to
pull and display all the HMI event before going down panic path.

Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/opal-hmi.c