diff options
| author | 2026-08-05 07:43:02 +0800 | |
|---|---|---|
| committer | 2026-08-10 10:04:05 +0200 | |
| commit | 7e6bd2211eba39ad5aa61256ae8522c118b1a6aa (patch) | |
| tree | e412f6fa1c7ac572dc6442a1119bcff1307e0f4f /tools/lib/python/kdoc/python_version.py | |
| parent | iommu/vt-d: Remove dead code when CONFIG_INTEL_IOMMU is not set (diff) | |
iommu/vt-d: Consolidate dmar policy management and force_on logic
Currently the dmar on/off is carried by multiple variables (no_iommu,
dmar_disabled, no_platform_optin, etc.) with error-prone force_on logic
scattered in multiple places.
Unify/centralize the policy/priority management for various force_on
scenarios.
No functional impact except one case - "intel_iommu=off" sets
no_platform_optin which is checked in platform_optin_force_iommu()
but not in detect_intel_iommu(), leading to ACS unnecessarily requested
when iommu could not be forced on later. Now with the unified logic
this becomes more consistent.
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
