Re: [Linux-nvdimm] another pmem variant

2015-04-13 Thread Dan Williams
On Mon, Apr 13, 2015 at 2:01 AM, Greg KH wrote: > On Wed, Mar 25, 2015 at 10:00:26AM -0700, Dan Williams wrote: >> On Wed, Mar 25, 2015 at 9:44 AM, Christoph Hellwig wrote: >> > On Wed, Mar 25, 2015 at 09:33:52AM -0700, Dan Williams wrote: >> >> This is mostly ok and does not collide too much

Re: [Linux-nvdimm] another pmem variant

2015-04-13 Thread Greg KH
On Wed, Mar 25, 2015 at 10:00:26AM -0700, Dan Williams wrote: > On Wed, Mar 25, 2015 at 9:44 AM, Christoph Hellwig wrote: > > On Wed, Mar 25, 2015 at 09:33:52AM -0700, Dan Williams wrote: > >> This is mostly ok and does not collide too much with the upcoming ACPI > >> mechanism for this stuff. I

Re: [Linux-nvdimm] another pmem variant

2015-04-13 Thread Greg KH
On Wed, Mar 25, 2015 at 10:00:26AM -0700, Dan Williams wrote: On Wed, Mar 25, 2015 at 9:44 AM, Christoph Hellwig h...@lst.de wrote: On Wed, Mar 25, 2015 at 09:33:52AM -0700, Dan Williams wrote: This is mostly ok and does not collide too much with the upcoming ACPI mechanism for this stuff.

Re: [Linux-nvdimm] another pmem variant

2015-04-13 Thread Dan Williams
On Mon, Apr 13, 2015 at 2:01 AM, Greg KH gre...@linuxfoundation.org wrote: On Wed, Mar 25, 2015 at 10:00:26AM -0700, Dan Williams wrote: On Wed, Mar 25, 2015 at 9:44 AM, Christoph Hellwig h...@lst.de wrote: On Wed, Mar 25, 2015 at 09:33:52AM -0700, Dan Williams wrote: This is mostly ok and

Re: [Linux-nvdimm] another pmem variant V2

2015-04-01 Thread Boaz Harrosh
On 04/01/2015 10:50 AM, Ingo Molnar wrote: > > * Dan Williams wrote: > >> On Tue, Mar 31, 2015 at 10:24 AM, Christoph Hellwig wrote: >>> On Tue, Mar 31, 2015 at 06:44:56PM +0200, Ingo Molnar wrote: I'd be fine with that too - mind sending an updated series? >>> >>> I will send an updated

Re: [Linux-nvdimm] another pmem variant V2

2015-04-01 Thread Ingo Molnar
* Dan Williams wrote: > On Tue, Mar 31, 2015 at 10:24 AM, Christoph Hellwig wrote: > > On Tue, Mar 31, 2015 at 06:44:56PM +0200, Ingo Molnar wrote: > >> I'd be fine with that too - mind sending an updated series? > > > > I will send an updated one tonight or early tomorrow. > > > > Btw, do you

Re: [Linux-nvdimm] another pmem variant V2

2015-04-01 Thread Boaz Harrosh
On 04/01/2015 10:50 AM, Ingo Molnar wrote: * Dan Williams dan.j.willi...@intel.com wrote: On Tue, Mar 31, 2015 at 10:24 AM, Christoph Hellwig h...@lst.de wrote: On Tue, Mar 31, 2015 at 06:44:56PM +0200, Ingo Molnar wrote: I'd be fine with that too - mind sending an updated series? I will

Re: [Linux-nvdimm] another pmem variant V2

2015-04-01 Thread Ingo Molnar
* Dan Williams dan.j.willi...@intel.com wrote: On Tue, Mar 31, 2015 at 10:24 AM, Christoph Hellwig h...@lst.de wrote: On Tue, Mar 31, 2015 at 06:44:56PM +0200, Ingo Molnar wrote: I'd be fine with that too - mind sending an updated series? I will send an updated one tonight or early

Re: [Linux-nvdimm] another pmem variant V2

2015-03-31 Thread Dan Williams
On Tue, Mar 31, 2015 at 10:24 AM, Christoph Hellwig wrote: > On Tue, Mar 31, 2015 at 06:44:56PM +0200, Ingo Molnar wrote: >> I'd be fine with that too - mind sending an updated series? > > I will send an updated one tonight or early tomorrow. > > Btw, do you want to keep the E820_PRAM name

Re: [Linux-nvdimm] another pmem variant V2

2015-03-31 Thread Dan Williams
On Tue, Mar 31, 2015 at 10:24 AM, Christoph Hellwig h...@lst.de wrote: On Tue, Mar 31, 2015 at 06:44:56PM +0200, Ingo Molnar wrote: I'd be fine with that too - mind sending an updated series? I will send an updated one tonight or early tomorrow. Btw, do you want to keep the E820_PRAM name

Re: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Christoph Hellwig
Hi Adam, we're all well aware of the deficits of the current interface, but for now that's all we have, and due to lead times in implementing bioses it will be all we have for quite a while. We're all eagerly looking forward to better interfaces and bioses that will support them. But for now

RE: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Brooks, Adam J
>The other two patches are a heavily rewritten version of the code that >Intel gave to various storage vendors to discover the type 12 (and earlier >type 6) nvdimms, which I massaged into a form that is hopefully suitable >for mainline. The problem is that the e820 or the UEFI Memory Map Table on

Re: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Dan Williams
On Wed, Mar 25, 2015 at 10:04 AM, Christoph Hellwig wrote: > On Wed, Mar 25, 2015 at 10:00:26AM -0700, Dan Williams wrote: >> The kernel command line would simply be the standard/existing memmap= >> to reserve a memory range. Then, when the platform device loads, it >> does a request_firmware()

Re: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Christoph Hellwig
On Wed, Mar 25, 2015 at 10:00:26AM -0700, Dan Williams wrote: > The kernel command line would simply be the standard/existing memmap= > to reserve a memory range. Then, when the platform device loads, it > does a request_firmware() to inject a binary table that further carves > memory into ranges

Re: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Dan Williams
On Wed, Mar 25, 2015 at 9:44 AM, Christoph Hellwig wrote: > On Wed, Mar 25, 2015 at 09:33:52AM -0700, Dan Williams wrote: >> This is mostly ok and does not collide too much with the upcoming ACPI >> mechanism for this stuff. I do worry that the new >> "memmap=nn[KMG]!ss[KMG]" kernel command line

Re: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Christoph Hellwig
On Wed, Mar 25, 2015 at 09:33:52AM -0700, Dan Williams wrote: > This is mostly ok and does not collide too much with the upcoming ACPI > mechanism for this stuff. I do worry that the new > "memmap=nn[KMG]!ss[KMG]" kernel command line option will only be > relevant for at most one kernel cycle

Re: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Dan Williams
On Wed, Mar 25, 2015 at 9:04 AM, Christoph Hellwig wrote: > Here is another version of the same trivial pmem driver, because two > obviously aren't enough. Welcome to the party! :-) > The first patch is the same pmem driver > that Ross posted a short time ago, just modified to use

Re: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Dan Williams
On Wed, Mar 25, 2015 at 9:04 AM, Christoph Hellwig h...@lst.de wrote: Here is another version of the same trivial pmem driver, because two obviously aren't enough. Welcome to the party! :-) The first patch is the same pmem driver that Ross posted a short time ago, just modified to use

Re: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Dan Williams
On Wed, Mar 25, 2015 at 9:44 AM, Christoph Hellwig h...@lst.de wrote: On Wed, Mar 25, 2015 at 09:33:52AM -0700, Dan Williams wrote: This is mostly ok and does not collide too much with the upcoming ACPI mechanism for this stuff. I do worry that the new memmap=nn[KMG]!ss[KMG] kernel command

Re: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Christoph Hellwig
On Wed, Mar 25, 2015 at 10:00:26AM -0700, Dan Williams wrote: The kernel command line would simply be the standard/existing memmap= to reserve a memory range. Then, when the platform device loads, it does a request_firmware() to inject a binary table that further carves memory into ranges to

Re: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Christoph Hellwig
On Wed, Mar 25, 2015 at 09:33:52AM -0700, Dan Williams wrote: This is mostly ok and does not collide too much with the upcoming ACPI mechanism for this stuff. I do worry that the new memmap=nn[KMG]!ss[KMG] kernel command line option will only be relevant for at most one kernel cycle given the

Re: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Dan Williams
On Wed, Mar 25, 2015 at 10:04 AM, Christoph Hellwig h...@lst.de wrote: On Wed, Mar 25, 2015 at 10:00:26AM -0700, Dan Williams wrote: The kernel command line would simply be the standard/existing memmap= to reserve a memory range. Then, when the platform device loads, it does a

RE: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Brooks, Adam J
The other two patches are a heavily rewritten version of the code that Intel gave to various storage vendors to discover the type 12 (and earlier type 6) nvdimms, which I massaged into a form that is hopefully suitable for mainline. The problem is that the e820 or the UEFI Memory Map Table on

Re: [Linux-nvdimm] another pmem variant

2015-03-25 Thread Christoph Hellwig
Hi Adam, we're all well aware of the deficits of the current interface, but for now that's all we have, and due to lead times in implementing bioses it will be all we have for quite a while. We're all eagerly looking forward to better interfaces and bioses that will support them. But for now