Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2262971ybh; Mon, 9 Mar 2020 02:19:33 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsGAkK3fFNT812ZG2mvNW0ae2cYh7weqDiRRaT6gZFNKZ07QNPJY2CeZQMmsJ/rkWg214SI X-Received: by 2002:aca:ab16:: with SMTP id u22mr2543274oie.133.1583745573073; Mon, 09 Mar 2020 02:19:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583745573; cv=none; d=google.com; s=arc-20160816; b=AuNQBxIp0T50wN0LuI1/pZThiCLCLlhJho3pUH66oQpGPqgbLDPPx4uG9WQBycVgYo IjIGUBNqGgJX0UkEZcZQgw7/EJqNmotr4BjuvFKDMT4mgrkYb03Yf3IRTORbhGY4MNVq Bkz98SErPSd2IRBY7nSXFSyJQLcgvUulzsms3TZ/IP2tFN3u4m4xPzChatH8WfXnA96v Ny8ScmfVB9hHHR+O6aBaFKxy3C8nptxy76WLga/5lId09boV/H/tVxxA4XxB1056KsMD 77UTGINpQzIRymnCQz5mF7jx+Oj2VTVz06sWeDPDo0J1oPPAlxdYff5bUFNvhVWTLIPO AoHg== 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=f2uE13X9NLaiDzIOG8VHY8MZnagnleF8fxm5Dt416rw=; b=c0jzwEhG2AWXjAEqHIGXYXt99DX/VjxywdXR//8RynXEyDekRW1Hjn6iWG4A7Q/QzA WGZgff/wv0eEzufXKfRU9xiH+R6hyAXu2eEd4gALRtNGj0OpVAXNtXo2NGwaUtx2oLcS Yy10TIQXRuXZNz4kOeyUxa5mvwNqdU7Ug5RtgBcWPUl74LFvPw2YycoK2OH9suGpSjq/ GFidXOZnN2KpetcmnPs7KrA3NKCMnawz7bFlNEyTwE7Zbi5KhnBifKftDqH6uEc84g96 KsjaePVLYDx9qr+rruM1VSR1gkIAu++hbumXBhTm++JzUn52U3rdq9WKzdrndP1YJIK5 UYlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JHJcaImy; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u15si3567878oic.269.2020.03.09.02.19.21; Mon, 09 Mar 2020 02:19:33 -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=@chromium.org header.s=google header.b=JHJcaImy; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726391AbgCIJR6 (ORCPT + 99 others); Mon, 9 Mar 2020 05:17:58 -0400 Received: from mail-ed1-f48.google.com ([209.85.208.48]:34859 "EHLO mail-ed1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725962AbgCIJR6 (ORCPT ); Mon, 9 Mar 2020 05:17:58 -0400 Received: by mail-ed1-f48.google.com with SMTP id a20so5218993edj.2 for ; Mon, 09 Mar 2020 02:17:57 -0700 (PDT) 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=f2uE13X9NLaiDzIOG8VHY8MZnagnleF8fxm5Dt416rw=; b=JHJcaImyjs/HMeb5w21GosBMzXh72gusUrrwpIvG7nH6AiPTiY8BCHemZ87iB+jQe/ H9i4YpkuVkfxVaS+8+QzRZchSPFl9HRpsziMJFjK5fWg6NW0hi+uZi9HsbBxE+Jq6wy7 SxDzL0ejuvdSC50oE4MLvd29JZ7n2p6F8Eua0= 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=f2uE13X9NLaiDzIOG8VHY8MZnagnleF8fxm5Dt416rw=; b=tzy+j5kUorfuhEx948xuwiD95DU2fkLPW+e3Ps9pRiAaePwblZZOjCV2j/G6sLiyiC xHsT5hmBphqszGJbZMxLtwhfFBuPP6MVYohP9s1bMiYpR7G1tp0G6qTxt0OQq9hXIbc1 YKffIHZcz35m/jB/4qYXZRTVovp8mwPN+6hxSSKWBJoB9Kbnea91aba6EfaAFIzyy35C N+diyOIB7hIdDbKKWfDFkxoegbHekKh1s6Oc0cjjwI8ykytFQb4jYNaOmgb+5e4MTCX1 yCa9Y90LElaTto1yrd7zrVwKL3cedJIj7bmlXTVFFCDF0qLyN8DqoZ1IPd/4nXc/EvC8 jm1g== X-Gm-Message-State: ANhLgQ3rGV/8gHKWikz7K6ZIbRdVzeNh8QEotNdt5Z7zzb8vYcV0b+l0 Pt2teHDLT6zPpymPtZ7MJ45eAiXQjZm6Dg== X-Received: by 2002:a50:f144:: with SMTP id z4mr15744722edl.381.1583745476822; Mon, 09 Mar 2020 02:17:56 -0700 (PDT) Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com. [209.85.221.48]) by smtp.gmail.com with ESMTPSA id h20sm2326914edr.43.2020.03.09.02.17.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Mar 2020 02:17:55 -0700 (PDT) Received: by mail-wr1-f48.google.com with SMTP id n15so10001729wrw.13 for ; Mon, 09 Mar 2020 02:17:55 -0700 (PDT) X-Received: by 2002:adf:eac8:: with SMTP id o8mr6539722wrn.105.1583745475160; Mon, 09 Mar 2020 02:17:55 -0700 (PDT) MIME-Version: 1.0 References: <17060663-9c30-de5e-da58-0c847b93e4d3@xs4all.nl> <20200307094634.GB29464@google.com> <6f5916dd-63f6-5d19-13f4-edd523205a1f@xs4all.nl> <20200307112838.GA125961@google.com> <20200309032707.GA9460@google.com> <40cd09d9-49a6-2159-3c50-825732151221@xs4all.nl> <20200309072526.GC46830@google.com> <20200309090802.GA231920@google.com> In-Reply-To: <20200309090802.GA231920@google.com> From: Tomasz Figa Date: Mon, 9 Mar 2020 18:17:43 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCHv4 01/11] videobuf2: add cache management members To: Sergey Senozhatsky Cc: Hans Verkuil , Hans Verkuil , Mauro Carvalho Chehab , Kyungmin Park , Marek Szyprowski , Sakari Ailus , Laurent Pinchart , Pawel Osciak , Linux Media Mailing List , Linux Kernel Mailing List , Sergey Senozhatsky 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 On Mon, Mar 9, 2020 at 6:08 PM Sergey Senozhatsky wrote: > > On (20/03/09 17:58), Tomasz Figa wrote: > [..] > > > > I see. Hmm, how do I do "test that V4L2_BUF_CAP_SUPPORTS_CACHE_HINTS > > > > is never set" then? > > > > > > Not sure I understand your question. When requesting buffers for non-MMAP memory, > > > this capability must never be returned. That has nothing to do with a cache_hints > > > module option. > > > > Have we decided that we explicitly don't want to support this for > > USERPTR memory, even though technically possible and without much > > extra code needed? > > My irrelevant 5 cents (sorry), I'd probably prefer to land MMAP > first + test drivers patches + v4l-util patches. The effort > required to land this is getting bigger. I think that's fine, but we need to make it explicit. :) Best regards, Tomasz