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

[ndctl PATCH] daxctl: Add bash-completion

2019-01-25 Thread Vishal Verma
Add bash completion helpers to contrib/ndctl to also allow for daxctl completion. This makes it so we have a single bash-completion script that is installed, and it provides completions for both ndctl and daxctl. As a bonus, some of the common functions can also get reused by both. Cc: Dan William

Re: [PATCH 2/5] mm/resource: move HMM pr_debug() deeper into resource code

2019-01-25 Thread Dave Hansen
On 1/25/19 1:18 PM, Bjorn Helgaas wrote: > On Thu, Jan 24, 2019 at 5:21 PM Dave Hansen > wrote: >> diff -puN kernel/resource.c~move-request_region-check kernel/resource.c >> --- a/kernel/resource.c~move-request_region-check 2019-01-24 >> 15:13:14.453199539 -0800 >> +++ b/kernel/resource.c

Re: [PATCH 1/5] mm/resource: return real error codes from walk failures

2019-01-25 Thread Bjorn Helgaas
On Fri, Jan 25, 2019 at 3:10 PM Dave Hansen wrote: > > On 1/25/19 1:02 PM, Bjorn Helgaas wrote: > >> @@ -453,7 +453,7 @@ int walk_system_ram_range(unsigned long > >> unsigned long flags; > >> struct resource res; > >> unsigned long pfn, end_pfn; > >> - int ret = -1; >

Re: [PATCH 2/5] mm/resource: move HMM pr_debug() deeper into resource code

2019-01-25 Thread Bjorn Helgaas
On Thu, Jan 24, 2019 at 5:21 PM Dave Hansen wrote: > > > From: Dave Hansen > > HMM consumes physical address space for its own use, even > though nothing is mapped or accessible there. It uses a > special resource description (IORES_DESC_DEVICE_PRIVATE_MEMORY) > to uniquely identify these areas.

Re: [PATCH 1/5] mm/resource: return real error codes from walk failures

2019-01-25 Thread Dave Hansen
On 1/25/19 1:02 PM, Bjorn Helgaas wrote: >> @@ -453,7 +453,7 @@ int walk_system_ram_range(unsigned long >> unsigned long flags; >> struct resource res; >> unsigned long pfn, end_pfn; >> - int ret = -1; >> + int ret = -EINVAL; > Can you either make a similar chang

Re: [PATCH 1/5] mm/resource: return real error codes from walk failures

2019-01-25 Thread Bjorn Helgaas
On Thu, Jan 24, 2019 at 5:21 PM Dave Hansen wrote: > > > From: Dave Hansen > > walk_system_ram_range() can return an error code either becuase *it* > failed, or because the 'func' that it calls returned an error. The > memory hotplug does the following: > > ret = walk_system_ram_range(..

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 0/5] [v4] Allow persistent memory to be used like normal RAM

2019-01-25 Thread Jerome Glisse
On Thu, Jan 24, 2019 at 03:14:41PM -0800, Dave Hansen wrote: > v3 spurred a bunch of really good discussion. Thanks to everybody > that made comments and suggestions! > > I would still love some Acks on this from the folks on cc, even if it > is on just the patch touching your area. > > Note: th

Re: [PATCH 2/5] mm/resource: move HMM pr_debug() deeper into resource code

2019-01-25 Thread Jerome Glisse
On Thu, Jan 24, 2019 at 03:14:44PM -0800, Dave Hansen wrote: > > From: Dave Hansen > > HMM consumes physical address space for its own use, even > though nothing is mapped or accessible there. It uses a > special resource description (IORES_DESC_DEVICE_PRIVATE_MEMORY) > to uniquely identify the

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 a

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

your mail subject

2019-01-25 Thread Avraham F
Your email client cannot read this email. To view it online, please go here: http://track.yoganews.info/campaigns/webversion/Nzk1Nw==/MzQ0NTA0OA==/MjU5 Have we gotten to the wrong address?  If so, we apologize and you can easily press the Unsubscribe me from this listDear colleagues, Following ou

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

2019-01-25 Thread Du, Fan
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, then common RAS workflow will kick in, right? And how about when AR