From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 29/31] parisc: handle page-less SG entries Date: Thu, 13 Aug 2015 16:31:50 +0200 Message-ID: <20150813143150.GA17183@lst.de> References: <1439363150-8661-1-git-send-email-hch@lst.de> <1439363150-8661-30-git-send-email-hch@lst.de> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-ia64-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Linus Torvalds Cc: Jens Axboe , Dan Williams , Vineet Gupta , =?iso-8859-1?Q?H=E5vard?= Skinnemoen , Hans-Christian Egtvedt , Miao Steven , David Howells , Michal Simek , the arch/x86 maintainers , David Woodhouse , Alex Williamson , grundler@parisc-linux.org, Linux Kernel Mailing List , "linux-arch@vger.kernel.org" , linux-alpha@vger.kernel.org, "linux-ia64@vger.kernel.org" , linux-metag@vger.kernel.org, linux-mips , Parisc List , ppc-dev , linux-s390 , s On Wed, Aug 12, 2015 at 09:01:02AM -0700, Linus Torvalds wrote: > I'm assuming that anybody who wants to use the page-less > scatter-gather lists always does so on memory that isn't actually > virtually mapped at all, or only does so on sane architectures that > are cache coherent at a physical level, but I'd like that assumption > *documented* somewhere. It's temporarily mapped by kmap-like helpers. That code isn't in this series. The most recent version of it is here: https://git.kernel.org/cgit/linux/kernel/git/djbw/nvdimm.git/commit/?h=pfn&id=de8237c99fdb4352be2193f3a7610e902b9bb2f0 note that it's not doing the cache flushing it would have to do yet, but it's also only enabled for x86 at the moment. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from verein.lst.de ([213.95.11.211]:48716 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751996AbbHMObx (ORCPT ); Thu, 13 Aug 2015 10:31:53 -0400 Date: Thu, 13 Aug 2015 16:31:50 +0200 From: Christoph Hellwig Subject: Re: [PATCH 29/31] parisc: handle page-less SG entries Message-ID: <20150813143150.GA17183@lst.de> References: <1439363150-8661-1-git-send-email-hch@lst.de> <1439363150-8661-30-git-send-email-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-arch-owner@vger.kernel.org List-ID: To: Linus Torvalds Cc: Jens Axboe , Dan Williams , Vineet Gupta , =?iso-8859-1?Q?H=E5vard?= Skinnemoen , Hans-Christian Egtvedt , Miao Steven , David Howells , Michal Simek , the arch/x86 maintainers , David Woodhouse , Alex Williamson , grundler@parisc-linux.org, Linux Kernel Mailing List , "linux-arch@vger.kernel.org" , linux-alpha@vger.kernel.org, "linux-ia64@vger.kernel.org" , linux-metag@vger.kernel.org, linux-mips , Parisc List , ppc-dev , linux-s390 , sparclinux@vger.kernel.org, linux-xtensa@linux-xtensa.org, "linux-nvdimm@lists.01.org" , Linux Media Mailing List Message-ID: <20150813143150.8m0XAXa_th6GhiHeGhXlvWiYgo5HMWA8K4DGXe4fS34@z> On Wed, Aug 12, 2015 at 09:01:02AM -0700, Linus Torvalds wrote: > I'm assuming that anybody who wants to use the page-less > scatter-gather lists always does so on memory that isn't actually > virtually mapped at all, or only does so on sane architectures that > are cache coherent at a physical level, but I'd like that assumption > *documented* somewhere. It's temporarily mapped by kmap-like helpers. That code isn't in this series. The most recent version of it is here: https://git.kernel.org/cgit/linux/kernel/git/djbw/nvdimm.git/commit/?h=pfn&id=de8237c99fdb4352be2193f3a7610e902b9bb2f0 note that it's not doing the cache flushing it would have to do yet, but it's also only enabled for x86 at the moment. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Date: Thu, 13 Aug 2015 14:31:50 +0000 Subject: Re: [PATCH 29/31] parisc: handle page-less SG entries Message-Id: <20150813143150.GA17183@lst.de> List-Id: References: <1439363150-8661-1-git-send-email-hch@lst.de> <1439363150-8661-30-git-send-email-hch@lst.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="macroman" Content-Transfer-Encoding: base64 To: Linus Torvalds Cc: Jens Axboe , Dan Williams , Vineet Gupta , =?iso-8859-1?Q?H=E5vard?= Skinnemoen , Hans-Christian Egtvedt , Miao Steven , David Howells , Michal Simek , the arch/x86 maintainers , David Woodhouse , Alex Williamson , grundler@parisc-linux.org, Linux Kernel Mailing List , "linux-arch@vger.kernel.org" , linux-alpha@vger.kernel.org, "linux-ia64@vger.kernel.org" , linux-metag@vger.kernel.org, linux-mips , Parisc List , ppc-dev , linux-s390 , sparclinux@vger.kernel.org, linux-xtensa@linux-xtensa.org, "linux-nvdimm@lists.01.org" , Linux Media Mailing List T24gV2VkLCBBdWcgMTIsIDIwMTUgYXQgMDk6MDE6MDJBTSAtMDcwMCwgTGludXMgVG9ydmFsZHMg d3JvdGU6Cj4gSSdtIGFzc3VtaW5nIHRoYXQgYW55Ym9keSB3aG8gd2FudHMgdG8gdXNlIHRoZSBw YWdlLWxlc3MKPiBzY2F0dGVyLWdhdGhlciBsaXN0cyBhbHdheXMgZG9lcyBzbyBvbiBtZW1vcnkg dGhhdCBpc24ndCBhY3R1YWxseQo+IHZpcnR1YWxseSBtYXBwZWQgYXQgYWxsLCBvciBvbmx5IGRv ZXMgc28gb24gc2FuZSBhcmNoaXRlY3R1cmVzIHRoYXQKPiBhcmUgY2FjaGUgY29oZXJlbnQgYXQg YSBwaHlzaWNhbCBsZXZlbCwgYnV0IEknZCBsaWtlIHRoYXQgYXNzdW1wdGlvbgo+ICpkb2N1bWVu dGVkKiBzb21ld2hlcmUuCgpJdCdzIHRlbXBvcmFyaWx5IG1hcHBlZCBieSBrbWFwLWxpa2UgaGVs cGVycy4gIFRoYXQgY29kZSBpc24ndCBpbgp0aGlzIHNlcmllcy4gVGhlIG1vc3QgcmVjZW50IHZl cnNpb24gb2YgaXQgaXMgaGVyZToKCmh0dHBzOi8vZ2l0Lmtlcm5lbC5vcmcvY2dpdC9saW51eC9r ZXJuZWwvZ2l0L2RqYncvbnZkaW1tLmdpdC9jb21taXQvP2g9cGZuJmlk3jgyMzdjOTlmZGI0MzUy YmUyMTkzZjNhNzYxMGU5MDJiOWJiMmYwCgpub3RlIHRoYXQgaXQncyBub3QgZG9pbmcgdGhlIGNh Y2hlIGZsdXNoaW5nIGl0IHdvdWxkIGhhdmUgdG8gZG8geWV0LCBidXQKaXQncyBhbHNvIG9ubHkg ZW5hYmxlZCBmb3IgeDg2IGF0IHRoZSBtb21lbnQuCi0tClRvIHVuc3Vic2NyaWJlIGZyb20gdGhp cyBsaXN0OiBzZW5kIHRoZSBsaW5lICJ1bnN1YnNjcmliZSBsaW51eC1pYTY0IiBpbgp0aGUgYm9k eSBvZiBhIG1lc3NhZ2UgdG8gbWFqb3Jkb21vQHZnZXIua2VybmVsLm9yZwpNb3JlIG1ham9yZG9t byBpbmZvIGF0ICBodHRwOi8vdmdlci5rZXJuZWwub3JnL21ham9yZG9tby1pbmZvLmh0bWw= From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Date: Thu, 13 Aug 2015 14:31:50 +0000 Subject: Re: [PATCH 29/31] parisc: handle page-less SG entries Message-Id: <20150813143150.GA17183@lst.de> List-Id: References: <1439363150-8661-1-git-send-email-hch@lst.de> <1439363150-8661-30-git-send-email-hch@lst.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: Linus Torvalds Cc: Jens Axboe , Dan Williams , Vineet Gupta , =?iso-8859-1?Q?H=E5vard?= Skinnemoen , Hans-Christian Egtvedt , Miao Steven , David Howells , Michal Simek , the arch/x86 maintainers , David Woodhouse , Alex Williamson , grundler@parisc-linux.org, Linux Kernel Mailing List , "linux-arch@vger.kernel.org" , linux-alpha@vger.kernel.org, "linux-ia64@vger.kernel.org" , linux-metag@vger.kernel.org, linux-mips , Parisc List , ppc-dev , linux-s390 On Wed, Aug 12, 2015 at 09:01:02AM -0700, Linus Torvalds wrote: > I'm assuming that anybody who wants to use the page-less > scatter-gather lists always does so on memory that isn't actually > virtually mapped at all, or only does so on sane architectures that > are cache coherent at a physical level, but I'd like that assumption > *documented* somewhere. It's temporarily mapped by kmap-like helpers. That code isn't in this series. The most recent version of it is here: https://git.kernel.org/cgit/linux/kernel/git/djbw/nvdimm.git/commit/?h=3Dpf= n&id=DE8237c99fdb4352be2193f3a7610e902b9bb2f0 note that it's not doing the cache flushing it would have to do yet, but it's also only enabled for x86 at the moment.