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
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
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_
- 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
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
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
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
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_
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
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
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
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
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
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
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
-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
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
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
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
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
.
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
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
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
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
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;
> +
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
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:
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
+ 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
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
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.
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
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
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
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
;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
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
__
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.
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
;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 |
- 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
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/
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
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
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
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
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
___
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
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
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
;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 |
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
..@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
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
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
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";
>>>> +
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.
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
;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
;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
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
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
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
'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
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
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
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
.
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
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/
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
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
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
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
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
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
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
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.
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
> &
> 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.
--
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
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
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
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
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
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
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
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
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
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
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 -
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
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
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
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
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
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
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 +
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 -
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
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
801 - 900 of 1893 matches
Mail list logo