Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3486860ybv; Tue, 25 Feb 2020 02:11:43 -0800 (PST) X-Google-Smtp-Source: APXvYqz7pBwLVfMfbqf46OTOdH716YzyinLjKhbu6qI4PJ0oCoA0WZeJJKAzSBCrpuNF3gtK6HTi X-Received: by 2002:aca:3f43:: with SMTP id m64mr2702658oia.165.1582625503155; Tue, 25 Feb 2020 02:11:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582625503; cv=none; d=google.com; s=arc-20160816; b=kFrPWOv+EjSa+kRsDqxKlLI8WmiJOigrTqDpquZpcWjpVuqXw/rbmBB/9atwQPvn1+ pAmlmLIAyy+MXmH0/kw2DX5ZdUgUhJSZkdvYZOQDUOoipErIOsbL5ABfYd+TzEyNS6XI RoKCjovn+fHBgjn43fWhHRsASF255vSSxry0M8FzSmHNEEcN1mITYXL8HvMkeIKXwEGU dPUZ92v2daAz9bFUErZ+J3S/vQhYEi4JR5k6c86PZFnE8UUix2kriHbKKd7q9H140a+8 1BEWCJGDPcpZn3eW0RZCMEB45UMtBhVLcAreD6BXWIMCA72RTdUzJAWakygM9Ve7aMz2 8eAg== 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:dkim-signature; bh=DyMpEJKs+8inuT3JzdxHRTYW4XbPRxYmHFS7rJcMiTo=; b=iLTeSMlMZCsSsod6tXGHrVmAmPDoAIq+Pe4zfS9XWUEfxp6U61Zo/zfhJbAGY+gp74 ls77pISaIt+uzmqhb+8FknX+i1d+sQcTvlmn3kHnl4gOcM3YqpIP2xrHPMTAO/u76QDP jY3Ti6yR6UkfvI1STMAwq1z54z6MEegv0w6jDa9FUNM7WMbozOA2aKnJCmP/H74Wv3FN NZ498iw2RrNZqBtkTqzod9LxGxSBQpIYzpLXMm4xeB85xA8i+Eu+7af/rcZN01jf3oWj TCZbvcY2K2YB4q/Es8bI8XZ8h1KPN6xySDOUsA8QY5POukkakfsN+eKi2QTd9IiWTB8g cXNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FxNo9rOo; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a13si785056oid.108.2020.02.25.02.11.29; Tue, 25 Feb 2020 02:11:43 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FxNo9rOo; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729959AbgBYKKP (ORCPT + 99 others); Tue, 25 Feb 2020 05:10:15 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:35900 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729129AbgBYKKP (ORCPT ); Tue, 25 Feb 2020 05:10:15 -0500 Received: by mail-pf1-f193.google.com with SMTP id 185so6936115pfv.3; Tue, 25 Feb 2020 02:10:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=DyMpEJKs+8inuT3JzdxHRTYW4XbPRxYmHFS7rJcMiTo=; b=FxNo9rOoXFWu5407FfbtyWpGIRbj9KKxjTY8RxTKLZ/mRamBivEBBBF8o7iguYZCS8 o7FmpgVAUMoOvpOlaV53Ni+rnyeUxpEmSlCDQzAgq3EMp5LZgTchDOR4Rtbjchc0ShZA xPmjexB8VS+oFN3Szxr7y2OW1DzelczMzVdBWqwUAnW9cqWia+40vQjvQcPpzoTafSwj w2kkhPlcAJE/2wVnad5TQ6WRXyttnLoLu3HSQjyg4YU5qRw4xBJMHDlPb6lt1f80TGTK EF8lLM32t+LGLvX18eHSOWak+36hGKwbYTMWsfqp7yTAuT5LIeNmjg2MjynP5A+0ch8j 3Sjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=DyMpEJKs+8inuT3JzdxHRTYW4XbPRxYmHFS7rJcMiTo=; b=YOMINhG6XNmjQXBsK+ZvuF3P/8kmomItHNjEEBjI19LKzBgwPbM3T/30SPD4O4CvZm Nhz/GrI+uzP2DxPchPfBJmJ4HMXa//mMUnzIlu9MkwNJI5+BemdyANKm1ROKGGHJdu+l /SZC/CV3qy+m+kFthQtkYkuxFjsr+y+NRaC+bHpo6h+c7SZ2wjnRgy9DHVuPZ1xpEZAV DcRhzgBN2yMN8fE9H42q3Axn4xSXcVHPzQ2XCblR5/Pf1WT8SfJv+q07ZykS2iwrttB+ NvJiuNvmNJuKwLwX/EbB7ntVuFeWjm7l4FGtI4Ikqy2ZotBoarWTVrH4XDUU2QyMtYoF fqpw== X-Gm-Message-State: APjAAAWob8Hkxvdipii5svVA1uMqxKIJ1AntTgzSxpKrYbVOVN0DEojb V5+2xSTPJJ8E9NlF0wxZdAI= X-Received: by 2002:aa7:946b:: with SMTP id t11mr55120817pfq.57.1582625414317; Tue, 25 Feb 2020 02:10:14 -0800 (PST) Received: from localhost (g183.222-224-185.ppp.wakwak.ne.jp. [222.224.185.183]) by smtp.gmail.com with ESMTPSA id r7sm17083740pfg.34.2020.02.25.02.10.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Feb 2020 02:10:13 -0800 (PST) Date: Tue, 25 Feb 2020 19:10:10 +0900 From: Stafford Horne To: Christoph Hellwig Cc: 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: <20200225101010.GC7926@lianli.shorne-pla.net> References: <20200220170139.387354-1-hch@lst.de> <20200220170139.387354-3-hch@lst.de> <20200221221447.GA7926@lianli.shorne-pla.net> <20200224194528.GA10155@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200224194528.GA10155@lst.de> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 24, 2020 at 08:45:28PM +0100, Christoph Hellwig wrote: > 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. No problem.