Skip to contentSkip to conversation

Patch "iommu/amd: Finish TLB flush in amd_iommu_unmap()" has been added to the 3.18-stable tree

PATCH [email protected] 1 participant 1 message Oct 15, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

iommu/amd: Finish TLB flush in amd_iommu_unmap()

to the 3.18-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
iommu-amd-finish-tlb-flush-in-amd_iommu_unmap.patch
and it can be found in the queue-3.18 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From ce76353f169a6471542d999baf3d29b121dce9c0 Mon Sep 17 00:00:00 2001

From: Joerg Roedel <[email protected]>
Date: Fri, 13 Oct 2017 14:32:37 +0200
Subject: iommu/amd: Finish TLB flush in amd_iommu_unmap()

From: Joerg Roedel <[email protected]>

commit ce76353f169a6471542d999baf3d29b121dce9c0 upstream.

The function only sends the flush command to the IOMMU(s), but does not wait for its completion when it returns. Fix that.

Fixes 601367d76bd1 ('x86/amd-iommu: Remove iommu_flush_domain function')
---
 drivers/iommu/amd_iommu.c |    1 +
 1 file changed, 1 insertion(+)
drivers/iommu/amd_iommu.c +1 -0
@@ -3381,6 +3381,7 @@ static size_t amd_iommu_unmap(struct iom
 	mutex_unlock(&domain->api_lock);
 
 	domain_flush_tlb_pde(domain);
+	domain_flush_complete(domain);
 
 	return unmap_size;
 }

Patches currently in stable-queue which might be from [email protected] are

queue-3.18/iommu-amd-finish-tlb-flush-in-amd_iommu_unmap.patch