From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754084AbdCIJZZ (ORCPT ); Thu, 9 Mar 2017 04:25:25 -0500 Received: from mga14.intel.com ([192.55.52.115]:55108 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752447AbdCIJZX (ORCPT ); Thu, 9 Mar 2017 04:25:23 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,268,1486454400"; d="scan'208";a="942338330" Subject: Re: [PATCH] usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers To: Guenter Roeck , Mathias Nyman References: <1489002556-5749-1-git-send-email-linux@roeck-us.net> Cc: Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org From: Mathias Nyman Message-ID: <58C116A3.7080909@linux.intel.com> Date: Thu, 9 Mar 2017 10:47:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <1489002556-5749-1-git-send-email-linux@roeck-us.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08.03.2017 21:49, Guenter Roeck wrote: > Upstream commit 98d74f9ceaef ("xhci: fix 10 second timeout on removal of > PCI hotpluggable xhci controllers") fixes a problem with hot pluggable PCI > xhci controllers which can result in excessive timeouts, to the point where > the system reports a deadlock. > > The same problem is seen with hot pluggable xhci controllers using the > xhci-plat driver, such as the driver used for Type-C ports on rk3399. > Similar to hot-pluggable PCI controllers, the driver for this chip > removes the xhci controller from the system when the Type-C cable is > disconnected. > > The solution for PCI devices works just as well for non-PCI devices > and avoids the problem. > > Signed-off-by: Guenter Roeck > --- Thanks, adding to queue -Mathias