Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-02-13 Thread Dan Williams
On Wed, Feb 13, 2019 at 5:07 AM Brice Goglin wrote: > > > Le 13/02/2019 à 09:43, Brice Goglin a écrit : > > Le 13/02/2019 à 09:24, Dan Williams a écrit : > >> On Wed, Feb 13, 2019 at 12:12 AM Brice Goglin > >> wrote: > >>> Le 13/02/2019 à 01:30, Dan Williams a écrit : > On Tue, Feb 12, 2019

Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-02-13 Thread Brice Goglin
Le 13/02/2019 à 09:43, Brice Goglin a écrit : > Le 13/02/2019 à 09:24, Dan Williams a écrit : >> On Wed, Feb 13, 2019 at 12:12 AM Brice Goglin wrote: >>> Le 13/02/2019 à 01:30, Dan Williams a écrit : On Tue, Feb 12, 2019 at 11:59 AM Brice Goglin wrote: > # ndctl disable-region al

Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-02-13 Thread Brice Goglin
Le 13/02/2019 à 09:24, Dan Williams a écrit : > On Wed, Feb 13, 2019 at 12:12 AM Brice Goglin wrote: >> Le 13/02/2019 à 01:30, Dan Williams a écrit : >>> On Tue, Feb 12, 2019 at 11:59 AM Brice Goglin wrote: # ndctl disable-region all # ndctl zero-labels all # ndctl enable-region

Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-02-13 Thread Dan Williams
On Wed, Feb 13, 2019 at 12:12 AM Brice Goglin wrote: > > Le 13/02/2019 à 01:30, Dan Williams a écrit : > > On Tue, Feb 12, 2019 at 11:59 AM Brice Goglin wrote: > >> # ndctl disable-region all > >> # ndctl zero-labels all > >> # ndctl enable-region region0 > >> # ndctl create-namespace -r region0

Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-02-13 Thread Brice Goglin
Le 13/02/2019 à 01:30, Dan Williams a écrit : > On Tue, Feb 12, 2019 at 11:59 AM Brice Goglin wrote: >> # ndctl disable-region all >> # ndctl zero-labels all >> # ndctl enable-region region0 >> # ndctl create-namespace -r region0 -t pmem -m devdax >> { >> "dev":"namespace0.0", >> "mode":"devda

Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-02-12 Thread Dan Williams
On Tue, Feb 12, 2019 at 11:59 AM Brice Goglin wrote: > > Le 11/02/2019 à 17:22, Dave Hansen a écrit : > > > On 2/9/19 3:00 AM, Brice Goglin wrote: > >> I've used your patches on fake hardware (memmap=xx!yy) with an older > >> nvdimm-pending branch (without Keith's patches). It worked fine. This >

Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-02-12 Thread Brice Goglin
Le 11/02/2019 à 17:22, Dave Hansen a écrit : > On 2/9/19 3:00 AM, Brice Goglin wrote: >> I've used your patches on fake hardware (memmap=xx!yy) with an older >> nvdimm-pending branch (without Keith's patches). It worked fine. This >> time I am running on real Intel hardware. Any idea where to look

Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-02-12 Thread Dave Hansen
On 2/9/19 3:00 AM, Brice Goglin wrote: > I've used your patches on fake hardware (memmap=xx!yy) with an older > nvdimm-pending branch (without Keith's patches). It worked fine. This > time I am running on real Intel hardware. Any idea where to look ? I've run them on real Intel hardware too. Coul

Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-01-28 Thread Dan Williams
On Mon, Jan 28, 2019 at 1:26 AM Michal Hocko wrote: > > On Fri 25-01-19 11:15:08, Dan Williams wrote: > [...] > > However, we should consider this along with the userspace enabling to > > control which device-dax instances are set aside for hotplug. It would > > make sense to have a "clear errors

Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-01-28 Thread Michal Hocko
On Fri 25-01-19 11:15:08, Dan Williams wrote: [...] > However, we should consider this along with the userspace enabling to > control which device-dax instances are set aside for hotplug. It would > make sense to have a "clear errors before hotplug" configuration > option. I am not sure I understa

Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-01-25 Thread Jane Chu
On 1/25/2019 11:15 AM, Dan Williams wrote: On Fri, Jan 25, 2019 at 11:10 AM Jane Chu wrote: On 1/25/2019 10:20 AM, Verma, Vishal L wrote: On Fri, 2019-01-25 at 09:18 -0800, Dan Williams wrote: On Fri, Jan 25, 2019 at 12:20 AM Du, Fan wrote: Dan Thanks for the insights! Can I say, th

Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-01-25 Thread Dan Williams
On Fri, Jan 25, 2019 at 11:10 AM Jane Chu wrote: > > > On 1/25/2019 10:20 AM, Verma, Vishal L wrote: > > > > On Fri, 2019-01-25 at 09:18 -0800, Dan Williams wrote: > >> On Fri, Jan 25, 2019 at 12:20 AM Du, Fan wrote: > >>> Dan > >>> > >>> Thanks for the insights! > >>> > >>> Can I say, the UCE is

Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-01-25 Thread Jane Chu
On 1/25/2019 10:20 AM, Verma, Vishal L wrote: On Fri, 2019-01-25 at 09:18 -0800, Dan Williams wrote: On Fri, Jan 25, 2019 at 12:20 AM Du, Fan wrote: Dan Thanks for the insights! Can I say, the UCE is delivered from h/w to OS in a single way in case of machine check, only PMEM/DAX stuff fi

Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-01-25 Thread Verma, Vishal L
On Fri, 2019-01-25 at 09:18 -0800, Dan Williams wrote: > On Fri, Jan 25, 2019 at 12:20 AM Du, Fan wrote: > > Dan > > > > Thanks for the insights! > > > > Can I say, the UCE is delivered from h/w to OS in a single way in > > case of machine > > check, only PMEM/DAX stuff filter out UC address an

Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-01-25 Thread Dan Williams
On Fri, Jan 25, 2019 at 12:20 AM Du, Fan wrote: > > Dan > > Thanks for the insights! > > Can I say, the UCE is delivered from h/w to OS in a single way in case of > machine > check, only PMEM/DAX stuff filter out UC address and managed in its own way by > badblocks, if PMEM/DAX doesn't do so, the

RE: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-01-25 Thread Du, Fan
l Hocko >; linux-nvdimm ; Takashi >Iwai ; Dave Hansen ; Huang, >Ying ; Linux Kernel Mailing List >; Linux MM ; Jérôme >Glisse ; Borislav Petkov ; Yaowei Bai >; Ross Zwisler ; >Bjorn Helgaas ; Andrew Morton >; Wu, Fengguang >Subject: Re: [PATCH 5/5] dax: "Hotplug&quo

Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-01-24 Thread Dan Williams
On Thu, Jan 24, 2019 at 10:13 PM Jane Chu wrote: > > Hi, Dave, > > While chatting with my colleague Erwin about the patchset, it occurred > that we're not clear about the error handling part. Specifically, > > 1. If an uncorrectable error is detected during a 'load' in the hot > plugged pmem regio

Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-01-24 Thread Jane Chu
Hi, Dave, While chatting with my colleague Erwin about the patchset, it occurred that we're not clear about the error handling part. Specifically, 1. If an uncorrectable error is detected during a 'load' in the hot plugged pmem region, how will the error be handled? will it be handled like PM