]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc/book3s: Fix endianess issue for HMI handling on napping cpus.
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Thu, 31 Jul 2014 12:47:52 +0000 (18:17 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Aug 2014 06:34:01 +0000 (16:34 +1000)
commitdb97efffb80652f7f879bc1d4837cbc84dc32557
tree2773bb77bd188d2d087d2707a9ac05a395039a77
parentbbdb760d8d477f0a57e3f2394e352ccc6f5e9961
powerpc/book3s: Fix endianess issue for HMI handling on napping cpus.

(NOTE: This patch depends on upstream HMI handling patchset at
 https://lists.ozlabs.org/pipermail/linuxppc-dev/2014-July/119731.html)

The current HMI handling on napping cpus does not take care of endianess
issue. On LE host kernel when we wake up from nap due to HMI interrupt we
would checkstop while jumping into opal call. There is a similar issue in
case of fast sleep wakeup where the code invokes opal_resync_tb opal call
without handling LE issue. This patch fixes that as well.

With this patch applied, HMIs handling on LE host kernel works fine.

Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/idle_power7.S