[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1513213366-22594-1-git-send-email-baolu.lu@linux.intel.com>
Date: Thu, 14 Dec 2017 09:02:44 +0800
From: Lu Baolu <baolu.lu@...ux.intel.com>
To: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H . Peter Anvin" <hpa@...or.com>,
Alex Williamson <alex.williamson@...hat.com>,
Joerg Roedel <joro@...tes.org>,
David Woodhouse <dwmw2@...radead.org>
Cc: iommu@...ts.linux-foundation.org, x86@...nel.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Lu Baolu <baolu.lu@...ux.intel.com>
Subject: [PATCH 0/2] Kernel MMU notifier for IOTLB/DEVTLB management
Shared Virtual Memory (SVM) allows a kernel memory mapping to be
shared between CPU and and a device which requested a supervisor
PASID. Both devices and IOMMU units have TLBs that cache entries
from CPU's page tables. We need to get a chance to flush them at
the same time when we flush the CPU TLBs.
These patches handle this by adding a kernel MMU notifier chain.
The callbacks on this chain will be called whenever the CPU TLB
is flushed for the kernel address space.
Ashok Raj (1):
iommu/vt-d: Register kernel MMU notifier to manage IOTLB/DEVTLB
Huang Ying (1):
mm: Add kernel MMU notifier to manage IOTLB/DEVTLB
arch/x86/mm/tlb.c | 2 ++
drivers/iommu/intel-svm.c | 27 +++++++++++++++++++++++++--
include/linux/intel-iommu.h | 5 ++++-
include/linux/mmu_notifier.h | 33 +++++++++++++++++++++++++++++++++
mm/mmu_notifier.c | 27 +++++++++++++++++++++++++++
5 files changed, 91 insertions(+), 3 deletions(-)
--
2.7.4
Powered by blists - more mailing lists