Message ID | 1455680668-23298-40-git-send-email-gwshan@linux.vnet.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
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 <gwshan@linux.vnet.ibm.com> > --- > 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 >
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 <gwshan@linux.vnet.ibm.com> >>--- >> 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 > -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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
The device tree will change dynamically in PowerNV PCI hotplug driver. This enables CONFIG_OF_DYNAMIC to support that. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> --- arch/powerpc/platforms/powernv/Kconfig | 1 + 1 file changed, 1 insertion(+)