mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 09:13:38 +00:00
8bee6f00fc
Like vfio-pci, there's also a base module here where vfio-amba depends on vfio-platform, when really it only needs vfio-platform-base. Create a sub-menu for platform drivers and a nested menu for reset drivers. Cleanup Makefile to make use of new CONFIG_VFIO_PLATFORM_BASE for building the shared modules and traversing reset modules. Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Link: https://lore.kernel.org/r/20230614193948.477036-3-alex.williamson@redhat.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
36 lines
934 B
Plaintext
36 lines
934 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
menu "VFIO support for platform devices"
|
|
depends on ARM || ARM64 || COMPILE_TEST
|
|
|
|
config VFIO_PLATFORM_BASE
|
|
tristate
|
|
select VFIO_VIRQFD
|
|
|
|
config VFIO_PLATFORM
|
|
tristate "Generic VFIO support for any platform device"
|
|
select VFIO_PLATFORM_BASE
|
|
help
|
|
Support for platform devices with VFIO. This is required to make
|
|
use of platform devices present on the system using the VFIO
|
|
framework.
|
|
|
|
If you don't know what to do here, say N.
|
|
|
|
config VFIO_AMBA
|
|
tristate "VFIO support for AMBA devices"
|
|
depends on ARM_AMBA || COMPILE_TEST
|
|
select VFIO_PLATFORM_BASE
|
|
help
|
|
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.
|
|
|
|
If you don't know what to do here, say N.
|
|
|
|
menu "VFIO platform reset drivers"
|
|
depends on VFIO_PLATFORM_BASE
|
|
|
|
source "drivers/vfio/platform/reset/Kconfig"
|
|
endmenu
|
|
endmenu
|