From e5474ff19b841a6ab90eb09227b0adfc8c22b585 Mon Sep 17 00:00:00 2001 From: Chanho Park Date: Tue, 8 Jun 2021 17:12:07 +0900 Subject: [PATCH] ANDROID: GKI: enable CONFIG_PCI_IOV=y PCI_IOV[1] provides I/O virtualization for PCI devices which allows to create virtual devices and to share a PCI device among VMs. In order to support the feature from GKI kernel, we need to enable PCI_IOV and PCI_ATS which is selected by PCI_IOV. [1]: https://www.kernel.org/doc/html/latest/PCI/pci-iov-howto.html Bug: 190460626 Signed-off-by: Chanho Park Change-Id: I9fc883536083eaa935f207676d7b2ef8b9ec0b93 --- arch/arm64/configs/gki_defconfig | 1 + arch/x86/configs/gki_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/configs/gki_defconfig b/arch/arm64/configs/gki_defconfig index be943a8c4a76..24c39081707c 100644 --- a/arch/arm64/configs/gki_defconfig +++ b/arch/arm64/configs/gki_defconfig @@ -274,6 +274,7 @@ CONFIG_RFKILL=y CONFIG_PCI=y CONFIG_PCIEPORTBUS=y CONFIG_PCIEAER=y +CONFIG_PCI_IOV=y CONFIG_PCI_HOST_GENERIC=y CONFIG_PCIE_DW_PLAT_EP=y CONFIG_PCIE_QCOM=y diff --git a/arch/x86/configs/gki_defconfig b/arch/x86/configs/gki_defconfig index c3142943337f..a892ad0d2269 100644 --- a/arch/x86/configs/gki_defconfig +++ b/arch/x86/configs/gki_defconfig @@ -254,6 +254,7 @@ CONFIG_PCI=y CONFIG_PCIEPORTBUS=y CONFIG_PCIEAER=y CONFIG_PCI_MSI=y +CONFIG_PCI_IOV=y CONFIG_PCIE_DW_PLAT_EP=y CONFIG_PCI_ENDPOINT=y CONFIG_FW_LOADER_USER_HELPER=y