]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv/idle: Restore CIABR after idle for Power9
authorJordan Niethe <jniethe5@gmail.com>
Mon, 7 Dec 2020 01:05:19 +0000 (12:05 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 7 Dec 2020 12:26:02 +0000 (23:26 +1100)
commite3b2b91f10c1c32cfe10fa73144bfa69472eddd5
tree508fc62a1ee7db8ceaf178045172298b270cbd9d
parente8d4ea6b8fdd515522716fdb8c1690712ff8d99b
powerpc/powernv/idle: Restore CIABR after idle for Power9

On Power9, CIABR is lost after idle. This means that instruction
breakpoints set by xmon which use CIABR do not work. Fix this by
restoring CIABR after idle.

Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201207010519.15597-2-jniethe5@gmail.com
arch/powerpc/platforms/powernv/idle.c