Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-07 Thread Linus Walleij
On Tue, Mar 6, 2012 at 11:33 PM, Russell King - ARM Linux wrote: > This patch series cleans up the handling of cookies in DMA engine drivers. > This is done by providing a set of inline library functions for common > tasks: I just applied the latest patches right off and tested with some stressy

RE: [PATCH 1/9] pci_ids: Add device ID for IBM PCI-X bridge

2012-03-07 Thread Zhao Chenhui-B35336
> On Mar 6, 2012, at 3:05 AM, Zhao Chenhui wrote: > > > Signed-off-by: Zhao Chenhui > > --- > > include/linux/pci_ids.h |1 + > > 1 files changed, 1 insertions(+), 0 deletions(-) > > Just merge this with the 2nd patch that actually uses the ID. > > - k Ok. I put it in the file mpc85xx_cds.c

Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-07 Thread Russell King - ARM Linux
On Wed, Mar 07, 2012 at 09:33:49AM +0100, Linus Walleij wrote: > On Tue, Mar 6, 2012 at 11:33 PM, Russell King - ARM Linux > wrote: > > > This patch series cleans up the handling of cookies in DMA engine drivers. > > This is done by providing a set of inline library functions for common > > tasks

RE: [PATCH 2/9] powerpc/mpc85xxcds: Fix PCI I/O space resource of PCI bridge

2012-03-07 Thread Zhao Chenhui-B35336
> > diff --git a/arch/powerpc/platforms/85xx/mpc85xx_cds.c > > b/arch/powerpc/platforms/85xx/mpc85xx_cds.c > > index 40f03da..c009c5b 100644 > > --- a/arch/powerpc/platforms/85xx/mpc85xx_cds.c > > +++ b/arch/powerpc/platforms/85xx/mpc85xx_cds.c > > @@ -3,7 +3,7 @@ > > * > > * Maintained by Kumar

Re: [PATCH 2/9] powerpc/mpc85xxcds: Fix PCI I/O space resource of PCI bridge

2012-03-07 Thread Kumar Gala
On Mar 7, 2012, at 3:31 AM, Zhao Chenhui-B35336 wrote: >>> diff --git a/arch/powerpc/platforms/85xx/mpc85xx_cds.c >>> b/arch/powerpc/platforms/85xx/mpc85xx_cds.c >>> index 40f03da..c009c5b 100644 >>> --- a/arch/powerpc/platforms/85xx/mpc85xx_cds.c >>> +++ b/arch/powerpc/platforms/85xx/mpc85xx_cd

Re: [PATCH] spufs raises two exceptions

2012-03-07 Thread Arnd Bergmann
On Wednesday 07 March 2012, Benjamin Herrenschmidt wrote: > On Wed, 2012-03-07 at 14:49 +1100, Benjamin Herrenschmidt wrote: > > On Tue, 2012-03-06 at 10:26 +0100, masterzorag wrote: > > > I'm running my test program, it uses all available spus to compute via > > > OpenCL > > > kernel 3.2.5 on a p

Re: [PATCH] powerpc/srio: Fix the compile errors when building with 64bit

2012-03-07 Thread Liu Gang
Hi, Kumar, On Tue, 2012-03-06 at 11:46 -0600, Kumar Gala wrote: > How about a struct instead: > > struct rmu_dmsg { > u16 dummy; > u16 tid; > u16 sid; > u16 info; > }; > > struct rmu_dmsg *dmsg = fsl_dbell->dbell_ring.virt + > (in_be32(&fsl_dbell->d

[PATCH v2] powerpc/srio: Fix the compile errors when building with 64bit

2012-03-07 Thread Liu Gang
For the file "arch/powerpc/sysdev/fsl_rmu.c", there will be some compile errors while using the corenet64_smp_defconfig: .../fsl_rmu.c:315: error: cast from pointer to integer of different size .../fsl_rmu.c:320: error: cast to pointer from integer of different size .../fsl_rmu.c:320: error: cast

RE: [PATCH v2] powerpc/srio: Fix the compile errors when building with 64bit

2012-03-07 Thread David Laight
> diff --git a/arch/powerpc/sysdev/fsl_rmu.c b/arch/powerpc/sysdev/fsl_rmu.c > index 1548578..1bba6d1 100644 > --- a/arch/powerpc/sysdev/fsl_rmu.c > +++ b/arch/powerpc/sysdev/fsl_rmu.c > @@ -657,7 +658,8 @@ fsl_add_outb_message(struct rio_mport > *mport, struct rio_dev *rdev, int mbox, > in

Re: [PATCH 1/2] powerpc/e500: make load_up_spe a normal fuction

2012-03-07 Thread Alexander Graf
On 02/28/2012 08:09 AM, Yin Olivia-R63875 wrote: Hi Scott, This had been reviewed before and accepted by internal tree. http://linux.freescale.net/patchwork/patch/11100/ http://git.am.freescale.net/gitolite/gitweb.cgi/sdk/kvm.git/commit/?h=for-sdk1.2&id=c5088844dc665dbdae4fa51b8d58dc203bacc17e

Re: [PATCH v2 1/2] powerpc/e500: make load_up_spe a normal fuction

2012-03-07 Thread Alexander Graf
On 03/01/2012 02:20 AM, Olivia Yin wrote: From: Liu Yu So that we can call it when improving SPE switch like book3e did for fp switch. Timur / Scott, can you please (n)ack this one? Alex Signed-off-by: Liu Yu Signed-off-by: Olivia Yin --- v2: add Signed-off-by arch/powerpc/kernel/hea

Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-07 Thread Vinod Koul
On Tue, 2012-03-06 at 22:33 +, Russell King - ARM Linux wrote: > [v2 - more or less same description. Including lakml in cc for the full > set] > > This patch series cleans up the handling of cookies in DMA engine drivers. > This is done by providing a set of inline library functions for comm

Re: [PATCH v2] powerpc/dts: fix the compatible string of sec 4.0

2012-03-07 Thread Haiying Wang
On Wed, 2012-03-07 at 13:20 +0800, Shengzhou Liu wrote: > From: Liu Shuo > > Fix the compatible string of sec 4.0 to match with CAMM driver according %s/CAMM/CAAM. Haiying > to Documentation/devicetree/bindings/crypto/fsl-sec4.txt > > Signed-off-by: Liu Shuo > Signed-off-by: Shengzhou Liu >

Re: [PATCH 6/9] powerpc/mpc8548cds: Add FPGA node to dts

2012-03-07 Thread Tabi Timur-B04825
On Tue, Mar 6, 2012 at 3:06 AM, Zhao Chenhui wrote: > From: chenhui zhao > > Remove FPGA(CADMUS) macros in code. Move it to dts. > > Signed-off-by: Zhao Chenhui > Signed-off-by: Li Yang > --- Acked-by: Timur Tabi -- Timur Tabi Linux kernel developer at Freescale ___

Re: [PATCH 6/9] powerpc/mpc8548cds: Add FPGA node to dts

2012-03-07 Thread Timur Tabi
On Tue, Mar 6, 2012 at 3:06 AM, Zhao Chenhui wrote: > From: chenhui zhao > > Remove FPGA(CADMUS) macros in code. Move it to dts. > > Signed-off-by: Zhao Chenhui > Signed-off-by: Li Yang > --- Acked-by: Timur Tabi -- Timur Tabi Linux kernel developer at Freescale __

Re: [PATCH v2 1/2] powerpc/e500: make load_up_spe a normal fuction

2012-03-07 Thread Scott Wood
On 03/07/2012 07:56 AM, Alexander Graf wrote: > On 03/01/2012 02:20 AM, Olivia Yin wrote: >> From: Liu Yu >> >> So that we can call it when improving SPE switch like book3e did for >> fp switch. > > Timur / Scott, can you please (n)ack this one? ACK, though as it touches non-KVM code it'd be nice

Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-07 Thread Jassi Brar
On Wed, Mar 7, 2012 at 4:03 AM, Russell King - ARM Linux wrote: > [v2 - more or less same description.  Including lakml in cc for the full > set] > > This patch series cleans up the handling of cookies in DMA engine drivers. > This is done by providing a set of inline library functions for common

Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-07 Thread Russell King - ARM Linux
On Wed, Mar 07, 2012 at 11:39:25PM +0530, Jassi Brar wrote: > Compilation is broken without the following minor fix. > After that you may add >Acked-by: Jassi Brar > > diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c > index 49c123f..abf35a3 100644 > --- a/drivers/dma/pl330.c > +++

Re: [PATCH v2 0/9] DMA engine cookie handling cleanups

2012-03-07 Thread Jassi Brar
On Wed, Mar 7, 2012 at 11:51 PM, Russell King - ARM Linux wrote: > On Wed, Mar 07, 2012 at 11:39:25PM +0530, Jassi Brar wrote: >> Compilation is broken without the following minor fix. >> After that you may add >>        Acked-by: Jassi Brar >> >> diff --git a/drivers/dma/pl330.c b/drivers/dma/pl

Re: [PATCH] spufs raises two exceptions

2012-03-07 Thread Benjamin Herrenschmidt
> > diff --git a/arch/powerpc/platforms/cell/spufs/inode.c > > b/arch/powerpc/platforms/cell/spufs/inode.c > > index d4a094c..63b4e43 100644 > > --- a/arch/powerpc/platforms/cell/spufs/inode.c > > +++ b/arch/powerpc/platforms/cell/spufs/inode.c > > @@ -454,19 +454,16 @@ spufs_create_context(struc

Re: tlb flushing on Power

2012-03-07 Thread Seth Jennings
On 03/06/2012 11:28 PM, Michael Neuling wrote: > Seth, > >> Thanks for the help! I was wondering if you could take a look at something >> for me. >> >> I've been working on this staging driver (zsmalloc memory allocator) >> that does virtual mapping of two pages. >> >> I have a github repo with t

Re: [PATCH] spufs raises two exceptions

2012-03-07 Thread Al Viro
> No it's not, it all goes together. spufs_create_context() always > unlocked & dropped the dentry before returning, so I assumed the > lock had to be dropped before fsnotify. > > Note that if the problem is that the lock has to be dropped before > spu_forget(), then we should indeed move it back

Re: [PATCH] powerpc/85xx: don't call of_platform_bus_probe() twice

2012-03-07 Thread Timur Tabi
Timur Tabi wrote: > Commit 46d026ac ("powerpc/85xx: consolidate of_platform_bus_probe calls") > replaced platform-specific of_device_id tables with a single function > that probes the most of the busses in 85xx device trees. If a specific > platform needed additional busses probed, then it could c

[PATCH v3 10/34] powerpc/PCI: allow reallocation on PA Semi

2012-03-07 Thread Bjorn Helgaas
We believe there's no reason to prevent reallocation on PA Semi, so revert to the default of "allow reallocation if necessary." CC: Olof Johansson CC: Benjamin Herrenschmidt CC: linuxppc-dev@lists.ozlabs.org Signed-off-by: Bjorn Helgaas --- arch/powerpc/platforms/pasemi/pci.c |3 --- 1 fil

[PATCH v3 11/34] powerpc/PCI: replace pci_probe_only with pci_flags

2012-03-07 Thread Bjorn Helgaas
We already use pci_flags, so this just sets pci_flags directly and removes the intermediate step of figuring out pci_probe_only, then using it to set pci_flags. The PCI core provides a pci_flags definition (currently __weak), so drop the powerpc definitions in favor of that. Acked-by: Benjamin He

[PATCH v3 27/34] powerpc/PCI: get rid of device resource fixups

2012-03-07 Thread Bjorn Helgaas
Tell the PCI core about host bridge address translation so it can take care of bus-to-resource conversion for us. Previously, powerpc used a HEADER quirk to perform this address fixup in the following path: pci_device_add() pci_fixup_device(pci_fixup_header, dev) pcibios_fixup_r

Re: [PATCH v3 10/34] powerpc/PCI: allow reallocation on PA Semi

2012-03-07 Thread Olof Johansson
On Wed, Mar 7, 2012 at 2:32 PM, Bjorn Helgaas wrote: > We believe there's no reason to prevent reallocation on PA Semi, so > revert to the default of "allow reallocation if necessary." > > CC: Olof Johansson > CC: Benjamin Herrenschmidt > CC: linuxppc-dev@lists.ozlabs.org > Signed-off-by: Bjorn

Re: [PATCH] spufs raises two exceptions

2012-03-07 Thread Arnd Bergmann
On Wednesday 07 March 2012, Al Viro wrote: > > No it's not, it all goes together. spufs_create_context() always > > unlocked & dropped the dentry before returning, so I assumed the > > lock had to be dropped before fsnotify. > > > > Note that if the problem is that the lock has to be dropped befor

Re: [PATCH v2] powerpc/dts: fix the compatible string of sec 4.0

2012-03-07 Thread Kim Phillips
On Wed, 7 Mar 2012 13:20:06 +0800 Shengzhou Liu wrote: > From: Liu Shuo > > Fix the compatible string of sec 4.0 to match with CAMM driver according > to Documentation/devicetree/bindings/crypto/fsl-sec4.txt > > Signed-off-by: Liu Shuo > Signed-off-by: Shengzhou Liu > --- > v2: refine descri

linux-next: manual merge of the powerpc tree with the arm tree

2012-03-07 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the powerpc tree got a conflict in arch/powerpc/Kconfig between commit 2ed86b16eabe ("irq: make SPARSE_IRQ an optionally hidden option") from the arm tree and commit ad5b7f1350c2 ("powerpc: Make SPARSE_IRQ required") from the powerpc tree. I fixed it up (see be

Re: linux-next: manual merge of the powerpc tree with the arm tree

2012-03-07 Thread Michael Neuling
> Today's linux-next merge of the powerpc tree got a conflict in > arch/powerpc/Kconfig between commit 2ed86b16eabe ("irq: make SPARSE_IRQ > an optionally hidden option") from the arm tree and commit ad5b7f1350c2 > ("powerpc: Make SPARSE_IRQ required") from the powerpc tree. > > I fixed it up (see

RE: [PATCH v2] powerpc/dts: fix the compatible string of sec 4.0

2012-03-07 Thread Liu Shengzhou-B36685
> -Original Message- > From: Phillips Kim-R1AAHA > Sent: Thursday, March 08, 2012 7:26 AM > To: Liu Shengzhou-B36685 > Cc: linuxppc-dev@lists.ozlabs.org; sta...@kernel.org; Liu Shuo-B35362 > Subject: Re: [PATCH v2] powerpc/dts: fix the compatible string of sec > 4.0 > > On Wed, 7 Mar 201

[PATCH] powerpc: Remove the main legacy iSerie platform code

2012-03-07 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell --- arch/powerpc/platforms/Makefile |1 - arch/powerpc/platforms/iseries/Makefile |9 - arch/powerpc/platforms/iseries/call_hpt.h | 102 -- arch/powerpc/platforms/iseries/call_pci.h | 309 - arch/powerpc/pl

Re: linux-next: manual merge of the powerpc tree with the arm tree

2012-03-07 Thread Stephen Rothwell
Hi Mikey, On Thu, 08 Mar 2012 13:33:56 +1100 Michael Neuling wrote: > > Surely we only need SPARSE_IRQ now and not MAY_HAVE_SPARSE_IRQ. > > In fact, keeping MAY_HAVE_SPARSE_IRQ seems to make SPARSE_IRQ user > selectable, which we don't want anymore since ad5b7f1350c2. Yes, indeed. I will fix

[PATCH 0/7] powerpc: remove the legacy iSeries platform specific drivers

2012-03-07 Thread Stephen Rothwell
Hi all, This series of patches removes all the legacy iSeries platform specific drivers (and the iSeries specific part of one). The legacy iSeries platform main code has already bee removed along with CONFIG_PPC_ISERIES, so none of this code is selectable or needed any more. It would probably be

[PATCH 1/7] powerpc: Remove some of the legacy iSeries specifi device drivers

2012-03-07 Thread Stephen Rothwell
These drivers are specific to the PowerPC legacy iSeries platform and their Kconfig is specified in arch/powerpc. Legacy iSeries is being removed, so these drivers can no longer be selected. Cc: Jens Axboe Signed-off-by: Stephen Rothwell --- drivers/block/viodasd.c | 809 -

[PATCH 2/7] net: powerpc: remove the legacy iSeries ethernet driver

2012-03-07 Thread Stephen Rothwell
This driver is specific to the PowerPC legcay iSeries platform which is being removed. Cc: David Miller Cc: Signed-off-by: Stephen Rothwell --- drivers/net/ethernet/ibm/Kconfig|4 - drivers/net/ethernet/ibm/Makefile |1 - drivers/net/ethernet/ibm/iseries_veth.c | 1710 ---

[PATCH 3/7] [SCSI] powerpc: remove the legacy iSeries part of ibmvscsi

2012-03-07 Thread Stephen Rothwell
The PowerPC legacy iSeries platform is being removed and this code is no longer selectable. There is more clean up that can be done, but this just gets the old code out of the way. Cc: "James E.J. Bottomley" Cc: Brian King Cc: linux-s...@vger.kernel.org Signed-off-by: Stephen Rothwell --- dri

[PATCH 4/7] tty: powerpc: remove hvc_iseries

2012-03-07 Thread Stephen Rothwell
The PowerPC legacy iSeries platform is being removed, so this code is no longer needed. Cc: Greg Kroah-Hartman Signed-off-by: Stephen Rothwell --- drivers/tty/hvc/Kconfig | 10 - drivers/tty/hvc/Makefile |1 - drivers/tty/hvc/hvc_iseries.c | 599 ---

[PATCH 5/7] tty: powerpc: remove SERIAL_ICOM dependency on PPC_ISERIES

2012-03-07 Thread Stephen Rothwell
The PowerPC legacy iSeries platform is being removed so this is no longer selectable. Cc: Alan Cox Cc: Greg Kroah-Hartman Cc: linux-ser...@vger.kernel.org Signed-off-by: Stephen Rothwell --- drivers/tty/serial/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dr

[PATCH 6/7] driver-core: remove legacy iSeries hack

2012-03-07 Thread Stephen Rothwell
The PowerPC legacy iSeries plateform is being removed along with the "one looney iseries driver", so this code can now be removed as well. cc: Greg Kroah-Hartman Signed-off-by: Stephen Rothwell --- drivers/base/driver.c | 30 -- include/linux/device.h |4

[PATCH 7/7] powerpc: clean up vio.c

2012-03-07 Thread Stephen Rothwell
This cleans up vio.c after the removal of the legacy iSeries platform. It also removes some no longer referenced include files. Signed-off-by: Stephen Rothwell --- arch/powerpc/include/asm/iseries/hv_call_event.h | 201 arch/powerpc/include/asm/iseries/hv_lp_event.h | 162 --

Re: linux-next: manual merge of the powerpc tree with the arm tree

2012-03-07 Thread Benjamin Herrenschmidt
On Thu, 2012-03-08 at 14:51 +1100, Stephen Rothwell wrote: > Hi Mikey, > > On Thu, 08 Mar 2012 13:33:56 +1100 Michael Neuling wrote: > > > > Surely we only need SPARSE_IRQ now and not MAY_HAVE_SPARSE_IRQ. > > > > In fact, keeping MAY_HAVE_SPARSE_IRQ seems to make SPARSE_IRQ user > > selectable

RE: [PATCH v2] powerpc/srio: Fix the compile errors when building with 64bit

2012-03-07 Thread Liu Gang
Hi, David, On Wed, 2012-03-07 at 13:18 +, David Laight wrote: > > pr_debug("RIO: fsl_add_outb_message(): destid %4.4x mbox %d > buffer " \ > > -"%8.8x len %8.8x\n", rdev->destid, mbox, (int)buffer, > len); > > +"%8.8lx len %8.8zx\n", rdev->destid, mbox, > > +

Re: [PATCH 2/7] net: powerpc: remove the legacy iSeries ethernet driver

2012-03-07 Thread David Miller
From: Stephen Rothwell Date: Thu, 8 Mar 2012 15:33:53 +1100 > This driver is specific to the PowerPC legcay iSeries platform which is > being removed. > > Cc: David Miller > Cc: > Signed-off-by: Stephen Rothwell Acked-by: David S. Miller ___ Linux

Re: [PATCH 0/7] powerpc: remove the legacy iSeries platform specific drivers

2012-03-07 Thread David Miller
From: Stephen Rothwell Date: Thu, 8 Mar 2012 15:28:53 +1100 > It would probably be easiest if all these patches were merged via the > powerpc tree to eliminate any dependencies between them. Their impact on > generic code is very small. No objections. ___

RE: [PATCH 1/9] pci_ids: Add device ID for IBM PCI-X bridge

2012-03-07 Thread Zang Roy-R61911
> -Original Message- > From: linuxppc-dev-bounces+tie-fei.zang=freescale@lists.ozlabs.org > [mailto:linuxppc-dev-bounces+tie-fei.zang=freescale@lists.ozlabs.org] > On Behalf Of Kumar Gala > Sent: Tuesday, March 06, 2012 20:14 PM > To: Zhao Chenhui-B35336 > Cc: linux-...@vger.kerne