powerpc/pseries: relocate "config DTL" so KConfig nests properly
PATCH 1/1 powerpc/pseries: relocate "config DTL" so KConfig nests properly
--- arch/powerpc/platforms/pseries/Kconfig | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
arch/powerpc/platforms/pseries/Kconfig +10 -10
@@ -33,6 +33,16 @@ config PPC_SPLPAR processors, that is, which share physical processors between two or more partitions. +config DTL + bool "Dispatch Trace Log" + depends on PPC_SPLPAR && DEBUG_FS + help + SPLPAR machines can log hypervisor preempt & dispatch events to a + kernel buffer. Saying Y here will enable logging these events, + which are accessible through a debugfs file. + + Say N if you are unsure. + config PSERIES_MSI bool depends on PCI_MSI && PPC_PSERIES && EEH
@@ -122,13 +132,3 @@ config HV_PERF_CTRS systems. 24x7 is available on Power 8 systems. If unsure, select Y. - -config DTL - bool "Dispatch Trace Log" - depends on PPC_SPLPAR && DEBUG_FS - help - SPLPAR machines can log hypervisor preempt & dispatch events to a - kernel buffer. Saying Y here will enable logging these events, - which are accessible through a debugfs file. - - Say N if you are unsure.
Signature · 1 line
1.9.3
Quoted 1 line
powerpc/pseries: relocate "config DTL" so KConfig nests properly
I don't know what that means. Can you describe it in more detail?
Mikey
arch/powerpc/platfo=
Quoted 6 lines · Cody P Schafer
Signed-off-by Cody P Schafer <[email protected]>--- arch/powerpc/platforms/pseries/Kconfig | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)=20
arch/powerpc/platfo= renamed from arch/powerpc/platforms/pseries/Kconfig +0
-0
rms/pseries/Kconfig
Quoted 34 lines
index 2cb8b77..e00dd4d 100644
arch/powerpc/platforms/pseries/Kconfig +0
-0@@ -33,6 +33,16 @@ config PPC_SPLPAR processors, that is, which share physical processors between two or more partitions.=20
arch/powerpc/platforms/pseries/Kconfig +10
-0+config DTL + bool "Dispatch Trace Log" + depends on PPC_SPLPAR && DEBUG_FS + help + SPLPAR machines can log hypervisor preempt & dispatch events to a + kernel buffer. Saying Y here will enable logging these events, + which are accessible through a debugfs file. + + Say N if you are unsure. + config PSERIES_MSI bool depends on PCI_MSI && PPC_PSERIES && EEH@@ -122,13 +132,3 @@ config HV_PERF_CTRS systems. 24x7 is available on Power 8 systems.=20
If unsure, select Y.arch/powerpc/platforms/pseries/Kconfig +0
-10- -config DTL - bool "Dispatch Trace Log" - depends on PPC_SPLPAR && DEBUG_FS - help - SPLPAR machines can log hypervisor preempt & dispatch events to a - kernel buffer. Saying Y here will enable logging these events, - which are accessible through a debugfs file. - - Say N if you are unsure.
Quoted 4 lines · Michael Neuling
Quoted 1 line
powerpc/pseries: relocate "config DTL" so KConfig nests properly
I don't know what that means. Can you describe it in more detail?
So the "config DTL" refers to the configuration entry.
The "nests properly" refers to the indent that 'make menuconfig' shows when a config-option that depends on the config-option proceeding it.
In this case, moving config DTL up so it is below config PPC_SPLPAR means that menuconfig will show config DTL nicely indented right below config PPC_SPLPAR when PPC_SPLPAR is enabled.
To contrast that, right now if I enable PPC_SPLPAR in menuconfig, all I can immediately tell is that "something showed up further down the list where I wasn't looking", and I end up having to toggle the option a few times to figure out what showed up, or look at the KConfig to find out that config DTL depends on config PPC_SPLPAR.
Essentially, this enables menuconfig to provide a visual hint about the dependencies between options.
Quoted 45 lines
Mikey
Quoted 40 lines · Cody P Schafer
Signed-off-by Cody P Schafer <[email protected]>--- arch/powerpc/platforms/pseries/Kconfig | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)arch/powerpc/platforms/pseries/Kconfig +10
-10@@ -33,6 +33,16 @@ config PPC_SPLPAR processors, that is, which share physical processors between two or more partitions. +config DTL + bool "Dispatch Trace Log" + depends on PPC_SPLPAR && DEBUG_FS + help + SPLPAR machines can log hypervisor preempt & dispatch events to a + kernel buffer. Saying Y here will enable logging these events, + which are accessible through a debugfs file. + + Say N if you are unsure. + config PSERIES_MSI bool depends on PCI_MSI && PPC_PSERIES && EEH@@ -122,13 +132,3 @@ config HV_PERF_CTRS systems. 24x7 is available on Power 8 systems. If unsure, select Y. - -config DTL - bool "Dispatch Trace Log" - depends on PPC_SPLPAR && DEBUG_FS - help - SPLPAR machines can log hypervisor preempt & dispatch events to a - kernel buffer. Saying Y here will enable logging these events, - which are accessible through a debugfs file. - - Say N if you are unsure.
Quoted 9 lines · Cody P Schafer
Quoted 4 lines · Michael Neuling
Quoted 1 line
powerpc/pseries: relocate "config DTL" so KConfig nests properly
I don't know what that means. Can you describe it in more detail?
=20
So the "config DTL" refers to the configuration entry.
=20
The "nests properly" refers to the indent that 'make menuconfig' shows=
=20
Quoted 4 lines
when a config-option that depends on the config-option proceeding it. =20
In this case, moving config DTL up so it is below config PPC_SPLPAR=20 means that menuconfig will show config DTL nicely indented right below=
=20
Quoted 3 lines
config
PPC_SPLPARwhenPPC_SPLPARis enabled.
=20
To contrast that, right now if I enablePPC_SPLPARin menuconfig, all I=
=20
Quoted 1 line
can immediately tell is that "something showed up further down the list=
=20
Quoted 1 line
where I wasn't looking", and I end up having to toggle the option a few=
=20
Quoted 1 line
times to figure out what showed up, or look at the KConfig to find out=
=20
Quoted 3 lines
that config DTL depends on config
PPC_SPLPAR.
=20
Essentially, this enables menuconfig to provide a visual hint about the=
=20
Quoted 1 line
dependencies between options.
Sounds like a good idea. Can you repost the patch with that same info in the commit log.
Mikey
Quoted 10 lines
Quoted 10 lines
Mikey
arch/powerpc/pla=
Quoted 6 lines · Cody P Schafer
Signed-off-by Cody P Schafer <[email protected]>--- arch/powerpc/platforms/pseries/Kconfig | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)arch/powerpc/pla= renamed from arch/powerpc/platforms/pseries/Kconfig +0
-0
tforms/pseries/Kconfig
Quoted 36 lines
Quoted 23 lines
Quoted 23 lines
index 2cb8b77..e00dd4d 100644
arch/powerpc/platforms/pseries/Kconfig +10
-0@@ -33,6 +33,16 @@ config PPC_SPLPAR processors, that is, which share physical processors between two or more partitions. +config DTL + bool "Dispatch Trace Log" + depends on PPC_SPLPAR && DEBUG_FS + help + SPLPAR machines can log hypervisor preempt & dispatch events to a + kernel buffer. Saying Y here will enable logging these events, + which are accessible through a debugfs file. + + Say N if you are unsure. + config PSERIES_MSI bool depends on PCI_MSI && PPC_PSERIES && EEH@@ -122,13 +132,3 @@ config HV_PERF_CTRS systems. 24x7 is available on Power 8 systems.Quoted 12 lines
arch/powerpc/platforms/pseries/Kconfig config HV_PERF_CTRS · line 134
Quoted 11 lines
arch/powerpc/platforms/pseries/Kconfig +0
-10If unsure, select Y. - -config DTL - bool "Dispatch Trace Log" - depends on PPC_SPLPAR && DEBUG_FS - help - SPLPAR machines can log hypervisor preempt & dispatch events to a - kernel buffer. Saying Y here will enable logging these events, - which are accessible through a debugfs file. - - Say N if you are unsure.=20