From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 22C1B2C0191 for ; Sat, 17 Aug 2013 08:20:10 +1000 (EST) Message-ID: <1376691273.25016.5.camel@pasglop> Subject: Re: [RFC PATCH v2 4/4] of: move of_get_cpu_node implementation to DT core library From: Benjamin Herrenschmidt To: Sudeep KarkadaNagesha Date: Sat, 17 Aug 2013 08:14:33 +1000 In-Reply-To: <1376674791-28244-3-git-send-email-Sudeep.KarkadaNagesha@arm.com> References: <1376586580-5409-1-git-send-email-Sudeep.KarkadaNagesha@arm.com> <1376674791-28244-1-git-send-email-Sudeep.KarkadaNagesha@arm.com> <1376674791-28244-3-git-send-email-Sudeep.KarkadaNagesha@arm.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: Jonas Bonn , devicetree@vger.kernel.org, Michal Simek , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , "Rafael J. Wysocki" , Grant Likely , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 2013-08-16 at 18:39 +0100, Sudeep KarkadaNagesha wrote: > +#ifdef CONFIG_PPC > + /* Check for historical "ibm,ppc-interrupt-server#s" property > + * for thread ids on PowerPC. If it doesn't exist fallback to > + * standard "reg" property. > + */ > + if (__of_find_n_match_cpu_property(cpun, > + "ibm,ppc-interrupt-server#s", cpu, thread)) > + return cpun; > +#endif It's not "historical". It's still very much in use and well defined in PAPR :-) Cheers, Ben.