From patchwork Tue Apr 23 12:01:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Schridde X-Patchwork-Id: 238894 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id 387F32C04CD for ; Tue, 23 Apr 2013 22:01:49 +1000 (EST) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by ozlabs.org (Postfix) with ESMTP id 002762C0177 for ; Tue, 23 Apr 2013 22:01:23 +1000 (EST) Received: from mailout-de.gmx.net ([10.1.76.17]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MLDZP-1UUt1c34vx-000Il2 for ; Tue, 23 Apr 2013 14:01:21 +0200 Received: (qmail invoked by alias); 23 Apr 2013 12:01:21 -0000 Received: from unknown (EHLO samson) [130.75.26.235] by mail.gmx.net (mp017) with SMTP; 23 Apr 2013 14:01:21 +0200 X-Authenticated: #19202771 X-Provags-ID: V01U2FsdGVkX19AvMli5IdAYEbmQbqM6wwIw3eLmLwp8cJbLZ6iaH uIsgMHJKwccVTs Date: Tue, 23 Apr 2013 14:01:16 +0200 From: Dennis Schridde To: arnd@arndb.de, linuxppc-dev@lists.ozlabs.org, cbe-oss-dev@lists.ozlabs.org Subject: Re: PROBLEM: Only 2 of 4 cores used on IBM Cell blades and no threads shown in spufs Message-ID: <20130423140116.0a40c2c6@samson> In-Reply-To: <1470334.YUWOQ37ijW@ernie> References: <1470334.YUWOQ37ijW@ernie> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.10; i686-pc-linux-gnu) Mime-Version: 1.0 X-Y-GMX-Trusted: 0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Am Mon, 22 Apr 2013 18:44:13 +0200 schrieb Dennis Schridde : > [4.] Kernel information > > [4.1.] Kernel version (from /proc/version): > I am using the Linux 3.8.8 kernel (vanilla-sources-3.8.8 on > Gentoo/Linux): # cat /proc/version > Linux version 3.8.8 (root@blade00) (gcc version 4.7.2 (Gentoo > 4.7.2-r1 p1.5, pie-0.5.5) ) #2 SMP Mon Apr 22 18:21:20 CEST 2013 Actually this is only partially correct. I applied following patch by Grant Likely to fix some IRQ mapping problems: And now I also applied the patch by Michael Ellerman that supposedly fixes the all-processes-running-on-CPU0 issue - I will report back with results later. --Dennis diff --git a/arch/powerpc/platforms/cell/pmu.c b/arch/powerpc/platforms/cell/pmu.c index 59c1a16..348a27b 100644 --- a/arch/powerpc/platforms/cell/pmu.c +++ b/arch/powerpc/platforms/cell/pmu.c @@ -382,7 +382,7 @@ static int __init cbe_init_pm_irq(void) unsigned int irq; int rc, node; - for_each_node(node) { + for_each_online_node(node) { irq = irq_create_mapping(NULL, IIC_IRQ_IOEX_PMI | (node << IIC_IRQ_NODE_SHIFT)); if (irq == NO_IRQ) {