Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2796296ybv; Mon, 24 Feb 2020 11:47:25 -0800 (PST) X-Google-Smtp-Source: APXvYqx3PY2D+ACB4H+O2zfdDr4+t9nQiKlBV+b+Mf3ZAc16ce2LT+UX4J8TaAm0xSS1baOZbItL X-Received: by 2002:aca:4ace:: with SMTP id x197mr576743oia.23.1582573645230; Mon, 24 Feb 2020 11:47:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582573645; cv=none; d=google.com; s=arc-20160816; b=BV2YIyJ967YAERv95rE9iF5sR5mX5GbpP4ZF4fSKGUBhlJudsJVsnPgTGGLRZZEk3b thrQcHqWDrlfhbxk7MBnm7heWnClxcBi+sA5FKPji2/M2Jmp92nneujBYvgjxjIBTJnB nfyljwhr+1MpjHdycgIsxrlp4Svtx8Je0j5gW6rRt+cp3SY/H79KSUwIjyj44rCrc2/f 8gvuqQOZjMqcgvvsGRtUNay+MntjdTYYOA3CFGUzevr2m2dFYkhxtd8tnVu02OUQc6C5 RRCl9Xhy8+L0XxxxZD2+MU6wCw51EmsJGnPZ3wzLag9Wz6H+o7zv0/RDWGOLDyTEZg7z CNng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=xdfifFfpktkDGpkAEEfECOQEOMzlMSSrFUPATBj1NMs=; b=DDZGmC2AyDTbzSfaIDg/ZN5RmDaCC07H9t1TiwqlrPStR3NLuZtQ138DAjmxUObdzO 4VGAkWiY8ZzTipeGj+nA6TvEUDRWpAeRPepbwmgaJ9FH39w07KRxWqpvKxDDssrRGeHC QhpvwBxgPGuTUVyhh3sP0ENj648RECiaAJbyXaPxTn+RyO2v07MonWI6f5QCAO1ZA02O AN1SrL+p8iguXOtMEWVTXO1WIxMwj/Gv9Dkscj0r0MdyORACIO7iaC65a43AAau+uxub MR3qE8yqBZ/wPkuhfkKmJBdX4a8nnIZpBtRI6+RoFPanBsDTOpjtSX3+al5qyT8oLjL1 9MYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p189si5775563oic.134.2020.02.24.11.47.13; Mon, 24 Feb 2020 11:47:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727700AbgBXTpf (ORCPT + 99 others); Mon, 24 Feb 2020 14:45:35 -0500 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 Received: by verein.lst.de (Postfix, from userid 2407) id 4E85268B05; Mon, 24 Feb 2020 20:45:29 +0100 (CET) Date: Mon, 24 Feb 2020 20:45:28 +0100 From: Christoph Hellwig 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 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> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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.