Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 282cefa2 authored by Jeremy Gebben's avatar Jeremy Gebben
Browse files

iommu/io-pgtable: don't flush the tlb in free_io_pgtable_ops()



The iommu domain must be detached before the pagetable is freed,
if any TLB maintenance is needed it should be done by
iommu_detach_device().

Change-Id: I119d0e127e122de1263c80c73d40ff6edf16c875
Signed-off-by: default avatarJeremy Gebben <jgebben@codeaurora.org>
parent 2ed1d325
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -84,7 +84,6 @@ void free_io_pgtable_ops(struct io_pgtable_ops *ops)
		return;

	iop = container_of(ops, struct io_pgtable, ops);
	iop->cfg.tlb->tlb_flush_all(iop->cookie);
	io_pgtable_init_table[iop->fmt]->free(iop);
}