Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp434041pxb; Mon, 25 Oct 2021 11:07:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySHySRtzoGlCOd9sv1JATnblh49HR/+KHOBOCdF+nr0qWoiIAdLBE8NmeaY/d+zyl3gLdj X-Received: by 2002:a50:becf:: with SMTP id e15mr29500220edk.114.1635185223244; Mon, 25 Oct 2021 11:07:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635185223; cv=none; d=google.com; s=arc-20160816; b=mgZ1DVOGpeoIhQzOeguSp4uf3e62Pi7Jpk7COaEWkm0osUzPasJmtV0WXmwKXJvU6y 8ZlArtebzol90AhHGDHd8NKBigvEy4DqZ+0AAD8V4kjqF67bhBMMsvSdJ8LSgn9LLC71 TMpQDAnJU6NsUzPvhIKf0oMfykC/f5naAKSLR+JUb8SYRT/8zEDs/qc1vrcyasKVUGsj od0oNiQDV6GAPyjQYwnIvbFwBTZgz4OmuI2hO7Qvij1lGJvu3JtqWTFmXfuxqH9xS1ad VzFqrOT/pCAlRVyrbc986WlgE6TG54I7UVk9L1GKFzA9CERcq3pP8dBR/z7aVTLwH4b/ JmxA== 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 :dkim-signature; bh=EfgIzkERfPtNkpjXx4W8Onx27YZNsbKCVnU/QEQD69Q=; b=r1UxUVDszXFVKdroqnzhcm+6RKvug6+y6uIm6ZxaYG74kiE0dAxWC827LzIEjtkHrL 5cf0CkbU8lTqrtWEi70LrYSWKICEY59+CJXNvAxUb7V1pC/Xe4pUTQs2O8XJVmQtTlrF sI6zrwXGXPlhezxpjMV50439p4GPXkezMS48YiqDKKDHXZ1CqFCBVHSYPVxYEfZfJmIq 4kxnz7gHrILM3ely0hXvzakjtOVj9OGg3xCNqCrfrMcF67lz3lDAJ+7QuJuyh57GjpZx LZk+ha6/2RgG4n2JZLiWOtNcZKlRLED9x/CdvXjwoulNFSUOvregQ+5yfDU+g9N/KBs4 61Bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@stwcx.xyz header.s=fm3 header.b=BcJEWMFZ; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=OOIHSSc1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s20si23573971ejb.327.2021.10.25.11.06.37; Mon, 25 Oct 2021 11:07:03 -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=@stwcx.xyz header.s=fm3 header.b=BcJEWMFZ; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=OOIHSSc1; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232858AbhJYLqz (ORCPT + 99 others); Mon, 25 Oct 2021 07:46:55 -0400 Received: from new4-smtp.messagingengine.com ([66.111.4.230]:49697 "EHLO new4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230176AbhJYLqw (ORCPT ); Mon, 25 Oct 2021 07:46:52 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 0EB3F58050F; Mon, 25 Oct 2021 07:44:30 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 25 Oct 2021 07:44:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stwcx.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=EfgIzkERfPtNkpjXx4W8Onx27YZ NsbKCVnU/QEQD69Q=; b=BcJEWMFZ3PUwdGExST+GiwpotZ1Yik8P8Sbb89VLI+m 0FyIfZ1SdJgt4YliW7xpirACHJP8Hy2Peww2NOYq366ZXylEW1MhFEe0vh2D6aLa 3cqx4NmLuZBWpTXmYgnO+K3gMRfmp5Ih+UlE68q+ads9OHZWf57OOG9GNXSxOzBz qdpicmBt4WkPRi27pdmygDcZ7Ac4ndwm0l6y3YBr5ue2WfuzFxktXoU106ceJmkn b0cDwru8U0B1ruG2MflngxkQlc1wNKmmj8fiS6n9e/hhOHzTwxxIpGKtABNZ6mXw edBtl4cF/qiBbhhYocD7rquIIBZtzn3TwhFcbbai8lg== 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=fm1; bh=EfgIzk ERfPtNkpjXx4W8Onx27YZNsbKCVnU/QEQD69Q=; b=OOIHSSc1Jf+F3U78+RQ98t J46dK/cb14H3BhZf5cFCIU4MWce5qGJxH3xfvZv2vgYX4xYaLLS86Oo307UmACLh J7xo8QWiu8HNop2PThloBLzx5r+fBVnGW/NUwdr/S9Yg7yBxU2afXQa2P0uFShDW rq3VWVn9lmT6KRhoZjfUO8P4Ct5WLtzltaMtb3k5CKiGL60LG0v/Id/De2rDA8Qm bmSZEZ5oRPvjWCigO0oT7SXzK4o0+1m0Qz+5kGj014UBj7hY9h2TCF///CKpTZKw OfSFk8yCOrpdxz6C+cigfKZqmLWwk/hj8tUlGswmbXP3KMTwA8XY38ewPuPhr9AA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefhedggedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomheprfgrthhrihgtkhcuhghilhhlihgrmhhsuceophgrthhrihgtkhessh htfigtgidrgiihiieqnecuggftrfgrthhtvghrnhepgeehheefffegkeevhedthffgudfh geefgfdthefhkedtleffveekgfeuffehtdeinecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepphgrthhrihgtkhesshhtfigtgidrgiihii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 25 Oct 2021 07:44:27 -0400 (EDT) Date: Mon, 25 Oct 2021 06:44:26 -0500 From: Patrick Williams To: Greg Kroah-Hartman Cc: Frank Rowand , Zev Weiss , kvm@vger.kernel.org, "Rafael J. Wysocki" , Kirti Wankhede , Jeremy Kerr , Rajat Jain , Jianxiong Gao , Dave Jiang , Saravana Kannan , Mauro Carvalho Chehab , openbmc@lists.ozlabs.org, devicetree@vger.kernel.org, Konrad Rzeszutek Wilk , Alex Williamson , Rob Herring , Bhaskar Chowdhury , Thomas Gleixner , Andy Shevchenko , Andrew Jeffery , Cornelia Huck , linux-kernel@vger.kernel.org, Vinod Koul , dmaengine@vger.kernel.org Subject: Re: [PATCH 4/5] driver core: inhibit automatic driver binding on reserved devices Message-ID: References: <20211022020032.26980-1-zev@bewilderbeest.net> <20211022020032.26980-5-zev@bewilderbeest.net> <627101ee-7414-57d1-9952-6e023b8db317@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="WMSkWp2LRUvE4R2V" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --WMSkWp2LRUvE4R2V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 25, 2021 at 08:15:41AM +0200, Greg Kroah-Hartman wrote: > On Mon, Oct 25, 2021 at 12:38:08AM -0500, Frank Rowand wrote: > > On 10/23/21 3:56 AM, Greg Kroah-Hartman wrote: =20 > We have the bind/unbind ability today, from userspace, that can control > this. Why not just have Linux grab the device when it boots, and then > when userspace wants to "give the device up", it writes to "unbind" in > sysfs, and then when all is done, it writes to the "bind" file and then > Linux takes back over. >=20 > Unless for some reason Linux should _not_ grab the device when booting, > then things get messier, as we have seen in this thread. This is probably more typical on a BMC than atypical. The systems often re= quire the BMC (running Linux) to be able to reboot independently from the managed= host (running anything). In the example Zev gave, the BMC rebooting would rip a= way the BIOS chip from the running host. The BMC almost always needs to come up in a "I don't know what could possib= ly be going on in the system" state and re-discover where the system was left off. --=20 Patrick Williams --WMSkWp2LRUvE4R2V Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEBGD9ii4LE9cNbqJBqwNHzC0AwRkFAmF2mJgACgkQqwNHzC0A wRmJPBAAoNL9YeFVlTkyknrYGSwY85ZsAwF7xpzpe7Nbgmp3MqcreyEnyh8esoB/ +6A0VSL9H0GmJw9y42l73Z/xpCB3rUhL2n/wxkJrjPVegvBMhmo+e90yCQWdAJUV Ymjp9IbYdKZ7P221L6NeHKUf/Abf0sSgTf15heDzPV7kArCqLy+NmIcETU+evWc/ aP0ViL7mm16HWarwIUsANMc6wGRdpKfpd0rFjhqbQODpH9Y5L/QlltN/wTOf9C1L nI8UZREc4/T4Nvo07a6idJ4/VjyV54Bk7DfOo1HWGBrUkb9oNzWj2LNNKIb8feYD +bPu1m7fy/9xI/FQ7PdH1+pg4b1WtTUXQmis5Ilz6oShB8Fi1W7Ci4jHAtaotQ0t 7ZJzCK4uQK8YwU8K8SXFpZPKpYFyZb5k/tUn5CApqup3khzanNxdhCU5pc/kQWU5 70OujLBbi1BLzA9s23hpBU/DXmy4uR/neWC8pwVExGQHp2gEzjA5A1dWTKiBJpjE 2Rv4w6fHyq/deLS0SaQfb3MTiNvIBqu3sNseAhDC5zafIlUntCEDjxdGzTJZSiIR GHIcXTP7/Zm4RrdYBkP1NQU8W6Ya8HOfETvH/e4Ml8WLhfoyO2UL+weD9ICR8HAV MqSnKA06xb3wl48+ITunDfcbxeB3KoH8NJb+rZQIX/qAQCp6Liw= =Gvsf -----END PGP SIGNATURE----- --WMSkWp2LRUvE4R2V--