From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756630Ab1BXXoS (ORCPT ); Thu, 24 Feb 2011 18:44:18 -0500 Received: from ozlabs.org ([203.10.76.45]:46888 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756434Ab1BXXoQ (ORCPT ); Thu, 24 Feb 2011 18:44:16 -0500 Date: Fri, 25 Feb 2011 10:19:23 +1100 From: David Gibson To: David Daney Cc: linux-mips@linux-mips.org, ralf@linux-mips.org, devicetree-discuss@lists.ozlabs.org, grant.likely@secretlab.ca, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 02/10] MIPS: Octeon: Add device tree source files. Message-ID: <20110224231923.GB18233@yookeroo> Mail-Followup-To: David Gibson , David Daney , linux-mips@linux-mips.org, ralf@linux-mips.org, devicetree-discuss@lists.ozlabs.org, grant.likely@secretlab.ca, linux-kernel@vger.kernel.org References: <1298408274-20856-1-git-send-email-ddaney@caviumnetworks.com> <1298408274-20856-3-git-send-email-ddaney@caviumnetworks.com> <20110223000759.GA26300@yookeroo> <4D653CF1.30009@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D653CF1.30009@caviumnetworks.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 23, 2011 at 08:59:29AM -0800, David Daney wrote: > On 02/22/2011 04:07 PM, David Gibson wrote: > >On Tue, Feb 22, 2011 at 12:57:46PM -0800, David Daney wrote: > >>Signed-off-by: David Daney > >>--- > >> arch/mips/cavium-octeon/.gitignore | 2 + > >> arch/mips/cavium-octeon/Makefile | 13 ++ > >> arch/mips/cavium-octeon/octeon_3xxx.dts | 314 +++++++++++++++++++++++++++++++ > >> arch/mips/cavium-octeon/octeon_68xx.dts | 99 ++++++++++ > >> 4 files changed, 428 insertions(+), 0 deletions(-) > >> create mode 100644 arch/mips/cavium-octeon/.gitignore > >> create mode 100644 arch/mips/cavium-octeon/octeon_3xxx.dts > >> create mode 100644 arch/mips/cavium-octeon/octeon_68xx.dts > >> > [...] > > >>+ }; > >>+ }; > > > >Uh.. where are the CPUs? > > > > The number and type of CPUs can be (and is) probed. There is an > existing mechanism for the bootloader to communicate which CPUs > should be used. Hrm, ok. Grant, We've seen this now on both MIPS and ARM - dts files with no cpus, on the grounds that those can be runtime probed. I guess it makes sense, although a dts without cpus looks very, very odd to me. What are your thoughts on this? -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson Subject: Re: [RFC PATCH 02/10] MIPS: Octeon: Add device tree source files. Date: Fri, 25 Feb 2011 10:19:23 +1100 Message-ID: <20110224231923.GB18233@yookeroo> References: <1298408274-20856-1-git-send-email-ddaney@caviumnetworks.com> <1298408274-20856-3-git-send-email-ddaney@caviumnetworks.com> <20110223000759.GA26300@yookeroo> <4D653CF1.30009@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <4D653CF1.30009-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: David Daney Cc: linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, ralf-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org List-Id: devicetree@vger.kernel.org On Wed, Feb 23, 2011 at 08:59:29AM -0800, David Daney wrote: > On 02/22/2011 04:07 PM, David Gibson wrote: > >On Tue, Feb 22, 2011 at 12:57:46PM -0800, David Daney wrote: > >>Signed-off-by: David Daney > >>--- > >> arch/mips/cavium-octeon/.gitignore | 2 + > >> arch/mips/cavium-octeon/Makefile | 13 ++ > >> arch/mips/cavium-octeon/octeon_3xxx.dts | 314 +++++++++++++++++++++++++++++++ > >> arch/mips/cavium-octeon/octeon_68xx.dts | 99 ++++++++++ > >> 4 files changed, 428 insertions(+), 0 deletions(-) > >> create mode 100644 arch/mips/cavium-octeon/.gitignore > >> create mode 100644 arch/mips/cavium-octeon/octeon_3xxx.dts > >> create mode 100644 arch/mips/cavium-octeon/octeon_68xx.dts > >> > [...] > > >>+ }; > >>+ }; > > > >Uh.. where are the CPUs? > > > > The number and type of CPUs can be (and is) probed. There is an > existing mechanism for the bootloader to communicate which CPUs > should be used. Hrm, ok. Grant, We've seen this now on both MIPS and ARM - dts files with no cpus, on the grounds that those can be runtime probed. I guess it makes sense, although a dts without cpus looks very, very odd to me. What are your thoughts on this? -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson