From patchwork Thu Nov 15 17:58:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grant Likely X-Patchwork-Id: 199370 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 6727B2C04FE for ; Fri, 16 Nov 2012 04:59:17 +1100 (EST) Received: by ozlabs.org (Postfix) id 440B72C03E5; Fri, 16 Nov 2012 04:58:42 +1100 (EST) Delivered-To: linuxppc-dev@ozlabs.org Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 7B5A72C0491 for ; Fri, 16 Nov 2012 04:58:41 +1100 (EST) Received: by mail-wi0-f180.google.com with SMTP id x18so1128031wia.3 for ; Thu, 15 Nov 2012 09:58:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:subject:to:cc:in-reply-to:references:date:message-id :x-gm-message-state; bh=My6UNt7Gusrqp/vymGOZTGvSpiPXs9qengdBzzsGSJE=; b=pvPYOPw3RBvyyJsm4kPubxa8lvpa1sEsXGxi0R3kjk/ZqTYZojyPLpCmM74u50ch4u ROCjpZrDP+Ocd0G6E6iOwpHx/6N1zcprs7lJFjPWIwmNCvTRkkNMJutbLmUs7TFfeMO1 odmUTKptNHoZgiS9UQRgHH1QQ5mgbN7oJxqUNW9VCt+CaYxBdUXcg92zjoVDpJrQ5KED TFvwIVd3/G00h++z2Awjh18skNGlv95YExaQP2I5RYATrlm+G8YrREdkmszX1Z5rewti K+QZId9jPRl1l3R7M7txtJCtGvmCKnYy9eDOJSfdY05POMootleQKkpsekbYcrpdZwh6 2JUA== Received: by 10.216.217.195 with SMTP id i45mr935384wep.14.1353002318019; Thu, 15 Nov 2012 09:58:38 -0800 (PST) Received: from localhost (host86-182-21-215.range86-182.btcentralplus.com. [86.182.21.215]) by mx.google.com with ESMTPS id d9sm594293wiw.0.2012.11.15.09.58.35 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Nov 2012 09:58:37 -0800 (PST) Received: by localhost (Postfix, from userid 1000) id 652C43E197F; Thu, 15 Nov 2012 17:58:35 +0000 (GMT) From: Grant Likely Subject: Re: PROBLEM: Linux 3.6.2 fails to boot on IBM Cell To: Dennis Schridde In-Reply-To: <1573571.I7ElC3JheV@ernie> References: <5521875.6lkx8Qvfk5@ernie> <6566742.NTPeeo2QHT@ernie> <1573571.I7ElC3JheV@ernie> Date: Thu, 15 Nov 2012 17:58:35 +0000 Message-Id: <20121115175835.652C43E197F@localhost> X-Gm-Message-State: ALoCoQm+7KKtn/Dl/sbssk1YX+dA0PB8V1Pb0ONxdWzFdHLKcOnmjyv/Sb5d8YW1D3DdM08Teu5z Cc: Thomas Gleixner , linuxppc-dev 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: , MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, 25 Oct 2012 21:33:41 +0200, Dennis Schridde wrote: > Hello everyone! > > Am Freitag, 19. Oktober 2012, 09:04:08 schrieb Dennis Schridde: > > Am Freitag, 19. Oktober 2012, 00:17:55 schrieb Grant Likely: > > > What does the boot log look like with the attached patch? (compiled > > > only, I haven't booted with it) > > > > Please find the log attached. > Have you found the cause or a fix for the problem? Umm, no. Some suggestions were made so I assumed you'd try those. Anyway, here is a real patch. Try this: g. 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) {