Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1345080rdb; Wed, 20 Sep 2023 06:50:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGh1h8WvaAOlzS9AuM6GlVWSuN0oiHSMZEvAss35bUHCYTkHR7RqyQoed9VEbyOtDIexKO8 X-Received: by 2002:a05:6a00:84e:b0:686:24e1:d12e with SMTP id q14-20020a056a00084e00b0068624e1d12emr2786747pfk.30.1695217815959; Wed, 20 Sep 2023 06:50:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695217815; cv=none; d=google.com; s=arc-20160816; b=SLzHGabbmk99Zo+E2cnc93+LqCM9zJQ5dxWpgO0afDS+1k64vbogN6XmXRG5tGPCxd MP8oR/PBq5BEF4UGotpCXSQkxkeaRbw/J6g8N9TAjBNfm0JQGGeKQ1rBHY7ttKm0zq0J v2DENt9/2HgEjlXPQ3VHLV2XTJ5oYbBGLSI++PtDmP8EZmWPsRFyLw9jRUax+Wg6vE8x dTvHI6KcAmYqMx7T6Agjf29UofnQi12dj/KAUJBvJSj0u9K//DMr7/HVAEUa7tzyEMeN bqE30ucSgK/3F4Ku5UKRIFfEDYz1O/x8QiJeVfxap4tpDwB46ktL0feXHmgpSoBFeTq+ Ba8A== 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=7JdbJqK+rXTE/PYBBhDLROSpEWsWvE8ZNIHkoSUOI3Q=; fh=yC2kb6eSwhkcdwARAYsuCLqojDPLt1EOfSn/4g7gwcM=; b=CTaOyCkQvrboTwf75+MzjNNuZy1gbDAEdAGWAXA3r+AdN0PhOYpFLD1vaDXlbXSyNv VldvDqt3eUoXAFJ/XrtotFwPMp/ggYSYjo9JHeAt9WDZAOEKKeyVvKY4sklWWMleBMJ/ yc2SX9ZCiBG1916L6btzUiYNRt3E61AbzktfU0+i2nLtgDqyW3vC/9Jp0iGUoYMuLISN /XxMBUkOZU61tCKgg9SK68G3ZeR5rlrxnf4Wj7jRaNt4c5k88JYNwJIO+BHMqsjBcDY4 GPDuRv7lvPIfDXMqdL7p5t6IwqzkMhF2lFs10l2Pp5NFb+XXTGK8/XyhHg5m/7hjfjsk MnfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ELpjZ4je; 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=intel.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id s4-20020a655844000000b0056fa98a8542si11696580pgr.227.2023.09.20.06.50.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 06:50:15 -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=@intel.com header.s=Intel header.b=ELpjZ4je; 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=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 996E3801E751; Tue, 19 Sep 2023 22:38:22 -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 S232728AbjITFiS (ORCPT + 99 others); Wed, 20 Sep 2023 01:38:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbjITFiR (ORCPT ); Wed, 20 Sep 2023 01:38:17 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 288488F; Tue, 19 Sep 2023 22:38:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695188292; x=1726724292; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=FJO6+FSsESzpwq9dG2x+ZpAjL1+/pV+QIsmIVesyPyg=; b=ELpjZ4jepI3TPKPl1ypZydRb9gwQUN/9kfy4Zf+f/EkEuFAIjkyShayc DBtOYz7/bYKx3rI9AtW3QvoyC5fx3oa58nRcJwHTBaMhMvzu3Vvl5aosK /Ro55gMKM1L6GrUYkO2z6zAzi4hYi4MvXWKJGwoooklZK1t44FtHplkuL aDrZSag6z+9n2gE6DL4+gUIH8rAETjN0aGxfYRWzya78Sxr6/mDOKBE+1 2Zdhr7D1OCErQbSv1yZ9g/PuYe9nFfiUPfBf1mgQD80fUoX/FzEiCR04o OepQEw2U1fwQdPdszdFXeMDnHvFG5NqahWhkfyTEM9zVlatgCh0rJTRDh w==; X-IronPort-AV: E=McAfee;i="6600,9927,10838"; a="360386013" X-IronPort-AV: E=Sophos;i="6.02,161,1688454000"; d="scan'208";a="360386013" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2023 22:38:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10838"; a="775843575" X-IronPort-AV: E=Sophos;i="6.02,161,1688454000"; d="scan'208";a="775843575" Received: from lkp-server02.sh.intel.com (HELO 9ef86b2655e5) ([10.239.97.151]) by orsmga008.jf.intel.com with ESMTP; 19 Sep 2023 22:38:08 -0700 Received: from kbuild by 9ef86b2655e5 with local (Exim 4.96) (envelope-from ) id 1qipuY-0008Lx-1J; Wed, 20 Sep 2023 05:38:06 +0000 Date: Wed, 20 Sep 2023 13:37:37 +0800 From: kernel test robot To: Mirsad Goran Todorovac , linux-acpi@vger.kernel.org, acpica-devel@lists.linuxfoundation.org, linux-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, Robert Moore , "Rafael J. Wysocki" , Len Brown , Jung-uk Kim , Erik Kaneda Subject: Re: [PATCH v1 1/1] acpica: use spinlocks to fix the data-races reported by the KCSAN Message-ID: <202309201308.5ZBJFbjh-lkp@intel.com> References: <20230920000139.15533-1-mirsad.todorovac@alu.unizg.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230920000139.15533-1-mirsad.todorovac@alu.unizg.hr> 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]); Tue, 19 Sep 2023 22:38:22 -0700 (PDT) Hi Mirsad, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on v6.6-rc2 next-20230920] [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/Mirsad-Goran-Todorovac/acpica-use-spinlocks-to-fix-the-data-races-reported-by-the-KCSAN/20230920-080345 base: linus/master patch link: https://lore.kernel.org/r/20230920000139.15533-1-mirsad.todorovac%40alu.unizg.hr patch subject: [PATCH v1 1/1] acpica: use spinlocks to fix the data-races reported by the KCSAN config: i386-randconfig-012-20230920 (https://download.01.org/0day-ci/archive/20230920/202309201308.5ZBJFbjh-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230920/202309201308.5ZBJFbjh-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/202309201308.5ZBJFbjh-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from include/linux/spinlock.h:89, from include/linux/wait.h:9, from include/linux/pid.h:6, from include/linux/sched.h:14, from include/acpi/platform/aclinux.h:55, from include/acpi/platform/acenv.h:160, from include/acpi/acpi.h:22, from drivers/acpi/acpica/utdebug.c:12: >> drivers/acpi/acpica/utdebug.c:19:24: warning: 'acpi_utdebug_lock' defined but not used [-Wunused-variable] 19 | static DEFINE_SPINLOCK(acpi_utdebug_lock); | ^~~~~~~~~~~~~~~~~ include/linux/spinlock_types.h:43:39: note: in definition of macro 'DEFINE_SPINLOCK' 43 | #define DEFINE_SPINLOCK(x) spinlock_t x = __SPIN_LOCK_UNLOCKED(x) | ^ vim +/acpi_utdebug_lock +19 drivers/acpi/acpica/utdebug.c 11 > 12 #include 13 #include "accommon.h" 14 #include "acinterp.h" 15 16 #define _COMPONENT ACPI_UTILITIES 17 ACPI_MODULE_NAME("utdebug") 18 > 19 static DEFINE_SPINLOCK(acpi_utdebug_lock); 20 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki