Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp370840ybh; Sat, 7 Mar 2020 00:10:13 -0800 (PST) X-Google-Smtp-Source: ADFU+vsUQ1Q7KB3ubpRTdF6s06KP6oOfZIs6CTx4Z1DsIaeeaj5Qm8KmpDbcujadkPRq999QASfR X-Received: by 2002:a05:6830:11a:: with SMTP id i26mr5876380otp.180.1583568613047; Sat, 07 Mar 2020 00:10:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583568613; cv=none; d=google.com; s=arc-20160816; b=uUN0ZFvFqs6vYjqaKMw7lH0Cf6KGzXK+93J1Ksi4Cyc4mrBR+YSZM2irMzm1r6dXyB kgyySZeIwAgcGiYJaYG9VZMcncBbDsTJ9BcEmf+MCWka0TgB9CSOD88RaAzXViR54SWn v+Q9M14um4Bhkjn47aRAkasT6i5QfzzEpGOmAetaOkUdcgo3ov9HmwwZJEgDWTH2UDb6 dPwN/50kToZefFacj9d9mcTr7BTsyprTW3JhMVQBCTxxtdv4VovaOFFR9OL4NisKgFB3 iHdw5VWYQcfGvqTclYIHU4/tDTGvVzux9r9PsyBZzPsf4euSkGg9z3bwKxmvzY0HCCqB HbpA== 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=nU16B2xp2DIniBDEEsyS+pcU0JMbdNxb8GbdumZjS0k=; b=skeGJ4YI9oBg1OZ7HbJvzJLh/iYy3qx71rHGCYxHpZSVINKNNih3oBxTjDHxdINIyb KQ2cFdpgallIS12IVDeVmw4kOkYzz8y9Dav6lGR+h6BokxdSvuprYAAiaTP0JTjHFiCq OBvFx2fSViSqdCcRw4NIt1gHG9KmwL4tXZrNqhC08w+8cGY8KsHxfRs4YBFD0ALhtkq5 B+WuFUii/6NVdj1AEeE8v3rmhwHjTZiOq+bhe7huqNGy1AnXcAqHcWT+Rr6EDx0qZqiC juaPm9N73RdEKKP+iL5giI9Wt0wUu0am9BJQ7zWROhb8zFmZZL6MnLOD3TwpQvex3dea W1Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=HR10p5le; 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 o5si877833oie.226.2020.03.07.00.09.59; Sat, 07 Mar 2020 00:10:13 -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=@chromium.org header.s=google header.b=HR10p5le; 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 S1726138AbgCGIJB (ORCPT + 99 others); Sat, 7 Mar 2020 03:09:01 -0500 Received: from mail-pf1-f177.google.com ([209.85.210.177]:46157 "EHLO mail-pf1-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725954AbgCGIJB (ORCPT ); Sat, 7 Mar 2020 03:09:01 -0500 Received: by mail-pf1-f177.google.com with SMTP id o24so2275851pfp.13 for ; Sat, 07 Mar 2020 00:08:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=nU16B2xp2DIniBDEEsyS+pcU0JMbdNxb8GbdumZjS0k=; b=HR10p5leSjFRnwqUNx/Gv31a/IZ40Dd7xPHR6I6PRT8uz9ssb0Y2Bz3NBM+yPWuZ52 d2cv715aawG7DMJxN4yddW3r5hT2qweQjWwYUPr5Ei4zElV0V6jPGXeKDuI1Iu9Ozj7L rrgz+WPxWeUO3jBlE8MwXTq1Q07C46kQ7Li+s= 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=nU16B2xp2DIniBDEEsyS+pcU0JMbdNxb8GbdumZjS0k=; b=o2bOaweehnl+2X7fg/nt4sLRvnew2Wr4NVAO53WgyciSHUqhsSpkTMYoZoyFpD9gGy qVUjYFER6qDpq3qFmmVu0eSuedXJNeO1lCIrS4FWNn/H/nM8mQW4QgXQn22UE/vpXf1f CJ0JwHVyMndFvqG6XBo+ZranQjEH4Ul8n0kQHqcuBo3+71V3BxTUtlPNyiSXFbaVCPiF 8OSVkSQKny23s+2xtZvyD7oSd5pblPNRNwqnsC2m0L5/Ekv++JLj6vAGaGt2KgmBjY3l PPR+22HwneqR9Y9JFTQ/ByB41VJPw3tS7qLmjEk8Mc5pcImF/qvWmkVLq0sxK2nJFff+ 5S/g== X-Gm-Message-State: ANhLgQ31TYLWu1b+xJxKD0MMAzTJjXA788AbFkfbwiKXtn1uvZEwPy5O hpjldKzXYlnP2G+ESrmWb9J8PQ== X-Received: by 2002:a62:17d1:: with SMTP id 200mr7480449pfx.227.1583568538332; Sat, 07 Mar 2020 00:08:58 -0800 (PST) Received: from localhost ([2401:fa00:8f:203:5bbb:c872:f2b1:f53b]) by smtp.gmail.com with ESMTPSA id m12sm11775429pjf.25.2020.03.07.00.08.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Mar 2020 00:08:57 -0800 (PST) Date: Sat, 7 Mar 2020 17:08:55 +0900 From: Sergey Senozhatsky To: Hans Verkuil Cc: Sergey Senozhatsky , Hans Verkuil , Tomasz Figa , Mauro Carvalho Chehab , Kyungmin Park , Marek Szyprowski , Sakari Ailus , Laurent Pinchart , Pawel Osciak , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv4 00/11] Implement V4L2_BUF_FLAG_NO_CACHE_* flags Message-ID: <20200307080855.GE176460@google.com> References: <20200302041213.27662-1-senozhatsky@chromium.org> <04241ce5-dc41-9ea8-a058-5c0d8f9ba5a4@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <04241ce5-dc41-9ea8-a058-5c0d8f9ba5a4@xs4all.nl> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (20/03/06 15:18), Hans Verkuil wrote: [..] > As mentioned in my v4 review I found a serious bug when testing with > v4l2-compliance. That meant that this series was not tested properly, > which is a requirement for something that touches the core framework. I run tests locally on my board, but the scenarios are rather limited. > I've posted an RFC patch with my v4l-utils changes (assumes you've run > 'make sync-with-kernel' first), but that's just very basic testing. You > can use it as your starting point. Thanks. I'll try to use it as a starting point and run more "diverse" tests cases. > It needs to be expanded to test the various combinations of flags and > capabilities. I don't think there is a reliable way of actually testing > the cache hint functionality, so that can be skipped, but the compliance > test should at least test the basic behavior depending on whether or not > the cache hints capability is set. I'll take a look. > I also would like to see a patch adding cache hint support to an existing > driver (more than one if possible) and the compliance output when tested > against that driver. Need to talk to Tomasz and Pawel first. > You should also test with the test-media script in contrib/test: run as > 'sudo test-media mc' to test with all the virtual drivers. If it all passes, > then that's a good indication that there are at least no regressions. OK, let me try. -ss