]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Remove OPAL v1 takeover
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 24 Jun 2014 07:17:47 +0000 (17:17 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 25 Jun 2014 03:10:47 +0000 (13:10 +1000)
commit1664df35647579eddbb65d3061def55da7083e3c
tree6bf8042001b33d55bf08927cfa5d0b7a2355b050
parent3f726bee536313af0a10c7b9e487838f6b252547
powerpc/powernv: Remove OPAL v1 takeover

In commit aa997e148c62 "Add OPAL takeover from PowerVM" we added support
for "takeover" on OPAL v1 machines.

This was a mode of operation where we would boot under pHyp, and query
for the presence of OPAL. If detected we would then do a special
sequence to take over the machine, and the kernel would end up running
in hypervisor mode.

OPAL v1 was never a supported product, and was never shipped outside
IBM. As far as we know no one is still using it.

Newer versions of OPAL do not use the takeover mechanism. Although the
query for OPAL should be harmless on machines with newer OPAL, we have
seen a machine where it causes a crash in Open Firmware.

The code in early_init_devtree() to copy boot_command_line into cmd_line
was added in commit f9caba3d684a "Get kernel command line accross OPAL
takeover", and AFAIK is only used by takeover, so should also be
removed.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/Kconfig.debug
arch/powerpc/include/asm/opal.h
arch/powerpc/kernel/prom.c
arch/powerpc/kernel/prom_init.c
arch/powerpc/kernel/prom_init_check.sh
arch/powerpc/platforms/powernv/Makefile
arch/powerpc/platforms/powernv/opal-takeover.S [deleted file]