Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3617319rdg; Wed, 18 Oct 2023 00:07:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFmLROc2jAZ+7S2mqJ47TiNGGqpTefk2ONHQ3Rj+sCaIcG1/zKOE01F5CzFxTxo/PYMXn1D X-Received: by 2002:a17:903:74f:b0:1c5:9f52:6a5b with SMTP id kl15-20020a170903074f00b001c59f526a5bmr4047750plb.42.1697612862157; Wed, 18 Oct 2023 00:07:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697612862; cv=none; d=google.com; s=arc-20160816; b=u/sWxGs2EO1PQM7bbsTj1e0VRi6jL6Cj+fU3ICNs39Z2Ks4RtdYG2c4LkeTfwXXqDV kK+P0BGrcH0ABL/S2+yLTNBIhmd60X6+CeGc53nt3ouH2lSByMUZdwZAKkKbgvcROJBq Jhv43oLoiwiWuZKba6ltRhxJwTQoZ2KfRCRzaqLHx3NBFDn5JBR9xyTnSS6agSokTh5O x/dcRQl9ZMs7DPkvbfAJlIxcU+wzbRXZ/w4UgUualk+q6MdeZwxe3P6g6FHeGKuGRCzR ZRVBvpf3QLnKvmvTjAWCFrcELO/IgUxac+z9NO35cuWe5lR7/cQC0P7Dwii1Bm1AU3Xe UC0w== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5JC21h87XqHw4/rJZd+ZgGNpmSQxa8/Y9X2eYEqoUII=; fh=JnjXu89O8Ui5DJ9qtv5cvlV8NWvxzgSyYMzBRZV06HY=; b=WcpY8Zl0Fdi4frt7APzrmoOEMlKviO/u4xAWo2aq1NtuYL0xAFT4eXyBGPayz3BNu0 TACUPByWroA8F0VRLqUvzmp6Mu7ZdTt6czx0VKsiwxg1mmgR7Q5wu6vYCHwCnF7mdlV/ zu/mkmvZKkJY99n4SA1e4JOVPb9L9qzIZ2fKewEh4NdqmMGM8AL+2xurt+e6cD1D3INC ZO9XyZrgNrgyJkmeErVfQQAlEzpdRozbi8eiy87td3NQr5qEtCu6JYMJB4fgc+uraPvw LVkep2MFP+KBgjDA6uryBLMQps0JoCbqo1QcYNPsWRwI+to2SDu5TK96QOMHyfF2pf9H Gb9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=A7SiKa5g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id d8-20020a170902654800b001c3f5db54acsi3336773pln.635.2023.10.18.00.07.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 00:07:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=A7SiKa5g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 5071380C3A1E; Wed, 18 Oct 2023 00:07:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344556AbjJRHH2 (ORCPT + 99 others); Wed, 18 Oct 2023 03:07:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229759AbjJRHH1 (ORCPT ); Wed, 18 Oct 2023 03:07:27 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7FF2B6; Wed, 18 Oct 2023 00:07:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697612845; x=1729148845; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ewKdnUXiJmyWfBcgIVxSzjv6q3oMQteZNTKn7FQdho8=; b=A7SiKa5guyFVj2L4yRuX4tea9aFTszskHqt11fju55pPr3SU90qiqhcf plGQGawnWegGSxtI7sfIOHVUEuI4AWazVQgNEhjVn3Kzer8/n932iGtgX t7/SY57NLqvRsfzoUy46aD9xbVWEolm9e/iV+cVv/18B1ngB3q1Q5thnN z7JsR5Pf8ptkhZCVHpcvMJnEV44Wet2F8DZkV6JO0Go7iEYq5cFT7eZE8 EJkJsYO4qjFn3OtsLDM7JhnRxekr7uzakMMjySmK0M79epm76nFXriyaz A1ufECIFiqH6DelTYedq7iJhb/CJxK8s6hCNTDeoJ5ghB6OZNOn9OYHV2 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10866"; a="384835616" X-IronPort-AV: E=Sophos;i="6.03,234,1694761200"; d="scan'208";a="384835616" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2023 00:07:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10866"; a="706317395" X-IronPort-AV: E=Sophos;i="6.03,234,1694761200"; d="scan'208";a="706317395" Received: from lkp-server01.sh.intel.com (HELO 8917679a5d3e) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 18 Oct 2023 00:07:21 -0700 Received: from kbuild by 8917679a5d3e with local (Exim 4.96) (envelope-from ) id 1qt0eF-00002s-1Y; Wed, 18 Oct 2023 07:07:19 +0000 Date: Wed, 18 Oct 2023 15:06:37 +0800 From: kernel test robot To: Marco Pagani , Brendan Higgins , David Gow , Rae Moar , Shuah Khan , Jinjie Ruan Cc: oe-kbuild-all@lists.linux.dev, Marco Pagani , linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] kunit: run test suites only after module initialization completes Message-ID: <202310181220.us7Bvp16-lkp@intel.com> References: <20231016203548.21993-1-marpagan@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231016203548.21993-1-marpagan@redhat.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 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]); Wed, 18 Oct 2023 00:07:37 -0700 (PDT) Hi Marco, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.6-rc6 next-20231017] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Marco-Pagani/kunit-run-test-suites-only-after-module-initialization-completes/20231017-161611 base: linus/master patch link: https://lore.kernel.org/r/20231016203548.21993-1-marpagan%40redhat.com patch subject: [PATCH] kunit: run test suites only after module initialization completes config: csky-randconfig-002-20231018 (https://download.01.org/0day-ci/archive/20231018/202310181220.us7Bvp16-lkp@intel.com/config) compiler: csky-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231018/202310181220.us7Bvp16-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202310181220.us7Bvp16-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from arch/csky/include/asm/thread_info.h:9, from include/linux/thread_info.h:60, from include/asm-generic/preempt.h:5, from ./arch/csky/include/generated/asm/preempt.h:1, from include/linux/preempt.h:79, from include/linux/spinlock.h:56, from include/linux/kref.h:16, from include/kunit/test.h:22, from include/kunit/resource.h:12, from lib/kunit/test.c:9: lib/kunit/test.c: In function 'kunit_module_exit': >> arch/csky/include/asm/page.h:38:43: error: 'high_memory' undeclared (first use in this function) 38 | (void *)(kaddr) < high_memory) | ^~~~~~~~~~~ lib/kunit/test.c:772:34: note: in expansion of macro 'virt_addr_valid' 772 | if (!suite_set.start || !virt_addr_valid(suite_set.start)) | ^~~~~~~~~~~~~~~ arch/csky/include/asm/page.h:38:43: note: each undeclared identifier is reported only once for each function it appears in 38 | (void *)(kaddr) < high_memory) | ^~~~~~~~~~~ lib/kunit/test.c:772:34: note: in expansion of macro 'virt_addr_valid' 772 | if (!suite_set.start || !virt_addr_valid(suite_set.start)) | ^~~~~~~~~~~~~~~ vim +/high_memory +38 arch/csky/include/asm/page.h 013de2d6671d89 Guo Ren 2018-09-05 36 013de2d6671d89 Guo Ren 2018-09-05 37 #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && \ 013de2d6671d89 Guo Ren 2018-09-05 @38 (void *)(kaddr) < high_memory) 013de2d6671d89 Guo Ren 2018-09-05 39 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki