From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933331AbbENNoz (ORCPT ); Thu, 14 May 2015 09:44:55 -0400 Received: from foss.arm.com ([217.140.101.70]:39317 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933052AbbENNot (ORCPT ); Thu, 14 May 2015 09:44:49 -0400 Message-ID: <5554A6CC.7050903@arm.com> Date: Thu, 14 May 2015 14:44:44 +0100 From: Sudeep Holla User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: "Jon Medhurst (Tixy)" , Liviu Dudau CC: Sudeep Holla , Arnd Bergmann , Olof Johansson , Rob Herring , Mark Rutland , Ian Campbell , Marc Zyngier , Catalin Marinas , Will Deacon , devicetree , LAKML , LKML Subject: Re: [PATCH 2/5] arm64: Juno: Split juno.dts into juno-base.dtsi and juno.dts. References: <1431537092-19597-1-git-send-email-Liviu.Dudau@arm.com> <1431537092-19597-3-git-send-email-Liviu.Dudau@arm.com> <1431596142.2881.13.camel@linaro.org> <20150514103040.GN2345@e106497-lin.cambridge.arm.com> <1431601471.2881.36.camel@linaro.org> In-Reply-To: <1431601471.2881.36.camel@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/05/15 12:04, Jon Medhurst (Tixy) wrote: > On Thu, 2015-05-14 at 11:30 +0100, Liviu Dudau wrote: >> On Thu, May 14, 2015 at 10:35:42AM +0100, Jon Medhurst (Tixy) wrote: > [...] >>> >>> What criteria were used to select the contents of juno-base.dtsi? >>> From what I can see, the stuff left out of base is still the same for r0 >>> and r1 (cpu, pmu, memory, psci!). > [...] >> >> There are potential differences. Cortex-A53 cluster in r1 has limited >> CPUfreq functionality due to a chip errata and there were talks internally >> to actually disable it, hence the reason for keeping CPUs outside the >> juno-base.dtsi. r2 will have a different set of big CPUs as well, so this >> is preparing for the future as well. >> >> PMU are linked to the CPUs, hence the reason they stayed. As for the >> memory and psci nodes the thinking behind it was mostly to allow for >> ACPI to make changes there, but it does look now like retrofitting an >> explanation to something that I did not give too much thought at that >> moment. > > I guess my concern was motivated by the selfish aspect of having to > maintain a bunch of out-of-tree Juno patches (like cpuidle and cpufreq Hopefully not too long :) > related DT updates) and having to duplicate those in more than one DT, > and also having backport DT reorgs like this patch. Of course, none of > that should be a consideration in deciding what goes into mainline, I > just wanted to make sure there was a reason for the patch. > But I agree with you to remove duplicates as much as possible. Since it's not possible to speculate how things will be in future platform, IMO we can have all the device nodes that are common to both r0 and r1 in juno-base.dtsi for now and move them out as and when required. Regards, Sudeep From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sudeep Holla Subject: Re: [PATCH 2/5] arm64: Juno: Split juno.dts into juno-base.dtsi and juno.dts. Date: Thu, 14 May 2015 14:44:44 +0100 Message-ID: <5554A6CC.7050903@arm.com> References: <1431537092-19597-1-git-send-email-Liviu.Dudau@arm.com> <1431537092-19597-3-git-send-email-Liviu.Dudau@arm.com> <1431596142.2881.13.camel@linaro.org> <20150514103040.GN2345@e106497-lin.cambridge.arm.com> <1431601471.2881.36.camel@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1431601471.2881.36.camel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Jon Medhurst (Tixy)" , Liviu Dudau Cc: Sudeep Holla , Arnd Bergmann , Olof Johansson , Rob Herring , Mark Rutland , Ian Campbell , Marc Zyngier , Catalin Marinas , Will Deacon , devicetree , LAKML , LKML List-Id: devicetree@vger.kernel.org On 14/05/15 12:04, Jon Medhurst (Tixy) wrote: > On Thu, 2015-05-14 at 11:30 +0100, Liviu Dudau wrote: >> On Thu, May 14, 2015 at 10:35:42AM +0100, Jon Medhurst (Tixy) wrote: > [...] >>> >>> What criteria were used to select the contents of juno-base.dtsi? >>> From what I can see, the stuff left out of base is still the same for r0 >>> and r1 (cpu, pmu, memory, psci!). > [...] >> >> There are potential differences. Cortex-A53 cluster in r1 has limited >> CPUfreq functionality due to a chip errata and there were talks internally >> to actually disable it, hence the reason for keeping CPUs outside the >> juno-base.dtsi. r2 will have a different set of big CPUs as well, so this >> is preparing for the future as well. >> >> PMU are linked to the CPUs, hence the reason they stayed. As for the >> memory and psci nodes the thinking behind it was mostly to allow for >> ACPI to make changes there, but it does look now like retrofitting an >> explanation to something that I did not give too much thought at that >> moment. > > I guess my concern was motivated by the selfish aspect of having to > maintain a bunch of out-of-tree Juno patches (like cpuidle and cpufreq Hopefully not too long :) > related DT updates) and having to duplicate those in more than one DT, > and also having backport DT reorgs like this patch. Of course, none of > that should be a consideration in deciding what goes into mainline, I > just wanted to make sure there was a reason for the patch. > But I agree with you to remove duplicates as much as possible. Since it's not possible to speculate how things will be in future platform, IMO we can have all the device nodes that are common to both r0 and r1 in juno-base.dtsi for now and move them out as and when required. Regards, Sudeep -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: sudeep.holla@arm.com (Sudeep Holla) Date: Thu, 14 May 2015 14:44:44 +0100 Subject: [PATCH 2/5] arm64: Juno: Split juno.dts into juno-base.dtsi and juno.dts. In-Reply-To: <1431601471.2881.36.camel@linaro.org> References: <1431537092-19597-1-git-send-email-Liviu.Dudau@arm.com> <1431537092-19597-3-git-send-email-Liviu.Dudau@arm.com> <1431596142.2881.13.camel@linaro.org> <20150514103040.GN2345@e106497-lin.cambridge.arm.com> <1431601471.2881.36.camel@linaro.org> Message-ID: <5554A6CC.7050903@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 14/05/15 12:04, Jon Medhurst (Tixy) wrote: > On Thu, 2015-05-14 at 11:30 +0100, Liviu Dudau wrote: >> On Thu, May 14, 2015 at 10:35:42AM +0100, Jon Medhurst (Tixy) wrote: > [...] >>> >>> What criteria were used to select the contents of juno-base.dtsi? >>> From what I can see, the stuff left out of base is still the same for r0 >>> and r1 (cpu, pmu, memory, psci!). > [...] >> >> There are potential differences. Cortex-A53 cluster in r1 has limited >> CPUfreq functionality due to a chip errata and there were talks internally >> to actually disable it, hence the reason for keeping CPUs outside the >> juno-base.dtsi. r2 will have a different set of big CPUs as well, so this >> is preparing for the future as well. >> >> PMU are linked to the CPUs, hence the reason they stayed. As for the >> memory and psci nodes the thinking behind it was mostly to allow for >> ACPI to make changes there, but it does look now like retrofitting an >> explanation to something that I did not give too much thought at that >> moment. > > I guess my concern was motivated by the selfish aspect of having to > maintain a bunch of out-of-tree Juno patches (like cpuidle and cpufreq Hopefully not too long :) > related DT updates) and having to duplicate those in more than one DT, > and also having backport DT reorgs like this patch. Of course, none of > that should be a consideration in deciding what goes into mainline, I > just wanted to make sure there was a reason for the patch. > But I agree with you to remove duplicates as much as possible. Since it's not possible to speculate how things will be in future platform, IMO we can have all the device nodes that are common to both r0 and r1 in juno-base.dtsi for now and move them out as and when required. Regards, Sudeep