linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dennis Schridde <devurandom@gmx.net>
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
Date: Tue, 23 Apr 2013 14:01:16 +0200	[thread overview]
Message-ID: <20130423140116.0a40c2c6@samson> (raw)
In-Reply-To: <1470334.YUWOQ37ijW@ernie>

[-- Attachment #1: Type: text/plain, Size: 1300 bytes --]

Am Mon, 22 Apr 2013 18:44:13 +0200
schrieb Dennis Schridde <devurandom@gmx.net>:
> [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
<grant.likely@secretlab.ca> to fix some IRQ mapping problems:

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) {


And now I also applied the patch by Michael Ellerman
<michael@ellerman.id.au> that supposedly fixes the
all-processes-running-on-CPU0 issue - I will report back with results
later.

--Dennis

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2013-04-23 12:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-22 16:44 PROBLEM: Only 2 of 4 cores used on IBM Cell blades and no threads shown in spufs Dennis Schridde
2013-04-23  9:12 ` Michael Ellerman
2013-04-23 11:51   ` Dennis Schridde
2013-04-23 13:16     ` Dennis Schridde
2013-04-23 13:19       ` Michael Ellerman
2013-05-17 15:46   ` Dennis Schridde
2013-05-22  3:37     ` Michael Ellerman
2013-04-23 12:01 ` Dennis Schridde [this message]
2013-04-23 12:16   ` Michael Ellerman
2013-04-23 12:41     ` Dennis Schridde
2013-04-23 12:53       ` Michael Ellerman
2013-04-23 13:24 ` Michael Ellerman
2013-04-23 18:13   ` Dennis Schridde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130423140116.0a40c2c6@samson \
    --to=devurandom@gmx.net \
    --cc=arnd@arndb.de \
    --cc=cbe-oss-dev@lists.ozlabs.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).