From: "Michael S. Tsirkin" <mst@redhat.com>
To: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
Cc: Danilo Krummrich <dakr@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Michael Kelley <mhklinux@outlook.com>,
Haiyang Zhang <haiyangz@microsoft.com>,
Wei Liu <wei.liu@kernel.org>, Dexuan Cui <decui@microsoft.com>,
linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org,
kvm@vger.kernel.org
Subject: Re: [PATCH v3 08/11] uio: Allow untainted use of driver_override
Date: Fri, 4 Dec 2026 06:21:40 -0500 [thread overview]
Message-ID: <20261204062100-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <173102d4dbf394d75c2d8683a439d5d674b47987.1796376468.git.u.kleine-koenig@baylibre.com>
On Fri, Dec 04, 2026 at 11:47:26AM +0100, Uwe Kleine-König wrote:
> uio drivers support being matched to devices using the driver_override
> mechanism. Add .support_driver_override = true to continue having
> this mechanism work for them without tainting the kernel.
>
> Reviewed-by: Michael Kelley <mhklinux@outlook.com>
> Tested-by: Michael Kelley <mhklinux@outlook.com> # uio_hv_generic.c change only
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
This patch is just a technicality, if the rest is merged, this part is
ok. Without taking any position on the rest, this one:
Acked-by: Michael S. Tsirkin <mst@redhat.com>
> ---
> drivers/uio/uio_dmem_genirq.c | 1 +
> drivers/uio/uio_hv_generic.c | 1 +
> drivers/uio/uio_pci_generic.c | 1 +
> drivers/uio/uio_pdrv_genirq.c | 1 +
> 4 files changed, 4 insertions(+)
>
> diff --git a/drivers/uio/uio_dmem_genirq.c b/drivers/uio/uio_dmem_genirq.c
> index 263c1ebc2d57..71992431770e 100644
> --- a/drivers/uio/uio_dmem_genirq.c
> +++ b/drivers/uio/uio_dmem_genirq.c
> @@ -309,6 +309,7 @@ static struct platform_driver uio_dmem_genirq = {
> .driver = {
> .name = DRIVER_NAME,
> .of_match_table = of_match_ptr(uio_of_genirq_match),
> + .support_driver_override = true,
> },
> };
>
> diff --git a/drivers/uio/uio_hv_generic.c b/drivers/uio/uio_hv_generic.c
> index dff92dcbb10d..255c2b5730f6 100644
> --- a/drivers/uio/uio_hv_generic.c
> +++ b/drivers/uio/uio_hv_generic.c
> @@ -407,6 +407,7 @@ static struct hv_driver hv_uio_drv = {
> .id_table = hv_uio_id_table,
> .probe = hv_uio_probe,
> .remove = hv_uio_remove,
> + .driver.support_driver_override = true,
> };
>
> static int __init
> diff --git a/drivers/uio/uio_pci_generic.c b/drivers/uio/uio_pci_generic.c
> index c0cab3adb7b0..9785df9fc5de 100644
> --- a/drivers/uio/uio_pci_generic.c
> +++ b/drivers/uio/uio_pci_generic.c
> @@ -140,6 +140,7 @@ static struct pci_driver uio_pci_driver = {
> .name = "uio_pci_generic",
> .id_table = NULL, /* only dynamic id's */
> .probe = probe,
> + .driver.support_driver_override = true,
> };
>
> module_pci_driver(uio_pci_driver);
> diff --git a/drivers/uio/uio_pdrv_genirq.c b/drivers/uio/uio_pdrv_genirq.c
> index 87e43821ab0c..022178248962 100644
> --- a/drivers/uio/uio_pdrv_genirq.c
> +++ b/drivers/uio/uio_pdrv_genirq.c
> @@ -261,6 +261,7 @@ static struct platform_driver uio_pdrv_genirq = {
> .driver = {
> .name = DRIVER_NAME,
> .of_match_table = of_match_ptr(uio_of_genirq_match),
> + .support_driver_override = true,
> },
> };
>
> --
> 2.47.3
>
next prev parent reply other threads:[~2026-12-04 11:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 10:47 [PATCH v3 00/11] driver core: Disable driver overriding by default Uwe Kleine-König
2026-12-04 10:47 ` [PATCH v3 01/11] " Uwe Kleine-König
2026-12-04 10:47 ` [PATCH v3 02/11] spi: spidev: Allow untainted use of driver_override Uwe Kleine-König
2026-12-04 10:47 ` [PATCH v3 03/11] remoteproc: " Uwe Kleine-König
2026-12-04 10:47 ` [PATCH v3 04/11] s390/vfio: " Uwe Kleine-König
2026-12-04 10:58 ` Anthony Krowiak
2026-12-04 10:47 ` [PATCH v3 05/11] s390/cio: " Uwe Kleine-König
2026-12-04 10:47 ` [PATCH v3 06/11] PCI: Allow untainted driver_override for PCI stub drivers Uwe Kleine-König
2026-12-04 10:47 ` [PATCH v3 07/11] vfio: Allow untainted use of driver_override Uwe Kleine-König
2026-12-04 10:47 ` [PATCH v3 08/11] uio: " Uwe Kleine-König
2026-12-04 11:21 ` Michael S. Tsirkin [this message]
2026-12-04 10:47 ` [PATCH v3 09/11] clk: imx: scu: " Uwe Kleine-König
2026-12-04 10:47 ` [PATCH v3 10/11] slimbus: qcom-ngd-ctrl: " Uwe Kleine-König
2026-12-04 10:47 ` [PATCH v3 11/11] ASoC: samsung: i2s: " Uwe Kleine-König
2026-12-04 12:37 ` Mark Brown
2026-12-04 17:40 ` [PATCH v3 00/11] driver core: Disable driver overriding by default Danilo Krummrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261204062100-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=dakr@kernel.org \
--cc=decui@microsoft.com \
--cc=gregkh@linuxfoundation.org \
--cc=haiyangz@microsoft.com \
--cc=kvm@vger.kernel.org \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhklinux@outlook.com \
--cc=u.kleine-koenig@baylibre.com \
--cc=wei.liu@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.