]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/64s/idle: Branch to handler with virtual mode offset
authorNicholas Piggin <npiggin@gmail.com>
Tue, 13 Jun 2017 13:05:50 +0000 (23:05 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 19 Jun 2017 09:46:28 +0000 (19:46 +1000)
commitb51351e264009e890936af83b8d800b32034273d
tree4e5a28a22f9f48027d5e07c22661bfa14d558918
parentb48bbb82e2b83537c500417d60218ad44446e572
powerpc/64s/idle: Branch to handler with virtual mode offset

Have the system reset idle wakeup handlers branched to in real mode
with the 0xc... kernel address applied. This allows simplifications of
avoiding rfid when switching to virtual mode in the wakeup handler.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/exception-64s.h
arch/powerpc/kernel/exceptions-64s.S