Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2460761rda; Wed, 25 Oct 2023 03:32:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFucWaigcpcPwCgCtwaUf+/2hCE+6R3QDq3UN/vQMUSstGI84jdCNDIKf9/z697VfJn9F6C X-Received: by 2002:a81:5dc1:0:b0:569:e7cb:cd4e with SMTP id r184-20020a815dc1000000b00569e7cbcd4emr13095059ywb.48.1698229951246; Wed, 25 Oct 2023 03:32:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698229951; cv=none; d=google.com; s=arc-20160816; b=QWH58fFPmZiaxSVVG17FXtDpe0sD2wG1WN4VnJV//jMiQn8TJ7Y8IGIWNg3xIQyqz/ IpG44PvZukbndoDX+wSm3SeHf3sS+6ERtrPunXSl0NXJSMyk++/BFxEAf+SATQ/hukSX /GKuZrPhmGJ6lAzH6PytYrTpZ5hsul27iacUz5yGXnisYp7YyYNFnNFekOS1pPSyeUgp r47iDetVJX7Cyiev+8a2F5krMFFau6nuxkDQh1T50GI4oZZ63HB2wcPkfYdv6CnQtV6I 21Xc4QHUM2v0vvlMck/Bgdr2kVNlgz6ZctYGvflm7txQe7A1sk42E01hUVSlnkYAldbl +zXA== 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=0ZlPgr9KmDDLtSES7NBQzoyK2MERDn6pdTDEYpcKlEc=; fh=UniV0BFFJx0Ti47/gRT4pIgk9+zI2IjygxKueIxmEaU=; b=SphQY3UypZWWs4nXb4hvh9KmLzcDm+cxD/f3KIHMNZZtW20aKbO3PlKHW/EupXsolL NwXSVGC1wVADvGHt4ZLAEv6+jpRrghJbXOHhMdEm4fjdnOrW31GuZZcxA0da0cnvJVg2 gkGz1pz+xTVbiSdW2R9GrAOdFq2Z84cTrCjgduFyZfBwxpQXkcQkeXENHvlRiLjELJFD IJlygnBgv/CP670PhsZE/1ALVVSDR4T71QUn35WNLls+QKRnqeYitw8X4xQBMPwfSJA8 rymMeFkCB8tTX7OdqurbHsxGqtIKqROd5jv7YTVpM1pFaWE1SkdUOoDLvciA6VOgPq+d 70jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ylCHevjO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id e19-20020a81e953000000b005a8dd5f0dc3si10912850ywm.362.2023.10.25.03.32.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 03:32:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ylCHevjO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id CCBCA802B3DB; Wed, 25 Oct 2023 03:32:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234782AbjJYKcW (ORCPT + 99 others); Wed, 25 Oct 2023 06:32:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234721AbjJYKcV (ORCPT ); Wed, 25 Oct 2023 06:32:21 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12D0DDD; Wed, 25 Oct 2023 03:32:19 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 252C9C433C8; Wed, 25 Oct 2023 10:32:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1698229938; bh=vNN9DPigqC+hKzjaSndwzdiygOwncYidnqYzky0PYe8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ylCHevjOJPafGi/0cIAeFWBGS0pKafnyfSo/rA83+IwKOaAvnjaB+G2BJpKSsRdOg VY//T1Nw02NxYhSpFdBoiq2OUZ0R2O2i1atUPPrM5fKqEoQOv+2OTZyeNqwyPyehVT hdMOP9w1IOfqJi/mhGZJzDtmaTAQdrcJgWUS8vR8= Date: Wed, 25 Oct 2023 12:32:15 +0200 From: Greg Kroah-Hartman To: =?iso-8859-1?Q?N=EDcolas_F=2E_R=2E_A=2E?= Prado Cc: Shuah Khan , Bjorn Helgaas , devicetree@vger.kernel.org, linux-pci@vger.kernel.org, linux-usb@vger.kernel.org, Rob Herring , linux-kselftest@vger.kernel.org, kernel@collabora.com, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 2/2] kselftest: devices: Add board file for google,spherion Message-ID: <2023102546-filled-onboard-3dfb@gregkh> References: <20231024211818.365844-1-nfraprado@collabora.com> <20231024211818.365844-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: <20231024211818.365844-3-nfraprado@collabora.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 25 Oct 2023 03:32:28 -0700 (PDT) On Tue, Oct 24, 2023 at 05:18:00PM -0400, N?colas F. R. A. Prado wrote: > Add the list of devices expected to be probed from the USB and PCI > busses on the google,spherion machine. The USB host controller at > 11200000 is shared between two busses, for USB2 and USB3, so an > additional match is used to select the USB2 bus. > > Signed-off-by: N?colas F. R. A. Prado > --- > > tools/testing/selftests/devices/boards/google,spherion | 3 +++ > 1 file changed, 3 insertions(+) > create mode 100644 tools/testing/selftests/devices/boards/google,spherion > > diff --git a/tools/testing/selftests/devices/boards/google,spherion b/tools/testing/selftests/devices/boards/google,spherion > new file mode 100644 > index 000000000000..ba86ffcfe43c > --- /dev/null > +++ b/tools/testing/selftests/devices/boards/google,spherion > @@ -0,0 +1,3 @@ > +usb camera 11200000,PRODUCT=.*/2/.* 1.4.1 1 0,1 > +usb bluetooth 11200000,PRODUCT=.*/2/.* 1.4.2 1 0,1 > +pci wifi 11230000 0.0/0.0 USB busses (and PCI ids) are not determinisitic and can, and will, change values randomly. So while it is nice to test "did the devices show up properly", you can not do that based on bus ids at all, sorry. Unless I'm reading these values wrong? What are the fields representing? Perhaps a comment at the top to describe them so that we know how to parse them? thanks, greg k-h