Re: [Qemu-devel] [qemu PATCH v4 3/4] nvdimm, acpi: support NFIT platform capabilities

2018-06-12 Thread Igor Mammedov
On Wed, 6 Jun 2018 22:06:17 +0300 "Michael S. Tsirkin" wrote: > On Wed, Jun 06, 2018 at 11:08:49AM -0600, Ross Zwisler wrote: > > On Wed, Jun 06, 2018 at 11:00:33AM -0600, Ross Zwisler wrote: > > > On Wed, Jun 06, 2018 at 10:50:51AM -0600, Ross Zwisler wrote: > > > > On Tue, Jun 05, 2018 at

Re: [PATCH v5 1/4] resource: Move reparent_resources() to kernel/resource.c and make it public

2018-06-12 Thread Andy Shevchenko
On Tue, Jun 12, 2018 at 6:28 AM, Baoquan He wrote: > reparent_resources() is duplicated in arch/microblaze/pci/pci-common.c > and arch/powerpc/kernel/pci-common.c, so move it to kernel/resource.c > so that it's shared. Later its code also need be updated using list_head > to replace singly linked

Re: [PATCH v5 1/4] resource: Move reparent_resources() to kernel/resource.c and make it public

2018-06-12 Thread Baoquan He
On 06/12/18 at 11:29am, Andy Shevchenko wrote: > On Tue, Jun 12, 2018 at 6:28 AM, Baoquan He wrote: > > reparent_resources() is duplicated in arch/microblaze/pci/pci-common.c > > and arch/powerpc/kernel/pci-common.c, so move it to kernel/resource.c > > so that it's shared. Later its code also

Re: [PATCH v5 1/4] resource: Move reparent_resources() to kernel/resource.c and make it public

2018-06-12 Thread Baoquan He
On 06/12/18 at 11:29am, Andy Shevchenko wrote: > On Tue, Jun 12, 2018 at 6:28 AM, Baoquan He wrote: > > reparent_resources() is duplicated in arch/microblaze/pci/pci-common.c > > and arch/powerpc/kernel/pci-common.c, so move it to kernel/resource.c > > so that it's shared. Later its code also

Re: [PATCH v5 2/4] resource: Use list_head to link sibling resource

2018-06-12 Thread Julia Lawall
This looks wrong. After a list iterator, the index variable points to a dummy structure. julia url: https://github.com/0day-ci/linux/commits/Baoquan-He/resource-Use-list_head-to-link-sibling-resource/20180612-113600 :: branch date: 7 hours ago :: commit date: 7 hours ago >>

[PATCH v2 0/2] ndctl, test: add some helper function and cleanup test script

2018-06-12 Thread Masayoshi Mizuma
Some test scripts have same function. So, let's cleanup to stop the duplication by intoducing 'test/common' file. Test scripts includes the common file to use the functions. Changelog: - Add SPDX style license header to the new test/common file. - Fix wrong test expression in detect() on

Re: [PATCH 2/2] test: cleanup test scripts

2018-06-12 Thread Verma, Vishal L
On Mon, 2018-06-11 at 12:45 -0400, Masayoshi Mizuma wrote: > From: Masayoshi Mizuma > > Include 'common' file to use some fucntions for test scripts. > > Signed-off-by: Masayoshi Mizuma > --- > test/blk-exhaust.sh | 21 +++- > test/btt-check.sh | 35

RE: [PATCH v6 1/4] ndctl, util: add OPTION_FILENAME to parse_opt_type

2018-06-12 Thread Qi, Fuli
> -Original Message- > From: Verma, Vishal L [mailto:vishal.l.ve...@intel.com] > Sent: Wednesday, June 13, 2018 7:45 AM > To: Williams, Dan J ; Qi, Fuli/斉 福利 > > Cc: linux-nvdimm@lists.01.org > Subject: Re: [PATCH v6 1/4] ndctl, util: add OPTION_FILENAME to > parse_opt_type > > On Wed,

Re: [PATCH v4 11/12] mm, memory_failure: Teach memory_failure() about dev_pagemap pages

2018-06-12 Thread Dan Williams
On Tue, Jun 12, 2018 at 1:14 PM, Ross Zwisler wrote: > On Fri, Jun 08, 2018 at 04:51:19PM -0700, Dan Williams wrote: >> mce: Uncorrected hardware memory error in user-access at af34214200 >> {1}[Hardware Error]: It has been corrected by h/w and requires no >> further action >> mce:

Re: [PATCH v6 1/4] ndctl, util: add OPTION_FILENAME to parse_opt_type

2018-06-12 Thread Verma, Vishal L
On Wed, 2018-05-16 at 02:42 +, Qi, Fuli wrote: > > -Original Message- > > From: Dan Williams [mailto:dan.j.willi...@intel.com] > > Sent: Saturday, May 12, 2018 1:42 AM > > To: Qi, Fuli/斉 福利 > > Cc: linux-nvdimm > > Subject: Re: [PATCH v6 1/4] ndctl, util: add OPTION_FILENAME to > >

[PATCH v2 1/2] ndctl, test: add some helper function for test script

2018-06-12 Thread Masayoshi Mizuma
From: Masayoshi Mizuma Some test scripts have same function. So, this patch introduces the functions to 'test/common' new file. Signed-off-by: Masayoshi Mizuma --- test/common | 60 + 1 file changed, 60 insertions(+) create mode 100644

[PATCH v2 2/2] ndctl, test: cleanup test scripts

2018-06-12 Thread Masayoshi Mizuma
From: Masayoshi Mizuma Include 'common' file to use some functions for test scritps. Signed-off-by: Masayoshi Mizuma --- test/blk-exhaust.sh | 21 +++- test/btt-check.sh | 35 -- test/btt-errors.sh| 20 ---

Re: [PATCH v4 11/12] mm, memory_failure: Teach memory_failure() about dev_pagemap pages

2018-06-12 Thread Ross Zwisler
On Fri, Jun 08, 2018 at 04:51:19PM -0700, Dan Williams wrote: > mce: Uncorrected hardware memory error in user-access at af34214200 > {1}[Hardware Error]: It has been corrected by h/w and requires no further > action > mce: [Hardware Error]: Machine check events logged >

Re: [PATCH v11 4/7] mm, fs, dax: handle layout changes to pinned dax mappings

2018-06-12 Thread Ross Zwisler
On Fri, May 18, 2018 at 06:35:13PM -0700, Dan Williams wrote: > Background: > > get_user_pages() in the filesystem pins file backed memory pages for > access by devices performing dma. However, it only pins the memory pages > not the page-to-file offset association. If a file is truncated the >

Re: [PATCH v4 10/12] filesystem-dax: Introduce dax_lock_page()

2018-06-12 Thread Ross Zwisler
On Fri, Jun 08, 2018 at 04:51:14PM -0700, Dan Williams wrote: > In preparation for implementing support for memory poison (media error) > handling via dax mappings, implement a lock_page() equivalent. Poison > error handling requires rmap and needs guarantees that the page->mapping > association

回复:如何解决技术不懂管理的问题

2018-06-12 Thread 请注意查收
原邮件信息 - 发件人:gtm...@yw.net 收件人:linux-nvdimm@lists.01.org; 发送时间:2018-6-13 3:59:32 主题: 附-件-查-阅 910394 ___ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm

Re: [PATCH v5 1/4] resource: Move reparent_resources() to kernel/resource.c and make it public

2018-06-12 Thread Andy Shevchenko
On Tue, Jun 12, 2018 at 12:38 PM, Baoquan He wrote: > On 06/12/18 at 11:29am, Andy Shevchenko wrote: >> On Tue, Jun 12, 2018 at 6:28 AM, Baoquan He wrote: >> > +{ >> >> > + for (pp = >child; (p = *pp) != NULL; pp = >sibling) { >> > + if (p->end < res->start) >> > +

Re: [PATCH v4 10/12] filesystem-dax: Introduce dax_lock_page()

2018-06-12 Thread Ross Zwisler
On Mon, Jun 11, 2018 at 05:41:46PM +0200, Jan Kara wrote: > On Fri 08-06-18 16:51:14, Dan Williams wrote: > > In preparation for implementing support for memory poison (media error) > > handling via dax mappings, implement a lock_page() equivalent. Poison > > error handling requires rmap and needs

Re: [PATCH v5 1/4] resource: Move reparent_resources() to kernel/resource.c and make it public

2018-06-12 Thread Andy Shevchenko
On Tue, Jun 12, 2018 at 5:20 PM, Andy Shevchenko wrote: > On Tue, Jun 12, 2018 at 12:38 PM, Baoquan He wrote: >> On 06/12/18 at 11:29am, Andy Shevchenko wrote: >>> On Tue, Jun 12, 2018 at 6:28 AM, Baoquan He wrote: > >>> > +{ >>> >>> > + for (pp = >child; (p = *pp) != NULL; pp = >sibling)