From f83f122012477f50fe127d43aedbcd38a16ae292 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Wed, 18 Mar 2020 18:03:56 +0300 Subject: [PATCH] INTEL_IOMMU is available for X86_32 --- kconfig-hardened-check.py | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.31.1