[PATCH] ndctl: introduce 4k allocation support for creating namespace

2016-10-24 Thread Dave Jiang
Existing implementation defaults all pages allocated as 2M superpages. For nfit_test dax device we need 4k pages allocated to work properly. Adding an --align,-a option to provide the alignment. Will accept 4k and 2M at the moment as proper parameter. No -a option still defaults to 2M.

[4.4, 4.7 stable PATCH] acpi, nfit: check for the correct event code in notifications

2016-10-24 Thread Vishal Verma
commit c09f12186d6b03b798832d95289af76495990192 upstream. Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added support for _FIT notifications, but it neglected to verify the notification event code matches the one in the ACPI spec for "NFIT Update". Currently there is only one code in