]> git.baikalelectronics.ru Git - kernel.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)
commitaa5aad2ef0b40f8c22e57f2c56880755ec24ddd3
tree2773bb77bd188d2d087d2707a9ac05a395039a77
parentb5c73bcf9a0595df66914dce458ae3ff420b7a8f
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