diff options
| author | Kevin Tian <kevin.tian@intel.com> | 2026-08-05 07:43:02 +0800 |
|---|---|---|
| committer | Joerg Roedel <joerg.roedel@amd.com> | 2026-08-10 10:04:05 +0200 |
| commit | 7e6bd2211eba39ad5aa61256ae8522c118b1a6aa (patch) | |
| tree | e412f6fa1c7ac572dc6442a1119bcff1307e0f4f /tools/perf/scripts/python | |
| parent | a4bd40c7e2ac5c74f9d1086a8ed1c633edeb5f32 (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/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
