From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 2/2] openrisc: use the generic in-place uncached DMA allocator Date: Mon, 24 Feb 2020 20:45:28 +0100 Message-ID: <20200224194528.GA10155@lst.de> References: <20200220170139.387354-1-hch@lst.de> <20200220170139.387354-3-hch@lst.de> <20200221221447.GA7926@lianli.shorne-pla.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20200221221447.GA7926@lianli.shorne-pla.net> Sender: linux-kernel-owner@vger.kernel.org To: Stafford Horne Cc: Christoph Hellwig , Jonas Bonn , Stefan Kristiansson , Marek Szyprowski , Robin Murphy , Will Deacon , Mark Rutland , openrisc@lists.librecores.org, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-arch.vger.kernel.org On Sat, Feb 22, 2020 at 07:14:47AM +0900, Stafford Horne wrote: > On Thu, Feb 20, 2020 at 09:01:39AM -0800, Christoph Hellwig wrote: > > Switch openrisc to use the dma-direct allocator and just provide the > > hooks for setting memory uncached or cached. > > > > Signed-off-by: Christoph Hellwig > > Reviewed-by: Stafford Horne > > Also, I test booted openrisc with linux 5.5 + these patches. Thanks for > continuing to shrink my code base. I just resent a new version that changes how the hooks work based on feedback from Robin. Everything should work as-is, but if you have some time to retest that would be great. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from verein.lst.de ([213.95.11.211]:40011 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727306AbgBXTpf (ORCPT ); Mon, 24 Feb 2020 14:45:35 -0500 Date: Mon, 24 Feb 2020 20:45:28 +0100 From: Christoph Hellwig Subject: Re: [PATCH 2/2] openrisc: use the generic in-place uncached DMA allocator Message-ID: <20200224194528.GA10155@lst.de> References: <20200220170139.387354-1-hch@lst.de> <20200220170139.387354-3-hch@lst.de> <20200221221447.GA7926@lianli.shorne-pla.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200221221447.GA7926@lianli.shorne-pla.net> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Stafford Horne Cc: Christoph Hellwig , Jonas Bonn , Stefan Kristiansson , Marek Szyprowski , Robin Murphy , Will Deacon , Mark Rutland , openrisc@lists.librecores.org, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <20200224194528.5miaE6wza75juwR1yi5EbzhTkfb2Hi8O3_0RLrMC3qA@z> On Sat, Feb 22, 2020 at 07:14:47AM +0900, Stafford Horne wrote: > On Thu, Feb 20, 2020 at 09:01:39AM -0800, Christoph Hellwig wrote: > > Switch openrisc to use the dma-direct allocator and just provide the > > hooks for setting memory uncached or cached. > > > > Signed-off-by: Christoph Hellwig > > Reviewed-by: Stafford Horne > > Also, I test booted openrisc with linux 5.5 + these patches. Thanks for > continuing to shrink my code base. I just resent a new version that changes how the hooks work based on feedback from Robin. Everything should work as-is, but if you have some time to retest that would be great.