mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
8cc75183b7
It should be possible to select vfio-pci variant drivers without building vfio-pci itself, which implies each variant driver should select vfio-pci-core. Fix the top level vfio Makefile to traverse pci based on vfio-pci-core rather than vfio-pci. Mark MMAP and INTX options depending on vfio-pci-core to cleanup resulting config if core is not enabled. Push all PCI related vfio options to a sub-menu and make descriptions consistent. Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> Link: https://lore.kernel.org/r/20230614193948.477036-2-alex.williamson@redhat.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
16 lines
480 B
Plaintext
16 lines
480 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config HISI_ACC_VFIO_PCI
|
|
tristate "VFIO support for HiSilicon ACC PCI devices"
|
|
depends on ARM64 || (COMPILE_TEST && 64BIT)
|
|
depends on PCI_MSI
|
|
depends on CRYPTO_DEV_HISI_QM
|
|
depends on CRYPTO_DEV_HISI_HPRE
|
|
depends on CRYPTO_DEV_HISI_SEC2
|
|
depends on CRYPTO_DEV_HISI_ZIP
|
|
select VFIO_PCI_CORE
|
|
help
|
|
This provides generic PCI support for HiSilicon ACC devices
|
|
using the VFIO framework.
|
|
|
|
If you don't know what to do here, say N.
|