From: Geoff Levand <geoff@infradead.org>
To: Michael Ellerman <michael@ellerman.id.au>
Cc: phileas-fogg@mail.ru, linuxppc-dev@ozlabs.org, stable@kernel.org
Subject: Re: [PATCH] powerpc: Apply early paca fixups to boot_paca and the boot cpu's paca
Date: Wed, 13 Feb 2013 16:57:22 -0800 [thread overview]
Message-ID: <1360803442.29312.14.camel@smoke> (raw)
In-Reply-To: <1360716290-15985-1-git-send-email-michael@ellerman.id.au>
On Wed, 2013-02-13 at 11:44 +1100, Michael Ellerman wrote:
> In commit 466921c we added a hack to set the paca data_offset to zero so
> that per-cpu accesses would work on the boot cpu prior to per-cpu areas
> being setup. This fixed a problem with lockdep touching per-cpu areas
> very early in boot.
>
> However if we combine CONFIG_LOCK_STAT=y with any of the PPC_EARLY_DEBUG
> options, we can hit the same problem in udbg_early_init(). To avoid that
> we need to set the data_offset of the boot_paca also. So factor out the
> fixup logic and call it for both the boot_paca, and "the paca of the
> boot cpu".
>
> Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Tested-by: Geoff Levand <geoff@infradead.org>
This fixes a boot hang on the PS3 with ps3_defconfig builds of
linux-3.7.
Please consider applying for linux-3.7.x stable.
-Geoff
prev parent reply other threads:[~2013-02-14 0:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-13 0:44 [PATCH] powerpc: Apply early paca fixups to boot_paca and the boot cpu's paca Michael Ellerman
2013-02-14 0:57 ` Geoff Levand [this message]
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=1360803442.29312.14.camel@smoke \
--to=geoff@infradead.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=michael@ellerman.id.au \
--cc=phileas-fogg@mail.ru \
--cc=stable@kernel.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).