nvdimm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [ndctl PATCH 0/4] show broken dimm info with translate SPA feature
@ 2017-08-18  4:31 Yasunori Goto
  2017-08-18  4:33 ` [ndctl PATCH 1/4] make interface to check device/nfit/dsm_mask flags Yasunori Goto
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Yasunori Goto @ 2017-08-18  4:31 UTC (permalink / raw)
  To: NVDIMM-ML

Hello,

I wrote v2 patch set to show broken NVDIMM for ndctl list command.
Please check it.


---
Change log since v1 [1]:
 - Use ND_CMD_CALL to call translate SPA feature.
 - Separate patch set of ndctl from kernel patch set.
 - Add a interface to check what feature can call via ND_CMD_CALL by reading
   /device/nfit/dsm_mask 
 - Get only one nvdimm handle and DPA via ioctl() for the time being.
 - Bug fix which i found
     fix calculation of SPA from bad block at dev_badblocks_to_json().



[1] https://www.mail-archive.com/linux-nvdimm@lists.01.org/msg05287.html


----
This patch set is to show information of broken NVDIMM on ndctl.

When a region has a broken block, user need to replace
the NVDIMM which includes the block.
However there is no information to find which DIMM module have the block.
Not only ndctl does not have such information, nvdimm driver can not
find it.


Fortunately, ACPI 6.2 has new specification of _DSM.
It is "translate spa" which can get NVDIMM handle
and DPA(Dimm Physical Address) from SPA(system Physical Addreess).
It helps for ndctl command to find broken NVDIMM.

This patch set includes followings.
 - some preparations to call Translate SPA via ND_CMD_CALL.
 - libndctl supports Translate SPA interface,
 - ndctl list command show bad DIMM with Translate SPA.


Thanks,
---
Yasunori Goto




_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-08-28  2:38 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-18  4:31 [ndctl PATCH 0/4] show broken dimm info with translate SPA feature Yasunori Goto
2017-08-18  4:33 ` [ndctl PATCH 1/4] make interface to check device/nfit/dsm_mask flags Yasunori Goto
2017-08-25 23:45   ` Dan Williams
2017-08-28  1:01     ` Yasunori Goto
2017-08-18  4:34 ` [ndctl PATCH 2/4] allow ND_CMD_CALL for bus Yasunori Goto
2017-08-25 23:46   ` Dan Williams
2017-08-18  4:35 ` [ndctl PATCH 3/4] Make interfaces to use Translate SPA Yasunori Goto
2017-08-25 23:58   ` Dan Williams
2017-08-28  1:43     ` Yasunori Goto
2017-08-28  2:41       ` Dan Williams
2017-08-26  0:05   ` Dan Williams
2017-08-28  1:12     ` Yasunori Goto
2017-08-18  4:37 ` [ndctl PATCH 4/4] show bad dimm's name by ndctl list command Yasunori Goto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).