[PATCH] powerpc: Add an in memory udbg console

2013-04-29 Thread Alistair Popple
This patch adds a new udbg early debug console which utilises statically defined input and output buffers stored within the kernel BSS. It is primarily designed to assist with bring up of new hardware which may not have a working console but which has a method of reading/writing kernel memory.

[PATCH] powerpc: Fix missing doorbell IPIs during nap power saving

2013-04-29 Thread Ian Munsie
From: Ian Munsie imun...@au1.ibm.com If a doorbell IPI comes in while a thread is in nap power saving, the doorbell interrupt won't be replayed by the hardware since it is edge sensitive. Currently we are not replaying these interrupts in software, which can cause threads to miss IPIs that come

Re: [PATCH] powerpc: Fix missing doorbell IPIs during nap power saving

2013-04-29 Thread Benjamin Herrenschmidt
On Mon, 2013-04-29 at 18:17 +1000, Ian Munsie wrote: This is not an issue with other interrupts that can wake a thread (external, decrementer) as they are level sensitive and will continue to be asserted by the hardware. However, it might be worth experimenting setting the corresponding bits

Re: [PATCH] powerpc: Add an in memory udbg console

2013-04-29 Thread Benjamin Herrenschmidt
On Mon, 2013-04-29 at 16:24 +1000, Alistair Popple wrote: This patch adds a new udbg early debug console which utilises statically defined input and output buffers stored within the kernel BSS. It is primarily designed to assist with bring up of new hardware which may not have a working

Please pull 'next' branch of 5xxx tree

2013-04-29 Thread Anatolij Gustschin
Hi Ben ! Please pull mpc5xxx patches for v3.10. There are some changes for mpc5121 generic platform code to support mpc5125 SoC and DTS files for ac14xx and MPC5125-TWR boards. All these patches have already been in linux-next for a while. Thanks, Anatolij The following changes since commit

[PATCH] powerpc/booke: remove obsolete macro FINISH_EXCEPTION

2013-04-29 Thread Kevin Hao
This is stale and not used by anyone now. Signed-off-by: Kevin Hao haoke...@gmail.com --- This passed the build test with the ppc44x_defconfig, corenet32_smp_defconfig. arch/powerpc/kernel/head_booke.h | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/powerpc/kernel/head_booke.h

RE: [PATCH 1/3] rapidio: make enumeration/discovery configurable

2013-04-29 Thread Bounine, Alexandre
On Fri, 26 Apr 2013 6:53 PM Andrew Morton a...@linux-foundation.org wrote: Subject: Re: [PATCH 1/3] rapidio: make enumeration/discovery configurable This Kconfig change makes my kbuild do Weird Things. make mrproper ; yes | make allmodconfig ; make 2/tmp/x ... skip ... : DMA Engine

[PATCH] powerpc/pseries: correct builds break when CONFIG_SMP not defined

2013-04-29 Thread Nathan Fontenot
Correct build failure for powerpc/pseries builds with CONFIG_SMP not defined. The function cpu_sibling_mask has no meaning (or definition) when CONFIG_SMP is not defined. Additionally, the updating of NUMA affinity for a CPU in a UP system doesn't really make sense. This patch ifdef's out the

Re: [PATCH] powerpc: Fix missing doorbell IPIs during nap power saving

2013-04-29 Thread Greg KH
On Mon, Apr 29, 2013 at 06:17:40PM +1000, Ian Munsie wrote: From: Ian Munsie imun...@au1.ibm.com If a doorbell IPI comes in while a thread is in nap power saving, the doorbell interrupt won't be replayed by the hardware since it is edge sensitive. Currently we are not replaying these

Re: [PATCH] powerpc/fsl-pci: don't unmap the PCI SoC controller registers in setup_pci_atmu

2013-04-29 Thread Kumar Gala
On Apr 13, 2013, at 2:14 AM, Kevin Hao wrote: In patch 34642bbb (powerpc/fsl-pci: Keep PCI SoC controller registers in pci_controller) we choose to keep the map of the PCI SoC controller registers. But we missed to delete the unmap in setup_pci_atmu function. This will cause the following

Re: [PATCH] powerpc/fsl-booke: add the reg property for pci bridge device node for t4/b4xx boards

2013-04-29 Thread Kumar Gala
On Apr 14, 2013, at 12:40 AM, Kevin Hao wrote: The reg property in the pci bridge device node is used to bind this device node to the pci bridge device. Then all the pci devices under this bridge could use the interrupt maps defined in this device node to do the irq translation. So if this

Re: [PATCH v2] powerpc/dts: Fix the dts for p1025rdb 36bit

2013-04-29 Thread Kumar Gala
On Mar 24, 2013, at 8:23 PM, Zhicheng Fan wrote: fix the following errors: Error: arch/powerpc/boot/dts/p1025rdb.dtsi:326.2-3 label or path, 'qe', not found Error: arch/powerpc/boot/dts/fsl/p1021si-post.dtsi:242.2-3 label or path, 'qe', not found FATAL ERROR: Syntax

[git pull] Please pull powerpc.git next branch

2013-04-29 Thread Kumar Gala
Ben, Add support for T4 and B4 SoC families from Freescale, e6500 altivec support, some various board fixes and other minor cleanups. - k The following changes since commit 54c9b2253d34e8998e4bff9ac2d7a3ba0b861d52: powerpc: Set DSCR bit in FSCR setup (2013-03-05 16:56:30 +1100) are

Re: [PATCH v2 12/15] powerpc/85xx: add time base sync support for e6500

2013-04-29 Thread Scott Wood
On 04/28/2013 04:56:34 AM, Zhao Chenhui wrote: On Thu, Apr 25, 2013 at 07:07:24PM -0500, Scott Wood wrote: On 04/24/2013 07:28:18 PM, Zhao Chenhui wrote: On Wed, Apr 24, 2013 at 05:38:16PM -0500, Scott Wood wrote: We shouldn't base it on CPU_FTR_SMT. For example, e6500 doesn't claim that

Re: [PATCH 2/2 V7] powerpc/85xx: Add machine check handler to fix PCIe erratum on mpc85xx

2013-04-29 Thread Scott Wood
On 04/26/2013 09:26:26 PM, Jia Hongtao-B38951 wrote: -Original Message- From: Wood Scott-B07421 Sent: Friday, April 26, 2013 12:58 AM To: Segher Boessenkool Cc: Jia Hongtao-B38951; linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org; Wood Scott-B07421 Subject: Re: [PATCH 2/2

Re: linux-next: build failure after merge of the cgroup tree

2013-04-29 Thread Tejun Heo
Hello, On Mon, Apr 29, 2013 at 02:04:33PM +1000, Stephen Rothwell wrote: I have added the following merge fix patch for today (but it should be applied to the powerpc tree ASAP). From: Stephen Rothwell s...@canb.auug.org.au Date: Mon, 29 Apr 2013 14:01:44 +1000 Subject: [PATCH] powerpc:

Re: [PATCH] powerpc: fix usage of setup_pci_atmu()

2013-04-29 Thread Stephen Rothwell
Hi Kumar, On Mon, 15 Apr 2013 15:42:01 +1000 Michael Neuling mi...@neuling.org wrote: Linux next is currently failing to compile mpc85xx_defconfig with: arch/powerpc/sysdev/fsl_pci.c:944:2: error: too many arguments to function 'setup_pci_atmu' This is caused by (from Kumar's next

Re: [PATCH] powerpc: fix usage of setup_pci_atmu()

2013-04-29 Thread Benjamin Herrenschmidt
On Tue, 2013-04-30 at 09:06 +1000, Stephen Rothwell wrote: This is still not in your tree ... I'll apply it after I merge kumar stuff. Cheers, Ben. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

Re: linux-next: build failure after merge of the cgroup tree

2013-04-29 Thread Benjamin Herrenschmidt
On Mon, 2013-04-29 at 15:55 -0700, Tejun Heo wrote: Benjamin, can you please pick this up? Thanks a lot and sorry about the trouble. Done. Cheers, Ben. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

Re: [PATCH -V7 01/18] mm/THP: HPAGE_SHIFT is not a #define on some arch

2013-04-29 Thread David Gibson
On Mon, Apr 29, 2013 at 01:07:22AM +0530, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com On archs like powerpc that support different hugepage sizes, HPAGE_SHIFT and other derived values like HPAGE_PMD_ORDER are not constants. So move that to hugepage_init

Re: [PATCH -V7 01/18] mm/THP: HPAGE_SHIFT is not a #define on some arch

2013-04-29 Thread David Gibson
On Tue, Apr 30, 2013 at 12:21:49PM +1000, David Gibson wrote: On Mon, Apr 29, 2013 at 01:07:22AM +0530, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com On archs like powerpc that support different hugepage sizes, HPAGE_SHIFT and other derived values like

Re: [PATCH -V7 01/18] mm/THP: HPAGE_SHIFT is not a #define on some arch

2013-04-29 Thread Aneesh Kumar K.V
David Gibson d...@au1.ibm.com writes: On Mon, Apr 29, 2013 at 01:07:22AM +0530, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com On archs like powerpc that support different hugepage sizes, HPAGE_SHIFT and other derived values like HPAGE_PMD_ORDER are not

[PATCH v2] powerpc: Add an in memory udbg console

2013-04-29 Thread Alistair Popple
This patch adds a new udbg early debug console which utilises statically defined input and output buffers stored within the kernel BSS. It is primarily designed to assist with bring up of new hardware which may not have a working console but which has a method of reading/writing kernel memory.

Re: [PATCH -V7 01/18] mm/THP: HPAGE_SHIFT is not a #define on some arch

2013-04-29 Thread David Gibson
On Tue, Apr 30, 2013 at 09:12:09AM +0530, Aneesh Kumar K.V wrote: David Gibson d...@au1.ibm.com writes: On Mon, Apr 29, 2013 at 01:07:22AM +0530, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com On archs like powerpc that support different hugepage sizes,

Re: [PATCH -V7 09/18] powerpc: Switch 16GB and 16MB explicit hugepages to a different page table format

2013-04-29 Thread David Gibson
On Mon, Apr 29, 2013 at 01:07:30AM +0530, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com We will be switching PMD_SHIFT to 24 bits to facilitate THP impmenetation. With PMD_SHIFT set to 24, we now have 16MB huge pages allocated at PGD level. That means with 32

Re: [PATCH -V7 08/18] powerpc: New hugepage directory format

2013-04-29 Thread David Gibson
On Mon, Apr 29, 2013 at 01:07:29AM +0530, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com Change the hugepage directory format so that we can have leaf ptes directly at page directory avoiding the allocation of hugepage directory. With the new table format we