From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: Enabling peer to peer device transactions for PCIe devices Date: Fri, 25 Nov 2016 13:19:39 -0700 Message-ID: <20161125201939.GJ16504@obsidianresearch.com> References: <20161123203332.GA15062@obsidianresearch.com> <20161123215510.GA16311@obsidianresearch.com> <91d28749-bc64-622f-56a1-26c00e6b462a@deltatee.com> <20161124164249.GD20818@obsidianresearch.com> <3f2d2db3-fb75-2422-2a18-a8497fd5d70e@amd.com> <7ff3cf70-b0c3-028e-fea8-c370a1185b65@amd.com> <20161125193410.GD16504@obsidianresearch.com> <80aae3e6-278e-49af-7d09-bea87ffd19e8@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <80aae3e6-278e-49af-7d09-bea87ffd19e8-5C7GfCeVMHo@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-nvdimm-bounces-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org Sender: "Linux-nvdimm" To: Serguei Sagalovitch Cc: Haggai Eran , "Bridgman, John" , "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org" , "Kuehling, Felix" , "Blinzer, Paul" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org" , "Sander, Ben" , "Suthikulpanit, Suravee" , "linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "Deucher, Alexander" , Christian =?iso-8859-1?Q?K=F6nig?= , "Linux-media-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-rdma@vger.kernel.org On Fri, Nov 25, 2016 at 02:49:50PM -0500, Serguei Sagalovitch wrote: > 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 :-)). At least on x86 if you have a bus address you have a CPU address. All RDMAable VRAM has to be visible in the BAR. > BTW/FYI: About CPU access: Some user-level API is mainly handle based > so there is no need for CPU access by default. You mean no need for the memory to be virtually mapped into the process? Do you expect to RDMA from this kind of API? How will that work? Jason