Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4102280rdh; Tue, 28 Nov 2023 11:52:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+osVfVGt7DeYkTuyxPm/aqNthOvSNhhb8b4Js+wrf5OFV7q85Ywc38onBm21JlUyIU0vE X-Received: by 2002:a05:6a20:3944:b0:18b:b858:17a5 with SMTP id r4-20020a056a20394400b0018bb85817a5mr21379646pzg.28.1701201161771; Tue, 28 Nov 2023 11:52:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701201161; cv=none; d=google.com; s=arc-20160816; b=sF/GVw4inDTm/iQTKnDs8W3Qctd2rXCh8O4QkntNmxW/T4oY1Z5RspL7HL02M4gzAK rqL8EHCtYAUhMhE/88x6B3sHs/faSYQNjcmhkQen2vxvA0NMljaz3wAKISlm+RaS+HUQ OcGqIVgNW56/pAuWA45EIhPtQritrcpb8qojqwn1sToLi3/qLn/BS0plaW2cjOs2cekc kxwCr2LKukLhtfFDs8EYjCaKT0ZNZaDruVapuaq3wJMKNa0P1sb5tMWtWxfq1fYHlpiE wyUbgR2LWAnovkoXbzvlYTVHOxqOSWtdQ6BWMBTtYD3Yvz1jLZLpnlIF+fBzAn2k/+Wc 9Wrw== 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=jxNCfDUmZJAJcXxhEAxsirNHQ8FzqvlyU0UFTerQ/ng=; fh=RHwfLDuQebCb1kA9V7l6Vx5w67RgdH2FwnpWAYlz7r8=; b=fsOmRgPE2Eyf3L8nQjptnF29fRNhQRw/LiKyfU9ZjA83KWS++YiV/MMUQXKWuDT6z7 pscenoQx15bYwcNlb1+jKbmfdxcT/5HM0R9INGrk89yV3VbJlt6vLCXKLD0iZhCYCxXQ s7WsF137HGOXhSw1cgjxSG+8uyv8w15BMgHq8IA+LzDipn802qWjGhg0nUNHGS2iKko5 M1JsBJwuBhCMWZsgUX9RmPZuJHaJe8jbSK/K/9pw1l5jttXArASK9UsTMWKdJEf4QVpT uXUZR00p1kRncDe+ZhUM2tHyM6F6ekQaZ2tsJ8DCw2LjV7ZJyLPOvl25MxmgGRxHKGyB BkPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=BWFbCeo0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id b19-20020a63d313000000b00584ca25959csi13271138pgg.540.2023.11.28.11.52.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 11:52:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=BWFbCeo0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 1C38580A1A6B; Tue, 28 Nov 2023 11:52:39 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229586AbjK1TwR (ORCPT + 99 others); Tue, 28 Nov 2023 14:52:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229826AbjK1TwQ (ORCPT ); Tue, 28 Nov 2023 14:52:16 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A92641988; Tue, 28 Nov 2023 11:52:22 -0800 (PST) Received: from notapiano (cola.collaboradmins.com [195.201.22.229]) (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 EC19B6602F2B; Tue, 28 Nov 2023 19:52:16 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1701201140; bh=lTlr8qen9KRZ2EZ5Mj/C5s4YyiYXfeKPKLVSZIrbTaI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BWFbCeo0pR89kb8EP/q48zvjI3cmzqzkOP5Ssg6KCYoxmkYsWhGw7YnYwnK0Ydqx9 shS65Zdg/bf6ykTyCPIAoN+VgUo6f2E5W0QcfQUeciCr3rka0YrpUzn+HSv/Bj7Zct H7Infuv8i02YACPgJR2RW94Pq1aXDa0SK6yC1DMGOERLw6n3KijfKvg4e7UliZB2FY gALs+B7NKhpeP+t7oyOtEriPW0ZcVjhpIUPqzuejbdo7CDI5XAGpOkkGmtxmvMbKR9 Y183UDfOcNi0JPgzAIknumKFCAi/HtwqTGlS66GpmKmxmcaHod/LOIaopU07q5hAKg UIW+brHODLCag== Date: Tue, 28 Nov 2023 14:52:12 -0500 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: "Bird, Tim" Cc: Shuah Khan , Greg Kroah-Hartman , Bjorn Helgaas , Saravana Kannan , Rob Herring , "kernelci@lists.linux.dev" , David Gow , Guenter Roeck , "linux-kselftest@vger.kernel.org" , "linux-usb@vger.kernel.org" , "kernel@collabora.com" , Dan Carpenter , "linux-pci@vger.kernel.org" , Doug Anderson , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [RFC PATCH v2 2/2] kselftest: devices: Add sample board file for google,spherion Message-ID: <3f22eea4-121d-4d5b-b7af-71961a2ab5e9@notapiano> References: <20231127233558.868365-1-nfraprado@collabora.com> <20231127233558.868365-3-nfraprado@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 howler.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 (howler.vger.email [0.0.0.0]); Tue, 28 Nov 2023 11:52:39 -0800 (PST) On Tue, Nov 28, 2023 at 05:54:57PM +0000, Bird, Tim wrote: > > -----Original Message----- > > From: N?colas F. R. A. Prado > > On Tue, Nov 28, 2023 at 12:10:46AM +0000, Bird, Tim wrote: > > > > -----Original Message----- > > > > From: N?colas F. R. A. Prado > > > > Add a sample board file describing the file's format and with the list > > > > of devices expected to be probed on the google,spherion machine as an > > > > example. > > > > > > > > Signed-off-by: N?colas F. R. A. Prado > > > > --- > > > > > > > > (no changes since v1) > > > > > > > > .../testing/selftests/devices/boards/google,spherion | 12 ++++++++++++ > > > > > > Overall, while trying to maintain a comprehensive set of board definitions > > > seems hard, I think having a few as examples is useful. > > > > > > I'm not a big fan of naming these with a comma in the name. Is there a reason > > > you are not using dash or underscore? > > > > I'm using the name that we get from the DT compatible, so the right file can be > > automatically selected by the test. > > > > > > > > Do you anticipate a convention of tuples for > > > the filename? > > > > I'd just stick to the DT compatible as it's the simplest option and should work > > just the same, assuming I understood correctly what you mean. > > OK - I see that was mentioned in the original submission. I should > have read more closely. > > It makes sense. Maybe it's worth mentioning in the commit message that the > filename is the compatible string from the DT for this board? > > This convention, IMHO, should be documented somewhere. I have that as part of the comment at the top of the test script in patch 1: # The per-platform list of devices to be tested is stored inside the boards/ # directory and chosen based on compatible. And also in the commit message of patch 1. But I guess this sample file is the most likely one to be read when someone writes a new board file, so I'll document it here too for next version. Thanks, N?colas