Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2889481rwa; Mon, 22 Aug 2022 16:13:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR4Z5jVgg0OMlsFOa9EhtYhuZ5NqbFnPVUOeNc1d2g6NH9PRDm8oSbMGBAxfygiGMKPo3P7G X-Received: by 2002:a17:90b:1650:b0:1fb:215c:8449 with SMTP id il16-20020a17090b165000b001fb215c8449mr555831pjb.86.1661210030454; Mon, 22 Aug 2022 16:13:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661210030; cv=none; d=google.com; s=arc-20160816; b=IYzVX+D8VilVVUUXhzB8FWm2qVNBEjCBDunSmSnC0LigkWUKlJTwvKqBqy2DOJFh3D pj8+RvkE0SFIeaCuQTAHjVFjpQ7n2ph6Nzs5sHvD7yOjsahcelSmcc4lLnjh5ItWOAa9 Y+eGyaf8pZdZ6Ts7cxzs/DZXax3AbAcd47RSLMyrnQO+4wMLQvWcYaXfysbfH5SSjEx0 /YjPhRtHQUYRSPHd19nNtj4BLqOZpQN19wJ4Pi1DqbtbiSdGYBttEq9fw8aWiAeBwy/P e5+BIdnz2GAI9p9d8zX+KKEqG1uS4Sxi2KC1ReyRLIJnXZU8uU2hNK8sp3O0jlTmBTLu FOHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:mime-version:user-agent:date :message-id:subject:from:cc:to:dkim-signature; bh=PO/x/lcGxwJuGHeoVdebBw0jfaxk4xanIPuLnTroQB8=; b=nRjy8tmgOFyccrAnnKorQusu2n779sAHyn280SatEu91b5np6Ax4jJ+GNltrYt8441 IXDxucJJeZMiZW2G2NebFcds1G6JLGG3CH3DEb+7xwxoEuZJTPkhCC4mCdjj77Lz+0Nv 6xU7Bnu50NVlsQmmIhGlibaj1b28h9Mlv2bODGJV+KSdV0hyc4PXaJT3ADMXBFi92jPG +frvwX7DdhSdiModTeTJkPB8NQwsNYxHuNOsQfgma7D89A30e1MQDbQgqsj4YzO55bRY L7B26STf9wHWVAGccW46ZgOMn3eGs5SPgO/Y1FQ2eyBvdRg9h7T6WbIxpR5kOGTmcos0 9XJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=UE5morJY; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b32-20020a630c20000000b0041d024d58d8si14532489pgl.524.2022.08.22.16.13.38; Mon, 22 Aug 2022 16:13:50 -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=@linuxfoundation.org header.s=google header.b=UE5morJY; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237996AbiHVWIg (ORCPT + 99 others); Mon, 22 Aug 2022 18:08:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234666AbiHVWIe (ORCPT ); Mon, 22 Aug 2022 18:08:34 -0400 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC82215FE9 for ; Mon, 22 Aug 2022 15:08:33 -0700 (PDT) Received: by mail-io1-xd35.google.com with SMTP id r141so9514905iod.4 for ; Mon, 22 Aug 2022 15:08:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=content-language:mime-version:user-agent:date:message-id:subject :from:cc:to:from:to:cc; bh=PO/x/lcGxwJuGHeoVdebBw0jfaxk4xanIPuLnTroQB8=; b=UE5morJYl8WKwxtRgQBozd/4eWed/1OLiDZS7ZAmPKt6wne8S0zSAY9a/pYk+SH1rF nN+evzFaSnpvy5ytnX40b+y8B4SEj/TLtUru5L+Kms6PMjkJ2aBuWvgOebNpyCWxyJ9V I4eHLvnYLZRoebAUvFi1J3diWyHq9kGpSQTfY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-language:mime-version:user-agent:date:message-id:subject :from:cc:to:x-gm-message-state:from:to:cc; bh=PO/x/lcGxwJuGHeoVdebBw0jfaxk4xanIPuLnTroQB8=; b=0RJH5S9V7om3Z/44avBId+rwhmY+GZEGzSbE7B3SjsT0TcjnxMlHviUK379IUCoG0p RUqkSYSrUqObtSUXqwOHGDvGQJWtQhT9jtwcx6jjCYpzGEczxzyBe5OsBrIFn7hlbU3k 5xArO4r7N0RMI0vFYz98X/285pTKB4D4ZqaTGztJ34doc7weU+2t3Xw/6AEx0jsc0zEL F4KSKV8Sjw0zv69KYCbKZfKJ/oK2mS/N5w6TOlU76UPKMR7z8Gs0vik6pbjglJh5JEmU oA1aDBd10dyVZkZA/vSyXRp5jGzCDAB2lJNnGRqQg+rbWPvM0hfeiaA42rbpCfMmX9VM xzTA== X-Gm-Message-State: ACgBeo1GBL5Az3LrVpXeLwoAHasOFTm7EHmz/BgvdZmwjlJlARGFx3gl s67XjMn84oOw0GtCTcEphPX39yYwRwjaqw== X-Received: by 2002:a05:6638:470d:b0:349:c2f7:59c4 with SMTP id cs13-20020a056638470d00b00349c2f759c4mr5674015jab.223.1661206112922; Mon, 22 Aug 2022 15:08:32 -0700 (PDT) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id d37-20020a023f25000000b0033197f42be0sm5518637jaa.157.2022.08.22.15.08.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Aug 2022 15:08:32 -0700 (PDT) To: Linus Torvalds Cc: Shuah Khan , Brendan Higgins , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org From: Shuah Khan Subject: [GIT PULL] KUnit fixes update for Linux 6.0-rc3 Message-ID: <83371a8c-9f40-3947-51d0-07efc15bdae2@linuxfoundation.org> Date: Mon, 22 Aug 2022 16:08:31 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------A398DC0BE7E221BC49E8E404" Content-Language: en-US X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------A398DC0BE7E221BC49E8E404 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi Linus, Please pull the following KUnit fixes update for Linux 6.0-rc3. This KUnit fixes update for Linux 6.0-rc3 consists of fixes to mmc test and fix to load .kunit_test_suites section when CONFIG_KUNIT=m, and not just when KUnit is built-in. Please note that this KUnit update touches mmc driver Kconfig and kernel/module/main.c. diff is attached. thanks, -- Shuah ---------------------------------------------------------------- The following changes since commit 568035b01cfb107af8d2e4bd2fb9aea22cf5b868: Linux 6.0-rc1 (2022-08-14 15:50:18 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-kunit-fixes-6.0-rc3 for you to fetch changes up to 41a55567b9e31cb852670684404654ec4fd0d8d6: module: kunit: Load .kunit_test_suites section when CONFIG_KUNIT=m (2022-08-15 13:51:07 -0600) ---------------------------------------------------------------- linux-kselftest-kunit-fixes-6.0-rc3 This KUnit fixes update for Linux 6.0-rc3 consists of fixes to mmc test and fix to load .kunit_test_suites section when CONFIG_KUNIT=m, and not just when KUnit is built-in. ---------------------------------------------------------------- David Gow (2): mmc: sdhci-of-aspeed: test: Fix dependencies when KUNIT=m module: kunit: Load .kunit_test_suites section when CONFIG_KUNIT=m drivers/mmc/host/Kconfig | 1 + kernel/module/main.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------- --------------A398DC0BE7E221BC49E8E404 Content-Type: text/x-patch; charset=UTF-8; name="linux-kselftest-kunit-fixes-6.0-rc3.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="linux-kselftest-kunit-fixes-6.0-rc3.diff" diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 10c563999d3d..e63608834411 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -171,6 +171,7 @@ config MMC_SDHCI_OF_ASPEED config MMC_SDHCI_OF_ASPEED_TEST bool "Tests for the ASPEED SDHCI driver" if !KUNIT_ALL_TESTS depends on MMC_SDHCI_OF_ASPEED && KUNIT + depends on (MMC_SDHCI_OF_ASPEED=m || KUNIT=y) default KUNIT_ALL_TESTS help Enable KUnit tests for the ASPEED SDHCI driver. Select this diff --git a/kernel/module/main.c b/kernel/module/main.c index 6a477c622544..a4e4d84b6f4e 100644 --- a/kernel/module/main.c +++ b/kernel/module/main.c @@ -2099,7 +2099,7 @@ static int find_module_sections(struct module *mod, struct load_info *info) sizeof(*mod->static_call_sites), &mod->num_static_call_sites); #endif -#ifdef CONFIG_KUNIT +#if IS_ENABLED(CONFIG_KUNIT) mod->kunit_suites = section_objs(info, ".kunit_test_suites", sizeof(*mod->kunit_suites), &mod->num_kunit_suites); --------------A398DC0BE7E221BC49E8E404--