From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 19 Aug 2019 10:57:52 +0530 From: Bharata B Rao Subject: Re: add a not device managed memremap_pages v3 Reply-To: bharata@linux.ibm.com References: <20190818090557.17853-1-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190818090557.17853-1-hch@lst.de> Message-Id: <20190819052752.GD8784@in.ibm.com> Sender: owner-linux-mm@kvack.org To: Christoph Hellwig Cc: Dan Williams , Jason Gunthorpe , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org List-ID: On Sun, Aug 18, 2019 at 11:05:53AM +0200, Christoph Hellwig wrote: > Hi Dan and Jason, > > Bharata has been working on secure page management for kvmppc guests, > and one I thing I noticed is that he had to fake up a struct device > just so that it could be passed to the devm_memremap_pages > instrastructure for device private memory. > > This series adds non-device managed versions of the > devm_request_free_mem_region and devm_memremap_pages functions for > his use case. Tested kvmppc ultravisor patchset with migrate_vma changes and this patchset. (Had to manually patch mm/memremap.c instead of kernel/memremap.c though) For the series, Tested-by: Bharata B Rao