提交 1369a5c7 编写于 作者: A Artie Ding 提交者: Shile Zhang

configs: enable AMD IOMMU configs

fix #27365977

It enables AMD_IOMMU for AMD platforms which support X2APIC.
Because AMD IOMMU driver initializes OMMU protection domains as
direct map, IOMMU_DEFAULT_PASSTHROUGH is needed.
Signed-off-by: NArtie Ding <artie.ding@linux.alibaba.com>
Reviewed-by: NShile Zhang <shile.zhang@linux.alibaba.com>
Acked-by: NCaspar Zhang <caspar@linux.alibaba.com>
上级 1607a485
...@@ -579,8 +579,8 @@ CONFIG_PCI_QUIRKS=y ...@@ -579,8 +579,8 @@ CONFIG_PCI_QUIRKS=y
CONFIG_PCI_ATS=y CONFIG_PCI_ATS=y
CONFIG_PCI_LOCKLESS_CONFIG=y CONFIG_PCI_LOCKLESS_CONFIG=y
CONFIG_PCI_IOV=y CONFIG_PCI_IOV=y
# CONFIG_PCI_PRI is not set CONFIG_PCI_PRI=y
# CONFIG_PCI_PASID is not set CONFIG_PCI_PASID=y
CONFIG_PCI_LABEL=y CONFIG_PCI_LABEL=y
CONFIG_HOTPLUG_PCI=y CONFIG_HOTPLUG_PCI=y
CONFIG_HOTPLUG_PCI_ACPI=y CONFIG_HOTPLUG_PCI_ACPI=y
...@@ -3337,9 +3337,10 @@ CONFIG_IOMMU_SUPPORT=y ...@@ -3337,9 +3337,10 @@ CONFIG_IOMMU_SUPPORT=y
# Generic IOMMU Pagetable Support # Generic IOMMU Pagetable Support
# #
# CONFIG_IOMMU_DEBUGFS is not set # CONFIG_IOMMU_DEBUGFS is not set
# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set CONFIG_IOMMU_DEFAULT_PASSTHROUGH=y
CONFIG_IOMMU_IOVA=y CONFIG_IOMMU_IOVA=y
# CONFIG_AMD_IOMMU is not set CONFIG_AMD_IOMMU=y
CONFIG_AMD_IOMMU_V2=m
CONFIG_DMAR_TABLE=y CONFIG_DMAR_TABLE=y
CONFIG_INTEL_IOMMU=y CONFIG_INTEL_IOMMU=y
# CONFIG_INTEL_IOMMU_SVM is not set # CONFIG_INTEL_IOMMU_SVM is not set
......
...@@ -584,8 +584,8 @@ CONFIG_PCI_QUIRKS=y ...@@ -584,8 +584,8 @@ CONFIG_PCI_QUIRKS=y
CONFIG_PCI_ATS=y CONFIG_PCI_ATS=y
CONFIG_PCI_LOCKLESS_CONFIG=y CONFIG_PCI_LOCKLESS_CONFIG=y
CONFIG_PCI_IOV=y CONFIG_PCI_IOV=y
# CONFIG_PCI_PRI is not set CONFIG_PCI_PRI=y
# CONFIG_PCI_PASID is not set CONFIG_PCI_PASID=y
CONFIG_PCI_LABEL=y CONFIG_PCI_LABEL=y
CONFIG_HOTPLUG_PCI=y CONFIG_HOTPLUG_PCI=y
CONFIG_HOTPLUG_PCI_ACPI=y CONFIG_HOTPLUG_PCI_ACPI=y
...@@ -3340,9 +3340,10 @@ CONFIG_IOMMU_SUPPORT=y ...@@ -3340,9 +3340,10 @@ CONFIG_IOMMU_SUPPORT=y
# Generic IOMMU Pagetable Support # Generic IOMMU Pagetable Support
# #
# CONFIG_IOMMU_DEBUGFS is not set # CONFIG_IOMMU_DEBUGFS is not set
# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set CONFIG_IOMMU_DEFAULT_PASSTHROUGH=y
CONFIG_IOMMU_IOVA=y CONFIG_IOMMU_IOVA=y
# CONFIG_AMD_IOMMU is not set CONFIG_AMD_IOMMU=y
CONFIG_AMD_IOMMU_V2=m
CONFIG_DMAR_TABLE=y CONFIG_DMAR_TABLE=y
CONFIG_INTEL_IOMMU=y CONFIG_INTEL_IOMMU=y
# CONFIG_INTEL_IOMMU_SVM is not set # CONFIG_INTEL_IOMMU_SVM is not set
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册