eviewed-by: Dan Williams
Signed-off-by: Vishal Verma
---
drivers/dax/bus.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dax/bus.c b/drivers/dax/bus.c
index 0011a6e6a8f2..f24b67c64d5e 100644
--- a/drivers/dax/bus.c
+++ b/drivers/dax/bus.c
@@ -937,11 +937,11 @@
ned-off-by: Vishal Verma
---
drivers/dax/bus.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/dax/bus.c b/drivers/dax/bus.c
index e2c7354ce328..0011a6e6a8f2 100644
--- a/drivers/dax/bus.c
+++ b/drivers/dax/bus.c
@@ -1540,12 +1540,8 @@ static stru
]
Fixes: c05ae9d85b47 ("dax/bus.c: replace driver-core lock usage by a local
rwsem")
Cc: Andrew Morton
Reported-by: Dan Williams
Reviewed-by: Dan Williams
Signed-off-by: Vishal Verma
---
drivers/dax/bus.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git
ed.
Fixes: c05ae9d85b47 ("dax/bus.c: replace driver-core lock usage by a local
rwsem")
Reported-by: Dan Williams
Reviewed-by: Dan Williams
Signed-off-by: Vishal Verma
---
drivers/dax/bus.c | 42 --
1 file changed, 8 insertions(+), 34 deletions(-)
Change an instance of down_write_killable() to a simple down_write() where
there is no user process that might want to interrupt the operation.
Fixes: c05ae9d85b47 ("dax/bus.c: replace driver-core lock usage by a local
rwsem")
Reported-by: Dan Williams
Signed-off-by: Vishal Verma
--
)
Signed-off-by: Vishal Verma
---
drivers/dax/bus.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dax/bus.c b/drivers/dax/bus.c
index db183eb5ce3a..66095e60a279 100644
--- a/drivers/dax/bus.c
+++ b/drivers/dax/bus.c
@@ -939,11 +939,11 @@ static ssize_t size_show(str
ove
commit introduced in unregister_dax_dev() and unregister_dax_mapping().
Fixes: c05ae9d85b47 ("dax/bus.c: replace driver-core lock usage by a local
rwsem")
Reported-by: Dan Williams
Signed-off-by: Vishal Verma
---
drivers/dax/bus.c | 44 ++--
]
Fixes: c05ae9d85b47 ("dax/bus.c: replace driver-core lock usage by a local
rwsem")
Cc: Andrew Morton
Reported-by: Dan Williams
Signed-off-by: Vishal Verma
---
drivers/dax/bus.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/dax/bus.c b/d
-core lock usage by a local
rwsem")
Cc: Andrew Morton
Reported-by: Dan Williams
Signed-off-by: Vishal Verma
---
drivers/dax/bus.c | 23 +--
1 file changed, 13 insertions(+), 10 deletions(-)
diff --git a/drivers/dax/bus.c b/drivers/dax/bus.c
index 797e1ebff299..d89c
-by: David Hildenbrand
Reviewed-by: Huang, Ying
Signed-off-by: Vishal Verma
---
drivers/dax/bus.c | 43 +
Documentation/ABI/testing/sysfs-bus-dax | 17 +
2 files changed, 60 insertions(+)
diff --git a/drivers/dax/bus.c b/drivers/dax/b
ned-off-by: Vishal Verma
---
drivers/dax/bus.c | 32
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/drivers/dax/bus.c b/drivers/dax/bus.c
index cb148f74ceda..0fd948a4443e 100644
--- a/drivers/dax/bus.c
+++ b/drivers/dax/bus.c
@@ -269,7 +269,7
Oscar Salvador
Cc: Dan Williams
Cc: Dave Jiang
Cc: Dave Hansen
Cc: Huang Ying
Suggested-by: David Hildenbrand
Acked-by: David Hildenbrand
Signed-off-by: Vishal Verma
---
include/linux/memory_hotplug.h | 6 ++
mm/memory_hotplug.c| 17 ++---
2 files change
Add the missing sysfs ABI documentation for the device DAX subsystem.
Various ABI attributes under this have been present since v5.1, and more
have been added over time. In preparation for adding a new attribute,
add this file with the historical details.
Cc: Dan Williams
Signed-off-by: Vishal
() usage remains in dax/bus.c.
Cc: Dan Williams
Reported-by: Greg Kroah-Hartman
Signed-off-by: Vishal Verma
---
drivers/dax/bus.c | 220 ++
1 file changed, 157 insertions(+), 63 deletions(-)
diff --git a/drivers/dax/bus.c b/drivers/dax/bus.c
index
Ying
Cc: Greg Kroah-Hartman
Cc: Matthew Wilcox
Cc:
To: Dan Williams
To: Vishal Verma
To: Dave Jiang
To: Andrew Morton
To: Oscar Salvador
---
Vishal Verma (5):
dax/bus.c: replace driver-core lock usage by a local rwsem
dax/bus.c: replace several sprintf() with sysfs_emit()
Oscar Salvador
Cc: Dan Williams
Cc: Dave Jiang
Cc: Dave Hansen
Cc: Huang Ying
Suggested-by: David Hildenbrand
Acked-by: David Hildenbrand
Signed-off-by: Vishal Verma
---
include/linux/memory_hotplug.h | 6 ++
mm/memory_hotplug.c| 17 ++---
2 files change
-by: David Hildenbrand
Signed-off-by: Vishal Verma
---
drivers/dax/bus.c | 36 +
Documentation/ABI/testing/sysfs-bus-dax | 17
2 files changed, 53 insertions(+)
diff --git a/drivers/dax/bus.c b/drivers/dax/bus.c
index 62
Add the missing sysfs ABI documentation for the device DAX subsystem.
Various ABI attributes under this have been present since v5.1, and more
have been added over time. In preparation for adding a new attribute,
add this file with the historical details.
Cc: Dan Williams
Signed-off-by: Vishal
Cc: Joao Martins
Cc: Dan Williams
Signed-off-by: Vishal Verma
---
drivers/dax/bus.c | 143 ++
1 file changed, 59 insertions(+), 84 deletions(-)
diff --git a/drivers/dax/bus.c b/drivers/dax/bus.c
index 1ff1ab5fa105..6226de131d17 100644
--- a/d
intel.com
Changes in v2:
- Fix CC lists, patch 1/2 didn't get sent correctly in v1
- Link to v1:
https://lore.kernel.org/r/20231206-vv-dax_abi-v1-0-474eb88e2...@intel.com
Cc:
Cc:
Cc:
Cc: David Hildenbrand
Cc: Dave Hansen
Cc: Huang Ying
Cc: Greg Kroah-Hartman
Cc:
To: Dan Williams
To:
Oscar Salvador
Cc: Dan Williams
Cc: Dave Jiang
Cc: Dave Hansen
Cc: Huang Ying
Suggested-by: David Hildenbrand
Signed-off-by: Vishal Verma
---
include/linux/memory_hotplug.h | 6 ++
mm/memory_hotplug.c| 17 ++---
2 files changed, 12 insertions(+), 11 deletions(-)
-by: David Hildenbrand
Signed-off-by: Vishal Verma
---
drivers/dax/bus.c | 38 +
Documentation/ABI/testing/sysfs-bus-dax | 17 +++
2 files changed, 55 insertions(+)
diff --git a/drivers/dax/bus.c b/drivers/dax/bus.c
index 62
Cc: Joao Martins
Cc: Dan Williams
Signed-off-by: Vishal Verma
---
drivers/dax/bus.c | 143 ++
1 file changed, 59 insertions(+), 84 deletions(-)
diff --git a/drivers/dax/bus.c b/drivers/dax/bus.c
index 1ff1ab5fa105..6226de131d17 100644
--- a/d
Add the missing sysfs ABI documentation for the device DAX subsystem.
Various ABI attributes under this have been present since v5.1, and more
have been added over time. In preparation for adding a new attribute,
add this file with the historical details.
Cc: Dan Williams
Signed-off-by: Vishal
x CC lists, patch 1/2 didn't get sent correctly in v1
- Link to v1:
https://lore.kernel.org/r/20231206-vv-dax_abi-v1-0-474eb88e2...@intel.com
Cc:
Cc:
Cc:
Cc: David Hildenbrand
Cc: Dave Hansen
Cc: Huang Ying
Cc: Greg Kroah-Hartman
Cc:
To: Dan Williams
To: Vishal Verma
To: Dave Ji
-by: David Hildenbrand
Signed-off-by: Vishal Verma
---
drivers/dax/bus.c | 32
Documentation/ABI/testing/sysfs-bus-dax | 17 +
2 files changed, 49 insertions(+)
diff --git a/drivers/dax/bus.c b/drivers/dax/bus.c
index ce
Cc: Joao Martins
Suggested-by: Dan Williams
Signed-off-by: Vishal Verma
---
include/linux/device.h | 2 +
drivers/dax/bus.c | 109 +++--
2 files changed, 44 insertions(+), 67 deletions(-)
diff --git a/include/linux/device.h b/include/linux/devi
Add the missing sysfs ABI documentation for the device DAX subsystem.
Various ABI attributes under this have been present since v5.1, and more
have been added over time. In preparation for adding a new attribute,
add this file with the historical details.
Cc: Dan Williams
Signed-off-by: Vishal
x_abi-v1-0-474eb88e2...@intel.com
---
Vishal Verma (3):
Documentatiion/ABI: Add ABI documentation for sys-bus-dax
dax/bus: Introduce guard(device) for device_{lock,unlock} flows
dax: add a sysfs knob to control memmap_on_memory behavior
include/linux/device.h | 2 +
d
-by: David Hildenbrand
Signed-off-by: Vishal Verma
---
drivers/dax/bus.c | 47 +
Documentation/ABI/testing/sysfs-bus-dax | 17
2 files changed, 64 insertions(+)
diff --git a/drivers/dax/bus.c b/drivers/dax/bus.c
index 1ff1ab5fa105..28
Add the missing sysfs ABI documentation for the device DAX subsystem.
Various ABI attributes under this have been present since v5.1, and more
have been added over time. In preparation for adding a new attribute,
add this file with the historical details.
Cc: Dan Williams
Signed-off-by: Vishal
v1
- Link to v1:
https://lore.kernel.org/r/20231206-vv-dax_abi-v1-0-474eb88e2...@intel.com
---
Vishal Verma (2):
Documentatiion/ABI: Add ABI documentation for sys-bus-dax
dax: add a sysfs knob to control memmap_on_memory behavior
drivers/dax/bus.c
Add the missing sysfs ABI documentation for the device DAX subsystem.
Various ABI attributes under this have been present since v5.1, and more
have been added over time. In preparation for adding a new attribute,
add this file with the historical details.
Cc: Dan Williams
Signed-off-by: Vishal
ned-off-by: Vishal Verma
---
drivers/dax/bus.c | 40 +
Documentation/ABI/testing/sysfs-bus-dax | 13 +++
2 files changed, 53 insertions(+)
diff --git a/drivers/dax/bus.c b/drivers/dax/bus.c
index 1ff1ab5fa105..11abb57cc031 100644
--- a/d
additions behind the initial documentation creation.
[1]:
https://lore.kernel.org/linux-cxl/651f27b728fef_ae7e729...@dwillia2-xfh.jf.intel.com.notmuch/
Cc: Dan Williams
Cc:
Cc:
Cc:
To: Dave Jiang
Signed-off-by: Vishal Verma
Changes in v2:
- Fix CC lists, patch 1/2 didn't get
Huang, Ying"
Signed-off-by: Vishal Verma
---
drivers/dax/bus.h | 1 +
drivers/dax/dax-private.h | 1 +
drivers/dax/bus.c | 3 +++
drivers/dax/cxl.c | 1 +
drivers/dax/hmem/hmem.c | 1 +
drivers/dax/kmem.c| 8 +++-
drivers/dax/pmem.c| 1 +
7 fil
ar Salvador
Cc: Dan Williams
Cc: Dave Jiang
Cc: Dave Hansen
Cc: Huang Ying
Suggested-by: David Hildenbrand
Reviewed-by: Dan Williams
Reviewed-by: "Huang, Ying"
Acked-by: David Hildenbrand
Signed-off-by: Vishal Verma
---
mm/memory_hotplug.c | 212 ++
Hildenbrand
Reviewed-by: Fan Ni
Signed-off-by: Vishal Verma
---
mm/memory_hotplug.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index ab41a511e20a..3ed48059a780 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
emblock sized chunks.
Patch 3 allows the dax region drivers to request memmap_on_memory
semantics. CXL dax regions default this to 'on', all others default to
off to keep existing behavior unchanged.
Signed-off-by: Vishal Verma
---
Changes in v10:
- Rebase on current mainline (Andrew Mort
Ying
Signed-off-by: Vishal Verma
---
drivers/dax/bus.h | 1 +
drivers/dax/dax-private.h | 1 +
drivers/dax/bus.c | 3 +++
drivers/dax/cxl.c | 1 +
drivers/dax/hmem/hmem.c | 1 +
drivers/dax/kmem.c| 8 +++-
drivers/dax/pmem.c| 1 +
7 files changed, 15
ar Salvador
Cc: Dan Williams
Cc: Dave Jiang
Cc: Dave Hansen
Cc: Huang Ying
Suggested-by: David Hildenbrand
Reviewed-by: Dan Williams
Acked-by: David Hildenbrand
Signed-off-by: Vishal Verma
---
mm/memory_hotplug.c | 210 ++--
1 file changed, 1
Hildenbrand
Signed-off-by: Vishal Verma
---
mm/memory_hotplug.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index f8d3e7427e32..6be7de9efa55 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
@@ -1439,11 +1439,11 @@ int
emblock sized chunks.
Patch 3 allows the dax region drivers to request memmap_on_memory
semantics. CXL dax regions default this to 'on', all others default to
off to keep existing behavior unchanged.
Signed-off-by: Vishal Verma
---
Changes in v9:
- Fix error un
emblock sized chunks.
Patch 3 allows the dax region drivers to request memmap_on_memory
semantics. CXL dax regions default this to 'on', all others default to
off to keep existing behavior unchanged.
Signed-off-by: Vishal Verma
---
Changes in v8:
- Fix unwinding in create_altmaps
ar Salvador
Cc: Dan Williams
Cc: Dave Jiang
Cc: Dave Hansen
Cc: Huang Ying
Suggested-by: David Hildenbrand
Reviewed-by: Dan Williams
Signed-off-by: Vishal Verma
---
mm/memory_hotplug.c | 213 ++--
1 file changed, 138 insertions(+), 75 deletions
, Ying
Signed-off-by: Vishal Verma
---
drivers/dax/bus.h | 1 +
drivers/dax/dax-private.h | 1 +
drivers/dax/bus.c | 3 +++
drivers/dax/cxl.c | 1 +
drivers/dax/hmem/hmem.c | 1 +
drivers/dax/kmem.c| 8 +++-
drivers/dax/pmem.c| 1 +
7 files changed, 15
Hildenbrand
Signed-off-by: Vishal Verma
---
mm/memory_hotplug.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index f8d3e7427e32..6be7de9efa55 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
@@ -1439,11 +1439,11 @@ int
ar Salvador
Cc: Dan Williams
Cc: Dave Jiang
Cc: Dave Hansen
Cc: Huang Ying
Suggested-by: David Hildenbrand
Reviewed-by: Dan Williams
Signed-off-by: Vishal Verma
---
mm/memory_hotplug.c | 209
1 file changed, 144 insertions(+), 65 deletions
: Vishal Verma
---
drivers/dax/bus.h | 1 +
drivers/dax/dax-private.h | 1 +
drivers/dax/bus.c | 3 +++
drivers/dax/cxl.c | 1 +
drivers/dax/hmem/hmem.c | 1 +
drivers/dax/kmem.c| 8 +++-
drivers/dax/pmem.c| 1 +
7 files changed, 15 insertions(+), 1 deletion
Hildenbrand
Signed-off-by: Vishal Verma
---
mm/memory_hotplug.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index f8d3e7427e32..6be7de9efa55 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
@@ -1439,11 +1439,11 @@ int
emblock sized chunks.
Patch 3 allows the dax region drivers to request memmap_on_memory
semantics. CXL dax regions default this to 'on', all others default to
off to keep existing behavior unchanged.
Signed-off-by: Vishal Verma
---
Changes in v7:
- Make the add_memory_resource() flow symmet
: Vishal Verma
---
drivers/dax/bus.h | 1 +
drivers/dax/dax-private.h | 1 +
drivers/dax/bus.c | 3 +++
drivers/dax/cxl.c | 1 +
drivers/dax/hmem/hmem.c | 1 +
drivers/dax/kmem.c| 8 +++-
drivers/dax/pmem.c| 1 +
7 files changed, 15 insertions(+), 1 deletion
A review of the memmap_on_memory modifications to add_memory_resource()
revealed an instance of an open-coded kmemdup(). Replace it with
kmemdup().
Cc: Andrew Morton
Cc: David Hildenbrand
Cc: Michal Hocko
Cc: Oscar Salvador
Cc: Dan Williams
Reported-by: Dan Williams
Signed-off-by: Vishal
ar Salvador
Cc: Dan Williams
Cc: Dave Jiang
Cc: Dave Hansen
Cc: Huang Ying
Suggested-by: David Hildenbrand
Reviewed-by: Dan Williams
Signed-off-by: Vishal Verma
---
mm/memory_hotplug.c | 214
1 file changed, 148 insertions(+), 66 deletions
control for the kmem driver that would
allow an opt-out of using memmap_on_memory for the memory being added.
Signed-off-by: Vishal Verma
---
Changes in v6:
- Add a prep patch to replace an open coded kmemdup in
add_memory_resource() (Dan Williams)
- Fix ordering of firmware_map_remove w.r.t tak
c: Andrew Morton
Cc: David Hildenbrand
Cc: Michal Hocko
Cc: Oscar Salvador
Cc: Dan Williams
Cc: Dave Jiang
Cc: Dave Hansen
Cc: Huang Ying
Suggested-by: David Hildenbrand
Signed-off-by: Vishal Verma
---
mm/memory_hotplug.c | 162
1 file ch
control for the kmem driver that would
allow an opt-out of using memmap_on_memory for the memory being added.
Signed-off-by: Vishal Verma
---
Changes in v5:
- Separate out per-memblock operations from per memory block operations
in try_remove_memory(), and rename the inner function appropriately
Cc: Huang Ying
Reviewed-by: Jonathan Cameron
Reviewed-by: David Hildenbrand
Signed-off-by: Vishal Verma
---
drivers/dax/bus.h | 1 +
drivers/dax/dax-private.h | 1 +
drivers/dax/bus.c | 38 ++
drivers/dax/cxl.c | 1 +
drivers/dax
Cc: Huang Ying
Reviewed-by: Jonathan Cameron
Signed-off-by: Vishal Verma
---
drivers/dax/bus.h | 1 +
drivers/dax/dax-private.h | 1 +
drivers/dax/bus.c | 38 ++
drivers/dax/cxl.c | 1 +
drivers/dax/hmem/hmem.c | 1 +
drivers/dax
c: Andrew Morton
Cc: David Hildenbrand
Cc: Michal Hocko
Cc: Oscar Salvador
Cc: Dan Williams
Cc: Dave Jiang
Cc: Dave Hansen
Cc: Huang Ying
Suggested-by: David Hildenbrand
Signed-off-by: Vishal Verma
---
mm/memory_hotplug.c | 165 +++-
1 file cha
control for the kmem driver that would
allow an opt-out of using memmap_on_memory for the memory being added.
Signed-off-by: Vishal Verma
---
Changes in v4:
- Rebase to Aneesh's PPC64 memmap_on_memory series v8 [2].
- Tweak a goto / error path in add_memory_create_devices() (Jonathan)
- Retain
behavior.
Cc: Andrew Morton
Cc: David Hildenbrand
Cc: Michal Hocko
Cc: Oscar Salvador
Cc: Dan Williams
Cc: Dave Jiang
Cc: Dave Hansen
Cc: Huang Ying
Signed-off-by: Vishal Verma
---
drivers/dax/dax-private.h | 1 +
drivers/dax/bus.c | 42
c: Andrew Morton
Cc: David Hildenbrand
Cc: Michal Hocko
Cc: Oscar Salvador
Cc: Dan Williams
Cc: Dave Jiang
Cc: Dave Hansen
Cc: Huang Ying
Suggested-by: David Hildenbrand
Signed-off-by: Vishal Verma
---
mm/memory_hotplug.c | 150
1 file ch
control for the kmem driver that would
allow an opt-out of using memmap_on_memory for the memory being added.
Signed-off-by: Vishal Verma
---
Changes in v3:
- Rebase on Aneesh's patches [1]
- Drop Patch 1 - it is not needed since [1] allows for dynamic setting
of the memmap_on_memory p
the dax
device to opt out of this behavior.
Cc: Andrew Morton
Cc: David Hildenbrand
Cc: Oscar Salvador
Cc: Dan Williams
Cc: Dave Jiang
Cc: Dave Hansen
Cc: Huang Ying
Signed-off-by: Vishal Verma
---
drivers/dax/dax-private.h | 1 +
drivers/dax/bus.c | 48
needed.
Cc: Andrew Morton
Cc: David Hildenbrand
Cc: Oscar Salvador
Cc: Dan Williams
Cc: Dave Jiang
Cc: Dave Hansen
Cc: Huang Ying
Suggested-by: David Hildenbrand
Signed-off-by: Vishal Verma
---
mm/memory_hotplug.c | 154 +++-
1 file changed,
: Dave Hansen
Cc: Huang Ying
Reviewed-by: David Hildenbrand
Signed-off-by: Vishal Verma
---
include/linux/memory_hotplug.h | 5 +
mm/memory_hotplug.c| 1 +
2 files changed, 6 insertions(+)
diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h
index
ing
add_memory() and remove_memory() requests over memblock sized chunks.
Patch 3 adds a sysfs control for the kmem driver that would
allow an opt-out of using memmap_on_memory for the memory being added.
Signed-off-by: Vishal Verma
---
Changes in v2:
- Drop the patch to create an override path for the memma
respective module parameter setting.
Cc: "Rafael J. Wysocki"
Cc: Len Brown
Cc: Andrew Morton
Cc: David Hildenbrand
Cc: Oscar Salvador
Cc: Dan Williams
Cc: Dave Jiang
Cc: Dave Hansen
Cc: Huang Ying
Signed-off-by: Vishal Verma
---
dri
Cc: Huang Ying
Signed-off-by: Vishal Verma
---
mm/memory_hotplug.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index bb3845830922..92922080d3fa 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
@@ -1328,6 +1328,7 @@ bool mhp_supports_memmap
nsen
Cc: Huang Ying
Signed-off-by: Vishal Verma
---
include/linux/memory_hotplug.h | 2 +-
drivers/acpi/acpi_memhotplug.c | 2 +-
mm/memory_hotplug.c| 24
3 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/include/linux/memory_hotplug.h b/include/li
face in dirvers/acpi/acpi_memoryhotplug.c,
exporting the symbol so it can be called by kmem.c, and finally changing
the kmem driver to add_memory() in chunks of memory_block_size_bytes().
Signed-off-by: Vishal Verma
---
Vishal Verma (3):
mm/memory_hotplug: Allow an override for the memmap_on_m
the
cancel_delayed_work_sync() will safely flush it out.
Reported-by: Dan Williams
Signed-off-by: Vishal Verma
---
drivers/acpi/nfit/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c
index f1cc5ec6a3b6..4e48d6db05eb 100
d initiator_cmp() comparision
callback. This prevents the singular list corner case naturally, and
makes the code easier to follow as well.
Cc:
Cc: Rafael J. Wysocki
Cc: Liu Shixin
Cc: Dan Williams
Cc: Kirill A. Shutemov
Reported-by: Chris Piper
Signed-off-by: Vishal Verma
---
drivers/a
l A. Shutemov
Acked-by: Rafael J. Wysocki
Signed-off-by: Vishal Verma
---
drivers/acpi/numa/hmat.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/acpi/numa/hmat.c b/drivers/acpi/numa/hmat.c
index 23f49a2f4d14..144a84f429ed 100644
--- a/drivers/acpi/numa/hmat.c
+++ b/drivers/acpi/n
socki
Cc: Liu Shixin
Cc: Dan Williams
Cc: linux-a...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc:
Cc: Chris Piper
Cc: Kirill A. Shutemov
Signed-off-by: Vishal Verma
---
Changes in v2:
- Collect Acks for patch 1.
- Separate out the bitmask generation from the comparision helper to make
Patch 1 is an obvious cleanup found while fixing this problem.
Patch 2 Fixes a bug with initiator registration for single-initiator
systems. More details on this in its commit message.
Vishal Verma (2):
ACPI: HMAT: remove unnecessary variable initialization
ACPI: HMAT: Fix initiator
e mask for that explicitly.
Reported-by: Chris Piper
Cc:
Cc: Rafael J. Wysocki
Cc: Liu Shixin
Cc: Dan Williams
Signed-off-by: Vishal Verma
---
drivers/acpi/numa/hmat.c | 32 ++--
1 file changed, 30 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/numa/hmat.c b/dr
In hmat_register_target_initiators(), the variable 'best' gets
initialized in the outer per-locality-type for loop. The initialization
just before setting up 'Access 1' targets was unnecessary. Remove it.
Cc: Rafael J. Wysocki
Cc: Liu Shixin
Cc: Dan Williams
Signed-
device-driver properly
> > supports hibernate-freeze.
> >
> > The libnvdimm sysfs interface is extended to support detection of a
> > firmware activate capability. The mechanism supports enumeration and
> > triggering of firmware activate, optionally in the
> > hibernat
numeration and
> > triggering of firmware activate, optionally in the
> > hibernate_quiet_exec() context.
> >
> > Cc: Pavel Machek
> > Cc: Ira Weiny
> > Cc: Len Brown
> > Cc: Jonathan Corbet
> > Cc: Dave Jiang
> > Cc: Vishal Verma
>
> Document the basic policies of the libnvdimm subsystem and provide a first
> example of a Maintainer Entry Profile for others to duplicate and edit.
>
> Cc: Vishal Verma
> Cc: Dave Jiang
> Signed-off-by: Dan Williams
> ---
> Documentation/nvdimm/maintainer-
ned-off-by: Vishal Verma
---
drivers/dax/bus.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/dax/bus.c b/drivers/dax/bus.c
index 2109cfe80219..2f3c42ca416a 100644
--- a/drivers/dax/bus.c
+++ b/drivers/dax/bus.c
@@ -295,6 +295,22 @@ static ssize_t target_node_show(str
Commit-ID: e8a308e5f47e545e0d41d0686c00f5f5217c5f61
Gitweb: https://git.kernel.org/tip/e8a308e5f47e545e0d41d0686c00f5f5217c5f61
Author: Vishal Verma
AuthorDate: Thu, 25 Oct 2018 18:37:29 -0600
Committer: Borislav Petkov
CommitDate: Tue, 6 Nov 2018 19:13:26 +0100
acpi/nfit, x86/mce
Commit-ID: 5d96c9342c23ee1d084802dcf064caa67ecaa45b
Gitweb: https://git.kernel.org/tip/5d96c9342c23ee1d084802dcf064caa67ecaa45b
Author: Vishal Verma
AuthorDate: Thu, 25 Oct 2018 18:37:28 -0600
Committer: Borislav Petkov
CommitDate: Tue, 6 Nov 2018 19:13:10 +0100
acpi/nfit, x86/mce
Ross Zwisler
Fine by me as well
Acked-by: Vishal Verma
> ___
> Linux-nvdimm mailing list
> linux-nvd...@lists.01.org
> https://lists.01.org/mailman/listinfo/linux-nvdimm
tes for UEFI 2.7 format")
> Signed-off-by: Christophe JAILLET
> ---
> drivers/nvdimm/btt.c | 2 ++
> 1 file changed, 2 insertions(+)
Looks good, thank you.
Reviewed-by: Vishal Verma
>
> diff --git a/drivers/nvdimm/btt.c b/drivers/nvdimm/btt.c
> index 60491641a8d6..607184e
Change __add_badblock_range() to set 'num_sectors' properly.
>
> Fixes: 0caeef63e6d2f866d85bb507bf63e0ce8ec91cef
> Signed-off-by: Toshi Kani
> Cc: Dan Williams
> Cc: Vishal Verma
> Cc:
> ---
> drivers/nvdimm/core.c |7 ---
> 1 file changed, 4 inser
Cc:
Cc: Toshi Kani
Cc: Dan Williams
Cc: Jeff Moyer
Signed-off-by: Vishal Verma
---
drivers/nvdimm/btt.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/nvdimm/btt.c b/drivers/nvdimm/btt.c
index 7ca11df..4e56e72 100644
--- a/drivers/nvdimm/btt.c
+++ b/drivers
Commit-ID: fc08a4703a418a398bbb575ac311d36d110ac786
Gitweb: http://git.kernel.org/tip/fc08a4703a418a398bbb575ac311d36d110ac786
Author: Vishal Verma
AuthorDate: Fri, 19 May 2017 11:39:10 +0200
Committer: Thomas Gleixner
CommitDate: Sun, 21 May 2017 21:39:59 +0200
acpi, nfit: Fix the
On 04/25, Kani, Toshimitsu wrote:
> On Tue, 2017-04-25 at 15:44 -0600, Vishal Verma wrote:
> > On 04/25, Toshi Kani wrote:
[...]
> >
> > Should we be using nsio->res.start here or nsio->addr ?
>
> nsio->addr is a virtual address. We need to pass the phys
On 04/25, Toshi Kani wrote:
> nvdimm_clear_poison() expects a physical address, not an offset.
> Fix nsio_rw_bytes() to call nvdimm_clear_poison() with a physical
> address.
Good catch!
>
> Signed-off-by: Toshi Kani
> Cc: Dan Williams
> Cc: Dave Jiang
> Cc: Vishal
Commit-ID: 0dc9c639e6553e39c13b2c0d54c8a1b098cb95e2
Gitweb: http://git.kernel.org/tip/0dc9c639e6553e39c13b2c0d54c8a1b098cb95e2
Author: Vishal Verma
AuthorDate: Tue, 18 Apr 2017 20:42:35 +0200
Committer: Thomas Gleixner
CommitDate: Tue, 18 Apr 2017 22:23:48 +0200
x86/mce: Make the MCE
On 04/12, Borislav Petkov wrote:
> On Tue, Apr 11, 2017 at 04:44:57PM -0600, Vishal Verma wrote:
> > The NFIT MCE handler callback (for handling media errors on NVDIMMs)
> > takes a mutex to add the location of a memory error to a list. But since
> > the notifier call cha
callbacks to be run in a process context, and
this can allow us to use the 'blocking' type notifier, where we can take
mutexes etc. in the call chain functions.
Reported-by: Ross Zwisler
Cc: Borislav Petkov
Cc: Tony Luck
Cc: Dan Williams
Signed-off-by: Vishal Verma
---
arch/x86/kernel/
mm/test/nfit.c | 64 +++++++--
> 7 files changed, 188 insertions(+), 20 deletions(-)
Looks good to me. For the series,
Reviewed-by: Vishal Verma
des are added, older kernels (without this fix)
will misbehave by assuming all event notifications are for an
NFIT Update.
Fixes: 209851649dc4 ("acpi: nfit: Add support for hot-add")
Cc:
Cc:
Cc: Dan Williams
Reported-by: Linda Knippers
Signed-off-by: Vishal Verma
---
drivers/acpi/nfit/cor
The nfit driver had an acpi event notification handler, but it never
would've worked because we weren't setting the
ACPI_DRIVER_ALL_NOTIFY_EVENTS flag in acpi_driver.
Cc:
Cc:
Cc: Dan Williams
Cc: Xiao Guangrong
Signed-off-by: Vishal Verma
---
drivers/acpi/nfit/core.c | 1 +
1 fi
Prefix the sector number being cleared with a '0x' to make it clear that
this is a hex value.
Signed-off-by: Vishal Verma
---
drivers/nvdimm/pmem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/nvdimm/pmem.c b/drivers/nvdimm/pmem.c
index 7251b4b..9f75
miliar with mce handling.
The series is based on v4.7-rc7, and a tree is available at
https://git.kernel.org/cgit/linux/kernel/git/vishal/nvdimm.git/log/?h=ars-ondemand
Vishal Verma (3):
pmem: clarify a debug print in pmem_clear_poison
nfit, libnvdimm: allow an ARS scrub to be triggered on dema
1 - 100 of 164 matches
Mail list logo