[PATCH] powerpc: add cascade support to xilinx intc controller

2009-08-24 Thread Grant Likely
From: Grant Likely This patch allows the Xilinx intc interrupt controller to be cascaded instead of being the master irqhost. Useful when attaching an FPGA to an SoC that has its own interrupt controller. Signed-off-by: Grant Likely --- arch/powerpc/include/asm/xilinx_intc.h |1 + arch/p

Re: [patch] powerpc/ps3: Update ps3_defconfig

2009-08-24 Thread Michael Neuling
> Signed-off-by: Geoff Levand > --- > Hi Ben, > > Please send upstream if it is not too late. Is the current one broken? Maybe a commit message would be nice :-P Mikey > > -Geoff > > arch/powerpc/configs/ps3_defconfig | 211 +- --- > 1 file changed, 75 inse

Re: change to of MTD partition parsing

2009-08-24 Thread Kumar Gala
Ben, We need a better solution to the problem. What does the device tree on SLOF look like? - k On Aug 12, 2009, at 10:07 AM, Benjamin Krill wrote: Hi Kumar, slof has a further node inside the flash node which is not a partition entry. The old code just used all children and since the fu

[PATCH v2] powerpc/mm: Add MMU features for TLB reservation & Paired MAS registers

2009-08-24 Thread Kumar Gala
Support for TLB reservation (or TLB Write Conditional) and Paired MAS registers are optional for a processor implementation so we handle them via MMU feature sections. We currently only used paired MAS registers to access the full RPN + perm bits that are kept in MAS7||MAS3. We assume that if an

Re: [PATCH 1/5] powerpc/mm: Add MMU features for TLB reservation & Paired MAS registers

2009-08-24 Thread Benjamin Herrenschmidt
On Mon, 2009-08-24 at 11:12 -0500, Kumar Gala wrote: > Duh. Wasn't looking at the fall through. > > But is there any reason to even have any of the 6 instructions in > the > 'virt_page_table_tlb_miss_done' path if we don't have TLBSRX? > No, that's what I said in my initial email :-) You can p

[patch] powerpc/ps3: Update ps3_defconfig

2009-08-24 Thread Geoff Levand
Signed-off-by: Geoff Levand --- Hi Ben, Please send upstream if it is not too late. -Geoff arch/powerpc/configs/ps3_defconfig | 211 + 1 file changed, 75 insertions(+), 136 deletions(-) --- a/arch/powerpc/configs/ps3_defconfig +++ b/arch/powerpc/configs/ps

Re: gianfar.c: Unwanted VLAN tagging on TX frames

2009-08-24 Thread Andy Fleming
On Mon, Aug 24, 2009 at 11:10 AM, Torsten Fleischer < to-fleisc...@t-online.de> wrote: > Hello everyone, > > I have the Freescale's MPC8313erdb eval board and run the latest stable > linux > kernel version (linux-2.6.30.5). > > After creating a VLAN device (e.g. eth0.2) a VLAN tag is also inserted

gianfar.c: Unwanted VLAN tagging on TX frames

2009-08-24 Thread Torsten Fleischer
Hello everyone, I have the Freescale's MPC8313erdb eval board and run the latest stable linux kernel version (linux-2.6.30.5). After creating a VLAN device (e.g. eth0.2) a VLAN tag is also inserted into frames that don't relate to a VLAN device. This is the case for frames that are directly sen

Re: [PATCH] powerpc: Change archdata dma_data type to dma_addr_t

2009-08-24 Thread Christoph Hellwig
On Mon, Aug 24, 2009 at 11:17:14AM -0500, Becky Bruce wrote: > Previously, this was specified as a void *, but that's not > large enough on 32-bit systems with 36-bit physical > addressing support. Change the type to dma_addr_t so it > will scale based on the size of a dma address. This looks ext

Re: [PATCH for 2.6.31] powerpc/ps3: Add missing check for PS3 to rtc-ps3 platform device registration

2009-08-24 Thread Geoff Levand
On 08/24/2009 01:54 AM, Geert Uytterhoeven wrote: > On non-PS3, we get: > > | kernel BUG at drivers/rtc/rtc-ps3.c:36! > > because the rtc-ps3 platform device is registered unconditionally in a kernel > with builtin support for PS3. > > Reported-by: Sachin Sant > Signed-off-by: Geert Uytterhoeve

[PATCH] powerpc: Change archdata dma_data type to dma_addr_t

2009-08-24 Thread Becky Bruce
Previously, this was specified as a void *, but that's not large enough on 32-bit systems with 36-bit physical addressing support. Change the type to dma_addr_t so it will scale based on the size of a dma address. Signed-off-by: Becky Bruce --- arch/powerpc/include/asm/device.h|2 +-

[PATCH] powerpc: Name xpn & x fields in HW pte format

2009-08-24 Thread Becky Bruce
Previously, the 36-bit code was using these bits, but they had never been named in the pte format definition. This patch just gives those fields their proper names and adds a comment that they are only present on some processors. There is no functional code change. Signed-off-by: Becky Bruce --

Re: [PATCH 1/5] powerpc/mm: Add MMU features for TLB reservation & Paired MAS registers

2009-08-24 Thread Kumar Gala
On Aug 19, 2009, at 7:43 PM, Benjamin Herrenschmidt wrote: On Wed, 2009-08-19 at 16:37 -0500, Kumar Gala wrote: On Aug 19, 2009, at 2:25 AM, Benjamin Herrenschmidt wrote: The whole thing only ever gets called if we had tlbsrx. so is there any utility in making a part of conditional on tlbsr

Doubt about powerpc7447a

2009-08-24 Thread sumedh tirodkar
Is it possible to change operating speed of powerpc7447a processor?can we configure it? I m not asking if this can be done in linux. I m asking if the hardware has some support for this.If yes,then how? -sumedh ___ Linuxppc-dev mailing list Linuxppc-dev@

Re: [PATCH for 2.6.31] powerpc/ps3: Add missing check for PS3 to rtc-ps3 platform device registration

2009-08-24 Thread Geert Uytterhoeven
On Mon, 24 Aug 2009, Sachin Sant wrote: > Geert Uytterhoeven wrote: > > On non-PS3, we get: > > > > | kernel BUG at drivers/rtc/rtc-ps3.c:36! > > > > because the rtc-ps3 platform device is registered unconditionally in a > > kernel > > with builtin support for PS3. > > > > Reported-by: Sachin Sant

Re: [PATCH for 2.6.31] powerpc/ps3: Add missing check for PS3 to rtc-ps3 platform device registration

2009-08-24 Thread Sachin Sant
Geert Uytterhoeven wrote: On non-PS3, we get: | kernel BUG at drivers/rtc/rtc-ps3.c:36! because the rtc-ps3 platform device is registered unconditionally in a kernel with builtin support for PS3. Reported-by: Sachin Sant Signed-off-by: Geert Uytterhoeven --- arch/powerpc/platforms/ps3/time.

[PATCH for 2.6.31] powerpc/ps3: Add missing check for PS3 to rtc-ps3 platform device registration

2009-08-24 Thread Geert Uytterhoeven
On non-PS3, we get: | kernel BUG at drivers/rtc/rtc-ps3.c:36! because the rtc-ps3 platform device is registered unconditionally in a kernel with builtin support for PS3. Reported-by: Sachin Sant Signed-off-by: Geert Uytterhoeven --- arch/powerpc/platforms/ps3/time.c |4 1 files chang

Re: 2.6.31-rc7 : kernel BUG at drivers/rtc/rtc-ps3.c:36!

2009-08-24 Thread Geert Uytterhoeven
On Mon, 24 Aug 2009, Michael Ellerman wrote: > On Mon, 2009-08-24 at 12:31 +0530, Sachin Sant wrote: > > While trying to boot 2.6.31-rc7 on a power6 machine came > > across the following Bug. > > > > Starting udev: [ cut here ] > > kernel BUG at drivers/rtc/rtc-ps3.c:36! >

Re: 2.6.31-rc7 : kernel BUG at drivers/rtc/rtc-ps3.c:36!

2009-08-24 Thread Michael Ellerman
On Mon, 2009-08-24 at 12:31 +0530, Sachin Sant wrote: > While trying to boot 2.6.31-rc7 on a power6 machine came > across the following Bug. > > Starting udev: [ cut here ] > kernel BUG at drivers/rtc/rtc-ps3.c:36! > cpu 0x0: Vector: 700 (Program Check) at [c000f70f357

2.6.31-rc7 : kernel BUG at drivers/rtc/rtc-ps3.c:36!

2009-08-24 Thread Sachin Sant
While trying to boot 2.6.31-rc7 on a power6 machine came across the following Bug. Starting udev: [ cut here ] kernel BUG at drivers/rtc/rtc-ps3.c:36! cpu 0x0: Vector: 700 (Program Check) at [c000f70f3570] pc: c059a020: .ps3_get_time+0x3c/0x84 lr: c