Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3525261iog; Mon, 27 Jun 2022 18:55:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uIeBTR964bdklx//v7Y+Gjqjgro/xQEmsGPePnLsONz7e2A2yXh1CNKGf9mHd6ixTHamtE X-Received: by 2002:a17:903:2405:b0:16a:8010:1e16 with SMTP id e5-20020a170903240500b0016a80101e16mr2499677plo.87.1656381309886; Mon, 27 Jun 2022 18:55:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656381309; cv=none; d=google.com; s=arc-20160816; b=is++bjRp6o0Fr7urxeECU/KjZH/GGY22ms8U1QKc7Ak9K2bcBxKbLG90rkARQ0jguX 8djOPCMPFMW5XmBeWd4KX6I9322b0gBslULMP5jImeJXdi4uj7ZZEg1vvsNTlIlDDdX6 KIbHCZ/5HN84tH92gUEnHLzI7w5KNeNXJcl+yQh1WNEK4UyQHeqSNBX+S+O0QwHiaITX qxEaGCKlPmJDULVItLmo++uxHHJMwgE7WLtYVIlOnXl3ilPZFm76iRADl6RKNdJB4FRW tGBSVZKQe4MBcViE8nzKPSHhenbMIOyFDDxTDpT4DuOlUECpaT7+lNDgRX54wVhsFNcV 21rg== 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=OIb6L+/InHAaNX+ywuSIF9OWlJjqhL/O0coYnMG1k5k=; b=KJIC3QD2j1Evq45m+wrvQj8d0WbIodky9SznX+0vF4xBXQXTfYSvhODjgl0B5X+1Xs Wfm74Wp7gCHb+6X68Dg22mwZfaY/6/QZ5DBUQH4/1yunsveO80orE8LZUiHyPwJZUrND Yt/wdJVpo0D5hJ7miSKJ5poJZRBbtI7Qn5wj6bVLpTN2tsqE8Gf9u0MwcKd+a5k+KKGQ 8725mckmnLQVHzVnEXe1iZf2kBmpCkIQ903bJCOEVGCwtaKi3Ptqk8WCbG6RRPOTvl8C 0Tx3gGKroREnzi6sZ0zCcPcshtJuTqL4+h/qAv3+1/ViqIHn5Wgmo0tlx2moQiUj28aV i70Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ik8doJj4; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n8-20020a170902f60800b001678ce90824si15098041plg.542.2022.06.27.18.54.57; Mon, 27 Jun 2022 18:55:09 -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=@intel.com header.s=Intel header.b=ik8doJj4; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243052AbiF1B30 (ORCPT + 99 others); Mon, 27 Jun 2022 21:29:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243044AbiF1B3Y (ORCPT ); Mon, 27 Jun 2022 21:29:24 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3104766D; Mon, 27 Jun 2022 18:29:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656379763; x=1687915763; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=zVM39Trhl2hg5S6mqEpQJmIRMAE8wh097bxFRFFGXL8=; b=ik8doJj4eEQ2GN5ht0IN+XgYFEV/q/WN2BkA5bbbi0SQr+l+rdB6es5w B31gFmpa4ij5mJZ3KhbjRBKD9yDi3H6HUugUP/fijqNzrJvzn152tZGCL e+FA3YKCIRuLzjwDg7kb8oZHAoWh+soBzbb8bXp5xguE0dgPA4mHSUwo1 OYGQxOX+cN7ENDo1ar+rNbks8b/za/5QVtcuZ1O6P5jXoQo/qa+U/9Noy x9yr/HvyJPxe1f4CKHgvsVwbpWvWsoHc5yVKQvagR6TYQHuIN/me/MlHm LhWbsv4XZ1roAmIVQVjQ25RCnB5sj1yM/Z9r1fLU4omnC6WIJsXn5mL6f Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10391"; a="279149560" X-IronPort-AV: E=Sophos;i="5.92,227,1650956400"; d="scan'208";a="279149560" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jun 2022 18:29:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,227,1650956400"; d="scan'208";a="732546014" Received: from lkp-server01.sh.intel.com (HELO 68b931ab7ac1) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 27 Jun 2022 18:29:19 -0700 Received: from kbuild by 68b931ab7ac1 with local (Exim 4.95) (envelope-from ) id 1o602T-0009LC-S6; Tue, 28 Jun 2022 01:29:13 +0000 Date: Tue, 28 Jun 2022 09:28:58 +0800 From: kernel test robot To: Sricharan R , agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, catalin.marinas@arm.com, p.zabel@pengutronix.de, quic_varada@quicinc.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org Subject: Re: [PATCH V2 3/8] clk: qcom: Add Global Clock controller (GCC) driver for IPQ5018 Message-ID: <202206280917.m3YJRqsF-lkp@intel.com> References: <20220621161126.15883-4-quic_srichara@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220621161126.15883-4-quic_srichara@quicinc.com> X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Hi Sricharan, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on clk/clk-next] [also build test WARNING on robh/for-next linusw-pinctrl/devel linus/master v5.19-rc4 next-20220627] [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] url: https://github.com/intel-lab-lkp/linux/commits/Sricharan-R/Add-minimal-boot-support-for-IPQ5018/20220622-001751 base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220628/202206280917.m3YJRqsF-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 016342e319fd31e41cf5ed16a6140a8ea2de74dd) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/d7a0e1d14ecebd407df120468035592246a71cd6 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Sricharan-R/Add-minimal-boot-support-for-IPQ5018/20220622-001751 git checkout d7a0e1d14ecebd407df120468035592246a71cd6 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/ drivers/clk/qcom/ drivers/pinctrl/qcom/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/clk/qcom/gcc-ipq5018.c:118:37: warning: unused variable 'gcc_xo_gpll0_out_main_div2' [-Wunused-const-variable] static const struct clk_parent_data gcc_xo_gpll0_out_main_div2[] = { ^ >> drivers/clk/qcom/gcc-ipq5018.c:123:32: warning: unused variable 'gcc_xo_gpll0_out_main_div2_map' [-Wunused-const-variable] static const struct parent_map gcc_xo_gpll0_out_main_div2_map[] = { ^ >> drivers/clk/qcom/gcc-ipq5018.c:201:37: warning: unused variable 'gcc_xo_gpll0_gpll4_gpll2' [-Wunused-const-variable] static const struct clk_parent_data gcc_xo_gpll0_gpll4_gpll2[] = { ^ >> drivers/clk/qcom/gcc-ipq5018.c:208:32: warning: unused variable 'gcc_xo_gpll0_gpll4_gpll2_map' [-Wunused-const-variable] static const struct parent_map gcc_xo_gpll0_gpll4_gpll2_map[] = { ^ 4 warnings generated. vim +/gcc_xo_gpll0_out_main_div2 +118 drivers/clk/qcom/gcc-ipq5018.c 117 > 118 static const struct clk_parent_data gcc_xo_gpll0_out_main_div2[] = { 119 { .fw_name = "xo", .name = "xo", }, 120 { .fw_name = "gpll0_out_main_div2", .name = "gpll0_out_main_div2", }, 121 }; 122 > 123 static const struct parent_map gcc_xo_gpll0_out_main_div2_map[] = { 124 { P_XO, 0 }, 125 { P_GPLL0_DIV2, 1 }, 126 }; 127 128 static const struct clk_parent_data gcc_xo_gpll0_gpll4[] = { 129 { .fw_name = "xo", .name = "xo", }, 130 { .fw_name = "gpll0", .name = "gpll0", }, 131 { .fw_name = "gpll4", .name = "gpll4", }, 132 }; 133 134 static const struct parent_map gcc_xo_gpll0_gpll4_map[] = { 135 { P_XO, 0 }, 136 { P_GPLL0, 1 }, 137 { P_GPLL4, 2 }, 138 }; 139 140 static const struct clk_parent_data gcc_xo_gpll0_core_pi_sleep_clk[] = { 141 { .fw_name = "xo", .name = "xo", }, 142 { .fw_name = "gpll0", .name = "gpll0", }, 143 { .fw_name = "sleep_clk", .name = "sleep_clk", }, 144 }; 145 146 static const struct parent_map gcc_xo_gpll0_core_pi_sleep_clk_map[] = { 147 { P_XO, 0 }, 148 { P_GPLL0, 2 }, 149 { P_CORE_PI_SLEEP_CLK, 6 }, 150 }; 151 152 static const struct clk_parent_data gcc_xo_gpll0_gpll0_out_main_div2_sleep_clk[] = { 153 { .fw_name = "xo", .name = "xo", }, 154 { .fw_name = "gpll0", .name = "gpll0", }, 155 { .fw_name = "gpll0_out_main_div2", .name = "gpll0_out_main_div2", }, 156 { .fw_name = "sleep_clk", .name = "sleep_clk", }, 157 }; 158 159 static const struct parent_map gcc_xo_gpll0_gpll0_out_main_div2_sleep_clk_map[] = { 160 { P_XO, 0 }, 161 { P_GPLL0, 1 }, 162 { P_GPLL0_DIV2, 4 }, 163 { P_CORE_PI_SLEEP_CLK, 6 }, 164 }; 165 166 static const struct clk_parent_data gcc_xo_gpll0_gpll2_gpll0_out_main_div2[] = { 167 { .fw_name = "xo", .name = "xo", }, 168 { .fw_name = "gpll0", .name = "gpll0", }, 169 { .fw_name = "gpll2", .name = "gpll2", }, 170 { .fw_name = "gpll0_out_main_div2", .name = "gpll0_out_main_div2", }, 171 }; 172 173 static const struct parent_map gcc_xo_gpll0_gpll2_gpll0_out_main_div2_map[] = { 174 { P_XO, 0 }, 175 { P_GPLL0, 1 }, 176 { P_GPLL2, 2 }, 177 { P_GPLL0_DIV2, 4 }, 178 }; 179 180 static const struct clk_parent_data gcc_xo_gpll4_gpll0_gpll0_out_main_div2[] = { 181 { .fw_name = "xo", .name = "xo", }, 182 { .fw_name = "gpll4", .name = "gpll4", }, 183 { .fw_name = "gpll0", .name = "gpll0", }, 184 { .fw_name = "gpll0_out_main_div2", .name = "gpll0_out_main_div2", }, 185 }; 186 187 static const struct parent_map gcc_xo_gpll4_gpll0_gpll0_out_main_div2_map1[] = { 188 { P_XO, 0 }, 189 { P_GPLL4, 1 }, 190 { P_GPLL0, 2 }, 191 { P_GPLL0_DIV2, 4 }, 192 }; 193 194 static const struct parent_map gcc_xo_gpll4_gpll0_gpll0_out_main_div2_map2[] = { 195 { P_XO, 0 }, 196 { P_GPLL4, 1 }, 197 { P_GPLL0, 3 }, 198 { P_GPLL0_DIV2, 4 }, 199 }; 200 > 201 static const struct clk_parent_data gcc_xo_gpll0_gpll4_gpll2[] = { 202 { .fw_name = "xo", .name = "xo", }, 203 { .fw_name = "gpll0", .name = "gpll0", }, 204 { .fw_name = "gpll4", .name = "gpll4", }, 205 { .fw_name = "gpll2", .name = "gpll2", }, 206 }; 207 > 208 static const struct parent_map gcc_xo_gpll0_gpll4_gpll2_map[] = { 209 { P_XO, 0 }, 210 { P_GPLL0, 1 }, 211 { P_GPLL4, 3 }, 212 { P_GPLL2, 4 }, 213 }; 214 -- 0-DAY CI Kernel Test Service https://01.org/lkp