From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 28 Nov 2016 15:24:52 -0700 From: Jason Gunthorpe Subject: Re: Enabling peer to peer device transactions for PCIe devices Message-ID: <20161128222452.GA744@obsidianresearch.com> References: <91d28749-bc64-622f-56a1-26c00e6b462a@deltatee.com> <20161124164249.GD20818@obsidianresearch.com> <3f2d2db3-fb75-2422-2a18-a8497fd5d70e@amd.com> <20161125193252.GC16504@obsidianresearch.com> <20161128165751.GB28381@obsidianresearch.com> <0d3d56e2-4d2b-85b7-9487-b7ae2aaea610@amd.com> <1ac2f9e7-f1ee-a2c9-0134-ffaa28c706af@amd.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1ac2f9e7-f1ee-a2c9-0134-ffaa28c706af@amd.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Serguei Sagalovitch Cc: Haggai Eran , "Bridgman, John , linux-rdma@vger.kernel.org" , "linux-nvdimm@lists.01.org" , Kuehling,, "Paul , linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , Sander,, "Suravee , linux-pci@vger.kernel.org" , "Deucher, Alexander , Max Gurtovoy , Christian K??nig" , "Linux-media@vger.kernel.org" List-ID: On Mon, Nov 28, 2016 at 04:55:23PM -0500, Serguei Sagalovitch wrote: > >We haven't touch this in a long time and perhaps it changed, but there > >definitely was a call back in the PeerDirect API to allow the GPU to > >invalidate the mapping. That's what we don't want. > I assume that you are talking about "invalidate_peer_memory()' callback? > I was told that it is the "last resort" because HCA (and driver) is not > able to handle it in the safe manner so it is basically "abort" everything. If it is a last resort to save system stability then kill the impacted process, that will release the MRs. Jason _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm