Skip to contentSkip to conversation

x86/kconfig: Reflow the SHADOW help message

PATCH In review Alejandro Vallejo 2 participants 3 messages Feb 9

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/kconfig: Reflow the SHADOW help message

Wasn't following the tab+2 spaces convention throughout the rest of the file.

Not a functional change.

---
 xen/arch/x86/Kconfig | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)
xen/arch/x86/Kconfig +9 -12
index 61f58aa829..2ce4747f6e 100644
@@ -148,20 +148,17 @@ config SHADOW_PAGING
 	default !PV_SHIM_EXCLUSIVE
 	depends on PV || HVM
 	help
+	  Shadow paging is a software alternative to hardware paging support
+	  (Intel EPT, AMD NPT).
 
-          Shadow paging is a software alternative to hardware paging support
-          (Intel EPT, AMD NPT).
+	  It is required for:
+	  * Running HVM guests on hardware lacking hardware paging support
+	    (First-generation Intel VT-x or AMD SVM).
+	  * Live migration of PV guests.
+	  * L1TF sidechannel mitigation for PV guests.
 
-          It is required for:
-            * Running HVM guests on hardware lacking hardware paging support
-              (First-generation Intel VT-x or AMD SVM).
-            * Live migration of PV guests.
-            * L1TF sidechannel mitigation for PV guests.
-
-          Under a small number of specific workloads, shadow paging may be
-          deliberately used as a performance optimisation.
-
-          If unsure, say Y.
+	  Under a small number of specific workloads, shadow paging may be
+	  deliberately used as a performance optimisation.
 
 config PAGING
 	def_bool HVM || SHADOW_PAGING

base-commit: 1ee8b11c1106dca6b8fe0d54c0e79146bb6545f0

Signature · 1 line
2.43.0
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Alejandro Vallejo

Wasn't following the tab+2 spaces convention throughout the rest of the file.

Not a functional change.

Largely:

Quoted 17 lines
xen/arch/x86/Kconfig +7 -2
@@ -148,20 +148,17 @@ config SHADOW_PAGING
 	default !PV_SHIM_EXCLUSIVE
 	depends on PV || HVM
 	help
+	  Shadow paging is a software alternative to hardware paging support
+	  (Intel EPT, AMD NPT).
 
-          Shadow paging is a software alternative to hardware paging support
-          (Intel EPT, AMD NPT).
+	  It is required for:
+	  * Running HVM guests on hardware lacking hardware paging support
+	    (First-generation Intel VT-x or AMD SVM).
+	  * Live migration of PV guests.
+	  * L1TF sidechannel mitigation for PV guests.
 

xen/arch/x86/Kconfig config SHADOW_PAGING · line 164

Quoted 10 lines
xen/arch/x86/Kconfig +0 -10
-          It is required for:
-            * Running HVM guests on hardware lacking hardware paging support
-              (First-generation Intel VT-x or AMD SVM).
-            * Live migration of PV guests.
-            * L1TF sidechannel mitigation for PV guests.
-
-          Under a small number of specific workloads, shadow paging may be
-          deliberately used as a performance optimisation.
-
-          If unsure, say Y.

I'm trying to establish (among the committers) whether we're indeed meaning to drop this sentence from Kconfig help texts that we touch. If I wouldn't get conclusive feedback, I'd likely put it back in.

Jan

Quoted 7 lines
xen/arch/x86/Kconfig +2 -0
+	  Under a small number of specific workloads, shadow paging may be
+	  deliberately used as a performance optimisation.
 
 config PAGING
 	def_bool HVM || SHADOW_PAGING

base-commit: 1ee8b11c1106dca6b8fe0d54c0e79146bb6545f0

#2 lore raw
Quoted 9 lines · Jan Beulich
Quoted 5 lines · Alejandro Vallejo

Wasn't following the tab+2 spaces convention throughout the rest of the file.

Not a functional change.

Largely:

Thanks.

Quoted 33 lines
Quoted 18 lines
xen/arch/x86/Kconfig +7 -2
@@ -148,20 +148,17 @@ config SHADOW_PAGING
 	default !PV_SHIM_EXCLUSIVE
 	depends on PV || HVM
 	help
+	  Shadow paging is a software alternative to hardware paging support
+	  (Intel EPT, AMD NPT).
 
-          Shadow paging is a software alternative to hardware paging support
-          (Intel EPT, AMD NPT).
+	  It is required for:
+	  * Running HVM guests on hardware lacking hardware paging support
+	    (First-generation Intel VT-x or AMD SVM).
+	  * Live migration of PV guests.
+	  * L1TF sidechannel mitigation for PV guests.
 

xen/arch/x86/Kconfig config SHADOW_PAGING · line 164

Quoted 10 lines
xen/arch/x86/Kconfig +0 -10
-          It is required for:
-            * Running HVM guests on hardware lacking hardware paging support
-              (First-generation Intel VT-x or AMD SVM).
-            * Live migration of PV guests.
-            * L1TF sidechannel mitigation for PV guests.
-
-          Under a small number of specific workloads, shadow paging may be
-          deliberately used as a performance optimisation.
-
-          If unsure, say Y.

I'm trying to establish (among the committers) whether we're indeed meaning to drop this sentence from Kconfig help texts that we touch. If I wouldn't get conclusive feedback, I'd likely put it back in.

Quoted 1 line

Jan

Sounds good to me either way.

Cheers,
Alejandro