From patchwork Wed Feb 13 07:32:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geoff Levand X-Patchwork-Id: 220071 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 4B1462C03CB for ; Wed, 13 Feb 2013 18:33:38 +1100 (EST) Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id E586F2C0296; Wed, 13 Feb 2013 18:33:08 +1100 (EST) Received: from 99-123-4-87.lightspeed.sntcca.sbcglobal.net ([99.123.4.87] helo=[192.168.1.72]) by merlin.infradead.org with esmtpsa (Exim 4.76 #1 (Red Hat Linux)) id 1U5Wpx-0005Me-R8; Wed, 13 Feb 2013 07:33:02 +0000 Message-ID: <1360740779.28936.20.camel@clam> Subject: Re: PS3 platform is broken on Linux 3.7.0 From: Geoff Levand To: Phileas Fogg , Michael Ellerman Date: Tue, 12 Feb 2013 23:32:59 -0800 In-Reply-To: <1355488506.55692113@f147.mail.ru> References: <1355488506.55692113@f147.mail.ru> X-Mailer: Evolution 3.6.2-0ubuntu0.1 Mime-Version: 1.0 Cc: cbe-oss-dev@lists.ozlabs.org, linuxppc-dev@lists.ozlabs.org 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" Hi, On Fri, 2012-12-14 at 16:35 +0400, Phileas Fogg wrote: > I wanted to bring to your attention the fact that the PS3 platform is broken on Linux 3.7.0. > So i cloned the Linux powerpc GIT repository and tried to find out which commits broke the PS3 platform. > --------------------------------------------------------------------------------------------- > > commit 407821a34fce89b4f0b031dbab5cec7d059f46bc > Author: Michael Ellerman > Date: Fri Sep 7 15:31:44 2012 +0000 > > powerpc: Initialise paca.data_offset with poison I did a little more work on this, and it seems the change below will fix the problem introduced by Michael's change. I can only guess we need to use udbg_printf() here. I'll look at it some more as I have time. -Geoff > diff --git a/arch/powerpc/kernel/paca.c b/arch/powerpc/kernel/paca.c index 5c56834..6b4f613 100644 --- a/arch/powerpc/kernel/paca.c +++ b/arch/powerpc/kernel/paca.c @@ -184,8 +185,8 @@ void __init allocate_pacas(void) paca = __va(memblock_alloc_base(paca_size, PAGE_SIZE, limit)); memset(paca, 0, paca_size); - printk(KERN_DEBUG "Allocated %u bytes for %d pacas at %p\n", - paca_size, nr_cpu_ids, paca); +// printk(KERN_DEBUG "Allocated %u bytes for %d pacas at %p\n", +// paca_size, nr_cpu_ids, paca); allocate_lppacas(nr_cpu_ids, limit);