[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <80aae3e6-278e-49af-7d09-bea87ffd19e8@amd.com>
Date: Fri, 25 Nov 2016 14:49:50 -0500
From: Serguei Sagalovitch <serguei.sagalovitch@....com>
To: Jason Gunthorpe <jgunthorpe@...idianresearch.com>
CC: Christian König <christian.koenig@....com>,
Logan Gunthorpe <logang@...tatee.com>,
Dan Williams <dan.j.williams@...el.com>,
"Deucher, Alexander" <Alexander.Deucher@....com>,
"linux-nvdimm@...ts.01.org" <linux-nvdimm@...1.01.org>,
"linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
"Kuehling, Felix" <Felix.Kuehling@....com>,
"Bridgman, John" <John.Bridgman@....com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
"Sander, Ben" <ben.sander@....com>,
"Suthikulpanit, Suravee" <Suravee.Suthikulpanit@....com>,
"Blinzer, Paul" <Paul.Blinzer@....com>,
"Linux-media@...r.kernel.org" <Linux-media@...r.kernel.org>,
Haggai Eran <haggaie@...lanox.com>
Subject: Re: Enabling peer to peer device transactions for PCIe devices
On 2016-11-25 02:34 PM, Jason Gunthorpe wrote:
> On Fri, Nov 25, 2016 at 12:16:30PM -0500, Serguei Sagalovitch wrote:
>
>> b) Allocation may not have CPU address at all - only GPU one.
> But you don't expect RDMA to work in the case, right?
>
> GPU people need to stop doing this windowed memory stuff :)
GPU could perfectly access all VRAM. It is only issue for p2p without
special interconnect and CPU access. Strictly speaking as long as we
have "bus address" we could have RDMA but I agreed that for
RDMA we could/should(?) always "request" CPU address (I hope that we
could forget about 32-bit application :-)).
BTW/FYI: About CPU access: Some user-level API is mainly handle based
so there is no need for CPU access by default.
About "visible" / non-visible VRAM parts: I assume that going
forward we will be able to get rid from it completely as soon as support
for resizable PCI BAR will be implemented and/or old/current h/w
will become obsolete.
Powered by blists - more mailing lists