Re: 82xx, mgcoge: updates for 2.6.32

2009-07-29 Thread Heiko Schocher
Hello Kumar, Kumar Gala wrote: > > On Jul 29, 2009, at 3:32 AM, Heiko Schocher wrote: > >> - add I2C support >> - add FCC1 and FCC2 support >> - fix bogus gpio numbering in plattformcode >> >> Signed-off-by: Heiko Schocher >> --- >> - based on git://git.kernel.org/pub/scm/linux/kernel/git/benh/

Re: 82xx, mgcoge: updates for 2.6.32

2009-07-29 Thread Heiko Schocher
Hello David, David Gibson wrote: > On Wed, Jul 29, 2009 at 10:32:30AM +0200, Heiko Schocher wrote: > > [snip] >> +m...@10d40 { >> +device_type = "mdio"; > > Drop this device_type. Done. >> +compatible = "fsl,cpm2-mdio-

fsldma patches?

2009-07-29 Thread Kumar Gala
Dan, What happened with the set of patches that Ira posted for fsldma? - k ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Please pull from 'merge' branch for 2.6.31

2009-07-29 Thread Kumar Gala
Please pull from 'merge' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git merge This is pretty much some bug fixes and defconfig updates. - k to receive the following updates: arch/powerpc/boot/dts/mpc8377_rdb.dts |2 arch/powerpc/boot/dts/mpc837

Re: [PATCH] powerpc/86xx: Update GE Fanuc sbc310 DTS

2009-07-29 Thread Kumar Gala
On Jul 2, 2009, at 9:18 AM, Martyn Welch wrote: Update GE Fanuc DTS to match the alterations suggested during the merge of the ppc9a DTS in commit 740d36ae6344f38c4da64c2ede765d7d2dd1f132 Signed-off-by: Martyn Welch --- arch/powerpc/boot/dts/gef_sbc310.dts | 29 +-

Re: [PATCH] powerpc/86xx: Update GE Fanuc sbc310 default configuration

2009-07-29 Thread Kumar Gala
On Jul 2, 2009, at 9:18 AM, Martyn Welch wrote: General update of defconfig including the following notable changes: - Enable Highmem support. - Support for PCMCIA based daughter card. Signed-off-by: Martyn Welch --- arch/powerpc/configs/86xx/gef_sbc310_defconfig | 213 +++ ++--

Re: [PATCH] powerpc/86xx: Update defconfig for GE Fanuc's PPC9A

2009-07-29 Thread Kumar Gala
On Jul 2, 2009, at 9:18 AM, Martyn Welch wrote: General update of defconfig including the following notable changes: - Enable GPIO access via sysfs on GE Fanuc's PPC9A. - Enable Highmem support. - Support for PCMCIA based daughter card. Signed-off-by: Martyn Welch --- arch/powerpc/configs/86

Re: [RFC/PATCH] powerpc: Don't use alloc_bootmem in cpm_uart_cpm2.c

2009-07-29 Thread Kumar Gala
On Jul 20, 2009, at 6:51 AM, Mark Ware wrote: This is another alloc_bootmem() -> kzalloc() change, this time to fix the non-fatal badness caused when booting with a cpm2_uart console. Signed-Off-By: Mark Ware --- drivers/serial/cpm_uart/cpm_uart_cpm2.c |2 +- 1 files changed, 1 inserti

Re: [PATCH] powerpc/83xx: Fix PCI IO base address on MPC837xE-RDB boards

2009-07-29 Thread Kumar Gala
On Jul 20, 2009, at 4:36 PM, Anton Vorontsov wrote: U-Boot maps PCI IO at 0xe030, while current dts files specify 0xe200. This leads to the following oops with CONFIG_8139TOO_PIO=y. 8139too Fast Ethernet driver 0.9.28 Machine check in kernel mode. Caused by (from SRR1=41000): Transf

Re: [PATCH] powerpc/85xx: Don't scan for TBI PHY addresses on MPC8569E-MDS boards

2009-07-29 Thread Kumar Gala
On Jul 1, 2009, at 12:39 PM, Anton Vorontsov wrote: Sometimes (e.g. when there are no UEMs attached to a board) fsl_pq_mdio_find_free() fails to find a spare address for a TBI PHY, this is because get_phy_id() returns bogus 0x values (0x is expected), and therefore mdio bus prob

Re: [PATCH] powerpc/85xx: Fix ethernet link detection on MPC8569E-MDS boards

2009-07-29 Thread Kumar Gala
On Jun 24, 2009, at 11:30 AM, Anton Vorontsov wrote: Linux isn't able to detect link changes on ethernet ports that were used by U-Boot. This is because U-Boot wrongly clears interrupt polarity bit (INTPOL, 0x400) in the extended status register (EXT_SR, 0x1b) of Marvell PHYs. There is no easy

[PATCH] powerpc/mm: Fix SMP issue with MMU context handling code

2009-07-29 Thread Kumar Gala
In switch_mmu_context() if we call steal_context_smp() to get a context to use we shouldn't fall through and than call steal_context_up(). Doing so can be problematic in that the 'mm' that steal_context_up() ends up using will not get marked dirty in the stale_map[] for other CPUs that might have

Re: [PATCH 1/7] spi: Add support for device table matching

2009-07-29 Thread Anton Vorontsov
On Thu, Jul 30, 2009 at 02:40:50AM +0400, Anton Vorontsov wrote: [...] > - If you don't store "id" in the device struct, you'll have > to look up the device table twice (at first during bus->match(), > and second time in drivers' probe() hook, i.e. > probe(struct bus_dev *dev) { > id =

Re: BUG in dma-mapping.h:218 // MESH SCSI driver not working

2009-07-29 Thread Benjamin Herrenschmidt
On Thu, 2009-07-30 at 01:42 +0200, Stef Simoens wrote: > What would be the best approach? > - if the kernel boots, it's obviously 'good' > - but what if the kernel hits the 'BUG', should I apply your patch > then? If it doesn't work with your patch, would it be 'bad' then? Yes. > > One thing I k

Re: BUG in dma-mapping.h:218 // MESH SCSI driver not working

2009-07-29 Thread Stef Simoens
Benjamin Herrenschmidt schreef: On Wed, 2009-07-29 at 20:22 +0200, Stef Simoens wrote: 2.6.29 works OK 2.6.30-rc1 doesn't work (BUG...) 2.6.30-rc1 with your patch ... seems to hang when it should be mounting the root directory. Is it worthwhile doing a git bisect? It probably is, sinc

Re: BUG in dma-mapping.h:218 // MESH SCSI driver not working

2009-07-29 Thread Benjamin Herrenschmidt
On Wed, 2009-07-29 at 20:22 +0200, Stef Simoens wrote: > 2.6.29 works OK > 2.6.30-rc1 doesn't work (BUG...) > 2.6.30-rc1 with your patch ... seems to hang when it should be > mounting the root directory. > > Is it worthwhile doing a git bisect? It probably is, since it should work with my patch,

Re: [PATCH 1/7] spi: Add support for device table matching

2009-07-29 Thread Anton Vorontsov
On Thu, Jul 30, 2009 at 02:32:23AM +0400, Anton Vorontsov wrote: > On Wed, Jul 29, 2009 at 10:44:46PM +0100, Ben Dooks wrote: > [...] > > > + const struct spi_device_id *id_table; > > > + int (*probe_id)(struct spi_device *spi, > > > + const s

Re: [PATCH 1/7] spi: Add support for device table matching

2009-07-29 Thread Anton Vorontsov
On Wed, Jul 29, 2009 at 10:44:46PM +0100, Ben Dooks wrote: [...] > > + const struct spi_device_id *id_table; > > + int (*probe_id)(struct spi_device *spi, > > + const struct spi_device_id *id); > > how about leaving it at just probe and

Re: [PATCH 1/7] spi: Add support for device table matching

2009-07-29 Thread Ben Dooks
On Wed, Jul 29, 2009 at 09:04:57PM +0400, Anton Vorontsov wrote: > With this patch spi drivers can use standard spi_driver.id_table and > MODULE_DEVICE_TABLE() mechanisms to bind against the devices. Just > like we do with I2C drivers. > > This is useful when a single driver supports several varia

Re: [PATCH][sata_fsl] Defer non-ncq commands when ncq commands active

2009-07-29 Thread Robert Hancock
On 07/29/2009 10:03 AM, ashish kalra wrote: From: Ashish Kalra Date: Wed, 29 Jul 2009 21:15:49 +0530 Fix for non-ncq & ncq commands causing timeouts when both are issued simultaneously to the same device. Signed-off-by: Ashish Kalra --- drivers/ata/sata_fsl.c | 1 + 1 files changed, 1 insertio

Re: BUG in dma-mapping.h:218 // MESH SCSI driver not working

2009-07-29 Thread Stef Simoens
Hello, Benjamin Herrenschmidt schreef: On Fri, 2009-07-24 at 00:18 +0200, Stef Simoens wrote: I tried the latest 2.6.31-rc3-git3 (without any other patch). However, I have the same behaviour as the patched 2.6.30 (so: no BUG, but the mesh_abort messages). Would it be possible for you

[PATCH 7/7] hwmon: lm70: Convert to device table matching

2009-07-29 Thread Anton Vorontsov
This patch makes the code a little bit nicer, and shorter. Signed-off-by: Anton Vorontsov --- drivers/hwmon/lm70.c | 58 + 1 files changed, 20 insertions(+), 38 deletions(-) diff --git a/drivers/hwmon/lm70.c b/drivers/hwmon/lm70.c index 3953c22.

[PATCH] powerpc/44x: Update Canyonlands defconfig to support NOR, NAND and RTC

2009-07-29 Thread Stefan Roese
This patch adds support for the following devices to the Canyonlands defconfig file: - NOR FLASH - PPC4xx NAND controller (NDFC) - I2C RTC (M41T80) Signed-off-by: Stefan Roese --- arch/powerpc/configs/44x/canyonlands_defconfig | 350 1 files changed, 297 insertions(+),

[PATCH 6/7] hwmon: adxx: Convert to device table matching

2009-07-29 Thread Anton Vorontsov
This patch makes the code a little bit nicer, and shorter. Signed-off-by: Anton Vorontsov --- drivers/hwmon/adcxx.c | 106 - 1 files changed, 17 insertions(+), 89 deletions(-) diff --git a/drivers/hwmon/adcxx.c b/drivers/hwmon/adcxx.c index b01c0

[PATCH 5/7] spi: Merge probe and probe_id callbacks

2009-07-29 Thread Anton Vorontsov
The probe_id callback was introduced for the transition period as a "new-style" probe hook. This patch makes probe() look exactly as probe_id(), converts drivers and removes probe_id(). Signed-off-by: Anton Vorontsov --- drivers/gpio/max7301.c |3 ++- drivers/gpio/mcp23s08.c

[PATCH 4/7] spi: Prefix modalias with "spi:"

2009-07-29 Thread Anton Vorontsov
This makes it consistent with other buses (platform, i2c, vio, ...). I'm not sure why we use the prefixes, but there must be a reason. This was easy enough to do it, and I did it. Signed-off-by: Anton Vorontsov --- drivers/gpio/max7301.c |1 + drivers/gpio/mcp23s08.c

[PATCH] powerpc/44x: Add NAND support to Canyonlands dts

2009-07-29 Thread Stefan Roese
Also some whitespace cleanup in the USB device nodes. Signed-off-by: Stefan Roese --- arch/powerpc/boot/dts/canyonlands.dts | 49 - 1 files changed, 36 insertions(+), 13 deletions(-) diff --git a/arch/powerpc/boot/dts/canyonlands.dts b/arch/powerpc/boot/dts/ca

[PATCH 3/7] of: Remove "stm,m25p40" alias

2009-07-29 Thread Anton Vorontsov
The alias isn't needed any longer since the m25p80 driver converted to the module device table matching. Signed-off-by: Anton Vorontsov --- drivers/of/base.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index 69f85c0..ddf224d 1006

[PATCH 2/7] mtd: m25p80: Convert to device table matching

2009-07-29 Thread Anton Vorontsov
This patch converts the m25p80 driver so that now it uses .id_table for device matching, making it properly detect devices on OpenFirmware platforms (prior to this patch the driver misdetected non-JEDEC chips, seeing all chips as "m25p80"). Also, now jedec_probe() only does jedec probing, nothing

[PATCH] powerpc: Add AMCC 460EX/460GT Rev. B support to cputable.c

2009-07-29 Thread Stefan Roese
Signed-off-by: Stefan Roese --- arch/powerpc/kernel/cputable.c | 30 -- 1 files changed, 28 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index 4a24a2f..0197753 100644 --- a/arch/powerpc/kernel/cputable.c

[PATCH 1/7] spi: Add support for device table matching

2009-07-29 Thread Anton Vorontsov
With this patch spi drivers can use standard spi_driver.id_table and MODULE_DEVICE_TABLE() mechanisms to bind against the devices. Just like we do with I2C drivers. This is useful when a single driver supports several variants of devices but it is not possible to detect them in run-time (like non-

[PATCH 0/7] Device table matching for SPI subsystem

2009-07-29 Thread Anton Vorontsov
Hi all, This patch set implements standard device table matching mechanism for SPI subsystem, the same device id tables as we use in I2C drivers. I started this work because m25p80 driver misdetects non-JEDEC chips when it is used on OpenFirmware platforms (cause we don't pass platform_data). pla

[PATCH][sata_fsl] Defer non-ncq commands when ncq commands active

2009-07-29 Thread ashish kalra
From: Ashish Kalra Date: Wed, 29 Jul 2009 21:15:49 +0530 Fix for non-ncq & ncq commands causing timeouts when both are issued simultaneously to the same device. Signed-off-by: Ashish Kalra --- drivers/ata/sata_fsl.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dr

Next July 29 : Hugetlb test failure (OOPS free_hugepte_range)

2009-07-29 Thread Sachin Sant
scsic scsi_transport_srp scsi_tgt scsi_mod NIP: c003e794 LR: c003e9ec CTR: bba4 REGS: c0006a72b5d0 TRAP: 0700 Not tainted (2.6.31-rc4-autotest-next-20090729-5-ppc64) MSR: 80029032 CR: 2204 XER: 0001 TASK = c00069c00180[1115] 'readba

Re: 82xx, mgcoge: updates for 2.6.32

2009-07-29 Thread Kumar Gala
On Jul 29, 2009, at 3:32 AM, Heiko Schocher wrote: - add I2C support - add FCC1 and FCC2 support - fix bogus gpio numbering in plattformcode Signed-off-by: Heiko Schocher --- - based on git://git.kernel.org/pub/scm/linux/kernel/git/benh/ powerpc.git next branch - checked with checkpatch.pl

[PATCH] powerpc/cell: Move CBE_IOPTE_* to (was: Re: [PATCH 10/33] powerpc/cell: Extract duplicated IOPTE_* to )

2009-07-29 Thread Geert Uytterhoeven
On Mon, 15 Jun 2009, Benjamin Herrenschmidt wrote: > On Mon, 2009-06-15 at 09:05 +0200, Arnd Bergmann wrote: > > Good point, that file does not contain hardware specific definitions > > but > > only interfaces. > > > > Geert, how about putting them into > > arch/powerpc/include/asm/cell-regs.h > >

[PATCH 2/2] powerpc/40x: Update kilauea defconfig to support NAND, RTC and HWMON

2009-07-29 Thread Stefan Roese
This patch adds support for the following devices to the Kilauea defconfig file: - PPC4xx NAND controller (NDFC) - I2C RTC (Dallas DS1338) - I2C HWMON (Dallas DS1775) Signed-off-by: Stefan Roese --- arch/powerpc/configs/40x/kilauea_defconfig | 298 1 files changed,

[PATCH 1/2] powerpc/40x: Update Kilauea dts to support NAND, RTC and HWMON

2009-07-29 Thread Stefan Roese
This patch adds support for the following devices to the Kilauea dts: - PPC4xx NAND controller (NDFC) - I2C RTC (Dallas DS1338) - I2C HWMON (Dallas DS1775) Additionally the partitioning of the NOR FLASH is changed. The dtb partition has been missing. Fixed in this patch. Signed-off-by: Stefan Roe

Re: 82xx, mgcoge: updates for 2.6.32

2009-07-29 Thread David Gibson
On Wed, Jul 29, 2009 at 10:32:30AM +0200, Heiko Schocher wrote: [snip] > + m...@10d40 { > + device_type = "mdio"; Drop this device_type. > + compatible = "fsl,cpm2-mdio-bitbang"; > + reg = <0x

82xx, mgcoge: updates for 2.6.32

2009-07-29 Thread Heiko Schocher
- add I2C support - add FCC1 and FCC2 support - fix bogus gpio numbering in plattformcode Signed-off-by: Heiko Schocher --- - based on git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git next branch - checked with checkpatch.pl: $ ./scripts/checkpatch.pl 0001-82xx-mgcoge-updates-for-

[PATCH] gianfar: fix coalescing setup in ethtool support

2009-07-29 Thread Li Yang
From: Jiajun Wu Parameter order for using mk_ic_value(count, time) was reversed, the patch fixes this. Signed-off-by: Jiajun Wu Signed-off-by: Li Yang --- drivers/net/gianfar_ethtool.c | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/net/gianfar_ethtoo