From 04dd17822334871b23ea2862f7798fb0e0007777 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 11 May 2024 08:53:19 +0000 Subject: [PATCH] change otg to host mode --- kernel/arch/powerpc/kvm/Kconfig | 30 ++++++++++++++---------------- 1 files changed, 14 insertions(+), 16 deletions(-) diff --git a/kernel/arch/powerpc/kvm/Kconfig b/kernel/arch/powerpc/kvm/Kconfig index 19a283f..549591d 100644 --- a/kernel/arch/powerpc/kvm/Kconfig +++ b/kernel/arch/powerpc/kvm/Kconfig @@ -7,7 +7,7 @@ menuconfig VIRTUALIZATION bool "Virtualization" - ---help--- + help Say Y here to get to see options for using your Linux host to run other operating systems inside virtual machines (guests). This option alone does not add any kernel code. @@ -38,6 +38,7 @@ config KVM_BOOK3S_64_HANDLER bool select KVM_BOOK3S_HANDLER + select PPC_DAWR_FORCE_ENABLE config KVM_BOOK3S_PR_POSSIBLE bool @@ -53,7 +54,7 @@ select KVM select KVM_BOOK3S_32_HANDLER select KVM_BOOK3S_PR_POSSIBLE - ---help--- + help Support running unmodified book3s_32 guest kernels in virtual machines on book3s_32 host processors. @@ -69,7 +70,7 @@ select KVM select KVM_BOOK3S_PR_POSSIBLE if !KVM_BOOK3S_HV_POSSIBLE select SPAPR_TCE_IOMMU if IOMMU_SUPPORT && (PPC_PSERIES || PPC_POWERNV) - ---help--- + help Support running unmodified book3s_64 and book3s_32 guest kernels in virtual machines on book3s_64 host processors. @@ -84,7 +85,7 @@ select KVM_BOOK3S_HV_POSSIBLE select MMU_NOTIFIER select CMA - ---help--- + help Support running unmodified book3s_64 guest kernels in virtual machines on POWER7 and newer processors that have hypervisor mode available to the host. @@ -103,7 +104,7 @@ tristate "KVM support without using hypervisor mode in host" depends on KVM_BOOK3S_64 select KVM_BOOK3S_PR_POSSIBLE - ---help--- + help Support running guest kernels in virtual machines on processors without using hypervisor mode in the host, by running the guest in user mode (problem state) and emulating all @@ -118,7 +119,7 @@ config KVM_BOOK3S_HV_EXIT_TIMING bool "Detailed timing for hypervisor real-mode code" depends on KVM_BOOK3S_HV_POSSIBLE && DEBUG_FS - ---help--- + help Calculate time taken for each vcpu in the real-mode guest entry, exit, and interrupt handling code, plus time spent in the guest and in nap mode due to idle (cede) while other threads are still @@ -135,7 +136,7 @@ config KVM_EXIT_TIMING bool "Detailed exit timing" depends on KVM_E500V2 || KVM_E500MC - ---help--- + help Calculate elapsed time for every exit/enter cycle. A per-vcpu report is available in debugfs kvm/vm#_vcpu#_timing. The overhead is relatively small, however it is not recommended for @@ -149,7 +150,7 @@ select KVM select KVM_MMIO select MMU_NOTIFIER - ---help--- + help Support running unmodified E500 guest kernels in virtual machines on E500v2 host processors. @@ -165,7 +166,7 @@ select KVM_MMIO select KVM_BOOKE_HV select MMU_NOTIFIER - ---help--- + help Support running unmodified E500MC/E5500/E6500 guest kernels in virtual machines on E500MC/E5500/E6500 host processors. @@ -177,16 +178,15 @@ config KVM_MPIC bool "KVM in-kernel MPIC emulation" depends on KVM && E500 - depends on !PREEMPT_RT_FULL select HAVE_KVM_IRQCHIP select HAVE_KVM_IRQFD select HAVE_KVM_IRQ_ROUTING select HAVE_KVM_MSI help Enable support for emulating MPIC devices inside the - host kernel, rather than relying on userspace to emulate. - Currently, support is limited to certain versions of - Freescale's MPIC implementation. + host kernel, rather than relying on userspace to emulate. + Currently, support is limited to certain versions of + Freescale's MPIC implementation. config KVM_XICS bool "KVM in-kernel XICS emulation" @@ -194,7 +194,7 @@ select HAVE_KVM_IRQCHIP select HAVE_KVM_IRQFD default y - ---help--- + help Include support for the XICS (eXternal Interrupt Controller Specification) interrupt controller architecture used on IBM POWER (pSeries) servers. @@ -203,7 +203,5 @@ bool default y depends on KVM_XICS && PPC_XIVE_NATIVE && KVM_BOOK3S_HV_POSSIBLE - -source drivers/vhost/Kconfig endif # VIRTUALIZATION -- Gitblit v1.6.2