You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pmem
Hi, all.
Recently, I study about NVML.
Meanwhile, I wondering whether that is possible to use pcie type device as pmem device.
If pcie device is registered to NFIT, is it possible to use pcie device as pmem device??
Dan Williams
unread,
Aug 8, 2017, 12:42:33 AM8/8/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jangyong Lee, pmem
No, it can't. The problem is that a device on the PCI-E bus is not DMA
coherent. There are some limited scenarios where it will give the
impression that it works, but it can lead to data corruption in the
general case when you start to consider that any memory mapping might
also be subjected to direct-I/O and 3rd party DMA.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pmem, waho...@gmail.com, dan.j.w...@intel.com
Yes. I know that. But, I mean just for test :D
2017년 8월 9일 수요일 오전 1시 38분 27초 UTC+9, Dan Williams 님의 말:
Dan Williams
unread,
Aug 8, 2017, 7:17:33 PM8/8/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jangyong Lee, pmem
For "just a test" you can specify any physical address range that you
want and treat it as pmem with the "memmap=ss!nn" kernel parameter.
See: https://nvdimm.wiki.kernel.org/
Whether it causes data corruption or not depends on whether you
specify a valid physical address range that can behave as system
memory.