On 07/04/2021 09:04, Joerg Roedel wrote:
On Mon, Mar 01, 2021 at 08:12:18PM +0800, John Garry wrote:
The Intel IOMMU driver supports flushing the per-CPU rcaches when a CPU is
offlined.
Let's move it to core code, so everyone can take advantage.
Also correct a code comment.
Based on v5.12-rc1. Tested on arm64 only.
John Garry (3):
iova: Add CPU hotplug handler to flush rcaches
iommu/vt-d: Remove IOVA domain rcache flushing for CPU offlining
iova: Correct comment for free_cpu_cached_iovas()
drivers/iommu/intel/iommu.c | 31 -------------------------------
drivers/iommu/iova.c | 32 ++++++++++++++++++++++++++++++--
include/linux/cpuhotplug.h | 2 +-
include/linux/iova.h | 1 +
4 files changed, 32 insertions(+), 34 deletions(-)
Applied, thanks.
.
Thanks, but there was a v2 on this series. Not sure which you applied.
https://lore.kernel.org/linux-iommu/9aad6e94-ecb7-ca34-7f7d-3df6e43e9...@huawei.com/T/#mbea81468782c75fa84744ad7a7801831a4c952e9