Skip to contentSkip to conversation

mm-hmm-add-new-helper-to-hotplug-cdm-memory-region-v3.patch removed from -mm tree

merged [email protected] 1 participant 1 message Sep 11, 2017

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/hmm: add new helper to hotplug CDM memory region
has been removed from the -mm tree. Its filename was
mm-hmm-add-new-helper-to-hotplug-cdm-memory-region-v3.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Jérôme Glisse <[email protected]>
Subject: mm/hmm: add new helper to hotplug CDM memory region

Unlike unaddressable memory, coherent device memory has a real resource associated with it on the system (as CPU can address it). Add a new helper to hotplug such memory within the HMM framework.

Cc Aneesh Kumar <[email protected]>
Cc Benjamin Herrenschmidt <[email protected]>
Cc Dan Williams <[email protected]>
Cc David Nellans <[email protected]>
Cc Evgeny Baskakov <[email protected]>
Cc Johannes Weiner <[email protected]>
Cc John Hubbard <[email protected]>
Cc Kirill A. Shutemov <[email protected]>
Cc Mark Hairgrove <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Paul E. McKenney <[email protected]>
Cc Ross Zwisler <[email protected]>
Cc Sherry Cheung <[email protected]>
Cc Subhash Gutti <[email protected]>
Cc Vladimir Davydov <[email protected]>
Cc Bob Liu <[email protected]>

---

 include/linux/hmm.h |    3 +
 mm/hmm.c            |   88 +++++++++++++++++++++++++++++++++++++++---
 2 files changed, 86 insertions(+), 5 deletions(-)
include/linux/hmm.h renamed from include/linux/hmm.h~mm-hmm-add-new-helper-to-hotplug-cdm-memory-region-v3 +3 -0
diff -puN include/linux/hmm.h~mm-hmm-add-new-helper-to-hotplug-cdm-memory-region-v3 include/linux/hmm.h
@@ -443,6 +443,9 @@ struct hmm_devmem {
 struct hmm_devmem *hmm_devmem_add(const struct hmm_devmem_ops *ops,
 				  struct device *device,
 				  unsigned long size);
+struct hmm_devmem *hmm_devmem_add_resource(const struct hmm_devmem_ops *ops,
+					   struct device *device,
+					   struct resource *res);
 void hmm_devmem_remove(struct hmm_devmem *devmem);
 
 /*
mm/hmm.c renamed from mm/hmm.c~mm-hmm-add-new-helper-to-hotplug-cdm-memory-region-v3 +83 -5

129 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are