IDE cable detection on Apple PowerBook

2009-03-17 Thread TOMARI Hisanobu
Hello, I'm using an OCZ PATA SSD on Apple PowerBook5,4 computer. The IDE drive fails to recognize 80-conductor cable that connects the drive to motherboard to fall back to UDMA33. This patch fixes this behavior by assuming that the cable is short-40pin when the model string matches "PowerBook5" a

[git pull] Please pull powerpc.git merge branch

2009-03-17 Thread Benjamin Herrenschmidt
Hi Linus ! So here's the new ps3 nvram driver for 2.6.29 that we discussed earlier (I actually sent this days ago but screwed up the email by not actually sending it to you :-) In the meantime I've added a PS3 defconfig update and two patches fixing another fallout from the changes to the way we

Re: [RFC] powerpc/8xxx: Clean up setting of CPU_FTR_NEED_COHERENT

2009-03-17 Thread Benjamin Herrenschmidt
> diff --git a/arch/powerpc/include/asm/cputable.h > b/arch/powerpc/include/asm/cputable.h > index 48d7f5f..a36494e 100644 > --- a/arch/powerpc/include/asm/cputable.h > +++ b/arch/powerpc/include/asm/cputable.h > @@ -242,8 +242,7 @@ extern const char *powerpc_base_platform; > * 74[45]x and an M

Please pull from 'test'

2009-03-17 Thread Kumar Gala
Please pull from 'test' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git test to receive the following updates: arch/powerpc/include/asm/mmu.h |6 + arch/powerpc/include/asm/mpic.h |5 + arch/powerpc/kernel/cpu_setup_6xx.S |4 + arch/powerpc/k

Re: [PATCH] gianfar: pass the proper dev to DMA ops

2009-03-17 Thread Becky Bruce
On Mar 17, 2009, at 11:16 AM, Kumar Gala wrote: We need to be passing the of_platform device struct into the DMA ops as its the one that has the archdata setup to know which low-level DMA ops we should be using (not the net_device one). This isn't an issue until we expect the archdata to

linuxppc-dev@lists.ozlabs.org

2009-03-17 Thread Benjamin Herrenschmidt
On Tue, 2009-03-17 at 16:30 +0100, Eduard Fuchs wrote: > Hi all, > > since several days I'm trying to run an ATI 9250 (PCI) graphic card under > Linux Kernel 2.6.27.19. Nevertheless without success. The kernel shows the > following message: > > videoboot: Booting PCI video card bus 0, function

Re: Fix for __div64_32 locks when using some 64 bit numbers

2009-03-17 Thread Benjamin Herrenschmidt
On Tue, 2009-03-17 at 14:15 -0700, davidastro wrote: > I found a bug when using the function __div64_32 in assembly in a 32 bit ppc > architecture unit. > > I tried the numbers 5583456504800 for the dividend and 4294967079 for > the divisor. When passing these two numbers to the function __di

Re: [PATCH v2 1/2] powerpc/86xx: Board support for GE Fanuc's PPC9A

2009-03-17 Thread David Gibson
On Tue, Mar 17, 2009 at 09:28:53AM +, Martyn Welch wrote: > David Gibson wrote: >> On Mon, Mar 16, 2009 at 10:32:18AM +, Martyn Welch wrote: >>> Support for the PPC9A VME Single Board Computer from GE Fanuc (PowerPC >>> MPC8641D). >>> >>> This is the basic board support for GE Fanuc's PPC9A

Fix for __div64_32 locks when using some 64 bit numbers

2009-03-17 Thread davidastro
I found a bug when using the function __div64_32 in assembly in a 32 bit ppc architecture unit. I tried the numbers 5583456504800 for the dividend and 4294967079 for the divisor. When passing these two numbers to the function __div64_32, I had a software lock. I searched for possible patches

Re: [PATCH 1/4] NAND: FSL-UPM: add multi chip support

2009-03-17 Thread Anton Vorontsov
On Tue, Mar 17, 2009 at 10:12:19AM +0100, Wolfgang Grandegegr wrote: > From: Wolfgang Grandegger > > This patch adds support for multi-chip NAND devices to the FSL-UPM > driver. This requires support for multiple GPIOs for the RNB pins. > > Signed-off-by: Wolfgang Grandegger > --- > drivers/mt

[PATCH v2 2/2] powerpc/83xx: Move gianfar mdio nodes under the ethernet nodes

2009-03-17 Thread Anton Vorontsov
Currently it doesn't matter where the mdio nodes are placed, but with power management support (i.e. when sleep = <> properties will take effect), mdio nodes placement will become important: mdio controller is a part of the ethernet block, so the mdio nodes should be placed correctly. Otherwise we

[PATCH v2 1/2] powerpc/83xx: Add power management support for MPC837x boards

2009-03-17 Thread Anton Vorontsov
This patch adds pmc nodes to the device tree files so that the boards will able to use standby capability of MPC837x processors. The MPC837x PMC controllers are compatible with MPC8349 ones (i.e. no deep sleep). sleep = <> properties are used to specify SCCR masks as described in "Specifying Devic

Re: [PATCH 3/4] NAND: FSL-UPM: Add wait flags to support board/chip specific delays

2009-03-17 Thread Anton Vorontsov
On Tue, Mar 17, 2009 at 10:12:21AM +0100, Wolfgang Grandegegr wrote: > From: Wolfgang Grandegger > > The NAND flash on the TQM8548_BE modules requires a short delay after > running the UPM pattern. The TQM8548_BE requires a further short delay > after writing out a buffer. Normally the R/B pin sh

Re: [PATCH 4/4] powerpc/85xx: TQM8548: Update DTS file for multi-chip support

2009-03-17 Thread Anton Vorontsov
On Tue, Mar 17, 2009 at 10:12:22AM +0100, Wolfgang Grandegegr wrote: > From: Wolfgang Grandegger > > This patch adds multi-chip support for the Micron MT29F8G08FAB NAND > flash memory on the TQM8548 modules. > > This patch should go through the powerpc/85xx channel. > > Signed-off-by: Wolfgang

Re: Freescale MPC8313ERDB-RevA and newer BSP/kernel

2009-03-17 Thread Mark Bishop
Quoting Vijay Nikam : Hi Mark, Could you please let me know how you booted the latest Linux kernel on MPC8313ERDB board ? ? ? As I tried but was not successful. It hangs or does nothing and waits at network configuration, mean to determine IP address (as I have used dhcp). Kindly please acknow

[PATCH v4 4/4] powerpc/mm: e300c2/c3/c4 TLB errata workaround

2009-03-17 Thread Kumar Gala
Complete workaround for DTLB errata in e300c2/c3/c4 processors. Due to the bug, the hardware-implemented LRU algorythm always goes to way 1 of the TLB. This fix implements the proposed software workaround in form of a LRW table for chosing the TLB-way. Based on patch from David Jander Signed-of

[PATCH] gianfar: pass the proper dev to DMA ops

2009-03-17 Thread Kumar Gala
We need to be passing the of_platform device struct into the DMA ops as its the one that has the archdata setup to know which low-level DMA ops we should be using (not the net_device one). This isn't an issue until we expect the archdata to be setup correctly. Signed-off-by: Kumar Gala --- Dave

linuxppc-dev@lists.ozlabs.org

2009-03-17 Thread Eduard Fuchs
Hi all, since several days I'm trying to run an ATI 9250 (PCI) graphic card under Linux Kernel 2.6.27.19. Nevertheless without success. The kernel shows the following message: videoboot: Booting PCI video card bus 0, function 0, device 7 biosEmu: undefined interrupt 15h called!

Please pull mpc52xx-next - CPU_FTR_NEED_COHERENT fixes for 2.6.29

2009-03-17 Thread Grant Likely
Hi Ben, Here are 2 coherency related fixes that need to go into 2.6.29. The first is the patch we discussed last night about setting CPU_FTR_NEED_COHERENT when the 5200 is selected. After discussing it with galak, we agreed to stick with the ugly way for 2.6.29 and then fix all of them at once i

Re: Compilation of PREEMPT_RT on PowerPC PPC440 Linux-2.6.29-rc7

2009-03-17 Thread srikanth krishnakar
Hi all, Just managed to compile PREEMPT_RT on Linux-2.6.29-rc7 PowerPC, I used following patches from broken package of RT (Patch-2.6.26.8-rt16-broken-out.tar.gz) , Need to investigate further with respect to HRT, patches/patch-2.6.29-rc7 patches/patch-2.6.29-rc7-rt1.patch patches/percpu-locked

Re: [PATCH v2 1/2] powerpc/86xx: Board support for GE Fanuc's PPC9A

2009-03-17 Thread Kumar Gala
On Mar 17, 2009, at 4:28 AM, Martyn Welch wrote: + i2c1: i...@3000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl-i2c"; This should list include a compatible string specific to the particular S

Re: [PATCH 0/4] NAND: Multi-chip support for FSL-UPM for TQM8548 modules

2009-03-17 Thread Kumar Gala
On Mar 17, 2009, at 4:12 AM, Wolfgang Grandegegr wrote: The following patch series adds generic support for multi-chip NAND devices to the FSL-UPM driver and support for the Micron MT29F8G08FAB NAND flash memory on the TQM8548 modules: [PATCH 1/4] NAND: FSL-UPM: add multi chip support [PAT

oops w/genphy & gianfar.. on MPC8315 RDB

2009-03-17 Thread Kumar Gala
Andy, Any ideas what's going on here? I'm trying to use top of Linus + PPC next. Top of Linus doesn't show this. - k Setting up networking on eth0: [ cut here ] Kernel BUG at c0192e48 [verbose debug info unavailable] Oops: Exception in kernel mode, sig: 5 [#1] MPC83

Re: [PATCH] powerpc: Enable CPU_FTR_NEED_COHERENT for MPC52xx

2009-03-17 Thread Kumar Gala
On Mar 17, 2009, at 8:45 AM, Grant Likely wrote: On Tue, Mar 17, 2009 at 6:10 AM, Kumar Gala wrote: On Mar 16, 2009, at 11:43 PM, Grant Likely wrote: diff --git a/arch/powerpc/include/asm/cputable.h b/arch/powerpc/include/asm/cput index 4911104..48d7f5f 100644 --- a/arch/powerpc/include/asm

Re: [PATCH] powerpc: Enable CPU_FTR_NEED_COHERENT for MPC52xx

2009-03-17 Thread Grant Likely
On Tue, Mar 17, 2009 at 6:10 AM, Kumar Gala wrote: > On Mar 16, 2009, at 11:43 PM, Grant Likely wrote: >> diff --git a/arch/powerpc/include/asm/cputable.h >> b/arch/powerpc/include/asm/cput >> index 4911104..48d7f5f 100644 >> --- a/arch/powerpc/include/asm/cputable.h >> +++ b/arch/powerpc/include/

[PATCH v3 4/4] powerpc/mm: e300c2/c3/c4 TLB errata workaround

2009-03-17 Thread Kumar Gala
Complete workaround for DTLB errata in e300c2/c3/c4 processors. Due to the bug, the hardware-implemented LRU algorythm always goes to way 1 of the TLB. This fix implements the proposed software workaround in form of a LRW table for chosing the TLB-way. Based on patch from David Jander Signed-of

Re: [RFC][PATCH v5] MPC5121 TLB errata workaround

2009-03-17 Thread Kumar Gala
On Mar 17, 2009, at 5:38 AM, David Jander wrote: On Monday 16 March 2009 19:05:00 Kumar Gala wrote: On Mar 16, 2009, at 10:52 AM, David Jander wrote: Complete workaround for DTLB errata in e300c2/c3/c4 processors. Due to the bug, the hardware-implemented LRU algorythm always goes to way 1 of

Re: [PATCH] powerpc: Enable CPU_FTR_NEED_COHERENT for MPC52xx

2009-03-17 Thread Kumar Gala
On Mar 16, 2009, at 11:43 PM, Grant Likely wrote: On Mon, Mar 16, 2009 at 9:54 PM, Grant Likely > wrote: On Mon, Mar 16, 2009 at 4:05 AM, Piotr Ziecik wrote: BestComm, a DMA engine in MPC52xx SoC, requires snooping when CPU caches are enabled to work properly. Adding CPU_FTR_NEED_COHERENT f

MPC5200 SPI

2009-03-17 Thread Gary Thomas
I'm trying to use the PSC/SPI driver on my MPC5200 board 'drivers/spi/mpc52xx_psc_spi.c' My kernel is 2.6.28, but I don't see any changes in this area in the latest ones. Cribbing from the Lite5200, I put this in my DTS file: // PSC6 => SPI s...@2c00 { /

Re: [RFC][PATCH v5] MPC5121 TLB errata workaround

2009-03-17 Thread David Jander
On Monday 16 March 2009 19:05:00 Kumar Gala wrote: > On Mar 16, 2009, at 10:52 AM, David Jander wrote: > > Complete workaround for DTLB errata in e300c2/c3/c4 processors. > > > > Due to the bug, the hardware-implemented LRU algorythm always goes > > to way > > 1 of the TLB. This fix implements the

Re: [PATCH v2 1/2] powerpc/86xx: Board support for GE Fanuc's PPC9A

2009-03-17 Thread Martyn Welch
David Gibson wrote: On Mon, Mar 16, 2009 at 10:32:18AM +, Martyn Welch wrote: Support for the PPC9A VME Single Board Computer from GE Fanuc (PowerPC MPC8641D). This is the basic board support for GE Fanuc's PPC9A, a 6U single board computer, based on Freescale's MPC8641D. Uh.. sorry. Sho

[PATCH 3/4] NAND: FSL-UPM: Add wait flags to support board/chip specific delays

2009-03-17 Thread Wolfgang Grandegegr
From: Wolfgang Grandegger The NAND flash on the TQM8548_BE modules requires a short delay after running the UPM pattern. The TQM8548_BE requires a further short delay after writing out a buffer. Normally the R/B pin should be checked, but it's not connected on the TQM8548_BE. The existing driver

[PATCH 2/4] NAND: FSL-UPM: add support for selecting chips via MAR

2009-03-17 Thread Wolfgang Grandegegr
From: Wolfgang Grandegger For the NAND chips on the TQM8548 modules, a special chip-select logic is used. It uses dedicated address lines to be set via UPM machine address register (mar). This patch also adds that support to the FSL-UPM driver. Signed-off-by: Wolfgang Grandegger --- arch/power

[PATCH 1/4] NAND: FSL-UPM: add multi chip support

2009-03-17 Thread Wolfgang Grandegegr
From: Wolfgang Grandegger This patch adds support for multi-chip NAND devices to the FSL-UPM driver. This requires support for multiple GPIOs for the RNB pins. Signed-off-by: Wolfgang Grandegger --- drivers/mtd/nand/fsl_upm.c | 90 +-- 1 files changed,

[PATCH 4/4] powerpc/85xx: TQM8548: Update DTS file for multi-chip support

2009-03-17 Thread Wolfgang Grandegegr
From: Wolfgang Grandegger This patch adds multi-chip support for the Micron MT29F8G08FAB NAND flash memory on the TQM8548 modules. It should go through the powerpc/85xx maintainer. Signed-off-by: Wolfgang Grandegger --- arch/powerpc/boot/dts/tqm8548.dts |5 + 1 files changed, 5 insert

[PATCH 4/4] powerpc/85xx: TQM8548: Update DTS file for multi-chip support

2009-03-17 Thread Wolfgang Grandegegr
From: Wolfgang Grandegger This patch adds multi-chip support for the Micron MT29F8G08FAB NAND flash memory on the TQM8548 modules. This patch should go through the powerpc/85xx channel. Signed-off-by: Wolfgang Grandegger --- arch/powerpc/boot/dts/tqm8548.dts |5 + 1 files changed, 5 i

[PATCH 0/4] NAND: Multi-chip support for FSL-UPM for TQM8548 modules

2009-03-17 Thread Wolfgang Grandegegr
The following patch series adds generic support for multi-chip NAND devices to the FSL-UPM driver and support for the Micron MT29F8G08FAB NAND flash memory on the TQM8548 modules: [PATCH 1/4] NAND: FSL-UPM: add multi chip support [PATCH 2/4] NAND: FSL-UPM: add support for selecting chips via MAR [