From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 30BE2C71153 for ; Tue, 29 Aug 2023 23:55:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=M3H0ABJCD3qA5GpSM7lMGVo9pOOuVkRNGBtH8FeDu58=; b=Y/ybtdL8oN3c4P CgqOkPRs6gw3yYn6fIJqx9h8MNQTpD6b6rr9j2ySC2AgmWxY4NTp/gyvmsYif7nZ679MCRnJ8aSjO d4ywxHlrUclE/Wlda4WEmyXpTW4lyGDOXfG8/9vPfQMsyZdtcZLSLVV9Biw5t8lATQTID1Q+sihlg g6pn/ljD9DmZQZ8isXCtme+fxyEYd5yyTq4DNzxqcG7ZbgKOcFAiOrHf1L7ej5MtZIXFLEVTG1S5M 4fricmTqOtVclphf8PrTlect0OwAs1qBHil2YIePT2VYqZZHHuWQiIXR2OPecFH3hbz0MXYq5vSn1 Je7DhnTyUKq0VjvsbMVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qb8Xv-00CTnG-1a; Tue, 29 Aug 2023 23:54:55 +0000 Received: from mgamail.intel.com ([192.55.52.120]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qb8Xs-00CTmh-2R for linux-arm-kernel@lists.infradead.org; Tue, 29 Aug 2023 23:54:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1693353292; x=1724889292; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=poo2erOym6FYVcclncpP4gJ8Sb9wFCKFIGFC0CCir4M=; b=ABMkVMhaae8e/AkHl8neQeu88HwWrGfK16D7Uon0a24p0pVeB3f0HmaK yi6ooplrx71TIJCRmLiRUrz7CGTAFdwVzaOYFJnrRqEdrX4cka4vrVcFK GM+sJTPjDjdWNbv+KdWxNfasMsBJO8RPN4rFlCnzCtQlPqmIM8gWp3imq OJn4XYPnNayuO+SDoNR1lPb2bJeRltaYqCBvXzyyxXuzCDQlFqKmsryR8 CfimnttJuiB2316VoWY6pA1S7/0wsEsHDeFH2yqJbl4IzQIAQ9cX+cGwg GIRRkoEGasq8fk7/d76WXO6l5Ll7QcF/bCCygzJrxj/DyqIQtBwG64QdJ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10817"; a="374413067" X-IronPort-AV: E=Sophos;i="6.02,211,1688454000"; d="scan'208";a="374413067" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2023 16:54:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10817"; a="732395012" X-IronPort-AV: E=Sophos;i="6.02,211,1688454000"; d="scan'208";a="732395012" Received: from lkp-server02.sh.intel.com (HELO daf8bb0a381d) ([10.239.97.151]) by orsmga007.jf.intel.com with ESMTP; 29 Aug 2023 16:54:32 -0700 Received: from kbuild by daf8bb0a381d with local (Exim 4.96) (envelope-from ) id 1qb8XX-0009DH-2O; Tue, 29 Aug 2023 23:54:31 +0000 Date: Wed, 30 Aug 2023 07:54:22 +0800 From: kernel test robot To: Oza Pawandeep , sudeep.holla@arm.com, catalin.marinas@arm.com, will@kernel.org, rafael@kernel.org, lenb@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, Oza Pawandeep Subject: Re: [PATCH v3] cpuidle, ACPI: Evaluate LPI arch_flags for broadcast timer Message-ID: <202308300720.JEfxnfQ5-lkp@intel.com> References: <20230829201101.3330337-1-quic_poza@quicinc.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230829201101.3330337-1-quic_poza@quicinc.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230829_165452_812306_7DFAEBAF X-CRM114-Status: GOOD ( 12.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Oza, kernel test robot noticed the following build warnings: [auto build test WARNING on soc/for-next] [also build test WARNING on v6.5] [cannot apply to rafael-pm/linux-next arm64/for-next/core linus/master next-20230829] [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/Oza-Pawandeep/cpuidle-ACPI-Evaluate-LPI-arch_flags-for-broadcast-timer/20230830-041258 base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next patch link: https://lore.kernel.org/r/20230829201101.3330337-1-quic_poza%40quicinc.com patch subject: [PATCH v3] cpuidle, ACPI: Evaluate LPI arch_flags for broadcast timer config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20230830/202308300720.JEfxnfQ5-lkp@intel.com/config) compiler: loongarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230830/202308300720.JEfxnfQ5-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/202308300720.JEfxnfQ5-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/acpi/processor_idle.c: In function 'acpi_processor_setup_lpi_states': >> drivers/acpi/processor_idle.c:1220:61: warning: left-hand operand of comma expression has no effect [-Wunused-value] 1220 | arch_update_idle_state_flags(lpi->arch_flags, &state->flags); | ^ >> drivers/acpi/processor_idle.c:1220:61: warning: statement with no effect [-Wunused-value] 1220 | arch_update_idle_state_flags(lpi->arch_flags, &state->flags); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ vim +1220 drivers/acpi/processor_idle.c 1201 1202 static int acpi_processor_setup_lpi_states(struct acpi_processor *pr) 1203 { 1204 int i; 1205 struct acpi_lpi_state *lpi; 1206 struct cpuidle_state *state; 1207 struct cpuidle_driver *drv = &acpi_idle_driver; 1208 1209 if (!pr->flags.has_lpi) 1210 return -EOPNOTSUPP; 1211 1212 for (i = 0; i < pr->power.count && i < CPUIDLE_STATE_MAX; i++) { 1213 lpi = &pr->power.lpi_states[i]; 1214 1215 state = &drv->states[i]; 1216 snprintf(state->name, CPUIDLE_NAME_LEN, "LPI-%d", i); 1217 strscpy(state->desc, lpi->desc, CPUIDLE_DESC_LEN); 1218 state->exit_latency = lpi->wake_latency; 1219 state->target_residency = lpi->min_residency; > 1220 arch_update_idle_state_flags(lpi->arch_flags, &state->flags); 1221 if (i != 0 && lpi->entry_method == ACPI_CSTATE_FFH) 1222 state->flags |= CPUIDLE_FLAG_RCU_IDLE; 1223 state->enter = acpi_idle_lpi_enter; 1224 drv->safe_state_index = i; 1225 } 1226 1227 drv->state_count = i; 1228 1229 return 0; 1230 } 1231 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel