From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f69.google.com (mail-pg0-f69.google.com [74.125.83.69]) by kanga.kvack.org (Postfix) with ESMTP id D03F36B0038 for ; Wed, 13 Dec 2017 20:08:54 -0500 (EST) Received: by mail-pg0-f69.google.com with SMTP id f8so2685827pgs.9 for ; Wed, 13 Dec 2017 17:08:54 -0800 (PST) Received: from mga04.intel.com (mga04.intel.com. [192.55.52.120]) by mx.google.com with ESMTPS id i11si2062131pgf.430.2017.12.13.17.08.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Dec 2017 17:08:53 -0800 (PST) From: Lu Baolu Subject: [PATCH 0/2] Kernel MMU notifier for IOTLB/DEVTLB management Date: Thu, 14 Dec 2017 09:02:44 +0800 Message-Id: <1513213366-22594-1-git-send-email-baolu.lu@linux.intel.com> Sender: owner-linux-mm@kvack.org List-ID: To: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Alex Williamson , Joerg Roedel , David Woodhouse Cc: iommu@lists.linux-foundation.org, x86@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Lu Baolu 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 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org