From mboxrd@z Thu Jan 1 00:00:00 1970 From: janani Date: Wed, 10 Jul 2019 13:24:56 +0000 Subject: Re: [PATCH v5 7/7] KVM: PPC: Ultravisor: Add PPC_UV config option Message-Id: <6759c8a79b2962d07ed99f2b1cd05637@linux.vnet.ibm.com> List-Id: References: <20190709102545.9187-1-bharata@linux.ibm.com> <20190709102545.9187-8-bharata@linux.ibm.com> In-Reply-To: <20190709102545.9187-8-bharata@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Bharata B Rao Cc: linuxppc-dev@lists.ozlabs.org, linuxram@us.ibm.com, cclaudio@linux.ibm.com, kvm-ppc@vger.kernel.org, linux-mm@kvack.org, jglisse@redhat.com, aneesh.kumar@linux.vnet.ibm.com, paulus@au1.ibm.com, sukadev@linux.vnet.ibm.com, Anshuman Khandual , Linuxppc-dev On 2019-07-09 05:25, Bharata B Rao wrote: > From: Anshuman Khandual > > CONFIG_PPC_UV adds support for ultravisor. > > Signed-off-by: Anshuman Khandual > Signed-off-by: Bharata B Rao > Signed-off-by: Ram Pai > [ Update config help and commit message ] > Signed-off-by: Claudio Carvalho Reviewed-by: Janani Janakiraman > --- > arch/powerpc/Kconfig | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig > index f0e5b38d52e8..20c6c213d2be 100644 > --- a/arch/powerpc/Kconfig > +++ b/arch/powerpc/Kconfig > @@ -440,6 +440,26 @@ config PPC_TRANSACTIONAL_MEM > ---help--- > Support user-mode Transactional Memory on POWERPC. > > +config PPC_UV > + bool "Ultravisor support" > + depends on KVM_BOOK3S_HV_POSSIBLE > + select HMM_MIRROR > + select HMM > + select ZONE_DEVICE > + select MIGRATE_VMA_HELPER > + select DEV_PAGEMAP_OPS > + select DEVICE_PRIVATE > + select MEMORY_HOTPLUG > + select MEMORY_HOTREMOVE > + default n > + help > + This option paravirtualizes the kernel to run in POWER platforms > that > + supports the Protected Execution Facility (PEF). In such platforms, > + the ultravisor firmware runs at a privilege level above the > + hypervisor. > + > + If unsure, say "N". > + > config LD_HEAD_STUB_CATCH > bool "Reserve 256 bytes to cope with linker stubs in HEAD text" if > EXPERT > depends on PPC64