Re: [PATCH v8 39/45] powerpc/powernv: Select OF_DYNAMIC
On Tue, Apr 19, 2016 at 07:42:01PM +1000, Alexey Kardashevskiy wrote: >On 02/17/2016 02:44 PM, Gavin Shan wrote: >>The device tree will change dynamically in PowerNV PCI hotplug >>driver. This enables CONFIG_OF_DYNAMIC to support that. >> >>Signed-off-by: Gavin Shan>>--- >> arch/powerpc/platforms/powernv/Kconfig | 1 + >> 1 file changed, 1 insertion(+) >> >>diff --git a/arch/powerpc/platforms/powernv/Kconfig >>b/arch/powerpc/platforms/powernv/Kconfig >>index 604190c..e7b1ad7 100644 >>--- a/arch/powerpc/platforms/powernv/Kconfig >>+++ b/arch/powerpc/platforms/powernv/Kconfig >>@@ -18,6 +18,7 @@ config PPC_POWERNV >> select CPU_FREQ_GOV_ONDEMAND >> select CPU_FREQ_GOV_CONSERVATIVE >> select PPC_DOORBELL >>+ select OF_DYNAMIC > > >Why not to enable it in 45/45 under config HOTPLUG_PCI_POWERNV? Is there any >benefit of having it always on if HOTPLUG_PCI_POWERNV is not enabled? > Agree, I will move accordingly in next revision. Note that we have to move it back here once something else depends on OF_DYNAMIC in future. >> default y >> >> config OPAL_PRD >> > > >-- >Alexey > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [PATCH v8 39/45] powerpc/powernv: Select OF_DYNAMIC
On 02/17/2016 02:44 PM, Gavin Shan wrote: The device tree will change dynamically in PowerNV PCI hotplug driver. This enables CONFIG_OF_DYNAMIC to support that. Signed-off-by: Gavin Shan--- arch/powerpc/platforms/powernv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/powernv/Kconfig b/arch/powerpc/platforms/powernv/Kconfig index 604190c..e7b1ad7 100644 --- a/arch/powerpc/platforms/powernv/Kconfig +++ b/arch/powerpc/platforms/powernv/Kconfig @@ -18,6 +18,7 @@ config PPC_POWERNV select CPU_FREQ_GOV_ONDEMAND select CPU_FREQ_GOV_CONSERVATIVE select PPC_DOORBELL + select OF_DYNAMIC Why not to enable it in 45/45 under config HOTPLUG_PCI_POWERNV? Is there any benefit of having it always on if HOTPLUG_PCI_POWERNV is not enabled? default y config OPAL_PRD -- Alexey ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
[PATCH v8 39/45] powerpc/powernv: Select OF_DYNAMIC
The device tree will change dynamically in PowerNV PCI hotplug driver. This enables CONFIG_OF_DYNAMIC to support that. Signed-off-by: Gavin Shan--- arch/powerpc/platforms/powernv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/powernv/Kconfig b/arch/powerpc/platforms/powernv/Kconfig index 604190c..e7b1ad7 100644 --- a/arch/powerpc/platforms/powernv/Kconfig +++ b/arch/powerpc/platforms/powernv/Kconfig @@ -18,6 +18,7 @@ config PPC_POWERNV select CPU_FREQ_GOV_ONDEMAND select CPU_FREQ_GOV_CONSERVATIVE select PPC_DOORBELL + select OF_DYNAMIC default y config OPAL_PRD -- 2.1.0 ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev