]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s: Fix unnecessary machine check handler relocation branch
authorNicholas Piggin <npiggin@gmail.com>
Thu, 4 May 2017 10:41:12 +0000 (20:41 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 9 May 2017 09:25:50 +0000 (19:25 +1000)
commitd5056d8dc33151cb455b3d043e9a2feae4285006
tree155a2f9de0b3b318ed494931568915343c903897
parent209b9a4c71f3a97b8360fd1b59453bbb4abe0026
powerpc/64s: Fix unnecessary machine check handler relocation branch

Similarly to commit 6de9f19df4 ("powerpc/64s: Remove unnecessary relocation
branch from idle handler"), the machine check handler has a BRANCH_TO from
relocated to relocated code, which is unnecessary.

It has also caused build errors with some toolchains:

  arch/powerpc/kernel/exceptions-64s.S: Assembler messages:
  arch/powerpc/kernel/exceptions-64s.S:395: Error: operand out of range
  (0xffffffffffff8280 is not between 0x0000000000000000 and
  0x000000000000ffff)

Fixes: 2b696d5758eb ("powerpc/64s: Fix POWER9 machine check handler from stop state")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reported-and-tested-by : Abdul Haleem <abdhalee@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/exceptions-64s.S