Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp889982pxt; Thu, 5 Aug 2021 14:26:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmoMpIkts+C+rwBR2UWlQo2kpV2FrlHTXyAPN0n8YlFTxsYQWGE//hyt5O4FN7dDSJHTRv X-Received: by 2002:a17:907:160d:: with SMTP id hb13mr6722282ejc.489.1628198801925; Thu, 05 Aug 2021 14:26:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628198801; cv=none; d=google.com; s=arc-20160816; b=FnVJZQswSsR/Gc+7n3sbW0Pd63sozcWFZRqBzTecSsTXE/fwRF/Z5aIq10SJ4y92FS YG2Zl/4eu/XKhuLaWF6JZFu8n9AzkvX/yXN3KoqAhQdp9ZqCISkJLcw39/w4Z0ExgW9A WicDRv/GdXD4DzLDjhIaW/0MmYeEoH1/V9QOoAJ4a+WeSQ1PDvOj0ciEgRDF4CY3Pgby 4zyXJiKT7KA1zpIQ0wVsxFpwaRSBit7Q5wPT65aWujTfgZXg/y5CTpsABWHqUJtCWBCg j7MyGXpkA1Yy9AVgytwfw0QGv4srB03kznvTvi2+HxVSL/Zfkg5QLC86dii9AP6gyqrB OtdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TYIa57xSxmXsu8fS83KW0LKNH80zJX9tJC3p+UuACaw=; b=PiJ4jJ0siQAeIjrh0P/FxQjxGP+p9KYQCTkdGxQHAltjSS9Mfn0N5SYqIpe4B3+Dwz o2ETKJNgS22j9asl45WIBZWFaXMRKr0QNh+NOQu1yX69FWK1k4QfE7NqjjaO4X/HPDlZ Ra8+YFb/1N5TW27JFcjF34ofoZwNNP9ykO8kIYar3vNzesN+NqbQB/8sE8pHdUBx3AQZ 4dXbNlMacjlNo/OnMzz3LgzUM/BhrtKvyItDyFg7EAnBmHfCZSNV6arcSo4NKabqSaSJ D1at2xgasr/9rPZKqfOJvatzdZNyENafSx91moORwf6cmw57kF3z1gYPfayjL6M8U1H5 hX4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YDtmgTRh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x1si6837810ejj.463.2021.08.05.14.26.13; Thu, 05 Aug 2021 14:26:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YDtmgTRh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233775AbhHET2k (ORCPT + 99 others); Thu, 5 Aug 2021 15:28:40 -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