Re: [PATCH v2 01/10] arch: introduce __pfn_t for persistent memory i/o

2015-05-07 Thread Dan Williams
On Thu, May 7, 2015 at 7:55 AM, Stephen Rothwell wrote: > Hi Dan, > > On Wed, 06 May 2015 16:04:59 -0400 Dan Williams > wrote: >> >> diff --git a/include/asm-generic/pfn.h b/include/asm-generic/pfn.h >> new file mode 100644 >> index ..91171e0285d9 >> --- /dev/null >> +++

Re: [PATCH v2 01/10] arch: introduce __pfn_t for persistent memory i/o

2015-05-07 Thread Stephen Rothwell
Hi Dan, On Wed, 06 May 2015 16:04:59 -0400 Dan Williams wrote: > > diff --git a/include/asm-generic/pfn.h b/include/asm-generic/pfn.h > new file mode 100644 > index ..91171e0285d9 > --- /dev/null > +++ b/include/asm-generic/pfn.h > @@ -0,0 +1,51 @@ > +#ifndef __ASM_PFN_H > +#define

Re: [PATCH v2 01/10] arch: introduce __pfn_t for persistent memory i/o

2015-05-07 Thread Dan Williams
On Thu, May 7, 2015 at 7:55 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Dan, On Wed, 06 May 2015 16:04:59 -0400 Dan Williams dan.j.willi...@intel.com wrote: diff --git a/include/asm-generic/pfn.h b/include/asm-generic/pfn.h new file mode 100644 index ..91171e0285d9

Re: [PATCH v2 01/10] arch: introduce __pfn_t for persistent memory i/o

2015-05-07 Thread Stephen Rothwell
Hi Dan, On Wed, 06 May 2015 16:04:59 -0400 Dan Williams dan.j.willi...@intel.com wrote: diff --git a/include/asm-generic/pfn.h b/include/asm-generic/pfn.h new file mode 100644 index ..91171e0285d9 --- /dev/null +++ b/include/asm-generic/pfn.h @@ -0,0 +1,51 @@ +#ifndef

[PATCH v2 01/10] arch: introduce __pfn_t for persistent memory i/o

2015-05-06 Thread Dan Williams
Introduce a type that encapsulates a page-frame-number that is optionally backed by memmap (struct page). This type will be used in place of 'struct page *' instances in contexts where persistent memory is being referenced (scatterlists for drivers, biovecs for the block layer, etc). The

[PATCH v2 01/10] arch: introduce __pfn_t for persistent memory i/o

2015-05-06 Thread Dan Williams
Introduce a type that encapsulates a page-frame-number that is optionally backed by memmap (struct page). This type will be used in place of 'struct page *' instances in contexts where persistent memory is being referenced (scatterlists for drivers, biovecs for the block layer, etc). The