Thread (18 messages) 18 messages, 6 authors, 2021-01-13

Re: [PATCH v5 0/3] AMS, Collision Avoidance, and Protocol Error

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-01-12 12:06:45
Also in: lkml

On Tue, Jan 12, 2021 at 12:57:28PM +0100, Hans de Goede wrote:
Hi,

On 1/12/21 12:53 PM, Greg KH wrote:
quoted
On Wed, Jan 06, 2021 at 12:39:24AM +0800, Kyle Tso wrote:
quoted
This series include previous patch "[v4] AMS and Collision Avoidance"
https://lore.kernel.org/r/20201217030632.903718-1-kyletso@google.com (local)
and two more patches "Protocol Error handling" and "Respond Wait if...".

The patch "AMS and Collision Avoidance" in [v5] is the same as the one
in [v4] (only rebased to ToT).

The patch "Protocol Error handling" is based on PD3 6.8.1 to fix the
wrong handling.

The patch "Respond Wait if..." is to fix a conflict when 
DR/PR/VCONN_SWAP occurs just after the state machine enters Ready State.

Kyle Tso (3):
  usb: typec: tcpm: AMS and Collision Avoidance
  usb: typec: tcpm: Protocol Error handling
  usb: typec: tcpm: Respond Wait if VDM state machine is running

 drivers/usb/typec/tcpm/tcpm.c | 925 +++++++++++++++++++++++++++++-----
 include/linux/usb/pd.h        |   2 +
 include/linux/usb/tcpm.h      |   4 +
 3 files changed, 792 insertions(+), 139 deletions(-)
Heikki, any thoughts about this series?
Note I plan to test this series on a device with a fusb302 Type-C
controller, where it broke role-swappings in a previous version of
this series. This is supposed to be fixed now but I would like to
confirm this.

I've had this on my todo list for a while now. I've
now put this in my calendar as a task for tomorrow. So please wait
till you hear back from me (hopefully with a Tested-by) with
merging this, thanks.
No worries, just wanted to make sure it didn't fall through the cracks.

thanks for testing!

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help