Re: [PATCH] powerpc: Apply early paca fixups to boot_paca and the boot cpu's paca

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 12, 2013 at 01:19:25PM -0700, Geoff Levand wrote:
> powerpc: Apply early paca fixups to boot_paca and the boot cpu's paca
>     
> 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@xxxxxxxxxxxxxx>
> Tested-by: Geoff Levand <geoff@xxxxxxxxxxxxx>
> Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
> 
> ---
> 
> Hi,
> 
> commit 25e138149c19fa0680147b825be475f5fd57f155 upstream
> 
> 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.

3.7.x went end-of-life a month or so ago, there are no more releases for
that kernel anymore, sorry.  Should it go into 3.8.x?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]