[no subject]

2017-11-12 Thread Bounced mail
The original message was received at Mon, 13 Nov 2017 11:13:14 +0800 from lists.01.org [217.132.172.246] - The following addresses had permanent fatal errors - - Transcript of session follows - while talking to lists.01.org.: >>> MAIL From:"Bounced

Re: [PATCH] ndctl: daxctl: fix mmap size

2017-11-12 Thread Dan Williams
On Sun, Nov 12, 2017 at 10:10 AM, Dan Williams wrote: > On Fri, Nov 10, 2017 at 11:45 AM, Dave Jiang wrote: >> The size for mmap needs to be aligned to the region alignment. Add helper >> funciton to determine the actual size to be mmap'd. >> >>

Re: [PATCH] ndctl: daxctl: fix mmap size

2017-11-12 Thread Dan Williams
On Fri, Nov 10, 2017 at 11:45 AM, Dave Jiang wrote: > The size for mmap needs to be aligned to the region alignment. Add helper > funciton to determine the actual size to be mmap'd. > > Signed-off-by: Dave Jiang > --- > daxctl/io.c | 23

[PATCH 1/2] acpi, nfit: validate commands against the device type

2017-11-12 Thread Dan Williams
Fix occasions in acpi_nfit_ctl where we check the command type without validating whether we are parsing dimm vs bus level commands. Where the command numbers alias between dimms and bus we can make the wrong assumption just checking the raw command number. For example, with a simple nfit_test

[PATCH 2/2] tools/testing/nvdimm: unit test clear-error commands

2017-11-12 Thread Dan Williams
Validate command parsing in acpi_nfit_ctl for the clear error command. This tests for a crash condition introduced by commit 4b27db7e26cd "acpi, nfit: add support for the _LSI, _LSR, and _LSW label methods". Cc: Vishal Verma Signed-off-by: Dan Williams