Thread (56 messages) 56 messages, 9 authors, 2018-01-09

Re: [PATCH 01/12] pci-p2p: Support peer to peer memory

From: Bjorn Helgaas <helgaas@kernel.org>
Date: 2018-01-04 21:59:48
Also in: linux-nvme, linux-pci, linux-rdma, lkml, nvdimm

On Thu, Jan 04, 2018 at 12:01:26PM -0700, Logan Gunthorpe wrote:
Some PCI devices may have memory mapped in a BAR space that's
intended for use in Peer-to-Peer transactions. In order to enable
such transactions the memory must be registered with ZONE_DEVICE pages
so it can be used by DMA interfaces in existing drivers.
...
+ * pci_p2pmem_alloc_sgl - allocate p2p memory in an sgl
+ * @pdev:	the device to allocate memory from
+ * @sgl:	the allocated sgl
+ * @nents:      the number of sgs in the list
+ * @length:     number of bytes to allocate
Your later patches use "SGL" in English text.  If that's the conventional
capitalization, please use it here, too.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help