Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55190f88 authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt
Browse files

powerpc: Add skeleton PowerNV platform



This adds a skeletton for the new Power "Non Virtualized"
platform which will be used by machines supporting running
without an hypervisor, for example in order to run KVM.

These machines will be using a new firmware called OPAL
for which the support will be provided by later patches.

The PowerNV platform is intended to be also usable under
the BML environment used internally for early CPU bringup
which is why the code also supports using RTAS instead of
OPAL in various places.

Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent e550592e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -171,6 +171,7 @@ quiet_cmd_wrap = WRAP $@
		$(if $3, -s $3)$(if $4, -d $4)$(if $5, -i $5) vmlinux

image-$(CONFIG_PPC_PSERIES)		+= zImage.pseries
image-$(CONFIG_PPC_POWERNV)		+= zImage.pseries
image-$(CONFIG_PPC_MAPLE)		+= zImage.maple
image-$(CONFIG_PPC_IBM_CELL_BLADE)	+= zImage.pseries
image-$(CONFIG_PPC_PS3)			+= dtbImage.ps3
+1 −0
Original line number Diff line number Diff line
menu "Platform support"

source "arch/powerpc/platforms/powernv/Kconfig"
source "arch/powerpc/platforms/pseries/Kconfig"
source "arch/powerpc/platforms/iseries/Kconfig"
source "arch/powerpc/platforms/chrp/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@ obj-$(CONFIG_PPC_82xx) += 82xx/
obj-$(CONFIG_PPC_83xx)		+= 83xx/
obj-$(CONFIG_FSL_SOC_BOOKE)	+= 85xx/
obj-$(CONFIG_PPC_86xx)		+= 86xx/
obj-$(CONFIG_PPC_POWERNV)	+= powernv/
obj-$(CONFIG_PPC_PSERIES)	+= pseries/
obj-$(CONFIG_PPC_ISERIES)	+= iseries/
obj-$(CONFIG_PPC_MAPLE)		+= maple/
+11 −0
Original line number Diff line number Diff line
config PPC_POWERNV
	depends on PPC64 && PPC_BOOK3S
	bool "IBM PowerNV (Non-Virtualized) platform support"
	select PPC_RTAS
	select PPC_NATIVE
	select PPC_XICS
	select PPC_ICP_NATIVE
	select PPC_ICS_RTAS
	select PPC_P7_NAP
	select PPC_PCI_CHOICE if EMBEDDED
	default y
+2 −0
Original line number Diff line number Diff line
obj-y			+= setup.o
obj-$(CONFIG_SMP)	+= smp.o
Loading