Patch "iommu/exynos: Block SYSMMU while invalidating FLPD cache" has been added to the 4.9-stable tree
Subsystems (4)
This is a note to let you know that I've just added the patch titled
iommu/exynos: Block SYSMMU while invalidating FLPD cache
to the 4.9-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-exynos-block-sysmmu-while-invalidating-flpd-cache.patch
and it can be found in the queue-4.9 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 foo@baz Thu Oct 5 10:28:31 CEST 2017
From: Marek Szyprowski <[email protected]>
Date: Mon, 20 Mar 2017 10:17:56 +0100
Subject: iommu/exynos: Block SYSMMU while invalidating FLPD cache
From: Marek Szyprowski <[email protected]>
[ Upstream commit 7d2aa6b814476a2e2794960f844344519246df72 ]
Documentation specifies that SYSMMU should be in blocked state while performing TLB/FLPD cache invalidation, so add needed calls to sysmmu_block/unblock.
--- drivers/iommu/exynos-iommu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/iommu/exynos-iommu.c +4 -1
@@ -542,7 +542,10 @@ static void sysmmu_tlb_invalidate_flpdcaspin_lock_irqsave (&data->lock, flags);if (is_sysmmu_active (data) && data->version >=MAKE_MMU_VER (3 ,3 )) {clk_enable (data->clk_master); -__sysmmu_tlb_invalidate_entry (data, iova,1 ); +if (sysmmu_block (data)) { +__sysmmu_tlb_invalidate_entry (data, iova,1 ); +sysmmu_unblock (data); + }clk_disable (data->clk_master); }spin_unlock_irqrestore (&data->lock, flags);
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/iommu-exynos-block-sysmmu-while-invalidating-flpd-cache.patch