summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/xmon/xmon.c
diff options
context:
space:
mode:
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>2014-11-20 09:44:36 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2014-11-27 09:32:52 +1100
commit6acbc5a1dab30aa8f7be7bf3852f343f89147ac5 (patch)
treea734cdafb565678bfa383c249c5884ff03b038ab /arch/powerpc/xmon/xmon.c
parentd7ce4377494adfaf8afb15ecf4f07d399bbf13d9 (diff)
downloadop-kernel-dev-6acbc5a1dab30aa8f7be7bf3852f343f89147ac5.zip
op-kernel-dev-6acbc5a1dab30aa8f7be7bf3852f343f89147ac5.tar.gz
powerpc/powernv: Fix the hmi event version check.
The current HMI event structure is an ABI and carries a version field to accommodate future changes without affecting/rearranging current structure members that are valid for previous versions. The current version check "if (hmi_evt->version != OpalHMIEvt_V1)" doesn't accomodate the fact that the version number may change in future. If firmware starts returning an HMI event with version > 1, this check will fail and no HMI information will be printed on older kernels. This patch fixes this issue. Cc: stable@vger.kernel.org # 3.17+ Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> [mpe: Reword changelog] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/xmon/xmon.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud