Re: [PATCH] powerpc/cpm2 Fix set interrupt type

2009-01-27 Thread Anton Vorontsov
p; PC29, but PC2 and PC3). > and look into the 8272 issue? I don't actually see any issues wrt 8272. To me, it looks like the fixed code should work fine... Reviewed-by: Anton Vorontsov >> diff --git a/arch/powerpc/sysdev/cpm2_pic.c b/arch/powerpc/sysdev/ >> cpm2_pic.c

[PATCH] gianfar: Revive VLAN support

2009-01-26 Thread Anton Vorontsov
1. In register_vlan_dev() only on a newly created group; 2. In unregister_vlan_dev() only if the group becomes empty. Thus the check in the gianfar driver isn't needed. Signed-off-by: Anton Vorontsov --- drivers/net/gianfar.c |6 +- 1 files changed, 1 insertions(+), 5 deletions

[PATCH 6/6] powerpc/fsl_soc: Isolate legacy fsl_spi support to mpc832x_rdb boards

2009-01-23 Thread Anton Vorontsov
The advantages of this: - Don't encourage legacy support; - Less external symbols, less code to compile-in for !MPC832x_RDB platforms. Signed-off-by: Anton Vorontsov --- arch/powerpc/platforms/83xx/mpc832x_rdb.c | 107 + arch/powerpc/sysdev/fsl_

[PATCH 5/6] powerpc/83xx: Add mmc-spi support via the device tree for MPC8323E-RDB

2009-01-23 Thread Anton Vorontsov
- Add gpio-controller node to manage QE GPIO Bank D; - Add mmc-spi node; - Modify board file so that it won't use legacy SPI support with the new device trees. Signed-off-by: Anton Vorontsov --- arch/powerpc/boot/dts/mpc832x_rdb.dts | 24 arch/powerpc/plat

[PATCH 3/6] spi_mpc83xx: Add OF platform driver bindings

2009-01-23 Thread Anton Vorontsov
This patch implements full support for OF SPI bindings. Now the driver can manage its own chip selects without any help from the board files and/or fsl_soc constructors. The "legacy" code is well isolated and could be removed as time goes by. Signed-off-by: Anton Vorontsov --- d

[PATCH 4/6] powerpc: Add mmc-spi-slot bindings

2009-01-23 Thread Anton Vorontsov
The bindings describes a case where MMC/SD/SDIO slot directly connected to a SPI bus. Such setups are widely used on embedded PowerPC boards. The patch also adds the mmc-spi-slot entry to the OpenFirmware modalias table. Signed-off-by: Anton Vorontsov --- .../powerpc/dts-bindings/mmc-spi

[PATCH 2/6] spi_mpc83xx: Rework chip selects handling

2009-01-23 Thread Anton Vorontsov
x27;t duplicate platform data callbacks in mpc83xx_spi struct. Signed-off-by: Anton Vorontsov --- arch/powerpc/platforms/83xx/mpc832x_rdb.c | 16 arch/powerpc/sysdev/fsl_soc.c | 14 ++ arch/powerpc/sysdev/fsl_soc.h |5 +++-- drivers/sp

[PATCH 1/6] spi_mpc83xx: Fix sparse warnings

2009-01-23 Thread Anton Vorontsov
different address spaces) spi_mpc83xx.c:296:25:expected unsigned int [noderef] [usertype] *reg spi_mpc83xx.c:296:25:got void *tmp_ptr spi_mpc83xx.c:486:13: warning: symbol 'mpc83xx_spi_irq' was not declared. Should it be static? Signed-off-by: Anton Vorontsov --- drivers/spi/spi_

[PATCH resend 0/6] OpenFirmware support for the spi_mpc83xx driver

2009-01-23 Thread Anton Vorontsov
On Tue, Jan 06, 2009 at 10:28:10PM -0600, Kumar Gala wrote: > On Dec 5, 2008, at 2:09 PM, Anton Vorontsov wrote: >> Hi all, >> >> The patch series are used to support SPI via the OF SPI subsystem >> (driver/of/of_spi.c). Now the driver is able to manage its own >&g

Re: [PATCH 02/10] sdhci: Add support for bus-specific IO memory accessors

2009-01-22 Thread Anton Vorontsov
On Thu, Jan 22, 2009 at 12:55:48PM +0100, Arnd Bergmann wrote: > On Thursday 22 January 2009, Anton Vorontsov wrote: > > +   /* > > +    * These accessors duplicate sdhci_ops, but there are two reasons > > for > > +    * this: > > +    * 1. sdhci_o

[PATCH] phylib: Fix oops in suspend/resume paths

2009-01-22 Thread Anton Vorontsov
call+0x0/0x38 [...] This patch fixes the issue, plus removes unneeded parentheses and fixes indentation level in mdio_bus_suspend(). Signed-off-by: Anton Vorontsov --- drivers/net/phy/mdio_bus.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/net/phy/mdi

[PATCH 10/10] mmc: Add OpenFirmware bindings for SDHCI driver

2009-01-21 Thread Anton Vorontsov
This patch adds a new driver: sdhci-of. The driver is similar to the sdhci-pci, it contains common probe code, and controller-specific ops and quirks. So far there are only Freescale eSDHC ops and quirks. Signed-off-by: Anton Vorontsov --- drivers/mmc/host/Kconfig| 10 ++ drivers/mmc

[PATCH 09/10] sdhci: Add quirk for Freescale eSDHC controllers

2009-01-21 Thread Anton Vorontsov
interrupt storm, and writing corrupts data. The first guess would be that we must wait for some bit in some register, but I didn't find any reliable bits that changes before and after the delay. Though, more investigation on this is in my todo list. Signed-off-by: Anton Voro

[PATCH 08/10] sdhci: Add set_clock callback

2009-01-21 Thread Anton Vorontsov
bits that makes the patch difficult to reuse. [1] http://lkml.org/lkml/2008/12/2/160 Signed-off-by: Anton Vorontsov --- drivers/mmc/host/sdhci.c |5 + drivers/mmc/host/sdhci.h |2 ++ 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc

[PATCH 07/10] sdhci: Add support for hosts that don't specify clocks in the cap. register

2009-01-21 Thread Anton Vorontsov
clocks are static. [1] http://lkml.org/lkml/2008/12/2/157 Signed-off-by: Anton Vorontsov --- drivers/mmc/host/sdhci.c | 31 +++ 1 files changed, 15 insertions(+), 16 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 57b8ffe..9ac0

[PATCH 06/10] sdhci: Add quirk to suppress PIO interrupts during DMA transfers

2009-01-21 Thread Anton Vorontsov
-by: Anton Vorontsov --- drivers/mmc/host/sdhci.c | 30 ++ drivers/mmc/host/sdhci.h |3 +++ 2 files changed, 33 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index c3737fe..57b8ffe 100644 --- a/drivers/mmc/host

[PATCH 05/10] sdhci: Add support for hosts with strict 32 bit addressing

2009-01-21 Thread Anton Vorontsov
tion. Signed-off-by: Anton Vorontsov --- drivers/mmc/host/sdhci.c | 18 +- drivers/mmc/host/sdhci.h |4 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 63809f5..c3737fe 100644 --- a/drivers/mm

[PATCH 04/10] sdhci: Add support for hosts reporting inverted write-protect state

2009-01-21 Thread Anton Vorontsov
This patch adds SDHCI_QUIRK_INVERTED_WRITE_PROTECT quirk. When specified, the sdhci driver will invert WP state. p.s. Actually, the quirk is more board-specific than controller-specific. Signed-off-by: Anton Vorontsov --- drivers/mmc/host/sdhci.c |2 ++ drivers/mmc/host/sdhci.h |2

[PATCH 03/10] sdhci: Add support for card-detection polling

2009-01-21 Thread Anton Vorontsov
ng to "debounce" card-detection IRQs by reading present state and disabling particular interrupts. But with this debouncing scheme I noticed that sometimes we miss card insertion/removal events. Signed-off-by: Anton Vorontsov --- drivers/mmc/host/sdhci.c |6 ++ drivers/mmc/host

[PATCH 02/10] sdhci: Add support for bus-specific IO memory accessors

2009-01-21 Thread Anton Vorontsov
bit width, with big-endian addressing. That is, readb(0x2f) should turn into readb(0x2c), and readw(0x2c) should be translated to le16_to_cpu(readw(0x2e)). Signed-off-by: Anton Vorontsov --- In this patch I swapped write{l,b,w}'s value and address arguments, I don't like it anymore though

[PATCH 01/10] sdhci: Add quirk for controllers with no end-of-busy IRQ

2009-01-21 Thread Anton Vorontsov
. Signed-off-by: Ben Dooks Signed-off-by: Anton Vorontsov --- drivers/mmc/host/sdhci.c |5 - drivers/mmc/host/sdhci.h |2 ++ 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 4d010a9..72cb7ef 100644 --- a/drivers/mmc

[PATCH RFC 0/10] Freescale "eSDHC" SDHCI support (was [PATCH] mmc: Add driver for Freescale eSDHC controllers)

2009-01-21 Thread Anton Vorontsov
asically compatible with the > standard SDHC controller. but the eshdc expand some bits. > > The esdhc.c is much like the orignal sdhci.c. > it is possible to merge them. Seem to work indeed. Quite a lot of quirks needed though. Patches on the way... -- Anton Voronts

Re: [PATCH] mmc: Add driver for Freescale eSDHC controllers

2009-01-21 Thread Anton Vorontsov
On Wed, Jan 14, 2009 at 09:43:50PM -0600, Kumar Gala wrote: > > On Jan 14, 2009, at 1:46 PM, Anton Vorontsov wrote: > >> From: Xie Xiaobo >> >> This patch adds support for the Freescale Enhanced Secure Digital >> Host Controller Interface as found in some Freescal

Re: [PATCH] mb862xx: Restrict compliation of platform driver to PPC

2009-01-19 Thread Anton Vorontsov
xact build error in the commit log. Reviewed-by: Anton Vorontsov (Btw, we'd better fix the build for sparc instead of adding another "depends on". Could anybody point to some recent, working sparc cross toolchain? Last time I googled for it I found only some prehistoric ve

Re: [PATCH 11/11][v2] ppc440spe-adma: ADMA driver for PPC440SP(e) systems

2009-01-14 Thread Anton Vorontsov
if (!ppc440spe_proot) { > + printk(KERN_ERR "%s: failed to create %s proc " > + "directory\n",__func__,PPC440SPE_R6_PROC_ROOT); > + /* User will not be able to enable h/w RAID-6 */ > + return rval; > +

Re: [PATCH] mmc: Add driver for Freescale eSDHC controllers

2009-01-14 Thread Anton Vorontsov
for the info, I'll look into merging the driver into sdhci. -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH] mmc: Add driver for Freescale eSDHC controllers

2009-01-14 Thread Anton Vorontsov
From: Xie Xiaobo This patch adds support for the Freescale Enhanced Secure Digital Host Controller Interface as found in some Freescale PowerPC microprocessors (e.g. MPC837x SOCs). Signed-off-by: Xie Xiaobo Signed-off-by: Konjin Lai Signed-off-by: Joe D'Abbraccio Signed-off-by:

Re: [PATCH] phylib: Fix Freescale TBI PHY detection

2009-01-14 Thread Anton Vorontsov
On Tue, Jan 13, 2009 at 07:05:13PM +0300, Anton Vorontsov wrote: > Freescale on-chip TBI PHYs reports PHY ID as 0x0, but as of > > commit 3ee82383f0098a2e13acc8cf1be8e47512f41e5a > Author: Giulio Benetti > Date: Thu Nov 13 21:53:13 2008 + > > phy: fix phy addre

Re: [PATCH] dts-bindings/fsl/dma.txt: fix IRQ number in mpc83xx dma example

2009-01-14 Thread Anton Vorontsov
+ interrupts = <71 8>; 0x47 = 71 ;-) The example is in the dts-v0 format, all the numbers are hexadecimal. -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH] phylib: Fix Freescale TBI PHY detection

2009-01-13 Thread Anton Vorontsov
e device " "tree specify a tbi-handle\n"); return; } Although tbi-handle is specified in the device tree. Btw, technically PHY ID == 0x0 is a valid ID (if we ever see a PHY manufactured by Xerox :-). Signed-off-by: Anton Vorontsov --- The

[PATCH] gianfar: Fix soft lockup with multi-interrupt TSECs

2009-01-12 Thread Anton Vorontsov
outine that schedules NAPI, but no locks were introduced. This causes irq races, so when irqs are enabled and netif_rx_schedule_prep() returns 0, nobody disable the interrupts again. This leads to interrupt storm and finally to the lockup. Signed-off-by: Anton Vorontsov --- drivers/net/gianfar.

Re: [PATCH] powerpc/83xx: Move mcu_mpc8349emitx driver out of drivers/i2c/chips/

2009-01-11 Thread Anton Vorontsov
On Sun, Jan 11, 2009 at 06:10:55PM +0100, Jean Delvare wrote: > Hi Anton, > > On Sun, 11 Jan 2009 19:51:36 +0300, Anton Vorontsov wrote: > > This patch is used to help Jean Delvare to get rid of drivers/i2c/chips/ > > directory. The new location suggested by Kumar Gala: as t

[PATCH] powerpc/83xx: Move mcu_mpc8349emitx driver out of drivers/i2c/chips/

2009-01-11 Thread Anton Vorontsov
This patch is used to help Jean Delvare to get rid of drivers/i2c/chips/ directory. The new location suggested by Kumar Gala: as the driver is 83xx specific it's placed into arch/powerpc/platforms/83xx/. Signed-off-by: Anton Vorontsov --- The same patch but suitable for patch(1). arch/po

[PATCH] powerpc/83xx: Move mcu_mpc8349emitx driver out of drivers/i2c/chips/

2009-01-11 Thread Anton Vorontsov
This patch is used to help Jean Delvare to get rid of drivers/i2c/chips/ directory. The new location suggested by Kumar Gala: as the driver is 83xx specific it's placed into arch/powerpc/platforms/83xx/. Signed-off-by: Anton Vorontsov --- This is git patch. arch/powerpc/platforms

[PATCH] powerpc/83xx: Make serial ports work on MPC8315E-RDB w/ FSL U-Boots

2009-01-11 Thread Anton Vorontsov
7; command. Signed-off-by: Anton Vorontsov --- Leon, With this patch 2.6.28 kernel boots and works fine with the U-Boot I took from this image (downloadable from freescale.com): $ md5sum MPC8315ERDB_20080321-ltib.iso 009730826366d593347b88fa4fdb9be0 MPC8315ERDB_20080321-ltib.iso That is, U-Boot

[PATCH v6 1/2] powerpc/fsl_pci: Add MPC83xx PCI-E controller RC mode support

2009-01-08 Thread Anton Vorontsov
;t have to ioremap the whole PCI-E configuration space. [1] http://ozlabs.org/pipermail/linuxppc-dev/2008-January/049028.html Signed-off-by: Tony Li Signed-off-by: Anton Vorontsov --- On Thu, Jan 08, 2009 at 01:24:27PM -0600, Kumar Gala wrote: [...] > I'm ok if you get rid of cfg_data usag

Re: [PATCH 1/2] powerpc/fsl_pci: Add MPC83xx PCI-E controller RC modesupport

2009-01-08 Thread Anton Vorontsov
inlock for ->read and ->write callbacks. > out_le32(PEX_OUTWIN0_TAL,...) and pcie->dev_base = dev_base; > > +mapped: > > + return pcie->cfg_map + offset; > > +} Thanks, -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 __

Re: [PATCH 1/2] powerpc/fsl_pci: Add MPC83xx PCI-E controller RC mode support

2009-01-08 Thread Anton Vorontsov
g it with mpc83xx_pci_priv->cfg_type0 (and rename mpc83xx_pci_priv->cfg_map to cfg_type1). OTOH, I can surely do that what you described, but to me it doesn't look like a great idea (i.e. using irrelevant struct members for hooking our data)... -- Anton Vorontsov email: cbouatmai...@gmail.

[PATCH 2/2] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2009-01-07 Thread Anton Vorontsov
This patch adds pcie nodes to the appropriate dts files, plus adds some probing code for the boards. Also, remove of_device_is_avaliable() check from the mpc837x_mds.c board file, as mpc83xx_add_bridge() has the same check now. Signed-off-by: Anton Vorontsov --- arch/powerpc/boot/dts

[PATCH 1/2] powerpc/fsl_pci: Add MPC83xx PCI-E controller RC mode support

2009-01-07 Thread Anton Vorontsov
;t have to ioremap the whole PCI-E configuration space. [1] http://ozlabs.org/pipermail/linuxppc-dev/2008-January/049028.html Signed-off-by: Tony Li Signed-off-by: Anton Vorontsov --- arch/powerpc/sysdev/fsl_pci.c | 243 + include/linux/pci_ids.h |

[PATCH v5 0/2] MPC83xx PCI-E support

2009-01-07 Thread Anton Vorontsov
- dts files no longer disable pcie nodes, now Linux detects unconfigured PCI-E controllers at run-time. -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/m

Re: [PATCH 2/2] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2009-01-07 Thread Anton Vorontsov
On Mon, Jan 05, 2009 at 08:41:55PM +0300, Anton Vorontsov wrote: > This patch adds pcie nodes to the appropriate dts files, plus adds > some probing code for the boards. > > Signed-off-by: Anton Vorontsov > --- [...] > diff --git a/arch/powerpc/boot/dts/mpc8377_mds.dts > b/

Re: [PATCH 7/7] powerpc/64/kdump: Use ppc_save_regs() in crash_setup_regs()

2009-01-06 Thread Anton Vorontsov
On Wed, Jan 07, 2009 at 02:16:05PM +1100, Benjamin Herrenschmidt wrote: > On Wed, 2008-12-17 at 23:09 +0300, Anton Vorontsov wrote: > > The patch replaces internal registers dump implementation with > > ppc_save_regs(). From now on PPC64 and PPC32 are using the same > > code

Re: [PATCH v2 4/4] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2009-01-06 Thread Anton Vorontsov
On Tue, Jan 06, 2009 at 11:33:35PM +0100, Leon Woestenberg wrote: > Hello Anton, > > On Tue, Jan 6, 2009 at 10:15 PM, Anton Vorontsov > wrote: > > On Tue, Jan 06, 2009 at 02:38:57PM -0600, Kumar Gala wrote: > >>>> Is u-boot PCIe initialization requi

Re: [PATCH v2 4/4] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2009-01-06 Thread Anton Vorontsov
c.) Though if PCI-E controller wasn't initialized (i.e. board reflashed with the community u-boot), Linux just won't probe the pcie controller: cfg_bar = in_le32(hose->cfg_data + PEX_OUTWIN0_BAR); if (!cfg_bar) { /* PCI-E isn't configured. */ ret = -ENODEV; goto err1; } Or did I misunderstand the question? -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH v2 4/4] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2009-01-06 Thread Anton Vorontsov
On Tue, Jan 06, 2009 at 07:53:57PM +0100, Leon Woestenberg wrote: > Hello Anton, > > On Mon, Jan 5, 2009 at 7:01 PM, Anton Vorontsov > wrote: > > On Mon, Jan 05, 2009 at 11:46:45AM -0600, Scott Wood wrote: > >> > >> Why? Unless the BSP u-boots do something i

Re: 2.6.28 does not boot on MPC8315E-RDB, or...?

2009-01-06 Thread Anton Vorontsov
ce 2de2fe77d47e0f5d ]--- > Kernel panic - not syncing: Attempted to kill init! > Rebooting in 180 seconds.. Can you please enable CONFIG_KALLSYMS in the .config file? Otherwise the trace is useless. -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___

Re: [spi-devel-general] [PATCH v5] spi: Add PPC4xx SPI driver

2009-01-05 Thread Anton Vorontsov
ment of_gpio_count()") you can use of_gpio_count() from linux/of_gpio.h. -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH v2 4/4] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2009-01-05 Thread Anton Vorontsov
ould try > to have the upstream kernel boot on the u-boot that comes on the board > (it's not nice to require users to reflash unnecessarily). Just in case, the latest version of this patch set is compatible with the FSL u-boots. Thanks, -- Anton Vorontsov email: cbouatmai...@gmail.c

[PATCH 2/2] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2009-01-05 Thread Anton Vorontsov
This patch adds pcie nodes to the appropriate dts files, plus adds some probing code for the boards. Signed-off-by: Anton Vorontsov --- arch/powerpc/boot/dts/mpc8315erdb.dts | 64 + arch/powerpc/boot/dts/mpc8377_mds.dts | 64

[PATCH 1/2] powerpc/fsl_pci: Add MPC83xx PCI-E controller RC mode support

2009-01-05 Thread Anton Vorontsov
;t have to ioremap the whole PCI-E configuration space. [1] http://ozlabs.org/pipermail/linuxppc-dev/2008-January/049028.html Signed-off-by: Tony Li Signed-off-by: Anton Vorontsov --- arch/powerpc/sysdev/fsl_pci.c | 238 include/linux/pci_ids.h |

[PATCH v4 0/2] MPC83xx PCI-E support

2009-01-05 Thread Anton Vorontsov
nstead, PCI-E code reads cfg window BAR to determine config space area; - dts files no longer disable pcie nodes, now Linux detects unconfigured PCI-E controllers at run-time. -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.n

Re: 2.6.28 does not boot on MPC8315E-RDB, or...?

2009-01-05 Thread Anton Vorontsov
..@oksana) (gcc version 4.2.0 (MontaVista 4.2.0-16.0.20.0800760 2008-04-05)) #1 Mon Jan 5 19:43:45 MSK 2009 console [udbg0] enabled setup_arch: bootmem mpc831x_rdb_setup_arch() Found FSL PCI host bridge at 0xe0008500. Firmware bus number: 0->0 PCI host bridge /p...@e0008500 (primary) ran

Re: [PATCH v2 4/4] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2009-01-05 Thread Anton Vorontsov
So you prefer to change the cfg window size to 0x1000? > > I'd prefer to drop it (assuming that is reasonable). I see. Yes, we can drop it and just read the outwin0 BAR register to find out the cfg space base address. > Does the PCI-express OF draft spec cover describing cfg space > &g

Re: [PATCH v2 3/4] powerpc/fsl_pci: Add MPC83xx PCI-E controller RCmode support

2009-01-05 Thread Anton Vorontsov
will work on the u-boot for 83xx PEX, Any question forward > to Jerry Huang (in cc). I think he should have some update for PEX. Much thanks for the information, -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH v2 4/4] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2008-12-31 Thread Anton Vorontsov
On Wed, Dec 31, 2008 at 10:48:07AM -0600, Kumar Gala wrote: > > On Dec 30, 2008, at 2:19 PM, Anton Vorontsov wrote: > >>>> >>>> >>>> + compatible = "fsl,mpc8315-pcie", "fsl,mpc8314-pcie"; >>>> +

Re: mpc5200 spi + mmc support

2008-12-30 Thread Anton Vorontsov
r that patch, it has gone through a lot of revisions. Few hours ago I posted of_mmc_spi to Pierre. http://lkml.org/lkml/2008/12/30/130 Plus we'll need modalias update to actually enable it: http://patchwork.ozlabs.org/patch/12501/ Thanks, -- Anton Vorontsov email: cbouatmai...@gmail.

[PATCH v2 4/4] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2008-12-30 Thread Anton Vorontsov
m the mpc837x_mds.c board file, as mpc83xx_add_bridge() has the same check now. Signed-off-by: Anton Vorontsov --- On Tue, Dec 30, 2008 at 11:46:50AM -0600, Kumar Gala wrote: [...] >> +pci1: p...@e0009000 { >> +#address-cells = <3>; >> +#size-cells = &l

[PATCH v3 3/4] powerpc/fsl_pci: Add MPC83xx PCI-E controller RC mode support

2008-12-30 Thread Anton Vorontsov
;t have to ioremap the whole PCI-E configuration space. [1] http://ozlabs.org/pipermail/linuxppc-dev/2008-January/049028.html Signed-off-by: Tony Li Signed-off-by: Anton Vorontsov --- On Tue, Dec 30, 2008 at 12:07:08PM -0600, Kumar Gala wrote: [...] >> --- a/arch/powerpc/include/asm/pci-b

[PATCH v2 3/4] powerpc/fsl_pci: Add MPC83xx PCI-E controller RC mode support

2008-12-29 Thread Anton Vorontsov
;t have to ioremap the whole PCI-E configuration space. [1] http://ozlabs.org/pipermail/linuxppc-dev/2008-January/049028.html Signed-off-by: Tony Li Signed-off-by: Anton Vorontsov --- On Mon, Dec 29, 2008 at 12:09:38PM -0600, Kumar Gala wrote: > > On Dec 29, 2008, at 10:40 AM, Anton

[PATCH 2/4] powerpc/32: Make clear_fixmap actually work

2008-12-29 Thread Anton Vorontsov
The clear_fixmap() routine issues map_page() with flags set to 0. Currently this causes a BUG_ON() inside the map_page(), as it assumes that a PTE should be clear before mapping. This patch makes the map_page() to trigger the BUG_ON() only if the flags were set. Signed-off-by: Anton Vorontsov

[PATCH 4/4] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2008-12-29 Thread Anton Vorontsov
m the mpc837x_mds.c board file, as mpc83xx_add_bridge() has the same check now. Signed-off-by: Anton Vorontsov --- arch/powerpc/boot/dts/mpc8315erdb.dts | 42 + arch/powerpc/boot/dts/mpc8377_mds.dts | 42 + arch/powerpc/boot/dts/mpc8377_rd

[PATCH 3/4] powerpc/fsl_pci: Add MPC83xx PCI-E controller RC mode support

2008-12-29 Thread Anton Vorontsov
32.c). [1] http://ozlabs.org/pipermail/linuxppc-dev/2008-January/049028.html Signed-off-by: Tony Li Signed-off-by: Anton Vorontsov --- arch/powerpc/include/asm/fixmap.h |4 + arch/powerpc/include/asm/pci-bridge.h |1 + arch/powerpc/sysdev/fsl_pci.c

[PATCH 1/4] powerpc/fsl_pci: Fix sparse warnings

2008-12-29 Thread Anton Vorontsov
'fsl_pcie_check_link' was not declared. Should it be static? Signed-off-by: Anton Vorontsov --- arch/powerpc/sysdev/fsl_pci.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index d5f9ae0..f61

[PATCH 6/6] USB: fsl_qe_udc: Fix stalled TX requests bug

2008-12-25 Thread Anton Vorontsov
ixes a bug I'm observing with ethernet gadget while playing with ifconfig usb0 up/down (the up/down sequence disables and enables `in' and `out' endpoints). Signed-off-by: Anton Vorontsov Acked-by: David Brownell --- drivers/usb/gadget/fsl_qe_udc.c |1 + 1 files changed, 1 i

[PATCH 5/6] USB: fsl_qe_udc: Fix muram corruption by disabled endpoints

2008-12-25 Thread Anton Vorontsov
ransaction and thus prevents the corruption. Signed-off-by: Anton Vorontsov Acked-by: David Brownell --- drivers/usb/gadget/fsl_qe_udc.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/gadget/fsl_qe_udc.c b/drivers/usb/gadget/fsl_qe_udc.c index 4726582..ea42

[PATCH 4/6] USB: fsl_qe_udc: Fix disconnects reporting during bus reset

2008-12-25 Thread Anton Vorontsov
the kernel log. This patch fixes the issue by using the usb_state machine, if the usb controller has been already reset, just quit the reset irq early. Signed-off-by: Anton Vorontsov Acked-by: David Brownell --- drivers/usb/gadget/fsl_qe_udc.c |3 +++ 1 files changed, 3 insertions(+), 0 del

[PATCH 3/6] USB: fsl_qe_udc: Fix QE USB controller initialization

2008-12-25 Thread Anton Vorontsov
. Signed-off-by: Anton Vorontsov --- drivers/usb/gadget/fsl_qe_udc.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget/fsl_qe_udc.c b/drivers/usb/gadget/fsl_qe_udc.c index 2677c9e..b460c6d 100644 --- a/drivers/usb/gadget/fsl_qe_udc.c +++ b/drivers/usb

[PATCH 2/6] USB: fsl_qe_udc: Fix recursive locking bug in ch9getstatus()

2008-12-25 Thread Anton Vorontsov
bug the lock-less __qe_ep_queue() function implemented and used by the ch9getstatus(). Signed-off-by: Anton Vorontsov Acked-by: David Brownell --- drivers/usb/gadget/fsl_qe_udc.c | 26 ++ 1 files changed, 18 insertions(+), 8 deletions(-) diff --git a/drivers/usb/gadget/

[PATCH 1/6] USB: fsl_qe_udc: Fix oops on QE UDC probe failure

2008-12-25 Thread Anton Vorontsov
case of errors. While at it, also implement irq_of_parse_and_map()'s failure and cleanup cases. Signed-off-by: Anton Vorontsov Acked-by: David Brownell --- drivers/usb/gadget/fsl_qe_udc.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget/fs

[PATCH 0/6] USB: Fixes for fsl_qe_udc driver

2008-12-25 Thread Anton Vorontsov
Hi all, Just resending some fixes that seem to be lost... -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH -mm 1/3] USB: FHCI: Driver should be responsible for managing endpoint queues

2008-12-24 Thread Anton Vorontsov
On Wed, Dec 24, 2008 at 12:58:35PM -0800, Greg KH wrote: > On Wed, Dec 24, 2008 at 12:18:53PM -0800, Andrew Morton wrote: > > On Wed, 24 Dec 2008 23:08:45 +0300 Anton Vorontsov > > wrote: > > > > > On Wed, Dec 24, 2008 at 11:59:36AM -0800, Greg KH wrote: > &g

Re: [PATCH -mm 1/3] USB: FHCI: Driver should be responsible for managing endpoint queues

2008-12-24 Thread Anton Vorontsov
On Wed, Dec 24, 2008 at 11:59:36AM -0800, Greg KH wrote: > On Wed, Dec 24, 2008 at 10:13:03PM +0300, Anton Vorontsov wrote: > > Follow these changes for the FHCI driver: > > Hm, would it just make more sense to respin the whole driver? That way > it's never in the tree in

[PATCH -mm 3/3] USB: FHCI: Fix memory leaks in fhci_mem_{init,free}

2008-12-24 Thread Anton Vorontsov
This patch fixes few memory leaks. Particulary: - On errors fhci_mem_init() leaks fhci->hc_list; - fhci_mem_free() doesn't free the allocated eds/tds. Signed-off-by: Anton Vorontsov --- drivers/usb/host/fhci-hcd.c | 57 ++ 1 files cha

[PATCH -mm 2/3] USB: FHCI: Fix namespace pollution

2008-12-24 Thread Anton Vorontsov
Prepend fhci_ prefixes to the external function names. Signed-off-by: Anton Vorontsov --- drivers/usb/host/fhci-hcd.c | 36 drivers/usb/host/fhci-hub.c | 29 +++-- drivers/usb/host/fhci-mem.c | 14 +++--- drivers/usb/host/fhci-q.c | 28

[PATCH -mm 1/3] USB: FHCI: Driver should be responsible for managing endpoint queues

2008-12-24 Thread Anton Vorontsov
ink status is required by usb_hcd_check_unlink_urb(), so it has been added to urb_dequeue. Signed-off-by: Anton Vorontsov --- drivers/usb/host/fhci-hcd.c | 24 drivers/usb/host/fhci-q.c |3 +++ 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/driver

Re: [PATCH] USB: Driver for Freescale QUICC Engine USB Host Controller

2008-12-24 Thread Anton Vorontsov
On Tue, Dec 23, 2008 at 09:45:09PM -0500, Alan Stern wrote: > On Wed, 24 Dec 2008, Anton Vorontsov wrote: > > > This patch adds support for the FHCI USB controller, as found > > in the Freescale MPC836x and MPC832x processors. It can support > > Full or Low speed modes.

Re: [PATCH] USB: Driver for Freescale QUICC Engine USB Host Controller

2008-12-24 Thread Anton Vorontsov
On Tue, Dec 23, 2008 at 01:28:40PM -0800, Andrew Morton wrote: > On Wed, 24 Dec 2008 00:03:22 +0300 > Anton Vorontsov wrote: > > > This patch adds support for the FHCI USB controller, as found > > in the Freescale MPC836x and MPC832x processors. It can support > &

Re: [PATCH] powerpc/iseries: Kexec is known not to work on iseries

2008-12-23 Thread Anton Vorontsov
> But machine_kexec_prepare() already returns -ENOSYS if the platform > doesn't have the hook in ppc_md. I must be missing something; Yeah, the kexec discussion, starting from here: http://ozlabs.org/pipermail/linuxppc-dev/2008-December/066321.html The default behaviour has changed. --

Re: [PATCH] powerpc/qe: Select QE_USB with USB_GADGET_FSL_QE

2008-12-23 Thread Anton Vorontsov
On Wed, Dec 03, 2008 at 10:33:27PM +0300, Anton Vorontsov wrote: > On Sat, Nov 08, 2008 at 08:52:54PM +0300, Anton Vorontsov wrote: > > Boards should know when QE_USB is used, so that they can configure USB > > clocks and pins. > > > > Another option would be

[PATCH] ucc_geth: Eliminate the need for forward references

2008-12-23 Thread Anton Vorontsov
This patch simply reorders some functions to eliminate the need for forward references. No other changes than that. Suggested-by: Timur Tabi Signed-off-by: Anton Vorontsov --- drivers/net/ucc_geth.c | 81 +++- 1 files changed, 39 insertions(+), 42

Re: [PATCH] powerpc/83xx: Fix few build errors with CONFIG_QUICC_ENGINE=n

2008-12-22 Thread Anton Vorontsov
On Fri, Dec 05, 2008 at 07:55:04PM +0300, Anton Vorontsov wrote: > Some 83xx boards were not ready for the optional QUICC Engine support. > > This patch fixes following build errors: > > arch/powerpc/platforms/built-in.o: In function `flush_disable_caches': > (.text+0xb30

Re: [PATCH 2/3] powerpc: Make default kexec/crash_kernel ops implicit

2008-12-21 Thread Anton Vorontsov
On Mon, Dec 22, 2008 at 10:08:42AM +1100, Michael Ellerman wrote: > On Tue, 2008-12-16 at 19:23 +0300, Anton Vorontsov wrote: > > This patch removes need for each platform to specify default kexec and > > crash kernel ops, thus effectively adds a working kexec support for

Re: [PATCH 2/6] ucc_geth: Fix TX watchdog timeout handling

2008-12-20 Thread Anton Vorontsov
On Sat, Dec 20, 2008 at 09:19:23PM -0600, Timur Tabi wrote: > On Thu, Dec 18, 2008 at 12:23 PM, Anton Vorontsov > wrote: > > +static int ucc_geth_close(struct net_device *dev); > > +static int ucc_geth_open(struct net_device *dev); > > I would prefer that you reorder th

Re: [PATCH 3/7] powerpc/32: Setup OF properties for kdump

2008-12-20 Thread Anton Vorontsov
On Sun, Dec 21, 2008 at 12:44:21PM +1100, Paul Mackerras wrote: > Anton Vorontsov writes: > > > From: Dale Farnsworth > > > > Refactor the setting of kexec OF properties, moving the common code > > from machine_kexec_64.c to machine_kexec.c where it can be us

Re: Long boot delay on 460EX with 2.6.28-rc8

2008-12-18 Thread Anton Vorontsov
On Thu, Dec 18, 2008 at 12:51:29PM -0600, Kumar Gala wrote: > > On Dec 18, 2008, at 10:02 AM, Anton Vorontsov wrote: > >> On Thu, Dec 18, 2008 at 02:29:52AM -0800, Felix Radensky wrote: >>> >>> Hi, >>> >>> I'm experiencing a long (arou

Re: [PATCH 0/7] OpenFirmware support for the spi_mpc83xx driver

2008-12-18 Thread Anton Vorontsov
On Fri, Dec 05, 2008 at 11:09:36PM +0300, Anton Vorontsov wrote: > Hi all, > > The patch series are used to support SPI via the OF SPI subsystem > (driver/of/of_spi.c). Now the driver is able to manage its own > chip selects, and doesn't need any auxiliary support from

[PATCH 4/6] ucc_geth: Cleanup repetitive ucc_geth_memclean() calls

2008-12-18 Thread Anton Vorontsov
No need to call ucc_geth_memclean() so many times, just check for errors in ucc_geth_open(), and call ucc_geth_stop() in case of errors. The ucc_geth_stop() may be called anytime and will do the right thing. Signed-off-by: Anton Vorontsov --- drivers/net/ucc_geth.c | 31

[PATCH 5/6] ucc_geth: Fix IO memory (un)mapping code

2008-12-18 Thread Anton Vorontsov
The driver doesn't check ioremap() return value, and doesn't free the remapped memory. This patch fixes it. Signed-off-by: Anton Vorontsov --- drivers/net/ucc_geth.c | 15 --- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/net/ucc_geth.c b/d

[PATCH 6/6] ucc_geth: Remove UGETH_FILTERING dead code

2008-12-18 Thread Anton Vorontsov
be interested in fixing or actually using it. If we ever want the filtering support, we can always revert the patch and fix it, but so far it just draws reader's attention. Signed-off-by: Anton Vorontsov --- drivers/net/Kconfig|4 - drivers/net/ucc_geth.c | 262 -

[PATCH 2/6] ucc_geth: Fix TX watchdog timeout handling

2008-12-18 Thread Anton Vorontsov
these problems by implementing the workqueue for the timeout handling, and there we fully re-open the device via close() and open() calls. The close/open paths do the right things, and I can see that the driver actually survive the timeouts. Signed-off-by: Anton Vorontsov --- drivers/net/uc

[PATCH 3/6] ucc_geth: Fix IRQ freeing code in ucc_geth_open()

2008-12-18 Thread Anton Vorontsov
utine, and move free_irq() into the close(). Signed-off-by: Anton Vorontsov --- drivers/net/ucc_geth.c | 17 - 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c index 98a7bd4..1ba2855 100644 --- a/drivers/net/ucc_geth.c

[PATCH 1/6] ucc_geth: Fix endless loop in stop_{tx,rx} routines

2008-12-18 Thread Anton Vorontsov
g* we can do about that, but it's OK since we'll do full reset later. * Well, actually, there is also not-graceful variant for the TX stop, but specs says that we never should use it. Signed-off-by: Anton Vorontsov --- drivers/net/ucc_geth.c |9 ++--- 1 files changed, 6 i

Re: gianfar tries to free an irq from interrupt context

2008-12-18 Thread Anton Vorontsov
2e 7cd0 54000ffe <0f00> 2b83007f 419d0144 1c030038 > ___ > Linuxppc-dev mailing list > Linuxppc-dev@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-dev -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH v1] Add support for getting device platform data to I2C device

2008-12-18 Thread Anton Vorontsov
On Thu, Dec 18, 2008 at 11:20:03AM -0600, Scott Wood wrote: > Anton Vorontsov wrote: >> On Thu, Dec 18, 2008 at 10:14:11AM +0800, Mingkai Hu wrote: >>> There is no standard way of getting device platform data from >>> dts file to the I2C device when it's probed

Re: [PATCH v1] Add support for getting device platform data to I2C device

2008-12-18 Thread Anton Vorontsov
0/393 * Well, this is not quite true, but they're very close to allmodconfig. -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH 4/4] powerpc/83xx: Add USB Host support for MPC8360E-RDK boards

2008-12-18 Thread Anton Vorontsov
Simply add the usb node to support USB host on the MPC8360E-RDK boards. Currently U-Boot doesn't fill the clock-frequency property for timer nodes, so for now we have to fill it manually. Signed-off-by: Anton Vorontsov --- arch/powerpc/boot/dts/mpc836x_rdk.dts | 19 +

[PATCH 3/4] powerpc/83xx: Add USB Host/Gadget support for MPC8360E-MDS boards

2008-12-18 Thread Anton Vorontsov
h was used to support peripheral mode only. [1] http://ozlabs.org/pipermail/linuxppc-dev/2008-August/061357.html The s-o-b line of the original patch preserved here. Signed-off-by: Li Yang Signed-off-by: Anton Vorontsov --- arch/powerpc/boot/dts/mpc836x_mds.dts | 43 -

[PATCH 2/4] powerpc: Implement GPIO driver for simple memory-mapped banks

2008-12-18 Thread Anton Vorontsov
ly 1-byte GPIO banks. Support for other widths may be implemented when/if needed. p.s. To avoid "made up" compatible entries (like compatible = "simple-gpio"), boards must call simple_gpiochip_init() to pass the compatible string. Signed-off-by: Anton Vorontsov --- arch/power

[PATCH 1/4] powerpc: Add device tree bindings for BCSR GPIO banks

2008-12-18 Thread Anton Vorontsov
A bindings. Signed-off-by: Anton Vorontsov --- Documentation/powerpc/dts-bindings/fsl/board.txt | 32 +- 1 files changed, 31 insertions(+), 1 deletions(-) diff --git a/Documentation/powerpc/dts-bindings/fsl/board.txt b/Documentation/powerpc/dts-bindings/fsl/board.txt index 81a917

<    4   5   6   7   8   9   10   11   12   13   >