mbox series

[v3,0/4] Added some bug fixes for USB4

Message ID 1628269148-51355-1-git-send-email-Sanju.Mehta@amd.com
Headers show
Series Added some bug fixes for USB4 | expand

Message

Sanjay R Mehta Aug. 6, 2021, 4:59 p.m. UTC
From: Sanjay R Mehta <sanju.mehta@amd.com>

This series adds some general USB4 bug fixes as per USB4 Spec.

v2:
	- Added quirk to handle any vendor specific quirks.
v1: 
	- removed PCI-IDs as AMD USB4 controller exposes USB4 class ID.
	- removed clearing of interrupt using interrupt status clear register.
	- skip port Adapter(0) initialisation for both host router & device router.

Sanjay R Mehta (4):
  thunderbolt: Add quirk to support vendor specific implementation
  thunderbolt: Handle ring interrupt by reading intr status
  thunderbolt: Skip port init for control adapter(0)
  thunderbolt: Fix port linking by checking all adapters

 drivers/thunderbolt/nhi.c    | 32 ++++++++++++++++++++++++++++----
 drivers/thunderbolt/switch.c |  4 ++--
 include/linux/thunderbolt.h  |  1 +
 3 files changed, 31 insertions(+), 6 deletions(-)

Comments

Mika Westerberg Aug. 9, 2021, 12:06 p.m. UTC | #1
Hi,

On Fri, Aug 06, 2021 at 11:59:04AM -0500, Sanjay R Mehta wrote:
> From: Sanjay R Mehta <sanju.mehta@amd.com>

> 

> This series adds some general USB4 bug fixes as per USB4 Spec.

> 

> v2:

> 	- Added quirk to handle any vendor specific quirks.

> v1: 

> 	- removed PCI-IDs as AMD USB4 controller exposes USB4 class ID.

> 	- removed clearing of interrupt using interrupt status clear register.

> 	- skip port Adapter(0) initialisation for both host router & device router.

> 

> Sanjay R Mehta (4):

>   thunderbolt: Add quirk to support vendor specific implementation

>   thunderbolt: Handle ring interrupt by reading intr status

>   thunderbolt: Skip port init for control adapter(0)

>   thunderbolt: Fix port linking by checking all adapters


I did some minor tweaks and removed the "Fixes" lines since these are
actually not fixes per se more like improvements :) Then applied all to
thunderbolt.git/next. Please check that they still work on AMD hardware
and make sense in general.

Thanks!
Sanjay R Mehta Aug. 9, 2021, 12:28 p.m. UTC | #2
On 8/9/2021 5:36 PM, Mika Westerberg wrote:
> [CAUTION: External Email]

> 

> Hi,

> 

> On Fri, Aug 06, 2021 at 11:59:04AM -0500, Sanjay R Mehta wrote:

>> From: Sanjay R Mehta <sanju.mehta@amd.com>

>>

>> This series adds some general USB4 bug fixes as per USB4 Spec.

>>

>> v2:

>>       - Added quirk to handle any vendor specific quirks.

>> v1:

>>       - removed PCI-IDs as AMD USB4 controller exposes USB4 class ID.

>>       - removed clearing of interrupt using interrupt status clear register.

>>       - skip port Adapter(0) initialisation for both host router & device router.

>>

>> Sanjay R Mehta (4):

>>   thunderbolt: Add quirk to support vendor specific implementation

>>   thunderbolt: Handle ring interrupt by reading intr status

>>   thunderbolt: Skip port init for control adapter(0)

>>   thunderbolt: Fix port linking by checking all adapters

> 

> I did some minor tweaks and removed the "Fixes" lines since these are

> actually not fixes per se more like improvements :) Then applied all to

> thunderbolt.git/next. Please check that they still work on AMD hardware

> and make sense in general.

> 


Thanks a lot Mika :). This should work for AMD.

> Thanks!

>