Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp2047530rdb; Tue, 5 Sep 2023 12:40:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEX0+Ncq7zj0fRibYhoMrKBkLgVNXf4vxrwgRPrtStgXUYI44w8JLGwLiwDTfy60JIdEBh+ X-Received: by 2002:a19:7511:0:b0:500:8681:4066 with SMTP id y17-20020a197511000000b0050086814066mr7358765lfe.6.1693942855509; Tue, 05 Sep 2023 12:40:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693942855; cv=none; d=google.com; s=arc-20160816; b=lONKQ02lJb5NsZvTESWjMn5vY2MKaoTz55q0K66AVyqA9hZn8Uds7B8efh+haODrSo KVruQF4kpOgBVBPfc2a1lI0LEPk8qSzBmLHSYpmdkXsJkhmA+F74dUTzCYtFcrHrWV8Y CuixiSXYZnQh8y4I38wV4G2CZQ2w9GwfwMi+ZrefScHlULWUZAmbf5ZaDQk13QjUQpIp N1EymFDfCXRfFiHvbs2jUfHE5SOBa0RoDCUlIQ4jeXrvITsspNEti+M1+UJOvWurOy0b hirra6hXXo0aierhwmokFVLx45C6tYvp0X4xBOOMySdb1n71bMPcLdMy8X2OsETJXMzZ FacA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id; bh=BWSSjZFllEAq3zzYHHlFZWi6GgxQdPObe0q3xggT9oM=; fh=rvfjkWKWQ7H3dxwU/Mrzlf1SBsZ3Tuo/EBElQFetDNM=; b=zUPJSI4LE7mF3Gn3/2CnbF7fuHZHtmON7ciWNj9cuP2lQqxo+hR40r+mcTqSdtUQ/s 8/1UIXntcD5/X0lTCnInqdBau1DOXcEhreqNilGBG5AB/SuOHUJa0Y7wItKMYZDWHYq/ 3FCpzL7yj5gU8mhoKAfgk+djaR4EWkA+3jhqT0t36jEumT9jLKUO9321cTPaMXMSD5w3 zYFFgdb2Ifg3YTnvHLGk5iSh+i9OGTnrhbbF2bQ/OX1XmRjI15UpbnjYlIAsgj5ya/hl HTwQEkZumJHzKPDh7nG3hXZ26oHx8c41ICcAvQi2UirKludHOY0//1sbWI/xlLa6T/8A 9IuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cb12-20020a170906a44c00b0099bc0daf3d8si7326592ejb.442.2023.09.05.12.40.26; Tue, 05 Sep 2023 12:40:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345508AbjIEQor (ORCPT + 99 others); Tue, 5 Sep 2023 12:44:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353937AbjIEInK (ORCPT ); Tue, 5 Sep 2023 04:43:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BDEBCCB; Tue, 5 Sep 2023 01:43:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EDCB660AFA; Tue, 5 Sep 2023 08:43:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6649AC433C8; Tue, 5 Sep 2023 08:43:03 +0000 (UTC) Message-ID: Date: Tue, 5 Sep 2023 10:43:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v6 17/18] media: v4l2: Add DELETE_BUFS ioctl Content-Language: en-US, nl From: Hans Verkuil To: Benjamin Gaignard , mchehab@kernel.org, tfiga@chromium.org, m.szyprowski@samsung.com, ming.qian@nxp.com, ezequiel@vanguardiasur.com.ar, p.zabel@pengutronix.de, gregkh@linuxfoundation.org, nicolas.dufresne@collabora.com Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-staging@lists.linux.dev, kernel@collabora.com References: <20230901124414.48497-1-benjamin.gaignard@collabora.com> <20230901124414.48497-18-benjamin.gaignard@collabora.com> <814130d1-8597-d567-ddea-cb82cadea00f@xs4all.nl> In-Reply-To: <814130d1-8597-d567-ddea-cb82cadea00f@xs4all.nl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/09/2023 10:17, Hans Verkuil wrote: > > You need much more extensive compliance checks for this, esp. mixing > create_bufs and delete_bufs. And test it with the test-media test script. This also means that you need to add patches adding delete_bufs support to vivid, vim2m, vimc, vicodec, visl. That allows test-media together with v4l2-compliance to do a good job of regression testing this new ioctl. Regards, Hans