Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2346600rdb; Fri, 8 Dec 2023 05:46:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGvXEXt7utXaiU334XFGWLnfPnqKV9yBPRA14FsGFeek+cbnlOoG3nJ1ykm4Tjbd0tvHyey X-Received: by 2002:a17:90b:896:b0:286:a940:3f40 with SMTP id bj22-20020a17090b089600b00286a9403f40mr86783pjb.74.1702043179979; Fri, 08 Dec 2023 05:46:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702043179; cv=none; d=google.com; s=arc-20160816; b=rUPI3L6p4ENK2R3eD9eEO05lwPF+0EAQFrJbJfx433HmF/4JZJu5tZXLulTWHCmVcU jKSi6hz0k4JmFRD13G3G/XnwJ7lVcsz8SkbIgbjs/It6ZzlrLZaV2tJmnDES2OCN1m1k +hB7UbcHsOPF5o12WZUfhqe/Vj27zpSxUrBsNuaysTH28amKoZrbFdjA6KV/gH7SwI2p PA+q7yFaP2B5FOFQgbK+mbqPok1jywzk2roPtRmzWVE+NblieQhttSi2Dp+FSo7DIhu4 LoYCBrFYluUgJjeCi8RLJcxpSu2xKWkXcj0TL0XMHC+aRIV5mXT4D5pVfLGev/yPQGDn hXTg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=b6VRsUEKFjIx+0Jw+XM+s+5izlAj/pYn1fSu5gUXWNo=; fh=w4Mb3QmZ6F5apYJU8U+nEHyzT2rD05Da5Ojiv+iMGys=; b=lz24+EhkJ8PVI/HfjKdCqyHFW5u3Zd5Tksroiz08M25zE2ZHNZ+AWEcihq7ooTnomg LqdnkrdrjSjTeOMs+WzZz8/qmnHHJfgsVY2ytH8Az2RIdUEuNXohtqOVnRN0WLSa5t4N gk8IgP0qmdbc6C5x22LHwpMc+MNanc+eHspx3oHNLKT5ixU6dtgIAaExirwazDEc5zY5 RdWddf1RJnbXLXD+DxHPkXTJ1phmRbgWInxwK8svBHDUcP+LdrLQI1HC/58H7OI47hRj xJUHJrOWCnxs0vxGTmvgl7oQfrtDXSn28boxp/fpksRnSB3Bb9yB7aujzpxX5ILWE3Y4 cj/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="HHxhVN/m"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id lb15-20020a17090b4a4f00b00288657cdf5fsi2969809pjb.101.2023.12.08.05.46.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 05:46:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="HHxhVN/m"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 6F0C182516EA; Fri, 8 Dec 2023 05:46:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573811AbjLHNpw (ORCPT + 99 others); Fri, 8 Dec 2023 08:45:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233490AbjLHNpu (ORCPT ); Fri, 8 Dec 2023 08:45:50 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F604172B; Fri, 8 Dec 2023 05:45:57 -0800 (PST) Received: from notapiano (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 5598D66073AA; Fri, 8 Dec 2023 13:45:52 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1702043156; bh=twSl3vT3zaZOdj4/451frioqLeLg5HRJipbHbe5yGRU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HHxhVN/miACQglCgDJJ8KpCp4r5TuOFV3zlVxcj+i76dTjmr+mUknqzmiXJN46EMo qos6VZNCBpn1Xrbsulcn5g+07kXLOEw5xckSHHnWsRtuOE/LXvcD3rf29xPswdqhMV Fmjz7jmp2jqiRMhXfgP4H0/kQ4hxkfDkd+xfpyinLZTNage0D1EnsihwWGv8AHsUJq aHh1R+XXURD+wKT8PEQIT2G+JxNEoqN27hzVwpC271BwLQxTv8lmJY+MHCdvBU5yhM HjvRfSDGkrDxHL555YvFqxEswB/WEF76NqWJUvySMXqNQ9+zyqgZLJIxzn72ygSjG+ vmT81RHMKJxgw== Date: Fri, 8 Dec 2023 10:45:46 -0300 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: Mark Brown Cc: Rob Herring , Frank Rowand , Shuah Khan , kernelci@lists.linux.dev, kernel@collabora.com, Guenter Roeck , Bjorn Andersson , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v3 3/3] kselftest: Add new test for detecting unprobed Devicetree devices Message-ID: References: <20230828211424.2964562-1-nfraprado@collabora.com> <20230828211424.2964562-4-nfraprado@collabora.com> <310391e8-fdf2-4c2f-a680-7744eb685177@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <310391e8-fdf2-4c2f-a680-7744eb685177@sirena.org.uk> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 08 Dec 2023 05:46:17 -0800 (PST) On Thu, Dec 07, 2023 at 08:18:49PM +0000, Mark Brown wrote: > On Mon, Aug 28, 2023 at 05:13:12PM -0400, N?colas F. R. A. Prado wrote: > > Introduce a new kselftest to detect devices that were declared in the > > Devicetree, and are expected to be probed by a driver, but weren't. > > I've been running this in my personal CI for a little while now and I'm > finding it's pretty marginal for the 45 second default timeout in > kselftest on some platforms, especially BeagleBone Black though it's not > just that. BBB is both slow and has a comprehensive DT which won't help > matters, there's 253 devices. > > I'm running it from nfsroot which is going to be part of the problem but > shouldn't be too bad since we're mainly dealing with proc and sysfs and > hopefully mostly running cached binaries, I'm also using a serial > console to get the output which is going to add overhead especially with > a large number odevices with length names. I'm not sure what the best > solution is here - a quick glance at the code doesn't ring any alarm > bells for me, this may just be a reasonable runtime for the test. Thanks for reporting this. I've experimented a bit and was able to find an effective optimization and CC'ed it to you [1]. Hopefully it is as effective for your board and setup as it is for mine. Let me know there. [1] https://lore.kernel.org/all/20231208133955.483851-1-nfraprado@collabora.com Thanks, N?colas