[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1614600741-15696-1-git-send-email-john.garry@huawei.com>
Date: Mon, 1 Mar 2021 20:12:18 +0800
From: John Garry <john.garry@...wei.com>
To: <dwmw2@...radead.org>, <baolu.lu@...ux.intel.com>,
<joro@...tes.org>, <will@...nel.org>
CC: <iommu@...ts.linux-foundation.org>, <linux-kernel@...r.kernel.org>,
<linuxarm@...wei.com>, <robin.murphy@....com>,
John Garry <john.garry@...wei.com>
Subject: [PATCH 0/3] iommu/iova: Add CPU hotplug handler to flush rcaches to core code
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(-)
--
2.26.2
Powered by blists - more mailing lists