hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/powerpc/kvm/Kconfig
....@@ -7,7 +7,7 @@
77
88 menuconfig VIRTUALIZATION
99 bool "Virtualization"
10
- ---help---
10
+ help
1111 Say Y here to get to see options for using your Linux host to run
1212 other operating systems inside virtual machines (guests).
1313 This option alone does not add any kernel code.
....@@ -38,6 +38,7 @@
3838 config KVM_BOOK3S_64_HANDLER
3939 bool
4040 select KVM_BOOK3S_HANDLER
41
+ select PPC_DAWR_FORCE_ENABLE
4142
4243 config KVM_BOOK3S_PR_POSSIBLE
4344 bool
....@@ -53,7 +54,7 @@
5354 select KVM
5455 select KVM_BOOK3S_32_HANDLER
5556 select KVM_BOOK3S_PR_POSSIBLE
56
- ---help---
57
+ help
5758 Support running unmodified book3s_32 guest kernels
5859 in virtual machines on book3s_32 host processors.
5960
....@@ -69,7 +70,7 @@
6970 select KVM
7071 select KVM_BOOK3S_PR_POSSIBLE if !KVM_BOOK3S_HV_POSSIBLE
7172 select SPAPR_TCE_IOMMU if IOMMU_SUPPORT && (PPC_PSERIES || PPC_POWERNV)
72
- ---help---
73
+ help
7374 Support running unmodified book3s_64 and book3s_32 guest kernels
7475 in virtual machines on book3s_64 host processors.
7576
....@@ -84,7 +85,7 @@
8485 select KVM_BOOK3S_HV_POSSIBLE
8586 select MMU_NOTIFIER
8687 select CMA
87
- ---help---
88
+ help
8889 Support running unmodified book3s_64 guest kernels in
8990 virtual machines on POWER7 and newer processors that have
9091 hypervisor mode available to the host.
....@@ -103,7 +104,7 @@
103104 tristate "KVM support without using hypervisor mode in host"
104105 depends on KVM_BOOK3S_64
105106 select KVM_BOOK3S_PR_POSSIBLE
106
- ---help---
107
+ help
107108 Support running guest kernels in virtual machines on processors
108109 without using hypervisor mode in the host, by running the
109110 guest in user mode (problem state) and emulating all
....@@ -118,7 +119,7 @@
118119 config KVM_BOOK3S_HV_EXIT_TIMING
119120 bool "Detailed timing for hypervisor real-mode code"
120121 depends on KVM_BOOK3S_HV_POSSIBLE && DEBUG_FS
121
- ---help---
122
+ help
122123 Calculate time taken for each vcpu in the real-mode guest entry,
123124 exit, and interrupt handling code, plus time spent in the guest
124125 and in nap mode due to idle (cede) while other threads are still
....@@ -135,7 +136,7 @@
135136 config KVM_EXIT_TIMING
136137 bool "Detailed exit timing"
137138 depends on KVM_E500V2 || KVM_E500MC
138
- ---help---
139
+ help
139140 Calculate elapsed time for every exit/enter cycle. A per-vcpu
140141 report is available in debugfs kvm/vm#_vcpu#_timing.
141142 The overhead is relatively small, however it is not recommended for
....@@ -149,7 +150,7 @@
149150 select KVM
150151 select KVM_MMIO
151152 select MMU_NOTIFIER
152
- ---help---
153
+ help
153154 Support running unmodified E500 guest kernels in virtual machines on
154155 E500v2 host processors.
155156
....@@ -165,7 +166,7 @@
165166 select KVM_MMIO
166167 select KVM_BOOKE_HV
167168 select MMU_NOTIFIER
168
- ---help---
169
+ help
169170 Support running unmodified E500MC/E5500/E6500 guest kernels in
170171 virtual machines on E500MC/E5500/E6500 host processors.
171172
....@@ -177,16 +178,15 @@
177178 config KVM_MPIC
178179 bool "KVM in-kernel MPIC emulation"
179180 depends on KVM && E500
180
- depends on !PREEMPT_RT_FULL
181181 select HAVE_KVM_IRQCHIP
182182 select HAVE_KVM_IRQFD
183183 select HAVE_KVM_IRQ_ROUTING
184184 select HAVE_KVM_MSI
185185 help
186186 Enable support for emulating MPIC devices inside the
187
- host kernel, rather than relying on userspace to emulate.
188
- Currently, support is limited to certain versions of
189
- Freescale's MPIC implementation.
187
+ host kernel, rather than relying on userspace to emulate.
188
+ Currently, support is limited to certain versions of
189
+ Freescale's MPIC implementation.
190190
191191 config KVM_XICS
192192 bool "KVM in-kernel XICS emulation"
....@@ -194,7 +194,7 @@
194194 select HAVE_KVM_IRQCHIP
195195 select HAVE_KVM_IRQFD
196196 default y
197
- ---help---
197
+ help
198198 Include support for the XICS (eXternal Interrupt Controller
199199 Specification) interrupt controller architecture used on
200200 IBM POWER (pSeries) servers.
....@@ -203,7 +203,5 @@
203203 bool
204204 default y
205205 depends on KVM_XICS && PPC_XIVE_NATIVE && KVM_BOOK3S_HV_POSSIBLE
206
-
207
-source drivers/vhost/Kconfig
208206
209207 endif # VIRTUALIZATION