Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp831579ybe; Mon, 2 Sep 2019 09:48:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJBQt/wo3oOnqFqXwjpHwZCSSit4JKYVI/vazsVbNmrYHwOMSEbXyCT0KmhwU2zkHs51mZ X-Received: by 2002:a65:6850:: with SMTP id q16mr25191636pgt.423.1567442911714; Mon, 02 Sep 2019 09:48:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567442911; cv=none; d=google.com; s=arc-20160816; b=NaJrDSRi9HxFrKFMOXpxywd4w/91wRFt3UlipcHjNMLkbW2aEmARr0H6ZOJPlrOSp4 zY99HsDPZD1ilDDiq+RbiLnwVxsQWaCZv54pJJji5hPFRCj6OIGJTGhPel6ViRmSWAzi fOuJobrEWEFCqgfOzb6QOvKpT17CpcKGSrr9IBUD8QcZs3g/3NchKQwQvVYm7z1Q6ruK M2zWEkKPmVIHEVtEAHLIr26LdHYt/JEY2Sznt3DfCIfCJeq3uOdnuGlY5WOKAueL0mtP CxgNBysT1DFkMGJblxBeeg3Tvi1tTnOQaRGlFD8XH1tmOPuI76eUEABmOfSKJO1vo5mU iH6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=X4LCCxeuQKKBpdGg9K31qhm4hIZcpVvtnQtc9U0Ccy0=; b=vG1XW1zDBaf2mDae2xoJiymGUL9yxN0bK1j59mAw9lBt6N+yQ5VDvSqB0/p7n9s3NV CoQQ5J5zwHCm/XNOKJza37x0qC5FAiWhP3CM1Clkt+Ld2eIZEV8BE0IEJj0uQVTsZLft zeI3Sp1jfYhgOllqnX9p/V9sRrrWCzoCZRMBEzPRaAA7hpyTnpM8oNPWvJtmQ4hOs4jK O6WR8R/BdVWEvYTpRtCkMl6L78WXySlgmtsO4ewrw+xdFyPJfdjbjiBszsj0xS3eBLks OjukxyGBliVvGNy4n8WwwdYE7KpuSP3MgrUHCmvS0882cqIyDojNW4/aYh/jZcUEjhDv sHbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm1 header.b=Tbc3Mj5C; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=yvEAQHsg; 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 f5si12118453pln.228.2019.09.02.09.48.15; Mon, 02 Sep 2019 09:48:31 -0700 (PDT) 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=@kroah.com header.s=fm1 header.b=Tbc3Mj5C; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=yvEAQHsg; 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 S1726452AbfIBQr2 (ORCPT + 99 others); Mon, 2 Sep 2019 12:47:28 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:40117 "EHLO wout2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726130AbfIBQr1 (ORCPT ); Mon, 2 Sep 2019 12:47:27 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 6D69B5A5; Mon, 2 Sep 2019 12:47:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 02 Sep 2019 12:47:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=X4LCCxeuQKKBpdGg9K31qhm4hIZ cpVvtnQtc9U0Ccy0=; b=Tbc3Mj5CAQtxKSYc87aqaJHqwUU7vtREDCr5pCD0RCM 2RDUv5zFY0I09pRJWET565WJnVMVU5PUfqZfeIrnu7BouP/5Wc9mbN6BL6HnBJhA rv8whm+YKyrGfimK6LR5tG6eu3v7uvWjqamfcEG2bSu22yrDCTBu2LJ+UJp/MsZr NvAwj3lvU2Yl4f4jGO0fL/RJrMrhJz7zvNxrBpkViQofeRrE6p6pfWyHrdwL83YJ 62MWhgSl2J90zgzDUPzX/FqHWUPzBqKg/vbyWrlKFwFyeQd+aJNotSbW6kQ9xfh2 u5kphtaBoa/PRhNTfh5bGK8/moZ++1Q7kvwAWq4mtpg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=X4LCCx euQKKBpdGg9K31qhm4hIZcpVvtnQtc9U0Ccy0=; b=yvEAQHsg41RyWHWY+Nult+ lYkP/S+SNZn0RwG9riT2fIuKgYFepQo4kLQ09WHIn4opVfELepUPrNjGon4hm4ZE WBM2NPgw9/G7qJCF58UXOI7EXKxLY2TX0XEUn/V+Se/hxEMnXW88Y0vrkcn5LZYA yKIxQAPpC4rFauAfNO3FHLyWpmYX1I+c3jKs+Yszp9JBxnQW7Pp5AgcZ2HwC3LIM a1gci7xQIdhZt5MqLOaC76hVrBQa3nOyZBcml4zBL6w15PP0QvkRtV4agw+rvBC4 G/LkUb6gB2YSDeNfcCeHSuwR1ivE9KaRWkc0icrMf7lu3S/QmyqPiE/8ul3oqZYA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudejtddguddtiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujggfsehttdertddtredvnecuhfhrohhmpefirhgv ghcumffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucfkphepkeefrdekiedrkeelrd dutdejnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrhgvgheskhhrohgrhhdrtghomhen ucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) by mail.messagingengine.com (Postfix) with ESMTPA id 8B2F3D6005F; Mon, 2 Sep 2019 12:47:25 -0400 (EDT) Date: Mon, 2 Sep 2019 18:47:24 +0200 From: Greg KH To: Alan Stern Cc: Julius Werner , Dan Williams , Kernel development list , USB list , USB Storage list Subject: Re: [PATCH] usb: storage: Add ums-cros-aoa driver Message-ID: <20190902164724.GA22619@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 30, 2019 at 01:43:36PM -0400, Alan Stern wrote: > > I could instead add a new sysfs node 'force_bind' to the driver core, > > that would work like 'bind' except for skipping the > > driver_match_device() call entirely and forcing a probe(). Do you > > think that would be acceptable? Or is that too big of a hammer to make > > available for all drivers in Linux? Maybe if I do the same thing but > > only for usb drivers, or even only for the usb-storage driver > > specifically, would that be acceptable? > > This is a question for Greg. The problem is that there may be drivers > which can't handle being probed for devices they don't match. > > Still, we ought to have a mechanism for doing manual but not automatic > matches. > > Greg, any thoughts? This should work just fine today. Add a new device id to the "new_id" file and then tell the driver to bind. That's pretty much the same as a "force_bind", right? thanks, greg k-h