Re: 3.5.0-rc5: BUG: soft lockup - CPU#0 stuck for 22s

2012-07-01 Thread Christian Kujau
On Mon, 2 Jul 2012 at 14:50, Benjamin Herrenschmidt wrote: > Interesting... I observed something roughly similar on a dual G4 > the other day associated with a 30s to 1mn pause during boot. RCU > was complaining loudly. > > In my case, it did continue booting normally, is that the case for you ?

linux-next: manual merge of the signal tree with Linus' tree

2012-07-01 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in arch/powerpc/kernel/entry_64.S between commit c58ce2b1e3c7 ("ppc64: fix missing to check all bits of _TIF_USER_WORK_MASK in preempt") from Linus' tree and commit d07644a97726 ("powerpc: missing NOTIFY_RESUME check on 64bit if CON

[git pull] Please pull powerpc.git merge branch

2012-07-01 Thread Benjamin Herrenschmidt
Hi Linus Here are two more fixes that I "missed" when scrubbing patchwork last week which are worth still having in 3.5. Cheers, Ben. The following changes since commit bc6dc752f35488160ffac07ae91bed1bddaea32a: powerpc/pseries: Fix software invalidate TCE (2012-06-29 14:35:37 +1000) are ava

Re: 3.5.0-rc5: BUG: soft lockup - CPU#0 stuck for 22s

2012-07-01 Thread Benjamin Herrenschmidt
On Sun, 2012-07-01 at 00:18 -0700, Christian Kujau wrote: > Hi, > > while trying to upgrade from 3.4.0 to 3.5.0-rc5 on this Powerbook G4 > (powerpc 32 bit), this happens during booting: > > -- > usb 2-1: new full-speed USB device number 4 using ohci_hcd > SCSI subsystem initialized >

[PATCH] powerpc: Fixup oddity in entry_32.S

2012-07-01 Thread Benjamin Herrenschmidt
When I "fixed" the CONFIG_TRACE_IRQFLAGS case on interrupt entry, I screwed up a little bit with the test for user space vs. kernel. The code is fine, there's just some dead code around it. I basically removed the test and always create the added stack frame whether coming from user or kernel sinc

Re: [RFC PATCH 10/12] memory-hotplug : free memmap of sparse-vmemmap

2012-07-01 Thread Yasuaki Ishimatsu
Hi Jiang, 2012/07/01 0:58, Jiang Liu wrote: > On 06/27/2012 01:56 PM, Yasuaki Ishimatsu wrote: >> I don't think that all pages of virtual mapping in removed memory can be >> freed, since page which type is MIX_SECTION_INFO is difficult to free. >> So, the patch only frees page which type is SECTIO

Re: [RFC PATCH 2/12] memory-hogplug : check memory offline in offline_pages

2012-07-01 Thread Yasuaki Ishimatsu
Hi Jiang, 2012/07/01 0:51, Jiang Liu wrote: > On 06/27/2012 01:44 PM, Yasuaki Ishimatsu wrote: >> When offline_pages() is called to offlined memory, the function fails since >> all memory has been offlined. In this case, the function should succeed. >> The patch adds the check function into offlin

Re: [RFC PATCH 2/12] memory-hogplug : check memory offline in offline_pages

2012-07-01 Thread Yasuaki Ishimatsu
Hi Jiang, Thank you for your feedback. 2012/07/01 0:46, Jiang Liu wrote: > On 06/27/2012 01:44 PM, Yasuaki Ishimatsu wrote: >> When offline_pages() is called to offlined memory, the function fails since >> all memory has been offlined. In this case, the function should succeed. >> The patch adds

Re: MPC5200b jffs2 memcpy alignment problem

2012-07-01 Thread William F.
(SPAM) Em 01-07-2012 03:47, Stephan Gatzka escreveu: Hi Albrecht, > I don't recall who proposed this patch, but exactly this solution is > around for a longer time (mayby you search archives...). On my board, I > have a flash chip attached to the LocalBus in 16-bit mode. Based on > 3.2.16,

Re: [git pull] Please pull powerpc.git merge branch

2012-07-01 Thread Benjamin Herrenschmidt
On Sun, 2012-07-01 at 20:50 +1000, Michael Neuling wrote: > > Here are a few powerpc fixes. Arguably some of this should have come to > > you earlier but I'm only just catching up after my medical leave. > > > > Mostly these fixes regressions, a couple are long standing bugs. > > Benh, > > This

Re: [git pull] Please pull powerpc.git merge branch

2012-07-01 Thread Michael Neuling
> Here are a few powerpc fixes. Arguably some of this should have come to > you earlier but I'm only just catching up after my medical leave. > > Mostly these fixes regressions, a couple are long standing bugs. Benh, This should probably go up now too: http://patchwork.ozlabs.org/patch/167270

Re: [PATCH -V1 4/9] arch/powerpc: Use vsid and segment offset to represent virtual address

2012-07-01 Thread Aneesh Kumar K.V
Benjamin Herrenschmidt writes: > On Fri, 2012-06-29 at 19:47 +0530, Aneesh Kumar K.V wrote: >> >> +/* 78 bit power virtual address */ >> struct virt_addr { >> - unsigned long addr; >> + unsigned long vsid; >> + unsigned long seg_off; >> }; > > Do we really need to do that ?

3.5.0-rc5: BUG: soft lockup - CPU#0 stuck for 22s

2012-07-01 Thread Christian Kujau
Hi, while trying to upgrade from 3.4.0 to 3.5.0-rc5 on this Powerbook G4 (powerpc 32 bit), this happens during booting: -- usb 2-1: new full-speed USB device number 4 using ohci_hcd SCSI subsystem initialized scsi0 : SBP-2 IEEE-1394 scsi1 : SBP-2 IEEE-1394 firewire_sbp2 fw1.0: logged