Skip to contentSkip to conversation

u-boot-usb/master

GIT PULL Marek Vasut 4 participants 5 messages Jan 25, 2016 – Feb 12, 2016

lore
Share & tools
lore
#0 lore raw

The following changes since commit 12f229ea8f6c8e20f8fd07906eafc853c4c354a9:

Merge git://git.denx.de/u-boot-fdt (2016-01-22 17:01:22 -0500)

are available in the git repository at:

git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to bdbcbe752e93357226cba12a6ce00bbe54cb5db8:

usb: kbd: Prevent out of bound access (2016-01-25 22:00:46 +0100)

----------------------------------------------------------------
Marek Vasut (1):
usb: kbd: Prevent out of bound access

Masahiro Yamada (1):
usb: add clock support for generic EHCI

Stefan Br?ns (7):
usb: dwc2: Fix out-of-bounds access, fix chunk size
usb: dwc2: Simplify wait_for_chhltd(), remove ignore_ack
usb: dwc2: split transfer core from outer loop
usb: dwc2: add helper function for setting SPLIT HC registers
usb: dwc2: Implement SPLIT transaction support
usb: dwc2: Add SPLIT INTERRUPT transaction support
usb: dwc2: Do not mix data toggle for IN and OUT endpoints, check bounds

Stephen Warren (1):
ARM: rpi: enable USB keyboard

Ted Chen (1):
usb: eth: add Realtek RTL8152B/RTL8153 DRIVER

 common/usb_kbd.c                |    2 +-
 drivers/usb/eth/Makefile        |    1 +
 drivers/usb/eth/r8152.c         | 1456 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/usb/eth/r8152.h         |  631 
++++++++++++++++++++++++++++++++++++++++++++++
 drivers/usb/eth/r8152_fw.c      |  980 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/usb/eth/usb_ether.c     |    7 +
 drivers/usb/host/dwc2.c         |  301 ++++++++++++++--------
 drivers/usb/host/dwc2.h         |    1 +
 drivers/usb/host/ehci-generic.c |   14 ++
 include/configs/rpi-common.h    |    6 +-
 include/usb_ether.h             |    6 +
 11 files changed, 3303 insertions(+), 102 deletions(-)
 create mode 100644 drivers/usb/eth/r8152.c
 create mode 100644 drivers/usb/eth/r8152.h
 create mode 100644 drivers/usb/eth/r8152_fw.c
#1 lore raw
Quoted 4 lines · Marek Vasut

The following changes since commit 12f229ea8f6c8e20f8fd07906eafc853c4c354a9:

Merge git://git.denx.de/u-boot-fdt (2016-01-22 17:01:22 -0500)

Quoted 8 lines

are available in the git repository at:

git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to bdbcbe752e93357226cba12a6ce00bbe54cb5db8:

usb: kbd: Prevent out of bound access (2016-01-25 22:00:46 +0100)

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160126/05fe35ef/attachment.sig>
#2 lore raw
In reply to Marek Vasut

+Stephen, Ted

Hi,

Quoted 28 lines · Marek Vasut

The following changes since commit 12f229ea8f6c8e20f8fd07906eafc853c4c354a9:

Merge git://git.denx.de/u-boot-fdt (2016-01-22 17:01:22 -0500)

are available in the git repository at:

git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to bdbcbe752e93357226cba12a6ce00bbe54cb5db8:

usb: kbd: Prevent out of bound access (2016-01-25 22:00:46 +0100)

----------------------------------------------------------------
Marek Vasut (1):
usb: kbd: Prevent out of bound access

Masahiro Yamada (1):
usb: add clock support for generic EHCI

Stefan Br?ns (7):
usb: dwc2: Fix out-of-bounds access, fix chunk size
usb: dwc2: Simplify wait_for_chhltd(), remove ignore_ack
usb: dwc2: split transfer core from outer loop
usb: dwc2: add helper function for setting SPLIT HC registers
usb: dwc2: Implement SPLIT transaction support
usb: dwc2: Add SPLIT INTERRUPT transaction support
usb: dwc2: Do not mix data toggle for IN and OUT endpoints, check bounds

Quoted 5 lines

Stephen Warren (1):
ARM: rpi: enable USB keyboard

Ted Chen (1):
usb: eth: add Realtek RTL8152B/RTL8153 DRIVER

This brings in a driver that does not support driver model. There was one more to convert and then we would be able to move everything to driver model for USB Ethernet. This makes the job harder.

Stephen or Ted, are you able to send a patch to convert it?

Regards,
Simon

#3 lore raw
Quoted 36 lines · Simon Glass

+Stephen, Ted

Hi,

Quoted 31 lines · Marek Vasut

The following changes since commit 12f229ea8f6c8e20f8fd07906eafc853c4c354a9:

   Merge git://git.denx.de/u-boot-fdt (2016-01-22 17:01:22 -0500)

are available in the git repository at:

git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to bdbcbe752e93357226cba12a6ce00bbe54cb5db8:

usb: kbd: Prevent out of bound access (2016-01-25 22:00:46 +0100)

----------------------------------------------------------------
Marek Vasut (1):
usb: kbd: Prevent out of bound access

Masahiro Yamada (1):
usb: add clock support for generic EHCI

Stefan Br?ns (7):
usb: dwc2: Fix out-of-bounds access, fix chunk size
usb: dwc2: Simplify wait_for_chhltd(), remove ignore_ack
usb: dwc2: split transfer core from outer loop
usb: dwc2: add helper function for setting SPLIT HC registers
usb: dwc2: Implement SPLIT transaction support
usb: dwc2: Add SPLIT INTERRUPT transaction support
usb: dwc2: Do not mix data toggle for IN and OUT endpoints, check bounds

Stephen Warren (1):
ARM: rpi: enable USB keyboard

Quoted 8 lines
Quoted 2 lines

Ted Chen (1):
usb: eth: add Realtek RTL8152B/RTL8153 DRIVER

This brings in a driver that does not support driver model. There was one more to convert and then we would be able to move everything to driver model for USB Ethernet. This makes the job harder.

Stephen or Ted, are you able to send a patch to convert it?

I thought the patch wasn't going to be accepted until it was converted. Perhaps it was applied too early?

Anyway, I am not likely to be able to use the driver in the near future due to lack of HW to test it on, so Ted is the best candidate to port it over.

#4 lore raw

Hi,

Quoted 49 lines · Stephen Warren
Quoted 48 lines · Simon Glass

+Stephen, Ted

Hi,

Quoted 31 lines · Marek Vasut

The following changes since commit
12f229ea8f6c8e20f8fd07906eafc853c4c354a9:

   Merge git://git.denx.de/u-boot-fdt (2016-01-22 17:01:22 -0500)

are available in the git repository at:

git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to bdbcbe752e93357226cba12a6ce00bbe54cb5db8:

usb: kbd: Prevent out of bound access (2016-01-25 22:00:46 +0100)

----------------------------------------------------------------
Marek Vasut (1):
usb: kbd: Prevent out of bound access

Masahiro Yamada (1):
usb: add clock support for generic EHCI

Stefan Br?ns (7):
usb: dwc2: Fix out-of-bounds access, fix chunk size
usb: dwc2: Simplify wait_for_chhltd(), remove ignore_ack
usb: dwc2: split transfer core from outer loop
usb: dwc2: add helper function for setting SPLIT HC registers
usb: dwc2: Implement SPLIT transaction support
usb: dwc2: Add SPLIT INTERRUPT transaction support
usb: dwc2: Do not mix data toggle for IN and OUT endpoints, check
bounds

Quoted 5 lines

Stephen Warren (1):
ARM: rpi: enable USB keyboard

Ted Chen (1):
usb: eth: add Realtek RTL8152B/RTL8153 DRIVER

This brings in a driver that does not support driver model. There was one more to convert and then we would be able to move everything to driver model for USB Ethernet. This makes the job harder.

Quoted 8 lines
Quoted 1 line

Stephen or Ted, are you able to send a patch to convert it?

I thought the patch wasn't going to be accepted until it was converted. Perhaps it was applied too early?

Anyway, I am not likely to be able to use the driver in the near future due to lack of HW to test it on, so Ted is the best candidate to port it over.

Possibly, although I'd settle for just converting it and testing it later. It's a new driver. Also at present it's dead code as no board includes it. Plus it should use Kconfig...

Regards,
Simon