From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH 09/11] Kernel: Enable SVA support for both Intel and AMD CPUs Date: Wed, 23 Mar 2022 17:54:56 +0000 Message-ID: In-Reply-To: <4e8085be-1959-60f6-eec5-0c30826a70ae@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0701397621742658033==" List-Id: --===============0701397621742658033== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Acked-by: Michael Tremer > On 19 Mar 2022, at 21:10, Peter M=C3=BCller wr= ote: >=20 > 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. >=20 > Signed-off-by: Peter M=C3=BCller > --- > config/kernel/kernel.config.x86_64-ipfire | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) >=20 > diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kern= el.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 --===============0701397621742658033==--