uncached
writes but cached reads, for improving read performance.
Signed-off-by: Toshi Kani toshi.k...@hp.com
Acked-by: Dan Williams dan.j.willi...@intel.com
...with the caveat that I'm going to follow in behind this series with
generic ioremap_cache() enabling and converting pmem to use
On Sat, May 30, 2015 at 2:00 PM, Arnd Bergmann a...@arndb.de wrote:
On Saturday 30 May 2015, Dan Williams wrote:
+/*
+ * memremap() is ioremap for cases where it is known that the resource
+ * being mapped does not have i/o side effects and the __iomem
+ * annotation is not applicable
On Wed, May 27, 2015 at 5:42 PM, Rafael J. Wysocki raf...@kernel.org wrote:
On Thu, May 28, 2015 at 2:34 AM, Dan Williams dan.j.willi...@intel.com
wrote:
On Wed, May 27, 2015 at 4:17 PM, Rafael J. Wysocki raf...@kernel.org wrote:
On Thu, May 28, 2015 at 12:52 AM, Dan Williams dan.j.willi
On Wed, May 27, 2015 at 4:17 PM, Rafael J. Wysocki raf...@kernel.org wrote:
On Thu, May 28, 2015 at 12:52 AM, Dan Williams dan.j.willi...@intel.com
wrote:
On Wed, May 27, 2015 at 3:36 PM, Rafael J. Wysocki raf...@kernel.org wrote:
Hi,
On Thu, May 28, 2015 at 12:24 AM, Dan Williams
On Thu, May 28, 2015 at 1:51 AM, Christoph Hellwig h...@lst.de wrote:
On Wed, May 27, 2015 at 06:24:42PM -0400, Dan Williams wrote:
Jens, please pull from...
git://git.kernel.org/pub/scm/linux/kernel/git/djbw/nvdimm
tags/libnd-for-jens
I don't really think it's quite ready. I don't
On Wed, May 27, 2015 at 3:36 PM, Rafael J. Wysocki raf...@kernel.org wrote:
Hi,
On Thu, May 28, 2015 at 12:24 AM, Dan Williams dan.j.willi...@intel.com
wrote:
Jens, please pull from...
git://git.kernel.org/pub/scm/linux/kernel/git/djbw/nvdimm
tags/libnd-for-jens
...to receive
Cc: Greg KH gre...@linuxfoundation.org
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
Documentation/blockdev/libnd.txt | 804 ++
MAINTAINERS | 39 ++
2 files changed, 837 insertions(+), 6 deletions(-)
create mode 100644
, it is useful for userspace to know
how many slots are left. Export this information in sysfs.
Cc: Greg KH gre...@linuxfoundation.org
Cc: Neil Brown ne...@suse.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/block/nd/bus.c|4
drivers/block/nd/dimm_devs.c
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/acpi/nfit.c | 442 +++--
drivers/acpi/nfit.h | 50
drivers/block/nd/Kconfig | 13 +
drivers/block/nd/Makefile |3
drivers/block/nd/blk.c
...@intel.com
Cc: Robert Moore robert.mo...@intel.com
Cc: Rafael J. Wysocki rafael.j.wyso...@intel.com
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/acpi/nfit.c |6
drivers/acpi/nfit.h | 12
drivers/block/nd/Kconfig | 22 +
drivers/block/nd
...
||
++
| labelN |
++
After reading valid labels, store the dpa ranges they claim into
per-dimm resource trees.
[1]: http://pmem.io/documents/NVDIMM_Namespace_Spec.pdf
Cc: Neil Brown ne...@suse.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/block/nd/Makefile|1
├─pmem0p16 259:001G 0 part
├─pmem0p17 259:101G 0 part
└─pmem0p18 259:201G 0 part
Signed-off-by: Ross Zwisler ross.zwis...@linux.intel.com
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/block/nd/pmem.c |6 ++
1 file changed, 2 insertions(+), 4 deletions
.
Thanks to: Ross Zwisler, Jeff Moyer, Vishal Verma, Christoph Hellwig,
Ingo Molnar, Neil Brown, Boaz Harrosh, Robert Elliott, Matthew Wilcox,
Andy Rudoff, Linda Knippers, Toshi Kani, Nicholas Moulin, Rafael
Wysocki, and Bob Moore.
Dan
. Wysocki rafael.j.wyso...@intel.com
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/acpi/nfit.c | 29 ++
drivers/acpi/nfit.h |5 ++
drivers/block/nd/Makefile |1
drivers/block/nd/bus.c| 83
: Robert Moore robert.mo...@intel.com
Cc: Rafael J. Wysocki rafael.j.wyso...@intel.com
Reported-by: Nicholas Moulin nicholas.w.mou...@linux.intel.com
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/acpi/Kconfig | 12 ++
drivers/acpi/nfit.c | 213
Acked-by: Jeff Moyer jmo...@redhat.com
Acked-by: Andy Lutomirski l...@amacapital.net
Reviewed-by: Ross Zwisler ross.zwis...@linux.intel.com
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
arch/arm64/kernel/efi.c |1 +
arch/ia64/kernel/efi.c |4
arch/x86/boot
device.
Cc: Andy Lutomirski l...@amacapital.net
Cc: Boaz Harrosh b...@plexistor.com
Cc: H. Peter Anvin h...@zytor.com
Cc: Jens Axboe ax...@fb.com
Cc: Ingo Molnar mi...@kernel.org
Cc: Christoph Hellwig h...@lst.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
arch/x86/Kconfig
...@suse.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/acpi/nfit.c | 13 ++-
drivers/block/nd/Makefile |1
drivers/block/nd/bus.c| 168 +
drivers/block/nd/core.c | 43 ++
drivers/block/nd/dimm.c
robert.mo...@intel.com
Cc: Rafael J. Wysocki rafael.j.wyso...@intel.com
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/acpi/nfit.c| 91
drivers/block/nd/bus.c | 41 ++
drivers/block/nd/core.c| 17
. As long as
a region has 'available_size' != 0 new child namespaces may be created.
Cc: Greg KH gre...@linuxfoundation.org
Cc: Neil Brown ne...@suse.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/block/nd/core.c | 40 +++
drivers/block/nd/dimm_devs.c | 35
...@linuxfoundation.org
Cc: Neil Brown ne...@suse.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/block/nd/bus.c|6
drivers/block/nd/core.c | 64 ++
drivers/block/nd/dimm_devs.c | 103
drivers/block/nd/label.c | 54 ++
drivers/block/nd/label.h
the index to make the update valid
Label ranges directly mirror the dpa resource values for the given
label_id of the namespace.
Cc: Greg KH gre...@linuxfoundation.org
Cc: Neil Brown ne...@suse.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/block/nd/dimm_devs.c | 49
in the btt initialization path]
[jmoyer: Don't overwrite corrupted arenas]
Signed-off-by: Vishal Verma vishal.l.ve...@linux.intel.com
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
Documentation/blockdev/btt.txt | 273
drivers/acpi/nfit.c|1
drivers/block/nd/Kconfig
...@suse.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/block/nd/Kconfig |3
drivers/block/nd/Makefile |1
drivers/block/nd/btt.h| 45
drivers/block/nd/btt_devs.c | 442 +
drivers/block/nd/bus.c
the region boundaries
directly to create a child namespace device (nd_namespace_io).
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/acpi/nfit.c |1
drivers/block/nd/Makefile |2 +
drivers/block/nd/bus.c| 26 +
drivers/block/nd/core.c
...@intel.com
Acked-by: Jeff Moyer jmo...@redhat.com
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/acpi/Kconfig | 15 +
drivers/acpi/Makefile |1
drivers/acpi/nfit.c | 444 +
drivers/acpi/nfit.h | 89
may be used for this purpose.
Cc: Neil Brown ne...@suse.de
Cc: linux-a...@vger.kernel.org
Cc: Greg KH gre...@linuxfoundation.org
Cc: Robert Moore robert.mo...@intel.com
Cc: Rafael J. Wysocki rafael.j.wyso...@intel.com
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/acpi/nfit.c
-a...@vger.kernel.org
Cc: Greg KH gre...@linuxfoundation.org
Cc: Robert Moore robert.mo...@intel.com
Cc: Rafael J. Wysocki rafael.j.wyso...@intel.com
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/acpi/nfit.c| 130 ++
drivers/block/nd/Makefile |1
On Fri, May 29, 2015 at 11:34 AM, Andy Lutomirski l...@amacapital.net wrote:
On Fri, May 29, 2015 at 11:19 AM, Dan Williams dan.j.willi...@intel.com
wrote:
On Fri, May 29, 2015 at 8:03 AM, Toshi Kani toshi.k...@hp.com wrote:
On Fri, 2015-05-29 at 07:43 -0700, Dan Williams wrote:
On Fri, May
On Fri, May 29, 2015 at 11:32 AM, Toshi Kani toshi.k...@hp.com wrote:
On Fri, 2015-05-29 at 11:19 -0700, Dan Williams wrote:
On Fri, May 29, 2015 at 8:03 AM, Toshi Kani toshi.k...@hp.com wrote:
On Fri, 2015-05-29 at 07:43 -0700, Dan Williams wrote:
On Fri, May 29, 2015 at 2:11 AM, Borislav
On Fri, May 29, 2015 at 12:09 AM, Srinivas Kandagatla
srinivas.kandaga...@linaro.org wrote:
On 29/05/15 02:20, Dan Williams wrote:
On Thu, May 21, 2015 at 9:42 AM, Srinivas Kandagatla
srinivas.kandaga...@linaro.org wrote:
Thankyou all for providing inputs and comments on previous versions
On Wed, Jul 1, 2015 at 9:49 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote:
On Wed, Jul 1, 2015 at 6:41 PM, Dan Williams dan.j.willi...@intel.com wrote:
On Wed, Jul 1, 2015 at 6:13 AM, Geert Uytterhoeven ge...@linux-m68k.org
wrote:
On Thu, Jun 18, 2015 at 1:14 AM, Dan Williams dan.j.willi
On Wed, Jul 1, 2015 at 6:13 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote:
Hi Dan,
On Thu, Jun 18, 2015 at 1:14 AM, Dan Williams dan.j.willi...@intel.com
wrote:
Prepare the pmem driver to consume PMEM namespaces emitted by regions of
an nvdimm_bus instance. No functional change
On Wed, Jul 1, 2015 at 1:09 AM, Russell King - ARM Linux
li...@arm.linux.org.uk wrote:
On Wed, Jul 01, 2015 at 08:55:57AM +0200, Geert Uytterhoeven wrote:
On Wed, Jul 1, 2015 at 8:23 AM, Christoph Hellwig h...@lst.de wrote:
One useful feature of the ifdef mess as implemented in the patch is
On Mon, Mar 30, 2015 at 4:20 PM, Dmitry Torokhov
dmitry.torok...@gmail.com wrote:
Some devices take a long time when initializing, and not all drivers are
suited to initialize their devices when they are open. For example,
input drivers need to interrogate their devices in order to publish
On Fri, Jul 3, 2015 at 11:30 AM, Luis R. Rodriguez mcg...@suse.com wrote:
On Sat, Jun 27, 2015 at 04:45:25PM -0700, Dan Williams wrote:
On Mon, Mar 30, 2015 at 4:20 PM, Dmitry Torokhov
dmitry.torok...@gmail.com wrote:
Some devices take a long time when initializing, and not all drivers
with is_visible. (Dan Williams)
- Check ACPI_NFIT_PROXIMITY_VALID in spa-flags.
---
Toshi Kani (3):
1/3 acpi: Add acpi_map_pxm_to_online_node()
2/3 libnvdimm: Set numa_node to NVDIMM devices
3/3 libnvdimm: Add sysfs numa_node to NVDIMM devices
Looks good to me. Once Rafael acks
On Fri, May 22, 2015 at 2:16 PM, Elliott, Robert (Server Storage)
elli...@hp.com wrote:
-Original Message-
From: Linux-nvdimm [mailto:linux-nvdimm-boun...@lists.01.org] On Behalf Of
Dan Williams
Sent: Wednesday, May 20, 2015 3:58 PM
To: ax...@kernel.dk
Cc: mi...@kernel.org; linux
On Sat, May 23, 2015 at 7:12 AM, h...@lst.de h...@lst.de wrote:
On Wed, May 13, 2015 at 06:35:55PM +, Williams, Dan J wrote:
Jens, I'm wondering if you want to take this series(.) as patches or
prepare a git branch to pull?
Honestly I don't think it should go anyway. It makes a big mess
On Sat, May 23, 2015 at 7:39 AM, Christoph Hellwig h...@infradead.org wrote:
On Wed, May 20, 2015 at 04:57:00PM -0400, Dan Williams wrote:
nd_pmem attaches to persistent memory regions and namespaces emitted by
the libnd subsystem, and, same as the original pmem driver, presents the
system
On Thu, May 21, 2015 at 1:59 PM, Linda Knippers linda.knipp...@hp.com wrote:
On 05/21/2015 03:59 PM, Toshi Kani wrote:
On Thu, 2015-05-21 at 13:44 -0600, Toshi Kani wrote:
On Thu, 2015-05-21 at 12:06 -0700, Dan Williams wrote:
On Thu, May 21, 2015 at 11:01 AM, Toshi Kani toshi.k...@hp.com
On Thu, May 21, 2015 at 11:01 AM, Toshi Kani toshi.k...@hp.com wrote:
On Thu, 2015-05-21 at 17:49 +, Moore, Robert wrote:
What ACPICA has done here is to define these values consistently with the
ToUUID ASL macro:
Byte encoding of UUID/GUID strings into ACPI Buffer objects (use ToUUID
On Fri, May 22, 2015 at 11:37 AM, Elliott, Robert (Server Storage)
elli...@hp.com wrote:
-Original Message-
From: Linux-nvdimm [mailto:linux-nvdimm-boun...@lists.01.org] On Behalf Of
Dan Williams
Sent: Wednesday, May 20, 2015 3:57 PM
To: ax...@kernel.dk
Cc: linux-nvd...@lists.01.org
On Thu, May 21, 2015 at 6:55 AM, Toshi Kani toshi.k...@hp.com wrote:
On Wed, 2015-05-20 at 16:56 -0400, Dan Williams wrote:
:
+/* NVDIMM - NFIT table */
+
+#define UUID_VOLATILE_MEMORY
4f940573-dafd-e344-b16c-3f22d252e5d0
+#define UUID_PERSISTENT_MEMORY
79d3f066-f3b4
[ adding Boaz as this discussion has implications for ore_raid ]
On Tue, May 26, 2015 at 2:45 AM, Maxime Ripard
maxime.rip...@free-electrons.com wrote:
On Mon, May 18, 2015 at 10:06:55AM -0700, Dan Williams wrote:
On Mon, May 18, 2015 at 2:14 AM, Maxime Ripard
maxime.rip...@free-electrons.com
+0200, Luis R. Rodriguez wrote:
On Wed, Jul 29, 2015 at 03:00:38PM -0600, Toshi Kani wrote:
On Wed, 2015-07-29 at 11:33 -0700, Dan Williams wrote:
:
That would depend on the purpose of the region and the driver
developer should in theory know best. One issue with this of course
On Sat, Jun 6, 2015 at 4:58 AM, Matthew Wilcox wi...@linux.intel.com wrote:
On Fri, Jun 05, 2015 at 05:19:24PM -0400, Dan Williams wrote:
@@ -35,13 +35,16 @@ int dax_clear_blocks(struct inode *inode, sector_t
block, long size)
might_sleep();
do {
void *addr
On Fri, Aug 7, 2015 at 9:15 AM, Christoph Hellwig h...@lst.de wrote:
From: Dan Williams dan.j.willi...@intel.com
Coccinelle cleanup to replace open coded sg to physical address
translations. This is in preparation for introducing scatterlists that
reference __pfn_t.
// sg_phys.cocci
From: Christoph Hellwig h...@lst.de
Signed-off-by: Christoph Hellwig h...@lst.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
include/linux/io.h |4
kernel/memremap.c | 39 +++
2 files changed, 43 insertions(+)
diff --git a/include
...@lst.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
arch/ia64/include/asm/io.h |1
arch/sh/include/asm/io.h |1
arch/xtensa/include/asm/io.h |1
include/linux/io.h |9
kernel/Makefile |2 +
kernel/memremap.c| 98
From: Christoph Hellwig h...@lst.de
Signed-off-by: Christoph Hellwig h...@lst.de
[djbw: tools/testing/nvdimm/ and memumap_pmem support]
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/nvdimm/pmem.c | 36 +
include/linux/pmem.h
back to plain ioremap().
Clean this up as the new direction we want is to convert
ioremap_type() usages to memremap(..., flags).
Suggested-by: Arnd Bergmann a...@arndb.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
arch/arm/mach-clps711x/board-cdb89712.c |2 +-
arch/powerpc
Kill arch_memremap_pmem() and just let the architecture specify the
flags to be passed to memremap(). Default to writethrough by default.
Cc: Ross Zwisler ross.zwis...@linux.intel.com
Suggested-by: Christoph Hellwig h...@lst.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
arch/x86
In preparation for deprecating ioremap_cache() convert its usage in
visorbus to memremap.
Cc: Benjamin Romer benjamin.ro...@unisys.com
Cc: David Kershner david.kersh...@unisys.com
Acked-by: Greg Kroah-Hartman gre...@linuxfoundation.org
Signed-off-by: Dan Williams dan.j.willi...@intel.com
, the implementation treats
overlaps between unknown and the requested memory type as
REGION_INTERSECTS.
Finally, other memory types can be passed in by name, for now the only
usage System RAM.
Suggested-by: Luis R. Rodriguez mcg...@suse.com
Reviewed-by: Toshi Kani toshi.k...@hp.com
Signed-off-by: Dan Williams
Preparation for uniform definition of ioremap, ioremap_wc, ioremap_wt,
and ioremap_cache, tree-wide.
Acked-by: Christoph Hellwig h...@lst.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
arch/arm/mach-shmobile/pm-rcar.c|2 +-
arch/ia64/kernel/cyclone.c
sites expected to be
able to treat the return value from ioremap_cache() as normal
(non-__iomem) pointer to memory.
See also, the LWN write up: https://lwn.net/Articles/653585/
---
Christoph Hellwig (2):
devres: add devm_memremap
pmem: switch to devm_ allocations
Dan Williams (6
as it no
longer depends on asm/e820.h.
Cc: Christoph Hellwig h...@lst.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
arch/x86/Kconfig |6 ++-
arch/x86/include/uapi/asm/e820.h |2 -
arch/x86/kernel/Makefile |2 -
arch/x86/kernel/pmem.c
this is just the basic libnvdimm-device-model for
configuring the base PFN device.
As the namespace claiming mechanism for PFN devices is mostly identical
to BTT devices drivers/nvdimm/claim.c is created to house the common
bits.
Cc: Ross Zwisler ross.zwis...@linux.intel.com
Signed-off-by: Dan
.
Only lightly tested so far to confirm valid pfn_to_page() and
page_address() conversions across a range of persistent memory specified
by 'memmap=ss!nn' (kernel command line option to simulate a PMEM
range).
[1]: https://lists.01.org/pipermail/linux-nvdimm/2015-May/000748.html
---
Dan Williams
to the
memory hotplug code.
Cc: H. Peter Anvin h...@zytor.com
Cc: Ingo Molnar mi...@redhat.com
Cc: Dave Hansen dave.han...@linux.intel.com
Cc: Rik van Riel r...@redhat.com
Cc: Mel Gorman mgor...@suse.de
Cc: linux...@kvack.org
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
arch/x86/Kconfig
-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/nvdimm/Kconfig|4 +
drivers/nvdimm/pfn_devs.c |3 -
drivers/nvdimm/pmem.c | 213 -
tools/testing/nvdimm/Kbuild |1
tools/testing/nvdimm/test/iomap.c
of this capability will be the pmem driver for persistent
memory.
Cc: H. Peter Anvin h...@zytor.com
Cc: Ingo Molnar mi...@redhat.com
Cc: Dave Hansen dave.han...@linux.intel.com
Cc: Rik van Riel r...@redhat.com
Cc: Mel Gorman mgor...@suse.de
Cc: linux...@kvack.org
Signed-off-by: Dan Williams dan.j.willi
: linux...@kvack.org
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
include/linux/kmap_pfn.h | 33
include/linux/mm.h |4 +
mm/kmap_pfn.c| 195 ++
3 files changed, 231 insertions(+), 1 deletion(-)
diff --git
Hansen dave.han...@linux.intel.com
Cc: Rik van Riel r...@redhat.com
Cc: Mel Gorman mgor...@suse.de
Cc: linux...@kvack.org
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
arch/x86/mm/init_64.c | 55 +---
include/linux/memory_hotplug.h |4
a
kmap_atomic_pfn_t() a PAGE_SIZE at a time the caller can take
advantage of the fact that the lookup can be amortized for all kmap
operations it needs to perform in a given range.
[hch: various changes]
Signed-off-by: Christoph Hellwig h...@lst.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
, memory.
We also use kmap_atomic_pfn_t() to solve races of pmem driver unbind vs
usage in DAX. rcu_read_lock() protects the driver from unbinding while a
mapping is held.
---
Christoph Hellwig (1):
mm: move __phys_to_pfn and __pfn_to_phys to asm/generic/memory_model.h
Dan Williams (4
: various minor updates]
Signed-off-by: Christoph Hellwig h...@lst.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
arch/powerpc/platforms/Kconfig |1 +
arch/powerpc/sysdev/axonram.c | 24
drivers/block/brd.c|5 +--
drivers/nvdimm/Kconfig |1
From: Christoph Hellwig h...@lst.de
Three architectures already define these, and we'll need them genericly
soon.
Signed-off-by: Christoph Hellwig h...@lst.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
arch/arm/include/asm/memory.h |6 --
arch/arm64/include/asm
None of the implementations currently use it. The common
bdev_direct_access() entry point handles all the size checks before
calling -direct_access().
Signed-off-by: Christoph Hellwig h...@lst.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
arch/powerpc/sysdev/axonram.c |2
__pfn_t has flags for sg_chain and sg_last, use it to replace the
(struct page *) entry in struct scatterlist.
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
include/linux/mm.h |9 +++
include/linux/scatterlist.h | 111 ++-
samples
On Wed, Aug 12, 2015 at 10:58 PM, Boaz Harrosh b...@plexistor.com wrote:
On 08/13/2015 06:01 AM, Dan Williams wrote:
[..]
+void *kmap_atomic_pfn_t(__pfn_t pfn)
+{
+ struct page *page = __pfn_t_to_page(pfn);
+ resource_size_t addr;
+ struct kmap *kmap;
+
+ rcu_read_lock
On Wed, Aug 12, 2015 at 11:26 PM, Boaz Harrosh b...@plexistor.com wrote:
B. Here this all set is a joke. The all pmem disable vs still-in-use
argument is mute
here below you have inserted a live, used for ever, pfn into a process vm
without holding
a map.
Careful, don't confuse unbind
On Mon, Aug 17, 2015 at 2:45 PM, Jerome Glisse j.gli...@gmail.com wrote:
On Fri, Aug 14, 2015 at 07:11:27PM -0700, Dan Williams wrote:
Although it does not offer perfect protection if device memory is at a
physically lower address than RAM, skipping the update of these
variables does seem
On Tue, Aug 18, 2015 at 9:55 AM, Jerome Glisse j.gli...@gmail.com wrote:
On Mon, Aug 17, 2015 at 05:46:43PM -0700, Dan Williams wrote:
On Mon, Aug 17, 2015 at 2:45 PM, Jerome Glisse j.gli...@gmail.com wrote:
On Fri, Aug 14, 2015 at 07:11:27PM -0700, Dan Williams wrote:
Although it does
iomem_resource rather than e820.map means any other architecture can
take advantage of this simple nvdimm resource discovery mechanism by
registering a resource named Persistent Memory (legacy)
Cc: Christoph Hellwig h...@lst.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
No code changes
(). This is
protected by the ARCH_HAS_MMIO_FLUSH Kconfig variable, and is currently
only supported on x86.
Signed-off-by: Ross Zwisler ross.zwis...@linux.intel.com
Cc: Dan Williams dan.j.willi...@intel.com
[..]
diff --git a/drivers/acpi/nfit.c b/drivers/acpi/nfit.c
index 7c2638f..56fff01 100644
On Tue, Aug 18, 2015 at 12:06 PM, Jerome Glisse j.gli...@gmail.com wrote:
On Tue, Aug 18, 2015 at 10:23:38AM -0700, Dan Williams wrote:
Thought maybe you don't need a new ZONE_DEV and all you need is valid
struct page for this device memory, and you don't want this page to be
useable
[ Adding David Woodhouse ]
On Sat, Aug 15, 2015 at 1:59 AM, Christoph Hellwig h...@lst.de wrote:
On Fri, Aug 14, 2015 at 02:52:15PM -0700, Dan Williams wrote:
The idea is that this memory is not meant to be available to the page
allocator and should not count as new memory capacity. We're
On Thu, Aug 20, 2015 at 2:15 PM, Ross Zwisler
ross.zwis...@linux.intel.com wrote:
On Thu, 2015-08-20 at 13:27 -0700, Dan Williams wrote:
[...]
With regards to the fencing, since we already take care to flush
writes we don't need to fence at all for the flush, right? All we
care about
On Thu, Aug 20, 2015 at 11:17 AM, Ross Zwisler
ross.zwis...@linux.intel.com wrote:
On Thu, 2015-08-20 at 10:59 -0700, Dan Williams wrote:
[..]
Ah, I think we're getting confused about the deinterleave part.
The aperture is a set of contiguous addresses from the perspective of the
DIMM
On Thu, Aug 20, 2015 at 9:44 AM, Ross Zwisler
ross.zwis...@linux.intel.com wrote:
On Wed, 2015-08-19 at 16:06 -0700, Dan Williams wrote:
On Wed, Aug 19, 2015 at 3:48 PM, Ross Zwisler
ross.zwis...@linux.intel.com wrote:
Add support for the read flush _DSM flag, as outlined in the DSM spec
On Mon, Aug 17, 2015 at 8:01 AM, Christoph Hellwig h...@lst.de wrote:
On Sat, Aug 15, 2015 at 09:04:02AM -0700, Dan Williams wrote:
What other layer? /sys/devices/platform/e820_pmem is that exact same
device we had before this patch. We just have a proper driver for it
now.
We're adding
On Thu, Aug 20, 2015 at 12:00 PM, Ross Zwisler
ross.zwis...@linux.intel.com wrote:
On Thu, 2015-08-20 at 11:26 -0700, Dan Williams wrote:
On Thu, Aug 20, 2015 at 11:17 AM, Ross Zwisler
ross.zwis...@linux.intel.com wrote:
On Thu, 2015-08-20 at 10:59 -0700, Dan Williams wrote:
[..]
Ah, I
On Sun, Jun 28, 2015 at 2:00 AM, Axel Lin axel@ingics.com wrote:
Return proper error if class_create() fails.
Signed-off-by: Axel Lin axel@ingics.com
Thanks, applied.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to
On Mon, Jun 22, 2015 at 9:10 AM, Christoph Hellwig h...@lst.de wrote:
On Mon, Jun 22, 2015 at 04:24:27AM -0400, Dan Williams wrote:
Some archs define the first parameter to ioremap() as unsigned long,
while the balance define it as resource_size_t. Unify on
resource_size_t to enable passing
On Tue, Jul 28, 2015 at 3:51 PM, Ross Zwisler
ross.zwis...@linux.intel.com wrote:
On Fri, 2015-07-24 at 22:39 -0400, Dan Williams wrote:
In preparation for deprecating ioremap_cache() convert its usage in
libnvdimm and the PMEM API to memremap.
Signed-off-by: Dan Williams dan.j.willi
On Mon, Jul 27, 2015 at 1:03 AM, Christoph Hellwig h...@lst.de wrote:
+++ b/arch/frv/include/asm/io.h
@@ -17,8 +17,6 @@
#ifdef __KERNEL__
-#define ARCH_HAS_IOREMAP_WT
-
#include linux/types.h
#include asm/virtconvert.h
#include asm/string.h
@@ -267,20 +265,17 @@ static inline void
On Wed, Jul 29, 2015 at 2:43 PM, Luis R. Rodriguez mcg...@suse.com wrote:
While at it, Dan, will / should memremap() support overlapping calls ?
What is the expectation on behaviour ?
It will be the same as ioremap(). Each mapping gets its own virtual
address and overlapping calls are
On Wed, Jul 29, 2015 at 11:27 AM, Luis R. Rodriguez mcg...@suse.com wrote:
On Wed, Jul 29, 2015 at 08:50:04AM +0200, Christoph Hellwig wrote:
On Mon, Jul 27, 2015 at 04:26:03PM -0700, Dan Williams wrote:
Oh, because all we have at this point is ioremap_cache() which
silently falls back
On Thu, Jul 30, 2015 at 1:42 PM, Luis R. Rodriguez mcg...@suse.com wrote:
On Thu, Jul 30, 2015 at 12:53:45PM -0400, Dan Williams wrote:
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 2e872f92dbac..84b05ebedb2d 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -369,7
On Thu, Jul 30, 2015 at 2:02 PM, Luis R. Rodriguez mcg...@suse.com wrote:
On Thu, Jul 30, 2015 at 12:54:07PM -0400, Dan Williams wrote:
diff --git a/include/linux/io.h b/include/linux/io.h
index fb5a99800e77..3fcf6256c088 100644
--- a/include/linux/io.h
+++ b/include/linux/io.h
@@ -121,4
On Thu, Jul 30, 2015 at 1:54 PM, Luis R. Rodriguez mcg...@suse.com wrote:
On Thu, Jul 30, 2015 at 01:44:44PM -0700, Dan Williams wrote:
On Thu, Jul 30, 2015 at 1:42 PM, Luis R. Rodriguez mcg...@suse.com wrote:
On Thu, Jul 30, 2015 at 12:53:45PM -0400, Dan Williams wrote:
diff --git a/include
to 'int'
[-Wreturn-type]
static inline nd_btt_probe(struct nd_namespace_common *ndns, void *drvdata)
^
Signed-off-by: Randy Dunlap rdun...@infradead.org
Cc: Dan Williams dan.j.willi...@intel.com
Cc: linux-nvd...@lists.01.org
Applied to libnvdimm-for-next. Thanks Randy
On Wed, Aug 5, 2015 at 7:55 AM, Allen Hubbe allen.hu...@emc.com wrote:
If the allocation order is 16, then the u16 index will overflow and wrap
to zero instead of being equal or greater than 1 16. The loop
condition will always be true, and the loop will run until all the
memory resources
On Mon, Aug 3, 2015 at 10:21 AM, Ross Zwisler
ross.zwis...@linux.intel.com wrote:
On Thu, 2015-07-30 at 12:55 -0400, Dan Williams wrote:
Update memremap_pmem() to query the architecture for the mapping type of
the given persistent memory range and then pass those flags to generic
memremap
In preparation for deprecating ioremap_cache() convert its usage in
pxa2xx-flash to memremap.
Cc: David Woodhouse dw...@infradead.org
Cc: Brian Norris computersforpe...@gmail.com
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
drivers/mtd/maps/pxa2xx-flash.c |4 ++--
1 file changed
Nothing calls this helper, and now that ioremap_cache() is being
deprecated these can also be removed.
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
arch/arm/mm/mmu.c |2 +-
arch/metag/include/asm/io.h |3 ---
arch/unicore32/include/asm/io.h |4 +---
arch
rmk+ker...@arm.linux.org.uk
Cc: Tony Luck tony.l...@intel.com
Cc: Thomas Gleixner t...@linutronix.de
Cc: H. Peter Anvin h...@zytor.com
Cc: Ingo Molnar mi...@redhat.com
Cc: Borislav Petkov b...@alien8.de
Signed-off-by: Dan Williams dan.j.willi...@intel.com
---
Documentation/x86/pat.txt|4
In preparation for deprecating ioremap_cache() convert its usage in
intel-iommu to memremap. This also eliminates the mishandling of the
__iomem annotation in the implementation.
Cc: David Woodhouse dw...@infradead.org
Cc: Joerg Roedel j...@8bytes.org
Signed-off-by: Dan Williams dan.j.willi
1001 - 1100 of 9317 matches
Mail list logo