Commit 74b94ca1 authored by Zhang Zekun's avatar Zhang Zekun
Browse files

Revert "iommu/iova: move IOVA_MAX_GLOBAL_MAGS outside of IOMMU_SUPPORT"

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8KS9A


CVE: NA

-------------------------------------------

This reverts commit b86a6767.

Signed-off-by: default avatarZhang Zekun <zhangzekun11@huawei.com>
parent 5c4fe008
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -437,9 +437,6 @@ config SMMU_BYPASS_DEV

	  This feature will be replaced by ACPI IORT RMR node, which will be
	  upstreamed in mainline.

endif # IOMMU_SUPPORT

config IOVA_MAX_GLOBAL_MAGS
	int "Set the max iova global magzines in iova rcache"
	range 16 2048
@@ -449,3 +446,6 @@ config IOVA_MAX_GLOBAL_MAGS
	  it can be a bottle neck when lots of cpus are contending to use it.
	  If you are suffering from the speed of allocing iova with more than
	  128 cpus, try to tune this config larger.


endif # IOMMU_SUPPORT