]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/rtas: add rtas_activate_firmware()
authorNathan Lynch <nathanl@linux.ibm.com>
Mon, 7 Dec 2020 21:51:37 +0000 (15:51 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 8 Dec 2020 10:40:55 +0000 (21:40 +1100)
commit1165fabc5d13f5c5ad795530c464fe6b94438ed9
treeb872e8fded6f55e34d061b7310b8fd924fc1f5e9
parent5eacc277cd6a985866f895e3ec1ccaf84ffa82f8
powerpc/rtas: add rtas_activate_firmware()

Provide a documented wrapper function for the ibm,activate-firmware
service, which must be called after a partition migration or
hibernation.

If the function is absent or the call fails, the OS will continue to
run normally with the current firmware, so there is no need to perform
any recovery. Just log it and continue.

Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201207215200.1785968-6-nathanl@linux.ibm.com
arch/powerpc/include/asm/rtas.h
arch/powerpc/kernel/rtas.c