Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7163040rwd; Tue, 6 Jun 2023 07:11:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6jLWBqImkpqxSM5VX1+cv+Gy0LpphVxqarNjA5aWsVpzPz+5uBm4eP/SZbRH2qxy0beRFz X-Received: by 2002:a05:620a:600c:b0:75d:4311:32bd with SMTP id dw12-20020a05620a600c00b0075d431132bdmr2208499qkb.31.1686060675123; Tue, 06 Jun 2023 07:11:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686060675; cv=none; d=google.com; s=arc-20160816; b=Jm69c6Xbe+x6HxBtFrTqBranRPwpjqlsS2lCIcrk8O1ZQ0diV901vrAyP9MQxXpll3 5B9H4udSVTY8uQtZ0SlCj7Z+taRUWW/nbIUES1QMrg9WKvuoAxJdg0HvZuBmVghXzTVM nbKDLWx+Qr+3NNW5xOYjuG5upscDZKzLoJINZdsK0yC96KM6Y6gG+StlushLJd0dY8A4 pNRPtsRo6VYEb1t276I1V9HNkwi1cW6kYpyTOfd7IqhPoMXCOrF7Pf7LuA9GY2kFj1A/ mNV4J8MKM3dHcPWKSkgebeJbQm/41S0/eCrFYum40hm5vj+OLSI10gzwlkmS3m0AvNeb 8ygg== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-filter; bh=dDuiJtC24VzdW+Dfhr7wI+sSeuZ/1y/CLCgGZYk1WFQ=; b=koJI1NBquWXkXNtICAi2hVsG19NbCYELdYeuhrW8A1SxfIbFyeZJv2sGahcZJkV25Y +rY5JPoWH3NJ2IQ9fsQva9lYweLBqy4mzExQldy6PLv6qX96tOlxnqZAcRpRqu2ex3FI 2/PzKYJk2rdravy/qgaGxJo4hgSBvtwKFg+KsyzTedZsLc6GSrDgKtQ4bEqRBsIvvLco IGWno+0GUfR7RhJ0A5HjD7Qr5QK8IHQLHtEPCzUFvQGXz1nfz96g6SwhONwSa8m8jNlI ttEWHAYPjH28YntZ3GRsneMSgM5XOMEors2NHPhxl3Hii5eaiKUg6aypVm+tGl6HtTKN 4ySQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@perex.cz header.s=default header.b=Y37Wc0IG; 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=pass (p=NONE sp=NONE dis=NONE) header.from=perex.cz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i3-20020a37c203000000b0075b162c0b48si5579122qkm.630.2023.06.06.07.10.59; Tue, 06 Jun 2023 07:11:15 -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; dkim=pass header.i=@perex.cz header.s=default header.b=Y37Wc0IG; 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=pass (p=NONE sp=NONE dis=NONE) header.from=perex.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235435AbjFFOBx (ORCPT + 99 others); Tue, 6 Jun 2023 10:01:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237768AbjFFOBj (ORCPT ); Tue, 6 Jun 2023 10:01:39 -0400 Received: from mail1.perex.cz (mail1.perex.cz [77.48.224.245]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5420710C6; Tue, 6 Jun 2023 07:01:38 -0700 (PDT) Received: from mail1.perex.cz (localhost [127.0.0.1]) by smtp1.perex.cz (Perex's E-mail Delivery System) with ESMTP id 90FB51E3D; Tue, 6 Jun 2023 15:51:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.perex.cz 90FB51E3D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perex.cz; s=default; t=1686059511; bh=dDuiJtC24VzdW+Dfhr7wI+sSeuZ/1y/CLCgGZYk1WFQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Y37Wc0IGEPj2SS76VZrwz5gyRGe+FVQFJw47RA36sbU94kvhIAwWA0QmdJero4UrL ZN15FvQkFg84cVKzgWO8IDnsMDFVtsSqoEFkED0lkGCCRxk1EzDBhguE3hsClVBkRW SFGicwNFTfAryhHQBaZW7foa4GfKafG/T0RveYVw= Received: from [192.168.100.98] (unknown [192.168.100.98]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: perex) by mail1.perex.cz (Perex's E-mail Delivery System) with ESMTPSA; Tue, 6 Jun 2023 15:51:39 +0200 (CEST) Message-ID: Date: Tue, 6 Jun 2023 15:51:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v3 3/3] selftests: ALSA: Add test for the 'pcmtest' driver Content-Language: en-US To: Ivan Orlov , tiwai@suse.com, corbet@lwn.net, broonie@kernel.org, skhan@linuxfoundation.org Cc: alsa-devel@alsa-project.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, gregkh@linuxfoundation.org, himadrispandya@gmail.com, linux-kernel-mentees@lists.linuxfoundation.org References: <20230606133807.14089-1-ivan.orlov0322@gmail.com> <20230606133807.14089-3-ivan.orlov0322@gmail.com> From: Jaroslav Kysela In-Reply-To: <20230606133807.14089-3-ivan.orlov0322@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 06. 06. 23 15:38, Ivan Orlov wrote: > This test covers the new Virtual PCM Test Driver, including the capturing, > playback and ioctl redefinition functionalities for both interleaved and > non-interleaved access modes. This test is also helpful as an usage example > of the 'pcmtest' driver. > > We have a lot of different virtual media drivers, which can be used for > testing of the userspace applications and media subsystem middle layer. > However, all of them are aimed at testing the video functionality and > simulating the video devices. For audio devices we have only snd-dummy > module, which is good in simulating the correct behavior of an ALSA device. > I decided to write a tool, which would help to test the userspace ALSA > programs (and the PCM middle layer as well) under unusual circumstances > to figure out how they would behave. So I came up with this Virtual PCM > Test Driver. Acked-by: Jaroslav Kysela -- Jaroslav Kysela Linux Sound Maintainer; ALSA Project; Red Hat, Inc.