[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BYAPR07MB4709DB56EF568E410881E7EFDD390@BYAPR07MB4709.namprd07.prod.outlook.com>
Date: Thu, 9 Jan 2020 04:16:26 +0000
From: Pawel Laszczak <pawell@...ence.com>
To: Greg KH <gregkh@...uxfoundation.org>
CC: "felipe.balbi@...ux.intel.com" <felipe.balbi@...ux.intel.com>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"rogerq@...com" <rogerq@...com>,
"jbergsagel@...com" <jbergsagel@...com>,
"nsekhar@...com" <nsekhar@...com>, "nm@...com" <nm@...com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Jayshri Dajiram Pawar <jpawar@...ence.com>,
Rahul Kumar <kurahul@...ence.com>,
Sanket Parmar <sparmar@...ence.com>,
Peter Chan <peter.chan@....com>
Subject: RE: [PATCH] usb: cdns3: Fix: ARM core hang after connect/disconnect
operation.
Hi,
>
>
>On Wed, Jan 08, 2020 at 12:37:18PM +0100, Pawel Laszczak wrote:
>> The ARM core hang when access USB register after tens of thousands
>> connect/disconnect operation.
>>
>> The issue was observed on platform with android system and is not easy
>> to reproduce. During test controller works at HS device mode with host
>> connected.
>>
>> The test is based on continuous disabling/enabling USB device function
>> what cause continuous setting DEVDS/DEVEN bit in USB_CONF register.
>>
>> For testing was used composite device consisting from ADP and RNDIS
>> function.
>>
>> Presumably the problem was caused by DMA transfer made after setting
>> DEVDS bit. To resolve this issue fix stops all DMA transfer before
>> setting DEVDS bit.
>>
>> Signed-off-by: Pawel Laszczak <pawell@...ence.com>
>> Signed-off-by: Peter Chan <peter.chan@....com>
>> Reported-by: Peter Chan <peter.chan@....com>
>> Fixes: 7733f6c32e36 ("usb: cdns3: Add Cadence USB3 DRD Driver")
>> ---
>> drivers/usb/cdns3/gadget.c | 84 ++++++++++++++++++++++++++------------
>> drivers/usb/cdns3/gadget.h | 1 +
>> 2 files changed, 58 insertions(+), 27 deletions(-)
>
>Any reason to forget linux-usb@...r.kernel.org for usb patches?
No reason. I missed it.
+ linux-usb@...r.kernel.org
Thanks,
Pawell
>
>thanks,
>
>greg k-h
Powered by blists - more mailing lists