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 X-Spam-Level: X-Spam-Status: No, score=-6.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1BBE2C432BE for ; Thu, 5 Aug 2021 19:28:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EA8C260F70 for ; Thu, 5 Aug 2021 19:28:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235149AbhHET2l (ORCPT ); Thu, 5 Aug 2021 15:28:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:47386 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230342AbhHET2k (ORCPT ); Thu, 5 Aug 2021 15:28:40 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 258BD60ED6; Thu, 5 Aug 2021 19:28:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1628191705; bh=JhNL8KuD2szPC+zCm2RHptrrY9pP+yh9GzSS1BHqGXk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YDtmgTRhgVn//s60xzR/jK13i0jZlQMkn6EfeUv57be7mrn/qB6We+tYh+Z0TTmLW TFT1vqL9k3QogzFpRrORefk5HXpd4UNEeMCxQHfUoVaQVIMTMUUDeFdrzQIq2Lbw41 6NS9gbs1SKAHhO083Cdsd/+Y8DmIW5ag7m+UhMXg= Date: Thu, 5 Aug 2021 21:28:22 +0200 From: Greg Kroah-Hartman To: Dan Williams Cc: "Kuppuswamy, Sathyanarayanan" , Andi Kleen , "Rafael J . Wysocki" , Jonathan Corbet , Kuppuswamy Sathyanarayanan , Linux Kernel Mailing List , Linux Doc Mailing List Subject: Re: [PATCH v1] driver: base: Add driver filter support Message-ID: References: <21db8884-5aa1-3971-79ef-f173a0a95bef@linux.intel.com> <7d6751b1-c476-51d3-25c6-b65c0e93d23b@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 05, 2021 at 12:18:12PM -0700, Dan Williams wrote: > On Thu, Aug 5, 2021 at 12:12 PM Greg Kroah-Hartman > wrote: > > > > On Thu, Aug 05, 2021 at 11:53:52AM -0700, Kuppuswamy, Sathyanarayanan wrote: > > > I am not sure how USB and Thunderbolt "authorzied" model works. But I > > > don't think it prevents built-in driver probes during kernel boot right? > > > > Yes it does. > > > > Again Intel created this framework well over a decade ago for busses > > that it deemed that it did not want to "trust" to instantly probe > > drivers for and made it part of the Wireless USB specification. > > > > Then Intel went and added the same framework to Thunderbolt for the same > > reason. > > > > To ignore this work is quite odd, you might want to talk to your > > coworkers... > > Sometimes we need upstream to connect us wayward drones back into the > hive mind. Forgive me for not immediately recognizing that the > existing 'authorized' mechanisms might be repurposed for this use > case. Not your fault, I'm more amazed that Andi doesn't remember this, he's been around longer :) But the first instinct should not be "let's go add a new feature", but rather, "how has this problem been solved by others first" because, really, this is not a new issue at all. You should not rely on just me to point out existing kernel features, we do have documentation you know... thanks, greg k-h