Skip to content

Commit fd0f753

Browse files
author
Alex Williamson
committed
vfio/amba: Mark for removal
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>
1 parent 08fb989 commit fd0f753

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

drivers/vfio/platform/Kconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@ config VFIO_PLATFORM
1717
If you don't know what to do here, say N.
1818

1919
config VFIO_AMBA
20-
tristate "VFIO support for AMBA devices"
20+
tristate "VFIO support for AMBA devices (DEPRECATED)"
2121
depends on ARM_AMBA || COMPILE_TEST
2222
select VFIO_PLATFORM_BASE
2323
help
24+
The vfio-amba driver is deprecated and will be removed in a
25+
future kernel release.
26+
2427
Support for ARM AMBA devices with VFIO. This is required to make
2528
use of ARM AMBA devices present on the system using the VFIO
2629
framework.

drivers/vfio/platform/vfio_amba.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ static int vfio_amba_probe(struct amba_device *adev, const struct amba_id *id)
7070
struct vfio_platform_device *vdev;
7171
int ret;
7272

73+
dev_err_once(&adev->dev, "DEPRECATION: vfio-amba is deprecated and will be removed in a future kernel release\n");
74+
7375
vdev = vfio_alloc_device(vfio_platform_device, vdev, &adev->dev,
7476
&vfio_amba_ops);
7577
if (IS_ERR(vdev))

0 commit comments

Comments
 (0)