Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp32186pxb; Fri, 15 Jan 2021 05:10:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnXHasJv2OZ7+8D3aY+CPQ8XZ2WJuQJ54/3kMQUS623dqGBD9dzVCzNtUZvHtJNf9GAn2u X-Received: by 2002:a17:906:25db:: with SMTP id n27mr1028320ejb.552.1610716232573; Fri, 15 Jan 2021 05:10:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610716232; cv=none; d=google.com; s=arc-20160816; b=qOqAlehL6kd7IerhcSVb05pqK1r++YcSv7p0Grm3QL4jjhcMOI2ssTiZgMOOvEyDzK KG9eq1VwfWV7uDJVJvKvecQZOVgqUopumLwbt7v9pw3oLPMqtlYAPya40YGyOyKK4DLF uL+lpAugv3Xwl0+eJIK+CsFGTBaufT1yDyzVget4WTL20Wvt75pI3989p5OZjFOj1YJK Ey55MU7Pt7NDfqAn8Q9Web0yP+fDgpS2TduYwv0EuYxfXy8vqxPsuFHtZPZxRUJ09U+1 y0zzemsE5J40YIjCUKLJNceD3Yzt8azjiRCACwugTmv5udmh+7a3S5TWUG8rq9RVJBnk 1yeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=RTaj+kQTI0f7LZEXnhvKOz2cpPUJhSCbtgTVKj7/e7M=; b=d2wbUXCcItFgScjntrmGWJ8F/pcYvv1KTxMw0JBp0Yrm7hXnxrQ98Ma/jN+TdQn5c1 1kBYrb+BDCGHkld3+HO8JhgWMxX5LEQSmScFv9968uymZ5TOfc5lDOxhzzlDJm/x6BxE jZn+l2B26NLKI3IvSW/MOLcri5ojwwo6KId4PqjRUfMb6EEecjkqMwQj3JYTD7aGGrNx OQ5GbqTRI3Mnh8Segws9ZxqN8Rt7G2TIj6NANf1UlCyvm7syLyNPaonsXL7MdYRaA7l5 7BSfgAU0ecdoJ3AQlxf+BK6eEhG+P6yPofJR7bdoFDqsakLOmIjskn2CNnJR2ybHO7kE DYUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="EH9Lf/Qh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g14si3540977ejp.460.2021.01.15.05.10.08; Fri, 15 Jan 2021 05:10:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="EH9Lf/Qh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733047AbhAONJJ (ORCPT + 99 others); Fri, 15 Jan 2021 08:09:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732697AbhAONJH (ORCPT ); Fri, 15 Jan 2021 08:09:07 -0500 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 746F2C061757 for ; Fri, 15 Jan 2021 05:08:27 -0800 (PST) Received: by mail-io1-xd2c.google.com with SMTP id b19so15428915ioa.9 for ; Fri, 15 Jan 2021 05:08:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RTaj+kQTI0f7LZEXnhvKOz2cpPUJhSCbtgTVKj7/e7M=; b=EH9Lf/Qh5uutAxEfsjPu9Tu0c9s5EADzA4pymQanveSRfO8osic1lzoqlLFpKqmKgM ePUT9SwlH1pgv9q9fuQy6uxulz1L+MdF/UTIPxzPc9vEm7feTrhKPS0IT9sN69GG/h/D 8x/BZqmWKrCkVwyxr6q7Or83KJQbyw2b5IrvU= 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=RTaj+kQTI0f7LZEXnhvKOz2cpPUJhSCbtgTVKj7/e7M=; b=OqHjap5rs2nKt60/yPRnUKbsdh2OPxgbDEghBgNGEN4l6mfEEJvIyQ3f0LM+8mjqgM eXFd46EiF8fb5cuNZD2pDs+bYgIGBVpIoTPLUgVJ/bucpzO7XxFmoN5u7YPvB9BnRCZL IgsseXqN0TI+nurtPwdAmkN0xBtQoJa+hQagEMY0Ummhchcl8NOyDd4gQFIPtds/LfM2 B3fnLUJqkORdMd7T/P2vUIPuj+oypQkpGsVaq//Lx5L094EB5E21zxspvYBtQGdMWdge tZzSDeo/jNuCLAgn67uejQHbntr4nHvJr5TwN9iWhCr/kD6O5VzXxycq58xruD6KuiKa b+2g== X-Gm-Message-State: AOAM530AlqMoGjmPfeJ+SCsatl8rvkfy5YJDYNeP4+JcKIupZ4OFmwpE 9K/5zrWZa6gLs/dmGyT10s4vLb6ZXw6u6Q== X-Received: by 2002:a05:6e02:194a:: with SMTP id x10mr10369689ilu.165.1610716106648; Fri, 15 Jan 2021 05:08:26 -0800 (PST) Received: from mail-io1-f50.google.com (mail-io1-f50.google.com. [209.85.166.50]) by smtp.gmail.com with ESMTPSA id f80sm476666ilg.8.2021.01.15.05.08.25 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Jan 2021 05:08:26 -0800 (PST) Received: by mail-io1-f50.google.com with SMTP id y19so17981935iov.2 for ; Fri, 15 Jan 2021 05:08:25 -0800 (PST) X-Received: by 2002:a05:6e02:cc7:: with SMTP id c7mr10850857ilj.218.1610716105308; Fri, 15 Jan 2021 05:08:25 -0800 (PST) MIME-Version: 1.0 References: <20201125221917.150463-1-ribalda@chromium.org> <20201130083410.GD32234@lst.de> <20201201033658.GE3723071@google.com> <20201201144916.GA14682@lst.de> <20201208071320.GA1667627@google.com> <20201209111639.GB22806@lst.de> <20210111083614.GA27589@lst.de> In-Reply-To: <20210111083614.GA27589@lst.de> From: Ricardo Ribalda Date: Fri, 15 Jan 2021 14:08:14 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 5/6] media: uvcvideo: Use dma_alloc_noncontiguos API To: ". Christoph Hellwig" Cc: Sergey Senozhatsky , Tomasz Figa , Marek Szyprowski , Robin Murphy , Mauro Carvalho Chehab , IOMMU DRIVERS , Joerg Roedel , Linux Doc Mailing List , Linux Kernel Mailing List , Linux Media Mailing List , Sergey Senozhatsky Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 11, 2021 at 9:36 AM . Christoph Hellwig wrote: > > On Thu, Jan 07, 2021 at 03:14:08PM +0100, Ricardo Ribalda wrote: > > > So I think we do want these branches for coherent vs non-coherent as they > > > have very different semantics and I do not think that hiding them under > > > the same API helps people to understand those vastly different semantics. > > > > > > OTOH we should look into a fallback for DMA API instances that do not > > > support the discontigous allocations. > > > > > > I think between your comments and those from Ricardo I have a good idea > > > for a somewhat updated API. I'll try to post something in the next days. > > > > Did you have time to look into this? > > > > No hurry, I just want to make sure that I didn't miss anything ;) > > Haven't managed to get to it, sorry. No worries!, is there something we can do to help you with this? > > > > > Best regards! > > > > > > > > -- > > Ricardo Ribalda > ---end quoted text--- -- Ricardo Ribalda