From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH 09/11] Kernel: Enable SVA support for both Intel and AMD CPUs Date: Sat, 19 Mar 2022 21:10:50 +0000 Message-ID: <4e8085be-1959-60f6-eec5-0c30826a70ae@ipfire.org> In-Reply-To: <771528ff-9bb0-2073-4819-471ab16bb920@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4073170487406091468==" List-Id: --===============4073170487406091468== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Since running virtual machines is one of our legitimate use cases, it makes sense to provide Qemu with the ability of taking advantage of IOMMU support for safer virtuall memory allocation, if available. Signed-off-by: Peter M=C3=BCller --- config/kernel/kernel.config.x86_64-ipfire | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel= .config.x86_64-ipfire index 0b9c79209..42275d26f 100644 --- a/config/kernel/kernel.config.x86_64-ipfire +++ b/config/kernel/kernel.config.x86_64-ipfire @@ -6179,6 +6179,7 @@ CONFIG_INTEL_IDMA64=3Dm CONFIG_INTEL_IDXD_BUS=3Dm CONFIG_INTEL_IDXD=3Dm # CONFIG_INTEL_IDXD_COMPAT is not set +# CONFIG_INTEL_IDXD_SVM is not set # CONFIG_INTEL_IDXD_PERFMON is not set CONFIG_INTEL_IOATDMA=3Dm CONFIG_PLX_DMA=3Dm @@ -6476,11 +6477,12 @@ CONFIG_IOMMU_DEFAULT_DMA_STRICT=3Dy # CONFIG_IOMMU_DEFAULT_DMA_LAZY is not set # CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set CONFIG_IOMMU_DMA=3Dy +CONFIG_IOMMU_SVA_LIB=3Dy CONFIG_AMD_IOMMU=3Dy -# CONFIG_AMD_IOMMU_V2 is not set +CONFIG_AMD_IOMMU_V2=3Dy CONFIG_DMAR_TABLE=3Dy CONFIG_INTEL_IOMMU=3Dy -# CONFIG_INTEL_IOMMU_SVM is not set +CONFIG_INTEL_IOMMU_SVM=3Dy # CONFIG_INTEL_IOMMU_DEFAULT_ON is not set CONFIG_INTEL_IOMMU_FLOPPY_WA=3Dy # CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON is not set --=20 2.34.1 --===============4073170487406091468==--