Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp7207032ybp; Wed, 16 Oct 2019 05:29:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqwXnPF6nyTyKyTqaqu0Utd7nAmaSHAnT60zb914uWNuV4hYB+zT0oJFLbJ25KwaVBETbgQR X-Received: by 2002:a50:e606:: with SMTP id y6mr38459764edm.261.1571228974959; Wed, 16 Oct 2019 05:29:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571228974; cv=none; d=google.com; s=arc-20160816; b=BqkqCYFJlhpWWuxwKb+VF8iBcyEO8211SVe+gBAzsHk4CDe8+O/m7qviJkLcjYGil5 fz4F/H+C8baV8E1BjmxiuAFOIGehAmUqjrWbr2o1g7UiWi2PaxMl5dq4BccS26+dJSI0 B/OFh1rArgBZdvyAaKaPQiYdyuq9/A4ulnh9+6stlnzj4kXgHddAnc7Lu9bGUur7CsE/ XWx1BlIxDf873D8gqG//HAZi+ahyiy6dHV1aXBubEnUxOmmoIIHccMH1QuF16poXfAhk ke7ThwLTbTNDZSNq8ursq6JJ6M/e8BK7UvlaKIrJ/c9PQZjS6lAlaRMlsFf0l2UwHKJp 7+Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=DrfvktYJgAyHta/Fz913K8rareDdtUbK//eXrFywXHc=; b=mDLXLYznPV9IhoyXvPC0AK0Vwa1+meQM4X3weVFqfKTbVQF2vIWjmpsfPcg9bUhDPo BtwG+t9DH3R4b0gQIcnY1oHBLI9xZmS3SANUrm2IYSwNXKL1kCLWWHzVUq4dVt1zQw7L nEL6b0gSpgOjQf56pKb+y9NOhK+g/WAY5tGLf/wgtkgQo0PsQv5biGVK+/DsS2sGPv8p XcSdM6v8gMuqRpnpdw+X3J4+k+s0eFzAGGbyeW9D6UcBe4CrO747MPfmKQblP2owl7WC Qq0MXRLVRJfxlOiTNy5ytgwIGysAEiNrettc9DtrTDLOMORoYkkJ2Xhn73Enu0vq/A82 emHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Rx7dicTG; 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 h23si16854958edh.248.2019.10.16.05.29.11; Wed, 16 Oct 2019 05:29:34 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Rx7dicTG; 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 S2391145AbfJPHk5 (ORCPT + 99 others); Wed, 16 Oct 2019 03:40:57 -0400 Received: from mail-yb1-f193.google.com ([209.85.219.193]:46081 "EHLO mail-yb1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729146AbfJPHk5 (ORCPT ); Wed, 16 Oct 2019 03:40:57 -0400 Received: by mail-yb1-f193.google.com with SMTP id h202so7469694ybg.13 for ; Wed, 16 Oct 2019 00:40:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DrfvktYJgAyHta/Fz913K8rareDdtUbK//eXrFywXHc=; b=Rx7dicTGbigHVFli33Z0CCDjnpeCZSVCs8WSkbB0h9qQ9s3NUhpJmYM1+CskI4USTO U8lEW6L/BvXQ3hliCs1oMJxRlt8oYNtn8Zlb3tXcBhwlm7E9dQgdutJHonBKZ6tp8rUR zyZB2MKVFN3H3fiGcXpxl54HXEJpjTcml8wzFj6g4AtR21H/k1HKGbLKG8+THhhONegW XWvbyaZ+3Y/yvnNCXQFfUiltiaFsb59NapoZlTmDZ3y0ejKXkAPYtze17pT7nZjEX4OJ 5MY8JsigNfkZLBCuebrCtVwxYD0KLKQWD24PQjDPIICGFiP7xfiY4rBGct6d7906CSK/ tbMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DrfvktYJgAyHta/Fz913K8rareDdtUbK//eXrFywXHc=; b=Z81TfrOmaBKCpwlzpLS10+LoQn5HVdwWHuCQvVuixLNIPVd9eiKaE9n/ERm5CxthEJ VoGdTKjAu5n/Fa0RjACFF9gANo8GXnHwM/ZW9USWl5V1NnX4yPvelSD1GSpgqf2FhuxE ajy1P6vPBxnX8wrnKdSXqIkjwBpFgLPzkTbyHQYMW4CMztT3K5YEcQx2NEYBQ3FViIWn bgy1Ps0eUiUvF4zaSKQw3+psA4pOkiVVlXQThPrdyjjhtlqsw1TSoEgTXJRM2BGbUKcy UwUc20vmVDA/9fmKpCO8vuQXRxVL+ZJ9C/wgrPX34aEX3MTensNlkRSlUN0JQGYtqWYx 1DeA== X-Gm-Message-State: APjAAAUadRcCjWKHboc+ELs79JTMffYG/3gXx6ikm9THUM+TPsLmQmfW N/zz3WEjE9kAQy7vNBepF3KE7INm19x+tePQWW0= X-Received: by 2002:a5b:4c5:: with SMTP id u5mr14131584ybp.25.1571211656797; Wed, 16 Oct 2019 00:40:56 -0700 (PDT) MIME-Version: 1.0 References: <20191015212526.1775-1-jcmvbkbc@gmail.com> <20191016070827.GA23051@lst.de> In-Reply-To: <20191016070827.GA23051@lst.de> From: Max Filippov Date: Wed, 16 Oct 2019 00:40:45 -0700 Message-ID: Subject: Re: [PATCH] xtensa: implement arch_dma_coherent_to_pfn To: Christoph Hellwig Cc: "open list:TENSILICA XTENSA PORT (xtensa)" , Chris Zankel , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christoph, On Wed, Oct 16, 2019 at 12:08 AM Christoph Hellwig wrote: > 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. Thanks for the review. > 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. There's no rush, I'll keep my version privately and will switch to the generic version once it's available. -- Thanks. -- Max