Skip to contentSkip to conversation

KVM: PPC: Ultravisor: Add PPC_KVM_UV config option

PATCH In review Ram Pai 1 participant 1 message Jan 22, 2019 PowerPC

lore
Share & tools
lore

Ram Pai

author
#0 lore raw

PATCH 10/13 KVM: PPC: Ultravisor: Add PPC_KVM_UV config option

From: Anshuman Khandual <[email protected]>

CONFIG_PPC_KVM_UV enables support for ultravisor.

---
 arch/powerpc/Kconfig | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/powerpc/Kconfig +18 -0
index 2890d36..8c03857 100644
@@ -447,6 +447,24 @@ config PPC_TRANSACTIONAL_MEM
        ---help---
          Support user-mode Transactional Memory on POWERPC.
 
+config PPC_KVM_UV
+	bool "KVM support for Ultravisor on POWER"
+	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
+	 Paravirtualize KVM. There are certain POWER platforms
+	 which support Protected Execution Facility to enable Secure Virtual Machines.
+
+	 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
Signature · 1 line
1.8.3.1