INTEL_IOMMU is available for X86_32
authorAlexander Popov <alex.popov@linux.com>
Wed, 18 Mar 2020 15:03:56 +0000 (18:03 +0300)
committerAlexander Popov <alex.popov@linux.com>
Wed, 18 Mar 2020 15:03:56 +0000 (18:03 +0300)
kconfig-hardened-check.py

index 6963554eaeaa232ffbd091c63bde69eaa38ac733..6056f6221b9a9d37f7c3a373788d98bd67a2e2db 100755 (executable)
@@ -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)