Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4164726iog; Tue, 21 Jun 2022 13:30:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tIhrlAdByEtMNgRlEA7QbMQwbtDP7RZUCaOL+lc8WwpC1Th4spiUToYEejxzIisYI5pZ0R X-Received: by 2002:a17:906:53ca:b0:6fe:ae32:e01e with SMTP id p10-20020a17090653ca00b006feae32e01emr28360727ejo.455.1655843405753; Tue, 21 Jun 2022 13:30:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655843405; cv=none; d=google.com; s=arc-20160816; b=hioPauVNUxfKVLMnkZJi79ND+gXorjJTophkH4ch8sNblAJ9TL3opXerW+8mnzIn/e /kkn3Mx0GJ/QihouWfH0b/mVz61hwUv7pV+Ii9o5DjSnYzjNFKjdWbRV5UA0JlEBmM7+ chVgsYunLslFA9Gt4T0Qn+WZFUy8GI3I3yVVf7imBXFicKo5VXgvTYi1j8jiaUAAovoF kDSsI76dSD5AmNPVc/UMJva7mGbGL7bdOhuUbcoTFYrQQ/gd3pckRX4bOl2dTwhkUax3 b8Nb++h+Ez+506/JjpQKBTc0zL9TWltHDZYefRUjNVjIH//RF3+FhRie8ew4o5itSoo1 HC6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=MhJQcMlSnFoacV2KwcdFXpjtba+IaB/sZyuFW7tBT+c=; b=XCJ3gNvoaStQUQG2jdbc+OVJ5DPMLB4PiW2pfq3dxrlRQ5bOgYWIoFv09MHCF1zBvP M2jNW4yOVi0FfTqp+SpOZJfzx3NHwBWqK9O7ysoDdF2QnIYYr+0oNZmarfoTc/weDPlY tIDR6DAUfGnsP8LFn2gNJWXdRtagJiaJhm1X4xdMl2w5W+bwttQ1hbOCjYOaKUub5HzT w3wIrdJZ93KQFcaugoXcNgWSjK3oae/cfolgHCvBIO5ibltCXG/ziLiMy9/rF+y2JCZl XDz0uwmf35X7qObRFYU8fz7Yjnf/DJSlEhtTYGgEWx+eZ+mDrgT4wil3EcowCwBM3FN8 ij6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=epbu3P3c; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s10-20020a056402520a00b0042dc3ae3acfsi1431346edd.140.2022.06.21.13.29.40; Tue, 21 Jun 2022 13:30:05 -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=@google.com header.s=20210112 header.b=epbu3P3c; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354338AbiFUUXl (ORCPT + 99 others); Tue, 21 Jun 2022 16:23:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354334AbiFUUXV (ORCPT ); Tue, 21 Jun 2022 16:23:21 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE3B722536 for ; Tue, 21 Jun 2022 13:23:17 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id lw20so7525835ejb.4 for ; Tue, 21 Jun 2022 13:23:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MhJQcMlSnFoacV2KwcdFXpjtba+IaB/sZyuFW7tBT+c=; b=epbu3P3cY++CvsJWFX9rqxwKCIZ1HaftiAiLiPKOBX/SuNxREsfwYANixXlw73aJoD YeSiKTf/2tQl+U/ndTBwzMKwyRcfRbfGJQYyCGQheC+iSe7QGhr+yOInJxXAPDdgxMwn 8azIXpbuQbkO2keBtOuDV5cOiHCaZ2eHLPSofuGcChQDzjNB37jSujXaFs/efxWfjhPa 5ccm25uoo7LlIhqoL2UDRepNfaqqo2EQqIU2Sc/EGRhbcViiNdLTtWAr9ggYGWqdv6OH nEr/og2fbKcTY/8Uj3GZ6+T6IxWfFROA8Z0i5HxCY9NvKeXQcb7A6FR6NarbeSee6hC2 ahmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MhJQcMlSnFoacV2KwcdFXpjtba+IaB/sZyuFW7tBT+c=; b=DTWxYjXj+JEULWHYJutQ4OQtQZ81EkOVgoZEaXupWRzuUmsog1guurN/fskb0JPAGP CPpeiSBzHOnafaTWlXPdxscFl9KBW8bh2WbkHVMWBBOmyzMtX5oxBvCY5sKFNzxrPp2a gRN1H1i+MKXHo8ejbnolIhs3Xp02JHPQaAc59GGjjGMOdL+0Y3ibLOeMGrvso/X3ZbaH 84zRlNGanO1Xl/hjvE7qfNmNc0p5GzWYXfmoi4UnycM8VN1Llx+100TeXtdMBvwFdL8L o879HFycH1bElh/qY6qGWS54jwQ5wicp6RFanXlxGiQDdN8oRsYsP4aev8tGSlTvu8pp eY/w== X-Gm-Message-State: AJIora8Fqo3GZewxoQZP2dZ4ktKDXyUoxkNCeN7Wzo9r1Pi6yrjhKUpP R+7bCibxMZLD9I7q5eLhUotRiKyJEXf4uSE69+LePg== X-Received: by 2002:a17:906:c193:b0:718:d076:df7 with SMTP id g19-20020a170906c19300b00718d0760df7mr28212396ejz.358.1655842996119; Tue, 21 Jun 2022 13:23:16 -0700 (PDT) MIME-Version: 1.0 References: <20220621085345.603820-1-davidgow@google.com> <20220621085345.603820-4-davidgow@google.com> In-Reply-To: <20220621085345.603820-4-davidgow@google.com> From: Daniel Latypov Date: Tue, 21 Jun 2022 13:23:04 -0700 Message-ID: Subject: Re: [PATCH v2 3/5] thunderbolt: test: Use kunit_test_suite() macro To: David Gow Cc: Brendan Higgins , Luis Chamberlain , Jeremy Kerr , Shuah Khan , Andrew Jeffery , Mika Westerberg , Andra Paraschiv , Longpeng , Paraschiv@google.com, Christophe Leroy , kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?B?TWHDrXJhIENhbmFs?= , linux-mmc@vger.kernel.org, linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org, linux-usb@vger.kernel.org, linux-modules@vger.kernel.org, Matt Johnston Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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 Tue, Jun 21, 2022 at 1:54 AM David Gow wrote: > > The new implementation of kunit_test_suite() for modules no longer > conflicts with module_init, so can now be used by the thunderbolt tests. > > Also update the Kconfig entry to enable the test when KUNIT_ALL_TESTS is > enabled. > > This means that kunit_tool can now successfully run and parse the test > results with, for example: > ./tools/testing/kunit/kunit.py run --arch=x86_64 \ > --kconfig_add CONFIG_PCI=y --kconfig_add CONFIG_USB4=y \ > 'thunderbolt' With this, we can maybe revive https://lore.kernel.org/lkml/20220214184104.1710107-1-dlatypov@google.com by tacking it onto this series if a v3 goes out. There is the open question of whether we should put UML-specific config options in the file, though. If we decide we don't want that, then we can defer it until I send out the patches for "repeatable --kunitconfig" and we can add the uml_pci.config file. > > Acked-by: Mika Westerberg > Signed-off-by: David Gow Acked-by: Daniel Latypov LGTM.