[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1603733501-211004-1-git-send-email-john.garry@huawei.com>
Date: Tue, 27 Oct 2020 01:31:37 +0800
From: John Garry <john.garry@...wei.com>
To: <joro@...tes.org>, <robin.murphy@....com>
CC: <xiyou.wangcong@...il.com>, <linuxarm@...wei.com>,
<linux-kernel@...r.kernel.org>, <iommu@...ts.linux-foundation.org>,
<chenxiang66@...ilicon.com>, <thunder.leizhen@...wei.com>,
John Garry <john.garry@...wei.com>
Subject: [PATCH v2 0/4] iommu/iova: Solve longterm IOVA issue
This series contains a patch to solve the longterm IOVA issue which
leizhen originally tried to address at [0].
Along with this, I included the following:
- A smaller helper to clear all IOVAs for a domain
- Change polarity of the IOVA magazine helpers
- Small optimisation from Cong Wang included, which was never applied [1].
There was some debate of the other patches in that series, but this one
is quite straightforward.
Differences to v1:
- Add IOVA clearing helper
- Add patch to change polarity of mag helpers
- Avoid logically-redundant extra variable in __iova_rcache_insert()
[0] https://lore.kernel.org/linux-iommu/20190815121104.29140-3-thunder.leizhen@huawei.com/
[1] https://lore.kernel.org/linux-iommu/4b74d40a-22d1-af53-fcb6-5d70183705a8@huawei.com/
Cong Wang (1):
iommu: avoid taking iova_rbtree_lock twice
John Garry (3):
iommu/iova: Add free_all_cpu_cached_iovas()
iommu/iova: Avoid double-negatives in magazine helpers
iommu/iova: Flush CPU rcache for when a depot fills
drivers/iommu/iova.c | 66 +++++++++++++++++++++++++-------------------
1 file changed, 38 insertions(+), 28 deletions(-)
--
2.26.2
Powered by blists - more mailing lists