From: Alexander Popov Date: Wed, 18 Mar 2020 15:03:56 +0000 (+0300) Subject: INTEL_IOMMU is available for X86_32 X-Git-Tag: v0.5.5~8 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=f83f122012477f50fe127d43aedbcd38a16ae292;p=kconfig-hardened-check.git INTEL_IOMMU is available for X86_32 --- diff --git a/kconfig-hardened-check.py b/kconfig-hardened-check.py index 6963554..6056f62 100755 --- a/kconfig-hardened-check.py +++ b/kconfig-hardened-check.py @@ -331,6 +331,9 @@ def construct_checklist(checklist, arch): iommu_support_is_set)) checklist.append(AND(OptCheck('INTEL_IOMMU_DEFAULT_ON', 'y', 'clipos', 'self_protection'), \ iommu_support_is_set)) + if arch == 'X86_32': + checklist.append(AND(OptCheck('INTEL_IOMMU', 'y', 'clipos', 'self_protection'), \ + iommu_support_is_set)) checklist.append(OptCheck('SLUB_DEBUG_ON', 'y', 'my', 'self_protection')) checklist.append(OptCheck('RESET_ATTACK_MITIGATION', 'y', 'my', 'self_protection')) # needs userspace support (systemd)