Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp672382pxb; Thu, 30 Sep 2021 14:40:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhpH157As/pjh5UndU5Z4yQMdOX10HmazOt0Zuk0mviRzbJEhhNxsBkYjOEI2FowWC2gAu X-Received: by 2002:a17:906:c342:: with SMTP id ci2mr1905855ejb.122.1633038005884; Thu, 30 Sep 2021 14:40:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633038005; cv=none; d=google.com; s=arc-20160816; b=qIJ84/keZ0tnSOBIOkruEyNKU9KUZWiw3BJAj3JubNdUp47h7Dc/ZZ5fwKDKuaMDH4 TjxJvG7a7UR4Oz+ulVWs5pd8+/WRWJDDliCX1FLuq5hCd7udOY0MAXEpKx3s+izlHCGK BI3wWTb5Huw4G253IgBag2wedLcozpsRb2Kxrx+81BHowNuIaPCs0K/OhFtSSB3F6zyu Q4UEu06DhniiTQ6aODN7vbcxQ1cVFh9B9J0Dw7pOSi+bWOseWDoTpH/1fMTnUHAlLYri erdRnp5PJvmEN7hcLxg5spmogyLFx//WsnMd/4GCSUQykPKj3G1/2ayDFcMqjBZZSik+ jQng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=4JTXz7mTOWEZBhHUj9sLYRXyt6X9NXife6bTuR0bTQY=; b=VETX3BUUJ2Wzb6cA4sRPW1wzWLHsKkikh36t+ZvhCAmlnFjdyNvtBJ9Fs73exn/UoR WxKnaITtpQJuQ0ERfajJTpisbuWCTBBxOl5sGZD3c8y+H3OkeVM3ERnDXJ4C5wnkQOmP 7htTTVaG8eYLfhfUi2oCb/RTa9wCr5+IBDtSG1hpx3Lq2tcmfwxpH+9cuT41IDn+W2gY r0nL9tUkjVWnK3WkxLeBrN1NhRFWESpLLXBVOdCtKV7HlEHfRMwrkkOUY4e0zLewygth uhlSD3gUlczBhbnkDAr8n5eMD02SPNVIkq1f/je+k65ISvmNVEQrP4DTsF5rBXUTNGBs yYcQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m5si5252309ejl.704.2021.09.30.14.39.41; Thu, 30 Sep 2021 14:40:05 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348970AbhI3VOh (ORCPT + 99 others); Thu, 30 Sep 2021 17:14:37 -0400 Received: from mga03.intel.com ([134.134.136.65]:15201 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236609AbhI3VOg (ORCPT ); Thu, 30 Sep 2021 17:14:36 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10123"; a="225369510" X-IronPort-AV: E=Sophos;i="5.85,336,1624345200"; d="scan'208";a="225369510" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2021 14:12:53 -0700 X-IronPort-AV: E=Sophos;i="5.85,336,1624345200"; d="scan'208";a="438185535" Received: from akleen-mobl1.amr.corp.intel.com (HELO [10.252.134.229]) ([10.252.134.229]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2021 14:12:53 -0700 Subject: Re: [PATCH v2 2/6] driver core: Add common support to skip probe for un-authorized devices To: Alan Stern Cc: "Michael S. Tsirkin" , Greg Kroah-Hartman , Kuppuswamy Sathyanarayanan , Borislav Petkov , x86@kernel.org, Bjorn Helgaas , Thomas Gleixner , Ingo Molnar , Andreas Noever , Michael Jamet , Yehezkel Bernat , "Rafael J . Wysocki" , Mika Westerberg , Jonathan Corbet , Jason Wang , Dan Williams , Kuppuswamy Sathyanarayanan , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-usb@vger.kernel.org, virtualization@lists.linux-foundation.org, "Reshetova, Elena" References: <20210930010511.3387967-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20210930010511.3387967-3-sathyanarayanan.kuppuswamy@linux.intel.com> <20210930065807-mutt-send-email-mst@kernel.org> <20210930144305.GA464826@rowland.harvard.edu> <20210930104924-mutt-send-email-mst@kernel.org> <20210930153509.GF464826@rowland.harvard.edu> <20210930115243-mutt-send-email-mst@kernel.org> <00156941-300d-a34a-772b-17f0a9aad885@linux.intel.com> <20210930204447.GA482974@rowland.harvard.edu> From: Andi Kleen Message-ID: <77aae23f-8c07-845b-90d7-389e1cd1ef5d@linux.intel.com> Date: Thu, 30 Sep 2021 14:12:52 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20210930204447.GA482974@rowland.harvard.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > If all you want to do is prevent someone from loading a bunch of > drivers that you have identified as unhardened, why not just use a > modprobe blacklist? That wouldn't help for builtin drivers, we cannot control initcalls. This LWN article has more details on the background. https://lwn.net/Articles/865918/ -Andi > Am I missing something? > > Alan Stern