From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D185C433EF for ; Thu, 30 Sep 2021 05:32:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DBAD4617E4 for ; Thu, 30 Sep 2021 05:32:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348101AbhI3Fdp (ORCPT ); Thu, 30 Sep 2021 01:33:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:60056 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348096AbhI3Fdg (ORCPT ); Thu, 30 Sep 2021 01:33:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A87776135D; Thu, 30 Sep 2021 05:31:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632979914; bh=qgF3mXPiviYN07VlLPuhXZ5G1voewEGfUYirB3xXEdY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mUWZmSsSN9ChHM1UQxmmJpclnue/Q+lXBO3mBJN35tunWT+kSoAZMwswzGdFAfQP+ T7G/LFmrthA+QiTHXe1ydVF5aMWOc9mPapddaXMGoOZgo/yQ0aDCzMTKS9p/auFXDk IaUs1Wf6L0k0VvG7ju27gAji8qwraRPHSJSM561g= Date: Thu, 30 Sep 2021 07:31:50 +0200 From: Greg Kroah-Hartman To: Rajat Jain Cc: Alan Stern , Thinh Nguyen , Mathias Nyman , Andrew Lunn , Chris Chiu , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, levinale@google.com, bleung@google.com, rajatxjain@gmail.com, jsbarnes@google.com, pmalani@google.com Subject: Re: [PATCH 2/2] usb: hub: Mark devices downstream a removable hub, as removable Message-ID: References: <20210929224823.556943-1-rajatja@google.com> <20210929224823.556943-2-rajatja@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210929224823.556943-2-rajatja@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Wed, Sep 29, 2021 at 03:48:23PM -0700, Rajat Jain wrote: > If a usb device sits below a removable hub, mark the device also as > removable. This helps with devices inserted on a standard removable hub or > also thunderbold docks, to be shown as removable. > > Signed-off-by: Rajat Jain > --- > drivers/usb/core/hub.c | 7 +++++++ > 1 file changed, 7 insertions(+) Combined with the previous patch, you are now marking all devices that happen to be attached to a root hub that is on a thunderbolt controller as removable. So all USB devices inside of a docking station are now removable? What type of devices did you test this series out with? And again, what problem are you trying to solve? thanks, greg k-h