lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 8 Jan 2020 15:22:50 +0100 From: Greg KH <gregkh@...uxfoundation.org> To: Pawel Laszczak <pawell@...ence.com> Cc: felipe.balbi@...ux.intel.com, rogerq@...com, jbergsagel@...com, nsekhar@...com, nm@...com, linux-kernel@...r.kernel.org, jpawar@...ence.com, kurahul@...ence.com, sparmar@...ence.com, Peter Chan <peter.chan@....com> Subject: Re: [PATCH] usb: cdns3: Fix: ARM core hang after connect/disconnect operation. 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? thanks, greg k-h
Powered by blists - more mailing lists