From c8bed6f9343fa04fe20b7fd78a7a2e84416f3224 Mon Sep 17 00:00:00 2001 From: Chanho Park Date: Tue, 8 Jun 2021 17:15:48 +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: Id1ed5dd8ad92703ca0f2fa2b7d3a02e03e0fc5ae --- 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 8b44a17aeed7..ed1eaee670dd 100644 --- a/arch/arm64/configs/gki_defconfig +++ b/arch/arm64/configs/gki_defconfig @@ -250,6 +250,7 @@ CONFIG_MAC80211=y CONFIG_RFKILL=y CONFIG_PCI=y CONFIG_PCIEPORTBUS=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 bf7eb4d077ac..b8bb2e92f9e5 100644 --- a/arch/x86/configs/gki_defconfig +++ b/arch/x86/configs/gki_defconfig @@ -232,6 +232,7 @@ CONFIG_RFKILL=y CONFIG_PCI=y CONFIG_PCIEPORTBUS=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