Skip to contentSkip to conversation

arch/x86/xen: remove depends on CONFIG_EXPERIMENTAL

PATCH In review Kees Cook 3 participants 5 messages Feb 28, 2013 – Mar 1, 2013

Subsystems (3)
lore
Share & tools
lore

Kees Cook

author
#0 lore raw

PATCH v2 1/1 arch/x86/xen: remove depends on CONFIG_EXPERIMENTAL

The CONFIG_EXPERIMENTAL config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it from any "depends on" lines in Kconfigs.

Cc Stefano Stabellini <[email protected]>
Cc Mukesh Rathor <[email protected]>
Cc Konrad Rzeszutek Wilk <[email protected]>

---

v2:
- drop EXPERIMENTAL from bool and help text too.

---
 arch/x86/xen/Kconfig |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
arch/x86/xen/Kconfig +3 -5
index 93ff4e1..6c5802f 100644
@@ -52,12 +52,10 @@ config XEN_DEBUG_FS
 	  Enabling this option may incur a significant performance overhead.
 
 config XEN_X86_PVH
-	bool "Support for running as a PVH guest (EXPERIMENTAL)"
-	depends on X86_64 && XEN && EXPERIMENTAL
+	bool "Support for running as a PVH guest"
+	depends on X86_64 && XEN
 	default n
 	help
 	   This option enables support for running as a PVH guest (PV guest
 	   using hardware extensions) under a suitably capable hypervisor.
-	   This option is EXPERIMENTAL because the hypervisor interfaces
-	   which it uses is not yet considered stable therefore backwards and
-	   forwards compatibility is not yet guaranteed.  If unsure, say N.
+	   If unsure, say N.
Signature · 6 lines
1.7.9.5


-- 
Kees Cook
Chrome OS Security
#1 lore raw
Quoted 27 lines · Kees Cook

The CONFIG_EXPERIMENTAL config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it from any "depends on" lines in Kconfigs.

Cc Stefano Stabellini <[email protected]>
Cc Mukesh Rathor <[email protected]>
Cc Konrad Rzeszutek Wilk <[email protected]>

---

v2:
- drop EXPERIMENTAL from bool and help text too.

---
 arch/x86/xen/Kconfig |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
arch/x86/xen/Kconfig +0 -2
index 93ff4e1..6c5802f 100644
@@ -52,12 +52,10 @@ config XEN_DEBUG_FS
 	  Enabling this option may incur a significant performance overhead.
 
 config XEN_X86_PVH
-	bool "Support for running as a PVH guest (EXPERIMENTAL)"
-	depends on X86_64 && XEN && EXPERIMENTAL

arch/x86/xen/Kconfig config XEN_DEBUG_FS · line 61

Quoted 10 lines
arch/x86/xen/Kconfig +3 -3
+	bool "Support for running as a PVH guest"
+	depends on X86_64 && XEN
 	default n
 	help
 	   This option enables support for running as a PVH guest (PV guest
 	   using hardware extensions) under a suitably capable hypervisor.
-	   This option is EXPERIMENTAL because the hypervisor interfaces
-	   which it uses is not yet considered stable therefore backwards and
-	   forwards compatibility is not yet guaranteed.  If unsure, say N.
+	   If unsure, say N.

Please do not change the text this way.
The fact that CONFIG_EXPERIMENTAL is going away it doesn't change the fact that this feature is experimental.
Maybe you want to replace EXPERIMENTAL with experimental, or if experimental has become as taboo word, I am sure you can find a suitable synonym.

author
#2 lore raw
Quoted 37 lines · Stefano Stabellini
Quoted 36 lines · Kees Cook

The CONFIG_EXPERIMENTAL config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it from any "depends on" lines in Kconfigs.

Cc Stefano Stabellini <[email protected]>
Cc Mukesh Rathor <[email protected]>
Cc Konrad Rzeszutek Wilk <[email protected]>

---

v2:
- drop EXPERIMENTAL from bool and help text too.

---
 arch/x86/xen/Kconfig |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
arch/x86/xen/Kconfig +2 -5
index 93ff4e1..6c5802f 100644
@@ -52,12 +52,10 @@ config XEN_DEBUG_FS
        Enabling this option may incur a significant performance overhead.
 
 config XEN_X86_PVH
-     bool "Support for running as a PVH guest (EXPERIMENTAL)"
-     depends on X86_64 && XEN && EXPERIMENTAL
+     bool "Support for running as a PVH guest"
+     depends on X86_64 && XEN
      default n
      help
         This option enables support for running as a PVH guest (PV guest
         using hardware extensions) under a suitably capable hypervisor.
-        This option is EXPERIMENTAL because the hypervisor interfaces
-        which it uses is not yet considered stable therefore backwards and
-        forwards compatibility is not yet guaranteed.  If unsure, say N.
Quoted 8 lines

arch/x86/xen/Kconfig config XEN_DEBUG_FS · line 61

Quoted 1 line
arch/x86/xen/Kconfig +1 -0
+        If unsure, say N.

Please do not change the text this way.
The fact that CONFIG_EXPERIMENTAL is going away it doesn't change the fact that this feature is experimental.
Maybe you want to replace EXPERIMENTAL with experimental, or if experimental has become as taboo word, I am sure you can find a suitable synonym.

Ah, sorry, I misunderstood what was being recommended from the other thread (quoting below...)

Quoted 3 lines · Konrad Rzeszutek Wilk

It certainly is unstable right now (which is why it was unstaged from the v3.9 train). I hope that by v3.10 it won't be - at which point this patch (and the EXPERIMENTAL) makes sense.

Only "depends on EXPERIMENTAL" must go away. Did you want either the bool or help text to go away too? If neither, my original patch should work. If you only want the bool text gone, I can send that version instead.

-Kees

--
Kees Cook
Chrome OS Security

#3 lore raw
Quoted 52 lines · Kees Cook
Quoted 37 lines · Stefano Stabellini
Quoted 36 lines · Kees Cook

The CONFIG_EXPERIMENTAL config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it from any "depends on" lines in Kconfigs.

Cc Stefano Stabellini <[email protected]>
Cc Mukesh Rathor <[email protected]>
Cc Konrad Rzeszutek Wilk <[email protected]>

---

v2:
- drop EXPERIMENTAL from bool and help text too.

---
 arch/x86/xen/Kconfig |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
arch/x86/xen/Kconfig +2 -5
index 93ff4e1..6c5802f 100644
@@ -52,12 +52,10 @@ config XEN_DEBUG_FS
        Enabling this option may incur a significant performance overhead.
 
 config XEN_X86_PVH
-     bool "Support for running as a PVH guest (EXPERIMENTAL)"
-     depends on X86_64 && XEN && EXPERIMENTAL
+     bool "Support for running as a PVH guest"
+     depends on X86_64 && XEN
      default n
      help
         This option enables support for running as a PVH guest (PV guest
         using hardware extensions) under a suitably capable hypervisor.
-        This option is EXPERIMENTAL because the hypervisor interfaces
-        which it uses is not yet considered stable therefore backwards and
-        forwards compatibility is not yet guaranteed.  If unsure, say N.
Quoted 8 lines

arch/x86/xen/Kconfig config XEN_DEBUG_FS · line 61

Quoted 1 line
arch/x86/xen/Kconfig +1 -0
+        If unsure, say N.

Please do not change the text this way.
The fact that CONFIG_EXPERIMENTAL is going away it doesn't change the fact that this feature is experimental.
Maybe you want to replace EXPERIMENTAL with experimental, or if experimental has become as taboo word, I am sure you can find a suitable synonym.

Ah, sorry, I misunderstood what was being recommended from the other thread (quoting below...)

On Sat, 23 Feb 2013, Konrad Rzeszutek Wilk wrote:

Quoted 8 lines
Quoted 3 lines

It certainly is unstable right now (which is why it was unstaged from the v3.9 train). I hope that by v3.10 it won't be - at which point this patch (and the EXPERIMENTAL) makes sense.

Only "depends on EXPERIMENTAL" must go away. Did you want either the bool or help text to go away too? If neither, my original patch should work. If you only want the bool text gone, I can send that version instead.

I think your original patch is good, but I'll let Konrad decide.

#4 lore raw
Quoted 57 lines · Stefano Stabellini
Quoted 56 lines · Kees Cook
Quoted 37 lines · Stefano Stabellini
Quoted 36 lines · Kees Cook

The CONFIG_EXPERIMENTAL config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it from any "depends on" lines in Kconfigs.

Cc Stefano Stabellini <[email protected]>
Cc Mukesh Rathor <[email protected]>
Cc Konrad Rzeszutek Wilk <[email protected]>

---

v2:
- drop EXPERIMENTAL from bool and help text too.

---
 arch/x86/xen/Kconfig |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
arch/x86/xen/Kconfig +2 -5
index 93ff4e1..6c5802f 100644
@@ -52,12 +52,10 @@ config XEN_DEBUG_FS
        Enabling this option may incur a significant performance overhead.
 
 config XEN_X86_PVH
-     bool "Support for running as a PVH guest (EXPERIMENTAL)"
-     depends on X86_64 && XEN && EXPERIMENTAL
+     bool "Support for running as a PVH guest"
+     depends on X86_64 && XEN
      default n
      help
         This option enables support for running as a PVH guest (PV guest
         using hardware extensions) under a suitably capable hypervisor.
-        This option is EXPERIMENTAL because the hypervisor interfaces
-        which it uses is not yet considered stable therefore backwards and
-        forwards compatibility is not yet guaranteed.  If unsure, say N.
Quoted 8 lines

arch/x86/xen/Kconfig config XEN_DEBUG_FS · line 61

Quoted 1 line
arch/x86/xen/Kconfig +1 -0
+        If unsure, say N.

Please do not change the text this way.
The fact that CONFIG_EXPERIMENTAL is going away it doesn't change the fact that this feature is experimental.
Maybe you want to replace EXPERIMENTAL with experimental, or if experimental has become as taboo word, I am sure you can find a suitable synonym.

Ah, sorry, I misunderstood what was being recommended from the other thread (quoting below...)

Quoted 3 lines · Konrad Rzeszutek Wilk

It certainly is unstable right now (which is why it was unstaged from the v3.9 train). I hope that by v3.10 it won't be - at which point this patch (and the EXPERIMENTAL) makes sense.

Quoted 6 lines
Quoted 4 lines

Only "depends on EXPERIMENTAL" must go away. Did you want either the bool or help text to go away too? If neither, my original patch should work. If you only want the bool text gone, I can send that version instead.

I think your original patch is good, but I'll let Konrad decide.

By the time PVH is going to Linus it better be stable. So the revised patch is OK with me (fyi, this patch is going in my stable/pvh.v7 which is part of #linux-next).