Re: [Patch 0/5] PPC64-HWBKPT: Hardware Breakpoint interfaces - ver XXII

2010-06-04 Thread K.Prasad
On Wed, Jun 02, 2010 at 09:33:16PM +1000, Paul Mackerras wrote: On Fri, May 28, 2010 at 12:09:24PM +0530, K.Prasad wrote: Please find a new set of patches that have the following changes. Thanks. There are a couple of minor things still remaining (dangling put_cpu in

[PATCH] powerpc/44x: Fix UART2/3 interrupt assignment in PPC460EX/GT dts files

2010-06-04 Thread Stefan Roese
UART2 and UART3 on 460EX/GT have incorrect interrupt mappings right now. UART2 should be 28 (0x1c) and UART3 29 (0x1d). This patch fixes this and switches to using decimal number instead of hex, since the AppliedMicro (AMCC) users manuals describe their inerrupt numbers in decimal. Thanks to

[PATCH]Device tree update for the 460ex DWC SATAresubmission

2010-06-04 Thread Rupjyoti Sarmah
Device tree update for the Applied micro processor 460ex on-chip SATA Signed-off-by: Rupjyoti Sarmah rsar...@appliedmicro.com --- arch/powerpc/boot/dts/canyonlands.dts |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/canyonlands.dts

Re: [Patch 0/5] PPC64-HWBKPT: Hardware Breakpoint interfaces - ver XXII

2010-06-04 Thread Paul Mackerras
On Fri, Jun 04, 2010 at 12:21:45PM +0530, K.Prasad wrote: Meanwhile I tested the per-cpu breakpoints with the new emulate_step patch (refer linuxppc-dev message-id: 20100602112903.gb30...@brick.ozlabs.ibm.com) and they continue to fail due to emulate_step() failure, in my case, on a lwz

[PATCH]Device tree update for the 460ex DWC SATAresubmission

2010-06-04 Thread Rupjyoti Sarmah
Device tree update for the Applied micro processor 460ex on-chip SATA Signed-off-by: Rupjyoti Sarmah rsar...@amcc.com --- arch/powerpc/boot/dts/canyonlands.dts |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/canyonlands.dts

Re: [PATCH] powerpc/oprofile: fix potential buffer overrun in op_model_cell.c

2010-06-04 Thread Robert Richter
On 01.06.10 15:43:34, Denis Kirjanov wrote: Fix potential initial_lfsr buffer overrun. Writing past the end of the buffer could happen when index == ENTRIES Signed-off-by: Denis Kirjanov dkirja...@kernel.org Patch applied to git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git

fsl_rio.c build problem

2010-06-04 Thread kerstin jonsson
Hi, I'm using: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git and building for ARCH=powerpc - mpc85xx_defconfig arch/powerpc/sysdev/fsl_rio.c will not build due to a missing MCSR_MASK bitmask definition. The attached patch is based on code found in

[PATCH]460EX on-chip SATA driverkernel 2.6.33resubmission

2010-06-04 Thread Rupjyoti Sarmah
This patch enables the on-chip DWC SATA controller of the AppliedMicro processor 460EX. Signed-off-by: Rupjyoti Sarmah rsar...@appliedmicro.com Signed-off-by: Mark Miesfeld mmiesf...@appliedmicro.com Signed-off-by: Prodyut Hazarika phazar...@appliedmicro.com --- drivers/ata/Kconfig |

Re: [PATCH] kvm/powerpc: fix a build error in e500_tlb.c

2010-06-04 Thread Alexander Graf
On 03.06.2010, at 07:52, Kevin Hao wrote: We use the wrong number arguments when invoking trace_kvm_stlb_inval, and cause the following build error. arch/powerpc/kvm/e500_tlb.c: In function 'kvmppc_e500_stlbe_invalidate': arch/powerpc/kvm/e500_tlb.c:230: error: too many arguments to function

Re: [PATCH 0/5] Rework MPC5121 DIU support (for 2.6.35)

2010-06-04 Thread Timur Tabi
On Tue, Jun 1, 2010 at 4:38 AM, Anatolij Gustschin ag...@denx.de wrote: Could you please test these patches on MPC8610 HPCD? I think these changes won't break that platform. The patches apply cleanly on 2.6.35-rc1. I'll try to get to them as soon as I can. -- Timur Tabi Linux kernel

Re: [PATCH 1/1] [SCSI] ipr: fix resource path display and formatting

2010-06-04 Thread Brian King
Acked-by: Brian King brk...@linux.vnet.ibm.com On 06/03/2010 06:02 PM, Wayne Boyer wrote: It was possible to overflow the buffer used to print out the formatted version of the resource path. The fix is to limit the number of bytes that get formatted. This patch also updates the

Re: fsl_rio.c build problem

2010-06-04 Thread Scott Wood
On 06/04/2010 06:24 AM, kerstin jonsson wrote: Hi, I'm using: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git and building for ARCH=powerpc - mpc85xx_defconfig arch/powerpc/sysdev/fsl_rio.c will not build due to a missing MCSR_MASK bitmask definition. The attached patch

[PATCH 2/2] of: kill struct of_device

2010-06-04 Thread Grant Likely
Now that the device tree node pointer has been moved out of struct of_device and into the common struct device, there isn't anything unique about of_device anymore. In fact, there isn't much need for a separate of_bus when all busses have access to OF style probing. arch/powerpc and

[PATCH 1/5] of/irq: Move irq_of_parse_and_map() to common code

2010-06-04 Thread Grant Likely
Merge common code between PowerPC and Microblaze. SPARC implements irq_of_parse_and_map(), but the implementation is different, so it does not use this code. Signed-off-by: Grant Likely grant.lik...@secretlab.ca CC: Michal Simek mon...@monstr.eu CC: David S. Miller da...@davemloft.net CC:

[PATCH 0/2] Replace of_device with platform_device

2010-06-04 Thread Grant Likely
This series is based on Linus' current tree.  It eliminate struct of_device in preparation for the merge of of_platform_bus_type and platform_bus_type. Assuming there are no objections, I'll be putting these to linux-next to stew sometime next week. g. --- Grant Likely (2):      sparc/of: Move

[PATCH 3/5] of/irq: merge of_irq_find_parent()

2010-06-04 Thread Grant Likely
Merge common code between PowerPC and Microblaze. Also create a new arch hook, of_irq_find_parent_by_phandle() to handle arch-specific quirks. Signed-off-by: Grant Likely grant.lik...@secretlab.ca CC: Michal Simek mon...@monstr.eu CC: Benjamin Herrenschmidt b...@kernel.crashing.org CC: Stephen

[PATCH 4/5] of/irq: Merge of_irq_map_raw()

2010-06-04 Thread Grant Likely
Merge common code between PowerPC and Microblaze Signed-off-by: Grant Likely grant.lik...@secretlab.ca CC: Michal Simek mon...@monstr.eu CC: Wolfram Sang w.s...@pengutronix.de CC: Stephen Rothwell s...@canb.auug.org.au CC: Benjamin Herrenschmidt b...@kernel.crashing.org CC:

[PATCH 5/5] of/irq: merge of_irq_map_one()

2010-06-04 Thread Grant Likely
Merge common implementation of of_irq_map_one(). Rename it to __of_irq_map_one() so that arch code can either use the stock implementation, or override it to handle platform quirks. Signed-off-by: Grant Likely grant.lik...@secretlab.ca CC: Michal Simek mon...@monstr.eu CC: Wolfram Sang

[PATCH 0/5] Consolidate OF IRQ handling code

2010-06-04 Thread Grant Likely
This series merges the common IRQ handling code between Microblaze and Powerpc. I'll be adding these patches to linux-next next week unless there are objections. Cheers, g. Grant Likely (5): of/irq: Move irq_of_parse_and_map() to common code of/microblaze: strip out

[PATCH 0/2] ipic and pca953x irq patches

2010-06-04 Thread Esben Haabendal
A minor bugfix for the ipic driver, and powerpc support for pca953x irq. Esben Haabendal (2): powerpc: ipic: use set_irq_chip to ensure irq_chip defaults are applied gpio: pca953x: add powerpc irq support arch/powerpc/sysdev/ipic.c |4 +- drivers/gpio/pca953x.c | 347

[PATCH 1/2] powerpc: ipic: use set_irq_chip to ensure irq_chip defaults are applied

2010-06-04 Thread Esben Haabendal
Signed-off-by: Esben Haabendal e...@doredevelopment.dk --- arch/powerpc/sysdev/ipic.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/sysdev/ipic.c b/arch/powerpc/sysdev/ipic.c index d7b9b9c..8464b86 100644 --- a/arch/powerpc/sysdev/ipic.c +++

[PATCH 2/2] gpio: pca953x: add powerpc irq support

2010-06-04 Thread Esben Haabendal
Signed-off-by: Esben Haabendal e...@doredevelopment.dk --- drivers/gpio/pca953x.c | 347 +--- 1 files changed, 240 insertions(+), 107 deletions(-) diff --git a/drivers/gpio/pca953x.c b/drivers/gpio/pca953x.c index a2b12aa..a47d55f 100644 ---