Commit e3306664 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

x86/amd-iommu: Reimplement amd_iommu_flush_all_domains()

This patch reimplementes the amd_iommu_flush_all_domains
function to use the global protection domain list instead
of flushing every domain on every IOMMU.
Signed-off-by: default avatarJoerg Roedel <>
parent aeb26f55
......@@ -530,10 +530,12 @@ static void flush_all_domains_on_iommu(struct amd_iommu *iommu)
void amd_iommu_flush_all_domains(void)
struct amd_iommu *iommu;
struct protection_domain *domain;
list_for_each_entry(domain, &amd_iommu_pd_list, list) {
static void flush_all_devices_for_iommu(struct amd_iommu *iommu)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment