From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.52 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793355174; b=ySG2HC48cyu1cGoUkD58JAOEpmWRSm6dS3oevDpth6+deGuPbaRliykIu0e/2F9MxvLi pwBMEn+iimSWoi5bMbGGPx4/uxfxpB3X+liP2kIbeVB7ks8BULs0L1HiikAl7ssn9e5k4 UgIkMgKWYRlaYO77jKD9/ki6IW29ALu8Z+Aaj5vxuffzYS41urZPbMyOrPm9sKwrGvuCr 1nzn0FiaINedSLdD86Td3UbAHn9E8uRw1qdZzqXiToNtcxyKvv8PGQLgYH0xYgUk/zg20 eDxw6R9rIHWI99Tpl/+zf4bCn7bu9g8LRFn6m5LWAES7fmi4jqqDceXQTXOISkWfKCA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793355174; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; bh=4tYDtJid68SRru4uZjKZRvvAoXLCMBoY5roZrQvhHKY=; b=L01tFConE7L9U7v/DJfxHkgPHwqpjPYxuQcyeu/YGPgusvanFQE+eOluteYvGkT1RVQu FMEBp0TfZinC9xF5VNWHnPX7ilN/weKuQ4vb9/6eSaZh0c3tkc5pOaKyC5cHDhCIY62Wi yW7X3PhpaXe3y5tbTJP9kXbkXXM99Nk77GrDnQ4vn+B1OqVBTth/2pKjt8GLZW90pUgKn z3gqgAkWPBeghvlP0yLknL7zDQe3roqZMpc/oO92nn1ZODy4TAkTCsW3g6l0hqD/Pkzm8 Js3bLIhMIoTWciIb+yDI4WrFcHcYKBi9wdYh17PeJh6fqVdeCSE/0NMxofK8HXbFedA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass header.d=baylibre.com header.i=@baylibre.com header.a=rsa-sha256 header.s=google header.b=VLkYoMCu; arc=none smtp.remote-ip=209.85.128.52 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 237AA606A31E for ; Fri, 30 Oct 2026 10:12:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 237AA606A31E Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=baylibre.com header.i=@baylibre.com header.a=rsa-sha256 header.s=google header.b=VLkYoMCu Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-4a208d93758so5054685e9.3 for ; Fri, 30 Oct 2026 03:12:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1793355171; x=1793959971; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=4tYDtJid68SRru4uZjKZRvvAoXLCMBoY5roZrQvhHKY=; b=VLkYoMCugVUFenq+N50Skcr47KLkpmh/XKhR+/YIdlcV+8nrK4xSn2IfwxtJjpZVpZ AWy+p2R1G+kEgehnqBdtlxIaJxppJQk4QfNTPyWMP8US10mnrNkoP66juo8K87JxLqSf AMN3cDf0R8O3jF+/1NTYIGM3PWvXVCnarI9bPo5Iw0NoerSfSJ1un7zvpuZgn7eNxlgs WzlPdchqPfddqkhafYPyWA3PrSveMuK90Vuo3+/i/zmSyKI/+D3ZCs5vIGrtyz40gZd5 o7TXCCkXBG6ol77zUzCYYBFH29mlsO3N0g8neiPesRRdAl1NVSKyZBnllJvlIbmHf6nZ UeLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793355171; x=1793959971; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=4tYDtJid68SRru4uZjKZRvvAoXLCMBoY5roZrQvhHKY=; b=nAaZtZiTkJqAq6DXpX+lj4xU4JAg4A3ONUUMzL8mMJ/BRa57tz8HjEDWfIZ49auy0M o2KzvGaUVJ3avSRqK4mDhnXn31LyMoqLKD7u60Aj73ijh3TcRBvj4wRvyq/xwqMXl7lJ MHTbmhAqWEDIyDkLvFo3etidelqdV7b3X+q/NLtuJcvCYPOffdwq8+qBXI84bp8Tu2Tb kWsNb8HH9urH90lBfR6kJ9L4G7tybxIPoGwRowKOlpu5HqhjdfdBskzVa6voJkirm4qF kEoPUgRtTotIYNw8S7a6Cpj4AXYyUckFIja0Qyseijpg0JOOHc4RewbX/J/uhopoPh6Q M9Ow== X-Forwarded-Encrypted: i=1; AKwUvBzyQOL1hiLw6HPGfXtrwfygxQ3tfXRk8Bn81+R+fwc6GOK5XWQAukEd7D/40MWWqHEF0mOHhBYE2ya6WnI=@vger.kernel.org X-Gm-Message-State: AFq9FYIgBuuZA8N0ri5FyoZ4CTWLWF4P2bY/eJJBQocNzN6rescxJt01 w4Tw/L0IzZVl3afBQ6LjOq/EQdTkuJ73o1MZwrGfszYNNneJN63i10/RuNLDhw8YmDk= X-Gm-Gg: AYBFou15fVgYjbQ4YOKN3gWBgu1irzlppmX2bJ+P6QLxIyNr3LTr+8ZMefpyNb/TP4F PciRLfaiuFE0sXh9NYoMGz2mltjlKG5UDhAlv2nb6x/G0Ow9G5u82iaFKJ43wZK8HnqDSMnXl22 3GJU9GgVAW2RAmJ3lFJr5UsviGxMvnJIZ1MS2Y6+RoA+DF+ehCAyf/PfNBnwZrJH51hsnjetCZo tFuo5PRQND/1lN/GRVMBf3FwbhQYNjtp0l4+uA2b+X82wEeU2WmuDw88cUFWYu8JZPFaLQ6yb7+ +shizGiVpKk/TGzAkDXQe81ePrB7UgPP6GEsCjBrS4REoeaXsXyjl6HfHRIk1ulxjQN9oJIR2aV 9Iem8UvzWwlJmJ0lBxFB2Z8IHeMe5empEvm6oilkpzKrm/X8WZJrYzHWZKcAMBB2FUrc2y1x4Pg ub2vVZiOZF1kUMSz7wN3QqM84TUIduaXEq3Ufsq94aeBEFgqU+MBQtQSaAP9Ug4ROHI9gzZB5OL y5xDeZqfKSTukDSTLcB6V631caw/caozUsuwFwUGZErao0CzFm3nCRASrkD/RoaRVx+Fr3ZJAow NDlDYQDp0eqTYqzin01IMLok2Jx1p2kgCbax7HJ//xIf6xyMFyFTNq3FzASBkS7yB8uYZVVlbmC qiiI7ByR6EFQpNpJA X-Received: by 2002:a05:600c:3f06:b0:4a1:e672:5721 with SMTP id 5b1f17b1804b1-4ac181e75c2mr35620425e9.13.1793355171498; Fri, 30 Oct 2026 03:12:51 -0700 (PDT) Received: from localhost (p200300f65f19a904f4ce339f1421d16f.dip0.t-ipconnect.de. [2003:f6:5f19:a904:f4ce:339f:1421:d16f]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4abf5b27e46sm80092625e9.3.2026.10.30.03.12.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Oct 2026 03:12:50 -0700 (PDT) Date: Fri, 30 Oct 2026 11:12:49 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Danilo Krummrich Cc: Greg Kroah-Hartman , Jonathan Corbet , Shuah Khan , Randy Dunlap , "Rafael J. Wysocki" , Johan Hovold , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, driver-core@lists.linux.dev, linux-trace-kernel@vger.kernel.org, Leon Romanovsky , Jason Gunthorpe , Michal Pecio Subject: Re: [PATCH] Revert "driver core: add TAINT_FORCED_BIND for when userspace manually messes with devices and drivers" Message-ID: References: <20261028-bind_taint-revert-v1-1-7c6b9cef30c9@linuxfoundation.org> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="p3i3dqzye2ignvny" Content-Disposition: inline In-Reply-To: --p3i3dqzye2ignvny Content-Type: text/plain; protected-headers=v1; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH] Revert "driver core: add TAINT_FORCED_BIND for when userspace manually messes with devices and drivers" MIME-Version: 1.0 Hello Danilo, On Thu, Oct 29, 2026 at 09:02:35PM +0100, Danilo Krummrich wrote: > On Thu Oct 29, 2026 at 6:39 PM CET, Uwe Kleine-K=F6nig wrote: > > It's not part of commit fcbfaffee51a452cc8efcbaa3b88ec4595678424, but > > conceptually we need=20 > > > > diff --git a/Documentation/admin-guide/tainted-kernels.rst b/Documentat= ion/admin-guide/tainted-kernels.rst > > index 3d312bc17942..fcb8b9734548 100644 > > --- a/Documentation/admin-guide/tainted-kernels.rst > > +++ b/Documentation/admin-guide/tainted-kernels.rst > > @@ -74,7 +74,7 @@ a particular type of taint. It's best to leave that t= o the aforementioned > > script, but if you need something quick you can use this shell command= to check > > which bits are set:: > > =20 > > - $ for i in $(seq 0 20); do echo $i $(($(cat /proc/sys/kernel/tainted)= >>$i&1));done > > + $ for i in $(seq 0 19); do echo $i $(($(cat /proc/sys/kernel/tainted)= >>$i&1));done > > =20 > > Table for decoding tainted state > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > in this change which was fixed in commit f1850e443b0e ("docs: > > admin-guide: Handle TAINT_FORCED_BIND when parsing > > /proc/sys/kernel/tainted"), but that commit shouldn't be reverted as it > > contains a simplification that we should keep. >=20 > Fixed it up, thanks! Thanks. Looking at a287f97d4256b5f5527f5b5a54f8ada55e1482c7: Acked-by: Uwe Kleine-K=F6nig Reviewed-by: Uwe Kleine-K=F6nig (just in case you're still willing to rewrite the commit for adding that). Best regards Uwe --p3i3dqzye2ignvny Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmrkbZ4ACgkQj4D7WH0S /k5H6QgAjdChEcwuB16UGAH94yVcVY96eqaJTIs2lSSXrN5mF/j8+wojtf6d88zs DBUdsIkALsB6jIBpNQ6JVgKn85jEDmiUoaOryV/lU68VYYkeS/s7FVQFvj8YEef9 iOdBZr5OwsHxvvrecVFcd1psXr8oXFYra6CYHs8Z0Cv5JXqt3DLxWjLtAgc0TVTj hPLgALy7vx5AGw5S+Al5GMGlvCDk1ZgDTtxIWx4CUWAEPXMMwXVe0GO+0LHSqam6 /oVmyhz56OyzkBvx1Y71mPtZ1CMB8jSWENEn7ouZN0clusKo8yTdsCBwCMnNDJR7 6T5dYqDGih58q0J2wYKJqB06kpwLlw== =ViXi -----END PGP SIGNATURE----- --p3i3dqzye2ignvny--