I made a v4 patch set to emulate translate SPA by nfit_test.ko module.
If possible, please merge it.
This patch set is to emulate translate SPA feature by nfit_test.ko.
Certainly the nfit acpi driver supports translate SPA interface
via ND_CMD_CALL. But nfit_test does not support it yet.
To test translate SPA with nfit_test, this patch set is needed.
Change log since v3 :
- Rebase current libnvdimm-for-next branch.
- Fix over 80 character lines and too much tabs which is pointed
by Verma-san. (Thanks!)
- Since ndctl became to use the name "nfit_cmd" instead of
"passthru" is renamed to "nfit_cmd".
Change log since v2 :
- Make private defintion just for nfit_test.
(NFIT_CMD_TRANSLATE_SPA, struct nd_cmd_translate_spa, and others)
- Check region by kobj.name instead of using is_nd_pmem().
Change log since v1 :
- Separate patch set of kenel from ndctl patch set.
- Change interface via ND_CMD_CALL.