Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp171200pxk; Fri, 11 Sep 2020 03:40:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJ73mK3BjWmODEojpBhito+jqAG1ChOpTkBsqxpHeukypS7SWeyF/igA42nx3RoluSaBCZ X-Received: by 2002:a17:906:c0ce:: with SMTP id bn14mr1493333ejb.422.1599820809155; Fri, 11 Sep 2020 03:40:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599820809; cv=none; d=google.com; s=arc-20160816; b=W1BTfEHT+CBlIaPJFVz/4hkJhl9UtjKKhkLYO/3WMQjSPI6DjBSszdAwljSgHlpW+g VCpVcholyjhwLIl36za1QbxkBNrBslIaDZNlg9/1lpoDYkYDLJvDS52Bv7AnUHr67ONg WqIdPjzOY4PGRv+csaInDBtb6V8cMCLb+LeoasV7MX/gfnt8QbwdVDTuV5owqSZyjHt+ NXTCZ4pws5B8W7ipaw7P18vdin/UREuhxCn21fFM4cPBc5s/j+LHNEntMekMWizQ1X4g KwL6JpT5UpdKs6/+KZ73qvLs/r0jkIFVFW3Ot0e4AYSZH2l5dIKRlBiCcH4vN/dgTPHd 4eGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=qnwGW4tzcamsjh4ceHBYUFA7MA/UMAdYxUYrY4gIzZI=; b=UZWqU8a5yx4Um/m+yTFycfIKvPv4Jb2KQop7J2WEjHgYARphJebimwUkLjK97DxTy/ PK4CftVyWx2pKeO1XoNmvdrZMAgHOnwD5sIP4qkTiifZLh+Pdyb+nBvhJfZnDnX2wNw+ att2aan/rz12Blk+TrIwJ3wc9E7HOVLtOjlKoFjidTzgQFYGjaO9TGM9fLdfjPx708j0 gipNAUPd7oenaGwRFhI49dx6LgwdL6VL1m/qRc48vgWXCAVKH/I1w54x8FuT7f9DClEc Pxo41UwG4yQ+P71pLRJL7bxRtStp8h29z75/Qa1bwL6jKwYlkjAkmzfPqoZEnzp7/ENH cT7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xs4all.nl header.s=s1 header.b=KbXSwGTG; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w6si1007713ejz.365.2020.09.11.03.39.46; Fri, 11 Sep 2020 03:40:09 -0700 (PDT) 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=@xs4all.nl header.s=s1 header.b=KbXSwGTG; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726000AbgIKKiJ (ORCPT + 99 others); Fri, 11 Sep 2020 06:38:09 -0400 Received: from lb1-smtp-cloud9.xs4all.net ([194.109.24.22]:36317 "EHLO lb1-smtp-cloud9.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725894AbgIKKhx (ORCPT ); Fri, 11 Sep 2020 06:37:53 -0400 Received: from cust-b5b5937f ([IPv6:fc0c:c16d:66b8:757f:c639:739b:9d66:799d]) by smtp-cloud9.xs4all.net with ESMTPA id GgR3kunesXgwIGgR5kdnBP; Fri, 11 Sep 2020 12:37:43 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s1; t=1599820663; bh=qnwGW4tzcamsjh4ceHBYUFA7MA/UMAdYxUYrY4gIzZI=; h=Subject:To:From:Message-ID:Date:MIME-Version:Content-Type:From: Subject; b=KbXSwGTGwvDpPWj8iHd0MIpnF0D+NkWxmKeYO3C9bRGJ9P/MrBr6Skwhz3fJiOZCP e5eVU3z8Wu8yEyfh/16do7AeJXHzp/gCOSiUcaAO4W8j8IIlf/dgkPFEfo4syuWtLy LjlC6FwX5OxyKNw/+8g0UQGuex++sat0+eLYWdPh0eYRH+6w2GYlhv06miLp86JI7Q teKNdAJq/zEyDM/fEtb9YdUm3ZpwzuKSvsq/H9esoPGxhe2zdg2gHtWRpjwDQYqacY G8pxQ2jUo/52r4JVkz8gpo0Ck5Q3S8ObvD/ruVDq7CLef0tCqyKJyqyh6WhMVopuHA M887QVabM6g+g== Subject: Re: [PATCH] media/v4l2: remove V4L2-FLAG-MEMORY-NON-CONSISTENT flag To: Christoph Hellwig , Sergey Senozhatsky Cc: Mauro Carvalho Chehab , Tomasz Figa , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200911030758.73745-1-sergey.senozhatsky@gmail.com> <20200911100919.GA1945@lst.de> From: Hans Verkuil Message-ID: <262a3acd-9070-8992-f13f-1f02bfe18eb8@xs4all.nl> Date: Fri, 11 Sep 2020 12:37:41 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200911100919.GA1945@lst.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfAs7YpXWgtS+19Z//D95R5frXePYzprL9NLIORvs+FCWi0aHSHvrVp9PR3w6WbDiLls5aQUj5t1kRHqKJtRgqDq9IErzQHx9xOOAJLWQvwq78JThvGhJ 7P4ASVSaeWLQix4k238ISU8jqFq+GysIa6+SqtLaktFqYRDBUD7GcDO8MflgBnLADNFWtxNGPykGWyEzSsnBwsfvcTlyNSKTsW12/vYvrLPzXWw3fbb9cbKl 2T+pdlQXszw5eU3wJXP5q8e/4iotUeoteA4CymeTswlyOxYQ47nafslnLd4kYfpEoZskqad234nODcY4GpmhzhOM0Z8Dqg93btCANbq0HAzmrBIp4+XoqqiW 9n37I1AEiUES6Eo1ru7wPV+gwrAepn2ZHuhWuh9EQ1xvIQKXnAcGDaiFnpfzlhTD9Z5qGxOxHzy/GWpU4DJnZZf1fT9VkQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/09/2020 12:09, Christoph Hellwig wrote: > Btw, the subject should probably read something like: > > media/v4l2: remove the V4L2_FLAG_MEMORY_NON_CONSISTENT flag > > I messed up the spelling because I copied it from the documentation. > I'll take care of that. I also discovered that one call to vb2_core_reqbufs() wasn't updated (in drivers/media/dvb-core/dvb_vb2.c). I've fixed that as well. All my regression tests passed, so I plan to post a PR for 5.9 reverting this feature soon. Many thanks to everyone for 1) discovering this problem and 2) creating a patch to revert this. Regards, Hans