Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp843376ybl; Wed, 8 Jan 2020 06:50:20 -0800 (PST) X-Google-Smtp-Source: APXvYqyxQo+ziVx7F+64x0S2rrBdU+kG0hFSWgKx4ttkSOOoM8Nrn6y6BYpJyLEuaVbLTWBrf8ze X-Received: by 2002:a05:6830:2009:: with SMTP id e9mr4585874otp.160.1578495020244; Wed, 08 Jan 2020 06:50:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578495020; cv=none; d=google.com; s=arc-20160816; b=0h+NotRzP5988GcuK8unIlt1n/10muSpXssc8zSf++HtodTn3IYsvXXbSAROLoilXF BJ2ffdCMigEAiraE6ylNuTqyGVrbBtiMdgvujxHRC7t+8cQOVmXmLdbwQWBWY6cojZ78 u6Ds6uBlkzQ+Ws4sBfyMnDG1S3yysQmraxffVYVZYCXfV+gRuGRCCIo4b+dwjCB3zwky HyCXTR8R8ddFFwGADy3DJUBo5+vPiPvAmGoROZJ5aMbCFlLkaDPh9IAHfJ0U5kA3Pa4O CDQpvqQDCQGRrLMXrlhqo+xaD3TIR1byPk///AZfP6lTleN9EvAcd1hLNNv67ywuzgM8 upkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=YEPJ+dh/Ip5szV3T2f5m7m/qaNKCiLOaoToIY2HVqyA=; b=V967goFijgRGcsjM7W8J32tBu5XRPOB485vY1YOF8OzJPY6w7qRp7vT/DmojHFzbVn VaD6XUx77T8/jvyFfgfDm+tNVlQRF1J+IE+G6twtO1AzD7ELJZ3DnFL3ta2wHCQLlN1w IZ82Qf50WRf5Bzmm5Q2wTTI62AlltUvlT73pQnOhbDzxoUrZfbmyFOJ56rGHy0tjbY2I QvvgEgSF9wUWBxnTT59+4O0X3DMDK+CicZuSdto2+jOl0gjnaiTZEWwA3YEL8Kqsx1XT VhSz7TEzk6ut6PmTFVWiQrAvHaNmzVebIyjRVY3emnhvOcVQiqf9Z7c3O82sCl6L1E7v ZqHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Drxq+7UW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v67si1985984oia.26.2020.01.08.06.50.06; Wed, 08 Jan 2020 06:50:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Drxq+7UW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728917AbgAHOWx (ORCPT + 99 others); Wed, 8 Jan 2020 09:22:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:59202 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728132AbgAHOWw (ORCPT ); Wed, 8 Jan 2020 09:22:52 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C97AE20692; Wed, 8 Jan 2020 14:22:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578493372; bh=J8i3km5c1S1vDwkAR9EfgL+HAWOrIMumVpDV8kFc4ps=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Drxq+7UWVIMSpeR2A0RV+zoFkkPhWQrLSW92+B3CsY64iZ9QVw6nw2MsWKRdsugnj mzEcHSa9sg8d/PTpay+I/5iRelRxHlw97ooO+tni3iqt5L8tYbxmq4ipGQEwUB3LH8 HFSSA32kKTYBoUvAyU/CLORJPfsVXC/OIP0RUWME= Date: Wed, 8 Jan 2020 15:22:50 +0100 From: Greg KH To: Pawel Laszczak Cc: felipe.balbi@linux.intel.com, rogerq@ti.com, jbergsagel@ti.com, nsekhar@ti.com, nm@ti.com, linux-kernel@vger.kernel.org, jpawar@cadence.com, kurahul@cadence.com, sparmar@cadence.com, Peter Chan Subject: Re: [PATCH] usb: cdns3: Fix: ARM core hang after connect/disconnect operation. Message-ID: <20200108142250.GA2383861@kroah.com> References: <20200108113719.21551-1-pawell@cadence.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200108113719.21551-1-pawell@cadence.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Signed-off-by: Peter Chan > Reported-by: Peter Chan > 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@vger.kernel.org for usb patches? thanks, greg k-h