From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from service87.mimecast.com (service87.mimecast.com [91.220.42.44]) by ozlabs.org (Postfix) with ESMTP id 131262C0258 for ; Fri, 16 Aug 2013 03:10:05 +1000 (EST) From: Sudeep KarkadaNagesha To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, microblaze-uclinux@itee.uq.edu.au, linux@lists.openrisc.net, linuxppc-dev@lists.ozlabs.org Subject: [RFC PATCH 0/4] DT: move of_get_cpu_node from PPC to DT core Date: Thu, 15 Aug 2013 18:09:36 +0100 Message-Id: <1376586580-5409-1-git-send-email-Sudeep.KarkadaNagesha@arm.com> In-Reply-To: <1374492747-13879-1-git-send-email-Sudeep.KarkadaNagesha@arm.com> References: <1374492747-13879-1-git-send-email-Sudeep.KarkadaNagesha@arm.com> Content-Type: text/plain; charset=WINDOWS-1252 Cc: Jonas Bonn , Michal Simek , Sudeep KarkadaNagesha , Rob Herring , "Rafael J. Wysocki" , Grant Likely List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sudeep KarkadaNagesha Hi, This series needs to be prepended with the original series[1][2][3] Except the first patch in the original series(which is merged into this as last patch), there is no other change(apart from function signature) I am posting only this part for feedback separately for review as the original series is already reviewed. Once this part is review and aknowledg= ed I will combine the complete series and post it. Hi Rob, Since the compatible 'ibm,ppc-interrupt-server#s' is one-off and for historical reasons, if future architectures are adhering to ePAPR, IMO having a weak definition of arch_of_cpu_get_node as you suggested could lead to it's misuse in future. So I didn't take that approach. Regards, Sudeep Sudeep KarkadaNagesha (4): microblaze: remove undefined of_get_cpu_node declaration openrisc: remove undefined of_get_cpu_node declaration powerpc: refactor of_get_cpu_node to support other architectures of: move of_get_cpu_node implementation to DT core library arch/microblaze/include/asm/prom.h | 3 -- arch/openrisc/include/asm/prom.h | 3 -- arch/powerpc/include/asm/prom.h | 3 -- arch/powerpc/kernel/prom.c | 43 +---------------- drivers/of/base.c | 94 ++++++++++++++++++++++++++++++++++= ++++ include/linux/cpu.h | 1 + include/linux/of.h | 7 +++ 7 files changed, 104 insertions(+), 50 deletions(-) --=20 1.8.1.2 [1] https://lkml.org/lkml/2013/7/15/128 [2] https://lkml.org/lkml/2013/7/17/341 [3] https://lkml.org/lkml/2013/7/22/219