Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1476254rwb; Wed, 14 Dec 2022 10:36:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf4+3tyfirP451CtjWXBscMSbE8PCSITDFjd+28i18y6uP9Kg24D5kn1cG5fCo/+WACuL/s8 X-Received: by 2002:a05:6a20:8c01:b0:ad:5cee:4d0 with SMTP id j1-20020a056a208c0100b000ad5cee04d0mr19246877pzh.12.1671042984268; Wed, 14 Dec 2022 10:36:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671042984; cv=none; d=google.com; s=arc-20160816; b=euwp8KQF3LfNww6w2cCb8VFbEoIq0AKVZ4vVc0rh8pF8oc3RHe6WYoJWhhIa8jiz5k QE+2elji1/iajej7EIhql79ifAUjHW5wthT5ZXpgNv/h05oorpO7obijpyjKCelZrkRZ o9Xfh/V3YcfJ/H7HsKrZTs2BymNLUBVtGo1gLBpRvtR9OwuDm73DYOeaxvwIaxiFQ/qa qmGZdWS+c9ib4C3PyRdKhXRrG5P++MUBBKsEZ+vJVx0Yo7kVGRfFfoWvXeB6X2VntVXc lm7KGgA9RwjwTygdAf3PpQsPhHSX8TCUmmpiftnp1NaPMkxgm2prBznAUcnWzdpkeu5v 4o8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=lDtfEw2J/QRp2Bkgkxex+3wWx+r2YaLuBvppr8+5t0w=; b=ycDfZh0uE6Pt+j8uOuiB3ZEKLs74ux6c8qBIM09WT6O9LNr0FBvi6ibAJuR6StIw7D bxmtU7oRni89avRlAj6s7urrSb9wxIq9tl96JVEc8KkYI/lu8qVggUFuyGmiLvrG0aY+ PCbpQ82JHyHoTONMr/Lm9zGlSlYZHmRFNCdbMswTQxLv1ETDjdGu8ybSOBpjmoQK05QF /sTnXQVx1TyLmw+MYzE2JKGiSy1Ff4dWyIJ6Mc/xkd3gmQQFeQDga9JutHUw3V2/+IRU BZn75sZ5XKFS+nOiLv1bQ19M0eatytGIzyA3UNkQ0tGofBPtw95CHvcayUt6miiIFWIU sOuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IHcRYNrg; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i2-20020a63cd02000000b004784f928f15si503915pgg.91.2022.12.14.10.36.14; Wed, 14 Dec 2022 10:36:24 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=IHcRYNrg; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237585AbiLNSPd (ORCPT + 70 others); Wed, 14 Dec 2022 13:15:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229649AbiLNSPa (ORCPT ); Wed, 14 Dec 2022 13:15:30 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E83811742E; Wed, 14 Dec 2022 10:15:29 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A503FB819DB; Wed, 14 Dec 2022 18:15:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 572D6C433EF; Wed, 14 Dec 2022 18:15:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671041727; bh=0BmA2sdUmN/0H6bbu4xldL4TdosNr/M4n0sVyfeeegI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IHcRYNrgY1gXRhfqCBWuxjsuOtI33SPuvTT1HAPzxZ0IrB6ukcSjj5Oc5bG5Q7MYf ZQNtum52MYbK0xqH4tufnWroG3wBsBA5/sPuW+vP8ERzGcX4uN1w1Oiwg24PfCRsgg vfMn8lgffN6fN2x0xxtSNGVWZ7Z5TezGgo8KmSYQ0Kr5irTL5NFD1bwbryBc8Nu9cT r+LJN82SqhT+737X7U5Y8bWAFQr8tJsiVNlNn66CqH6eMlVGadZDoy9h3lq9EFSKuH H6abOUTIyISkcdz3Mv2795diG5GfCrF78CmxQ8lYTF/3ic6ic88/F7Fz5JVeS2aLgl zcll0XRluPOfA== Date: Wed, 14 Dec 2022 18:15:22 +0000 From: Mark Brown To: Shuah Khan Cc: =?iso-8859-1?Q?N=EDcolas_F=2E_R=2E_A=2E?= Prado , kernel@collabora.com, Jaroslav Kysela , Shuah Khan , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v2] kselftest/alsa: Increase kselftest timeout Message-ID: References: <20221214130353.1989075-1-nfraprado@collabora.com> <808f35bf-2800-c34b-cae9-4d8eaa11294d@linuxfoundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="KKCvmbbZzU+Uot0H" Content-Disposition: inline In-Reply-To: <808f35bf-2800-c34b-cae9-4d8eaa11294d@linuxfoundation.org> X-Cookie: I disagree with unanimity. X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 --KKCvmbbZzU+Uot0H Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 14, 2022 at 09:40:02AM -0700, Shuah Khan wrote: > On 12/14/22 06:03, N=EDcolas F. R. A. Prado wrote: > > The default timeout for kselftests is 45 seconds, but that isn't enough > > time to run pcm-test when there are many PCMs on the device, nor for > > mixer-test when slower control buses and fancier CODECs are present. > >=20 > > As data points, running pcm-test on mt8192-asurada-spherion takes about > > 1m15s, and mixer-test on rk3399-gru-kevin takes about 2m. > >=20 > > Set the timeout to 4 minutes to allow both pcm-test and mixer-test to > > run to completion with some slack. > What I have in mind is that the default run can be limited scope. > Run it on a few controllers and in the report mention that a full > test can be run as needed. > There are a couple of examples of default vs. full test runs - cpu > and memory hot-lug tests. For pcm-test it's probably more sensible to refactor things to run multiple PCMs (or at least cards, though that's less relevant in an embedded context) in parallel rather than cut down the test coverage, it's already very limited coverage as things stand. There is some risk there could be false positives from cross talk between the PCMs but it's probably worth it. With mixer-test if it's actually taking a long time to run generally this is just identifying that the driver could use some work, implementing runtime power management and a register cache will probably resolve most issues. --KKCvmbbZzU+Uot0H Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmOaErkACgkQJNaLcl1U h9A4ugf/bDhEAdw2PkfzmgWdKabB8/h5LgC72QYCUMIEDhyOOwxRebwjp3yZ7/pj HIfOXnhTqwW63ulT3O7NwIwQq2lPyR90UZu0+y5Fc1dNLhwfgQMYicRbeyqlEh/O 0utC/oM6NX2zdC19uTvUzKPft3g19kfCh4ec2zgXQHW9FzdxT/El80TVmtvlniXH J3C30SqJJj7GLOwteNK+p4ODpBTgtVJW/GZu05jWEc5sLw7g8empBSHkAdKmJP/M 6g+4sXeiNjgfWNMVcsjBfzhIpPV5bHpdPnH+lHmzF8yNwL3Od1kc2nC8V9rVohCE /6JgaMqeTKNcN0H2NnsYEEAYBLa9SA== =Z663 -----END PGP SIGNATURE----- --KKCvmbbZzU+Uot0H--