[U-Boot] [PULL] u-boot-usb/master

I'm not sure if we want them in current release or next, I'll leave that to you to decide. I don't see much danger for current though.
The following changes since commit a6f0c4faa4c65a7b7048b12c9d180d7e1aad1721:
Merge branch 'master' of git://git.denx.de/u-boot-avr32 (2012-09-04 09:17:27 +0200)
are available in the git repository at:
git://git.denx.de/u-boot-usb.git master
for you to fetch changes up to 8187c2dcbd3e47ecfef406468c8eee1fe746b8e7:
usb: do explicit unaligned accesses (2012-09-06 08:02:08 +0200)
---------------------------------------------------------------- Lucas Stach (5): usb: lowlevel interface change to support multiple controllers usb: ehci: rework to take advantage of new lowlevel interface usb: add support for multiple usb controllers tegra20: port to new ehci interface usb: do explicit unaligned accesses
Łukasz Majewski (2): dfu:usb: Support for ext4 dfu:usb:fix: Read the "filesize" environment variable only when file read
arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c | 4 +-- arch/arm/cpu/armv7/tegra20/usb.c | 15 +++------ arch/arm/include/asm/arch-tegra20/usb.h | 4 +-- arch/arm/include/asm/ehci-omap.h | 10 +++++- arch/mips/cpu/mips32/au1x00/au1x00_usb_ohci.c | 4 +-- arch/powerpc/cpu/mpc5xxx/usb_ohci.c | 4 +-- arch/powerpc/cpu/ppc4xx/usb_ohci.c | 4 +-- arch/sparc/cpu/leon3/usb_uhci.c | 4 +-- arch/sparc/lib/bootm.c | 2 +- board/htkw/mcx/mcx.c | 6 ++-- board/mpl/common/usb_uhci.c | 4 +-- board/technexion/twister/twister.c | 6 ++-- board/teejet/mt_ventoux/mt_ventoux.c | 6 ++-- board/ti/beagle/beagle.c | 6 ++-- board/ti/panda/panda.c | 6 ++-- common/cmd_usb.c | 16 ++++++--- common/usb.c | 108 +++++++++++++++++++++++++++++++++---------------------------- common/usb_hub.c | 16 +++++---- common/usb_storage.c | 2 +- drivers/dfu/dfu_mmc.c | 34 +++++++++++++++---- drivers/usb/eth/usb_ether.c | 2 +- drivers/usb/host/ehci-armada100.c | 15 ++++----- drivers/usb/host/ehci-atmel.c | 11 +++---- drivers/usb/host/ehci-core.h | 29 ----------------- drivers/usb/host/ehci-exynos.c | 15 ++++----- drivers/usb/host/ehci-fsl.c | 11 +++---- drivers/usb/host/ehci-hcd.c | 131 +++++++++++++++++++++++++++++++++++++++++--------------------------------- drivers/usb/host/ehci-ixp4xx.c | 15 ++++----- drivers/usb/host/ehci-marvell.c | 15 ++++----- drivers/usb/host/ehci-mpc512x.c | 25 ++++++-------- drivers/usb/host/ehci-mx5.c | 11 +++---- drivers/usb/host/ehci-mx6.c | 11 +++---- drivers/usb/host/ehci-mxc.c | 11 +++---- drivers/usb/host/ehci-mxs.c | 28 +++++++++------- drivers/usb/host/ehci-omap.c | 10 +++--- drivers/usb/host/ehci-pci.c | 15 ++++----- drivers/usb/host/ehci-ppc4xx.c | 11 +++---- drivers/usb/host/ehci-tegra.c | 14 ++++---- drivers/usb/host/ehci-vct.c | 9 +++--- drivers/usb/host/ehci.h | 4 +-- drivers/usb/host/isp116x-hcd.c | 4 +-- drivers/usb/host/ohci-hcd.c | 4 +-- drivers/usb/host/r8a66597-hcd.c | 4 +-- drivers/usb/host/sl811-hcd.c | 4 +-- drivers/usb/musb/musb_hcd.c | 4 +-- include/usb.h | 10 ++++-- include/usb/mv_udc.h | 2 +- 47 files changed, 352 insertions(+), 334 deletions(-) delete mode 100644 drivers/usb/host/ehci-core.h

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 09/17/12 10:52, Marek Vasut wrote:
I'm not sure if we want them in current release or next, I'll leave that to you to decide. I don't see much danger for current though.
I believe all of this made it by the merge window and looks good. But in the future please only pull request code you believe to be ready for mainline. If you aren't sure, test it more, review it more and be sure. I'm relying on all of the custodians and their judgement of what is, and is not, ready to go. Thanks!
- -- Tom

Dear Tom Rini,
On 09/17/12 10:52, Marek Vasut wrote:
I'm not sure if we want them in current release or next, I'll leave that to you to decide. I don't see much danger for current though.
I believe all of this made it by the merge window and looks good.
It's been stuck in there for a while, yes.
But in the future please only pull request code you believe to be ready for mainline. If you aren't sure, test it more, review it more and be sure. I'm relying on all of the custodians and their judgement of what is, and is not, ready to go. Thanks!
Best regards, Marek Vasut

On Mon, Sep 17, 2012 at 07:52:26PM +0200, Marek Vasut wrote:
I'm not sure if we want them in current release or next, I'll leave that to you to decide. I don't see much danger for current though.
The following changes since commit a6f0c4faa4c65a7b7048b12c9d180d7e1aad1721:
Merge branch 'master' of git://git.denx.de/u-boot-avr32 (2012-09-04 09:17:27 +0200)
are available in the git repository at:
git://git.denx.de/u-boot-usb.git master
for you to fetch changes up to 8187c2dcbd3e47ecfef406468c8eee1fe746b8e7:
usb: do explicit unaligned accesses (2012-09-06 08:02:08 +0200)
Lucas Stach (5): usb: lowlevel interface change to support multiple controllers usb: ehci: rework to take advantage of new lowlevel interface usb: add support for multiple usb controllers tegra20: port to new ehci interface usb: do explicit unaligned accesses
??ukasz Majewski (2): dfu:usb: Support for ext4 dfu:usb:fix: Read the "filesize" environment variable only when file read
arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c | 4 +-- arch/arm/cpu/armv7/tegra20/usb.c | 15 +++------ arch/arm/include/asm/arch-tegra20/usb.h | 4 +-- arch/arm/include/asm/ehci-omap.h | 10 +++++- arch/mips/cpu/mips32/au1x00/au1x00_usb_ohci.c | 4 +-- arch/powerpc/cpu/mpc5xxx/usb_ohci.c | 4 +-- arch/powerpc/cpu/ppc4xx/usb_ohci.c | 4 +-- arch/sparc/cpu/leon3/usb_uhci.c | 4 +-- arch/sparc/lib/bootm.c | 2 +- board/htkw/mcx/mcx.c | 6 ++-- board/mpl/common/usb_uhci.c | 4 +-- board/technexion/twister/twister.c | 6 ++-- board/teejet/mt_ventoux/mt_ventoux.c | 6 ++-- board/ti/beagle/beagle.c | 6 ++-- board/ti/panda/panda.c | 6 ++-- common/cmd_usb.c | 16 ++++++--- common/usb.c | 108 +++++++++++++++++++++++++++++++++---------------------------- common/usb_hub.c | 16 +++++---- common/usb_storage.c | 2 +- drivers/dfu/dfu_mmc.c | 34 +++++++++++++++---- drivers/usb/eth/usb_ether.c | 2 +- drivers/usb/host/ehci-armada100.c | 15 ++++----- drivers/usb/host/ehci-atmel.c | 11 +++---- drivers/usb/host/ehci-core.h | 29 ----------------- drivers/usb/host/ehci-exynos.c | 15 ++++----- drivers/usb/host/ehci-fsl.c | 11 +++---- drivers/usb/host/ehci-hcd.c | 131 +++++++++++++++++++++++++++++++++++++++++--------------------------------- drivers/usb/host/ehci-ixp4xx.c | 15 ++++----- drivers/usb/host/ehci-marvell.c | 15 ++++----- drivers/usb/host/ehci-mpc512x.c | 25 ++++++-------- drivers/usb/host/ehci-mx5.c | 11 +++---- drivers/usb/host/ehci-mx6.c | 11 +++---- drivers/usb/host/ehci-mxc.c | 11 +++---- drivers/usb/host/ehci-mxs.c | 28 +++++++++------- drivers/usb/host/ehci-omap.c | 10 +++--- drivers/usb/host/ehci-pci.c | 15 ++++----- drivers/usb/host/ehci-ppc4xx.c | 11 +++---- drivers/usb/host/ehci-tegra.c | 14 ++++---- drivers/usb/host/ehci-vct.c | 9 +++--- drivers/usb/host/ehci.h | 4 +-- drivers/usb/host/isp116x-hcd.c | 4 +-- drivers/usb/host/ohci-hcd.c | 4 +-- drivers/usb/host/r8a66597-hcd.c | 4 +-- drivers/usb/host/sl811-hcd.c | 4 +-- drivers/usb/musb/musb_hcd.c | 4 +-- include/usb.h | 10 ++++-- include/usb/mv_udc.h | 2 +- 47 files changed, 352 insertions(+), 334 deletions(-) delete mode 100644 drivers/usb/host/ehci-core.h
This breaks at least: ARM: m28evk apx4devkit sc_sps_1 mx28evk PowerPC: Everything that uses ehci-fsl.c, the first of which I saw was P2020RDB_36BIT but there's approx 141 boards total broken with MAKEALL -a powerpc.
Rejected, please re-work.

The following changes since commit 5fb29f3c48d26981b117b08286bc16ec99d4ca0b:
Merge branch 'ext4' (2012-09-20 11:27:35 -0700)
are available in the git repository at:
git://git.denx.de/u-boot-usb.git master
for you to fetch changes up to 93ad908c43ed5d8e3e546dd22fa08b668c5090d9:
usb: do explicit unaligned accesses (2012-09-21 00:05:00 +0200)
---------------------------------------------------------------- Lucas Stach (1): usb: do explicit unaligned accesses
Łukasz Majewski (2): dfu:usb: Support for ext4 dfu:usb:fix: Read the "filesize" environment variable only when file read
common/usb_hub.c | 14 +++++++++----- drivers/dfu/dfu_mmc.c | 34 +++++++++++++++++++++++++++------- drivers/usb/host/ehci-hcd.c | 7 +++++-- 3 files changed, 41 insertions(+), 14 deletions(-)

On Fri, Sep 21, 2012 at 12:05:55AM +0200, Marek Vasut wrote:
The following changes since commit 5fb29f3c48d26981b117b08286bc16ec99d4ca0b:
Merge branch 'ext4' (2012-09-20 11:27:35 -0700)
are available in the git repository at:
git://git.denx.de/u-boot-usb.git master
for you to fetch changes up to 93ad908c43ed5d8e3e546dd22fa08b668c5090d9:
usb: do explicit unaligned accesses (2012-09-21 00:05:00 +0200)
Lucas Stach (1): usb: do explicit unaligned accesses
??ukasz Majewski (2): dfu:usb: Support for ext4 dfu:usb:fix: Read the "filesize" environment variable only when file read
common/usb_hub.c | 14 +++++++++----- drivers/dfu/dfu_mmc.c | 34 +++++++++++++++++++++++++++------- drivers/usb/host/ehci-hcd.c | 7 +++++-- 3 files changed, 41 insertions(+), 14 deletions(-)
I've applied this. But please note: Testing edminiv2 on -00600-g50d924b Fri Sep 21 10:57:25 MST 2012 Configuring for edminiv2 board... text data bss dec hex filename 195013 3536 86692 285241 45a39 edminiv2/u-boot ehci-hcd.c: In function 'ehci_submit_async': ehci-hcd.c:291:2: warning: #warning CONFIG_SYS_MALLOC_LEN may be too small for EHCI [-Wcpp]
--------------------- SUMMARY ---------------------------- Boards compiled: 1 Boards with warnings but no errors: 1 ( edminiv2 ) ----------------------------------------------------------
Albert, this is your platform.

Dear Tom Rini,
On Fri, Sep 21, 2012 at 12:05:55AM +0200, Marek Vasut wrote:
The following changes since commit 5fb29f3c48d26981b117b08286bc16ec99d4ca0b: Merge branch 'ext4' (2012-09-20 11:27:35 -0700)
are available in the git repository at: git://git.denx.de/u-boot-usb.git master
for you to fetch changes up to 93ad908c43ed5d8e3e546dd22fa08b668c5090d9: usb: do explicit unaligned accesses (2012-09-21 00:05:00 +0200)
Lucas Stach (1): usb: do explicit unaligned accesses
??ukasz Majewski (2): dfu:usb: Support for ext4 dfu:usb:fix: Read the "filesize" environment variable only when file read
common/usb_hub.c | 14 +++++++++----- drivers/dfu/dfu_mmc.c | 34 +++++++++++++++++++++++++++------- drivers/usb/host/ehci-hcd.c | 7 +++++-- 3 files changed, 41 insertions(+), 14 deletions(-)
I've applied this. But please note: Testing edminiv2 on -00600-g50d924b Fri Sep 21 10:57:25 MST 2012 Configuring for edminiv2 board... text data bss dec hex filename 195013 3536 86692 285241 45a39 edminiv2/u-boot ehci-hcd.c: In function 'ehci_submit_async': ehci-hcd.c:291:2: warning: #warning CONFIG_SYS_MALLOC_LEN may be too small for EHCI [-Wcpp]
--------------------- SUMMARY ---------------------------- Boards compiled: 1 Boards with warnings but no errors: 1 ( edminiv2 )
Albert, this is your platform.
Did this explode only now? This warning was added a while ago.
Best regards, Marek Vasut

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 09/21/12 11:05, Marek Vasut wrote:
Dear Tom Rini,
On Fri, Sep 21, 2012 at 12:05:55AM +0200, Marek Vasut wrote:
The following changes since commit 5fb29f3c48d26981b117b08286bc16ec99d4ca0b: Merge branch 'ext4' (2012-09-20 11:27:35 -0700)
are available in the git repository at: git://git.denx.de/u-boot-usb.git master
for you to fetch changes up to 93ad908c43ed5d8e3e546dd22fa08b668c5090d9: usb: do explicit unaligned accesses (2012-09-21 00:05:00 +0200)
Lucas Stach (1):
usb: do explicit unaligned accesses
??ukasz Majewski (2): dfu:usb: Support for ext4 dfu:usb:fix: Read the "filesize" environment variable only when file read
common/usb_hub.c | 14 +++++++++----- drivers/dfu/dfu_mmc.c | 34 +++++++++++++++++++++++++++------- drivers/usb/host/ehci-hcd.c | 7 +++++-- 3 files changed, 41 insertions(+), 14 deletions(-)
I've applied this. But please note: Testing edminiv2 on -00600-g50d924b Fri Sep 21 10:57:25 MST 2012 Configuring for edminiv2 board... text data bss dec hex filename 195013 3536 86692 285241 45a39 edminiv2/u-boot ehci-hcd.c: In function 'ehci_submit_async': ehci-hcd.c:291:2: warning: #warning CONFIG_SYS_MALLOC_LEN may be too small for EHCI [-Wcpp]
--------------------- SUMMARY ---------------------------- Boards compiled: 1 Boards with warnings but no errors: 1 ( edminiv2 )
Albert, this is your platform.
Did this explode only now? This warning was added a while ago.
Yes, it's one of the differences in my logs before and after.
- -- Tom

Hi Tom, Marek,
On Fri, 21 Sep 2012 11:13:50 -0700, Tom Rini trini@ti.com wrote:
I've applied this. But please note: Testing edminiv2 on -00600-g50d924b Fri Sep 21 10:57:25 MST 2012 Configuring for edminiv2 board... text data bss dec hex filename 195013 3536 86692 285241 45a39 edminiv2/u-boot ehci-hcd.c: In function 'ehci_submit_async': ehci-hcd.c:291:2: warning: #warning CONFIG_SYS_MALLOC_LEN may be too small for EHCI [-Wcpp]
--------------------- SUMMARY ---------------------------- Boards compiled: 1 Boards with warnings but no errors: 1 ( edminiv2 )
Albert, this is your platform.
Did this explode only now? This warning was added a while ago.
Yes, it's one of the differences in my logs before and after.
I've just seen it while merging u-boot/master for regression before requestion pull of ARM. Bumping up to 256KB makes the warning disappear; I'll be running tests on the board once I am done with Tom's and my pull reqs.
Amicalement,
participants (3)
-
Albert ARIBAUD
-
Marek Vasut
-
Tom Rini