Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp7169457ybp; Wed, 16 Oct 2019 04:58:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqzL8HGdWXLF9qUIJtcjK+UP541UN8uAIdC4K7H1k0s+RKnDddCS1LlhuxrkUKB7k0B1EY4h X-Received: by 2002:aa7:d807:: with SMTP id v7mr37961361edq.220.1571227123249; Wed, 16 Oct 2019 04:58:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571227123; cv=none; d=google.com; s=arc-20160816; b=LADZXYtWkKB7f2dq/prIiyamX/g+lOfeHyAUZjwJfAqRosoTGuVzGkqNOok5TXHv6b FtcudblzPvySdqrX/xP0KX4I/2JF0ywaxI5PeeQPQ2FaoUG4hVxjNOiCXuvRp9h6jOMz NKijEPHjpqot+nSc09U64iTQ3AseSm0jxpRkR4SDmQcwKvak5R92vBLxp8BLwhp+nIbW Id8N5I6SU8YrAAuMqOzUFC9Kkte4UygrvAZIRZueFR8sF7/AngCQS0VlVcMkPI6PlIQo bpK+xzKHfZWmTBDLQMjezUfkG5IacvAOjTR69BdnM0IDyCmGYTP5VcPS7OyOaJuhjWdw m2TQ== 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=2RIdKHn0JdaWdpDD6TFfAJDstnKp2pWutY4SiYA60nw=; b=Gy13yuqrbWC8kdNvVXw4vUpwxlBrcDznpbLPnmwoY0rw/JzJlQjXYELmKlOod7UC3o 4TpnWvzgtaG7qwLLjtroEErBNnJzA9kMGSu22/f3smYOAnt6kaISuVVlQuHHmxaDFC8b WFed7wqlxKu6yoqn9gewPBIYwT4/RcmgfETKqTRctspgxnCvQNCoe7fFzqJCwv3qe5bj /boixMmDAgUO36j9oTjHY9QiF/p3G8b8Ydv6rVlxUTbGONKVQkM1et0A6cCXf2HsJiIh JELQjd6dieJuK4u3Zq2/33OEoCpf6tcAHC4mH3p0SqTJvJtdI2FkB5bVR4lQEgLi5FFW 3j4A== 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 r16si14918517edo.307.2019.10.16.04.58.20; Wed, 16 Oct 2019 04:58:43 -0700 (PDT) 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 S1730188AbfJPHIc (ORCPT + 99 others); Wed, 16 Oct 2019 03:08:32 -0400 Received: from verein.lst.de ([213.95.11.211]:59282 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726338AbfJPHIc (ORCPT ); Wed, 16 Oct 2019 03:08:32 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 4A9C168B20; Wed, 16 Oct 2019 09:08:28 +0200 (CEST) Date: Wed, 16 Oct 2019 09:08:27 +0200 From: Christoph Hellwig To: Max Filippov Cc: linux-xtensa@linux-xtensa.org, Chris Zankel , Christoph Hellwig , linux-kernel@vger.kernel.org Subject: Re: [PATCH] xtensa: implement arch_dma_coherent_to_pfn Message-ID: <20191016070827.GA23051@lst.de> References: <20191015212526.1775-1-jcmvbkbc@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191015212526.1775-1-jcmvbkbc@gmail.com> 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 Tue, Oct 15, 2019 at 02:25:26PM -0700, Max Filippov wrote: > Add trivial implementation for arch_dma_coherent_to_pfn. > This change enables communication with PCI ALSA devices through mmapped > buffers. This looks fine, although I'd much rather convert xtensa to the generic DMA remap / uncached segment support. Do you want this fix for 5.4? If so please queue it up ASAP so that I can do the proper thing for 5.5. If you don't need it that urgent I'd rather go straight to the generic code.