mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 06:24:53 +08:00
3b49dfb08c
CONFIG_VFIO_AMBA has a light use of AMBA, adding some inline fallbacks when AMBA is disabled will allow it to be compiled under COMPILE_TEST and make VFIO easier to maintain. Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Message-Id: <3-v1-df057e0f92c3+91-vfio_arm_compile_test_jgg@nvidia.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
24 lines
747 B
Plaintext
24 lines
747 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config VFIO_PLATFORM
|
|
tristate "VFIO support for platform devices"
|
|
depends on VFIO && EVENTFD && (ARM || ARM64 || COMPILE_TEST)
|
|
select VFIO_VIRQFD
|
|
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 VFIO_PLATFORM && (ARM_AMBA || COMPILE_TEST)
|
|
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.
|
|
|
|
source "drivers/vfio/platform/reset/Kconfig"
|