]> www.infradead.org Git - users/hch/misc.git/commitdiff
vfio/amba: Mark for removal
authorAlex Williamson <alex.williamson@redhat.com>
Mon, 25 Aug 2025 17:58:00 +0000 (11:58 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 19 Sep 2025 20:36:38 +0000 (14:36 -0600)
vfio-amba has only been touched to keep up with the rest of the code
base for the past 10 years.  We have no basis to believe that it's
currently tested or used.  Mark it for deprecation.

Reviewed-by: Pranjal Shrivastava <praan@google.com>
Reviewed-by: Mostafa Saleh <smostafa@google.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20250825175807.3264083-2-alex.williamson@redhat.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/platform/Kconfig
drivers/vfio/platform/vfio_amba.c

index 88fcde51f02468e7d950eb0dce00f1b126e75935..c6be29b2c24b03e0252e25b7aa2f6f43ad52bf62 100644 (file)
@@ -17,10 +17,13 @@ config VFIO_PLATFORM
          If you don't know what to do here, say N.
 
 config VFIO_AMBA
-       tristate "VFIO support for AMBA devices"
+       tristate "VFIO support for AMBA devices (DEPRECATED)"
        depends on ARM_AMBA || COMPILE_TEST
        select VFIO_PLATFORM_BASE
        help
+         The vfio-amba driver is deprecated and will be removed in a
+         future kernel release.
+
          Support for ARM AMBA devices with VFIO. This is required to make
          use of ARM AMBA devices present on the system using the VFIO
          framework.
index ff8ff8480968c6c893222be9f35a5486e0bcd32a..9f5c527baa8a368e8b7f8434806fc193b47b2f02 100644 (file)
@@ -70,6 +70,8 @@ static int vfio_amba_probe(struct amba_device *adev, const struct amba_id *id)
        struct vfio_platform_device *vdev;
        int ret;
 
+       dev_err_once(&adev->dev, "DEPRECATION: vfio-amba is deprecated and will be removed in a future kernel release\n");
+
        vdev = vfio_alloc_device(vfio_platform_device, vdev, &adev->dev,
                                 &vfio_amba_ops);
        if (IS_ERR(vdev))