From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm2-f12.google.com (mail-wm2-f12.google.com [74.125.225.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7BE2A4CA771 for ; Wed, 30 Sep 2026 11:56:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.225.140 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790769365; cv=none; b=nfQPv1vljF8Zj1e2NTbMrFRmC5DWoD51K2qCQkKStMy0wbqi/uLBrhj5A8G/+qzhbP+yQA9W+loSHVQ75C2/tfxs0RBvtk+lbrTvd9Z4FO+oYOGyO0Qlza4632mYyrpUgHmAjLNgbEpb7NyIMpw5ygideio5PQsye1uhWhmdrTY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790769365; c=relaxed/simple; bh=KG6BiYXVkut6wA2+1armqrbyGN68UP40llVPal0pULM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=j/MsTk/6K6gF3PifM3soSO4iTMffvWMup9gqSFXwLJRzlYlzq8pcnSOlBQHzo7Eggo/ZUEoEEL88Q5m2qHI8iGo4G49eRhxU99RrkatIFLBYNw9xrEFqTfrkLDXL+AU1buEQ1UPPLbB0FEzE6ZHlay+wIFtWkvh/Od1HNDT4bio= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=YIsdJzDW; arc=none smtp.client-ip=74.125.225.140 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) header.d=baylibre.com header.i=@baylibre.com header.b="YIsdJzDW" Received: by mail-wm2-f12.google.com with SMTP id 5b1f17b1804b1-4a003bd18e5so18177505e9.0 for ; Wed, 30 Sep 2026 04:56:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1790769362; x=1791374162; 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=nbYCj712E+4XFuBgODpd1EFeTXIJOMr8QdEF2zg7Mms=; b=YIsdJzDWFgeofjItZ9rbRNhCqwCcLXd0ZQ3tMu+avXw+hPCROmC3sq6g30VjiDwSsb ip6GnnPa7hq3IKx1PcIgYZHAJ+vMs4tP89gyKrigqNveCyQ60iAdlLzSYbidjuYV4/Mr wtUwts3g+zwoDH7Yj3RToQO1GBh+jK4eW5zYYU+gkIcKkbRJi+JHTS5Mi+UZbYeXD3C/ /GQXgxkAUgL8wSXU8PcX/K6eQPQowPNYzvpMZgwhE9ZCXBobwr4TTSXemqFrGbToCecC Bo4jsc92S992tBZub9ZkpzryhFn/cahM4uh4qS2Mi5URs4Ot7DGjhjAYK/HSaXhHiKQB qzCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790769362; x=1791374162; 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=nbYCj712E+4XFuBgODpd1EFeTXIJOMr8QdEF2zg7Mms=; b=0D7ie5agd+acEtpD9Rhqc4u3RWAI4519uOUHzNOBVB0e1Knz9CUADwf/i9O9ecm7Uh uf75eEuHmYSv0krx1ZvDZ2nWjGPD/VFvxez8pD77WC+1blRQpYTPADNsjLGA+VSybday HVRzfM3ifQjv4RQrPOtsvFbS1+6SAYMii3NLfi1gOxWma7VGiKb770f86Wa/h4Wv6a5c A/dubvTJn/c3omeJXfOKk/KW7RVuowMqE7c0R5uPoUtDCYPQ2+Z1+JTbc/2bSo64KERP ltpdkV+1S2ryfeJYO4aXGflgkbrVy6ek7ea4TMGUqlRB7UXP71OtVBzSq7YRXQEJf9f4 Dmsg== X-Forwarded-Encrypted: i=1; AKwUvBxoG4slT5DWkwShREJKLVsWIYnxFf+Gbwqm+vaDRPOBZS0Mhqq2Gm2SouPZ8qsN4Zr7NA+X3TMtYoSg3Fo=@vger.kernel.org X-Gm-Message-State: AFuF++lVehcWrye1/a87/wwZCKM5rvao7Y33FdH5wHl3RJI07XIlA387 wn3ZiKGilVWBJqf8RnVIRot2KdGyELzl3K605UrgL/GDZeLoMQBS7Rw/xTV/nC4JSlk= X-Gm-Gg: AYBFou30nKsGsIaG+vHbfYVZBlYSX5UgGVrNf1n6OMW+3ChFQwlAL9jUhrjBIO53zRV /jRfyY0mRZgoiX8JVSvnnUXL2K5R/Fb7PuhPv08EjyrgOzRMSl6PjJ6O7N1eiyjqGTQo7LNNDbu V7f3LyQhPsH/TLG6D4tFWO9nE4kZZtCm7P39CXm/P1661vTL9srOuOVVbpfbmbJ+S6KDZ48dkWx qBz55rB5TBXN1tdms6E0lCrYd0pU1fe7mK08EfWOWUUbBZQDFhPsrqQbcrDti28I0jszyLYRayP eHVdkL12TqwqE7nEKerQAn26+Fqa+AHSg833R6BlREuaEWHTXjenh4PkOrQVdduSTru6QStIYER rBB5fBQCK9ZiQvE9CzlaE2wAC8nTh1W0LNT4rbjh1mPcKCF5pjAmtgXynV2lnw70Jj/ssznQtsg yYKpGN+UDWw3Bgtv8dATV/I9N63GiOisSIGRaG92D5xYDsQV9vIJjErg3O7TXjDtaWPtlhBYs/C ZjwltrpsEOteg== X-Received: by 2002:a05:600c:1d2a:b0:49f:faa3:3ca2 with SMTP id 5b1f17b1804b1-4a01afebf68mr25206575e9.13.1790769361720; Wed, 30 Sep 2026 04:56:01 -0700 (PDT) Received: from localhost ([2a02:8071:56d1:2de0:1d24:d58d:2b65:c291]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4a01ca32a44sm6509785e9.0.2026.09.30.04.56.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2026 04:56:01 -0700 (PDT) Date: Wed, 30 Sep 2026 13:55:59 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Thierry Reding Cc: Jonathan Hunter , Mikko Perttunen , Philipp Zabel , linux-pwm@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/3] pwm: tegra: Check for match_data being NULL Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6rgnpj74w7f4diji" Content-Disposition: inline In-Reply-To: --6rgnpj74w7f4diji Content-Type: text/plain; protected-headers=v1; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v2 2/3] pwm: tegra: Check for match_data being NULL MIME-Version: 1.0 On Tue, Sep 22, 2026 at 12:06:14PM +0200, Thierry Reding wrote: > On Tue, Sep 22, 2026 at 10:33:16AM +0200, Uwe Kleine-K=F6nig wrote: > > Hello, > >=20 > > On Mon, Sep 21, 2026 at 06:24:39PM +0200, Thierry Reding wrote: > > > You're probably not wrong about opt-in being the more natural choice, > > > but looking at commit 3d713e0e382e ("driver core: platform: add device > > > binding path 'driver_override'"), the intended use-cases are very > > > generic, so it would probably lead to a continuous stream of patches > > > needing to be added whenever a new device wants to be supported with > > > vfio or something. > >=20 > > thinking a bit more about that: The use-case presented in that commit is > > about > >=20 > > echo vfio-platform > /sys/bus/platform/devices/fff51000.ethernet/drive= r_override > >=20 > > . If we had an opt-in mechanism on the driver side, it would only be > > vfio* that would need it, wouldn't it? That sounds handleable. >=20 > I have a prototype patch that I'm going to send out shortly (after > testing that it actually works). The problem ended up being that the > driver_override is a device attribute, so there's no good way to drop it > based on a driver flag. Did you see that I sent such a patch already. https://lore.kernel.org/lkml/0f7446324f6a0c8f0153d6532d92a6eeecd6a308.17906= 12298.git.u.kleine-koenig@baylibre.com/ . You were on Cc:, I thought this to be enough to make you aware and didn't mention it in this thread here. I hope to not have provoked much duplicate work. Best regards Uwe --6rgnpj74w7f4diji Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmq8+MMACgkQj4D7WH0S /k4RvAgAqd9FufsIM+X10LNPW2vXz8iS437cIitZBmuW1Vk5daH2a6nX3ITro9Xd m1uBy04vTBPMSXsUwvol6f9Y1h5JW0iYXF2YwTTAlWR3fetaR884qBLR/X6yveCc Z71fEjfhgB65RixvyS2lccOO5HZMIuSUg78ugSEU/oZmfI1rY27I9D/H21bJtZpY CUtunPcw+aRBmHe1IY9wTsT58JaACjvTaMyXJnppHSx8Q6Z7ZrYatU3AomaKIemk ReTaT9id7o5dVHf7gP1rZowooxWdUyjGpXfQ6B3sRPR7SzweCGbW9d8KGcEcSAB7 k3PLVpRXQlv8VzgsQaqq/nbFY0ILdQ== =3GXt -----END PGP SIGNATURE----- --6rgnpj74w7f4diji--