Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp548878rwo; Fri, 21 Jul 2023 17:00:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlFs739UForZ1ww4T6+QrxxPBqJQyp4tw6S8eKXtRgW4QpLRouqXUbI0JEcDtbXgFUYg0wf0 X-Received: by 2002:a17:906:311a:b0:966:17b2:5b0b with SMTP id 26-20020a170906311a00b0096617b25b0bmr3037755ejx.49.1689984007486; Fri, 21 Jul 2023 17:00:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689984007; cv=none; d=google.com; s=arc-20160816; b=VSGLQuXKibNMKNFDPq7/+xCoH9Lr2XUQgjD5VyPjiG1Ke9q7mRMAabvSDjDE+KELDA jGTuSRP53WSaNAfE5dZc2s752TxzcjGrm9TkGDLK86r3WLoQO5WuirGQeKU95Xa2ejnA Kw6sCUUjfX71LRJfH1el7PlroMHxB/tXhDDJ7ZyvSzhaGu8dBsd8zjHkZ9uyiexaxqh6 NCLCdp/vVhvkXYQGIr0kNX5tdYRPMISS9L4hWr2xe585EZS7sa2tBas4NHAm2AsZmWC9 ShYrN1nWUdPWocpJ8Li8urKpFrJMn1UQqS5ilWshSgFmENiLpn8doqq4OweJtpvAXmsq ey2g== 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=f6ckWum6oc+2vPS+RT2SOeObpyvc5wrBKfExQHZkYEc=; fh=GZrNIvtNjtjSloSZJ0pWA5wfchqpu6MpGxNfVLxb8WY=; b=wSYZ2i7TxArklodc9WM0VA8G+DaOCHPIB4cTvtLrVdISz2Zd5NW/6P042EEw4u5TVS H15ljXUoE8Yg/H6o0MhJgqS6Q6jvqXbB+0H4VYt/HIBjH7z4DAzaEGCmoreCYBsQKlk9 0Q8ptLjUrwmjb4HItn+vwKUOtJ+YqmMUXLF5Fw/AVNGBPfz8dpKLyDUrbY6mkS5zhjga 3B6F83Uvss5Jf8nr4q5TPSHluPG6MpN0q6cUM+A9NcghgOMgrcVqw7SxVIBDCjqGBqP4 tb5QH4ZbKFfa6rKY6c+p5fwkVa5rudys9To2qIi6i5pBb6G9PNDdN+A3Cg2t9ps9Ck8n E/2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aqv6L2np; 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 ga13-20020a170906b84d00b00992e91c6f3bsi2859977ejb.806.2023.07.21.16.59.43; Fri, 21 Jul 2023 17:00:07 -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=aqv6L2np; 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 S229843AbjGUXPj (ORCPT + 99 others); Fri, 21 Jul 2023 19:15:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjGUXPg (ORCPT ); Fri, 21 Jul 2023 19:15:36 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1002D172A; Fri, 21 Jul 2023 16:15:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689981335; x=1721517335; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=hbGF2N14W1Y8K9NgRN0jqsTdkTp75B7W9ZI/RXWPG3w=; b=aqv6L2npcOtOAWJrRHmqrXt9gIBFvoTWrIo7HzhTAMzN+Ovg5Jfj57SY 3gc6nR+bJVxjDaQkm1DRJovEH3uhLBLOuitD4noZbqDKqV2Vr3fvbNpDu KM56XHfcKtX50tJUqbknFe14pUFOD7t+VMNUwlvXnLYEZ3fE5cB3gafDh 8yQxMbKrc69L41agNYB1G0+mSaLPI3YbibpSXg/oPHKcrVt1u7IdhqGi/ JKADkVKAhNMGZ6wE0QveBgGlN54+s5eVyDKtbtXDOny7uq+1HIgiBSeqp +MXCIl7t6eB1hGM+fYE+GxNj5O6HHZvq0lYC9Ef4wubH1a6bH+okgjjo/ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10778"; a="346737639" X-IronPort-AV: E=Sophos;i="6.01,222,1684825200"; d="scan'208";a="346737639" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2023 16:15:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10778"; a="754654503" X-IronPort-AV: E=Sophos;i="6.01,222,1684825200"; d="scan'208";a="754654503" Received: from lkp-server02.sh.intel.com (HELO 36946fcf73d7) ([10.239.97.151]) by orsmga008.jf.intel.com with ESMTP; 21 Jul 2023 16:15:29 -0700 Received: from kbuild by 36946fcf73d7 with local (Exim 4.96) (envelope-from ) id 1qMzLM-0007kK-1O; Fri, 21 Jul 2023 23:15:28 +0000 Date: Sat, 22 Jul 2023 07:15:19 +0800 From: kernel test robot To: Kathiravan T , Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Elliot Berman , Mukesh Ojha , Kalle Valo , Loic Poulain , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, quic_srichara@quicinc.com, quic_sjaganat@quicinc.com, quic_anusha@quicinc.com, quic_saahtoma@quicinc.com, Poovendhan Selvaraj , Kathiravan T Subject: Re: [PATCH V5 3/3] firmware: scm: Modify only the download bits in TCSR register Message-ID: <202307220736.M9yPz2Cs-lkp@intel.com> References: <20230720070408.1093698-4-quic_kathirav@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230720070408.1093698-4-quic_kathirav@quicinc.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Kathiravan, kernel test robot noticed the following build errors: [auto build test ERROR on linusw-pinctrl/devel] [also build test ERROR on linusw-pinctrl/for-next linus/master v6.5-rc2 next-20230721] [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/Kathiravan-T/firmware-qcom_scm-provide-a-read-modify-write-function/20230720-150657 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel patch link: https://lore.kernel.org/r/20230720070408.1093698-4-quic_kathirav%40quicinc.com patch subject: [PATCH V5 3/3] firmware: scm: Modify only the download bits in TCSR register config: arm-allmodconfig (https://download.01.org/0day-ci/archive/20230722/202307220736.M9yPz2Cs-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230722/202307220736.M9yPz2Cs-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/202307220736.M9yPz2Cs-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/firmware/qcom_scm.c: In function 'qcom_scm_set_download_mode': >> drivers/firmware/qcom_scm.c:459:48: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration] 459 | FIELD_PREP(QCOM_DOWNLOAD_MODE_MASK, val)); | ^~~~~~~~~~ cc1: some warnings being treated as errors Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for SM_GCC_8350 Depends on [n]: COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] && (ARM64 || COMPILE_TEST [=n]) Selected by [m]: - SM_VIDEOCC_8350 [=m] && COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] WARNING: unmet direct dependencies detected for SM_GCC_8450 Depends on [n]: COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] && (ARM64 || COMPILE_TEST [=n]) Selected by [m]: - SM_GPUCC_8450 [=m] && COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] - SM_VIDEOCC_8450 [=m] && COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] WARNING: unmet direct dependencies detected for SM_GCC_8550 Depends on [n]: COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] && (ARM64 || COMPILE_TEST [=n]) Selected by [m]: - SM_GPUCC_8550 [=m] && COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] - SM_VIDEOCC_8550 [=m] && COMMON_CLK [=y] && COMMON_CLK_QCOM [=m] vim +/FIELD_PREP +459 drivers/firmware/qcom_scm.c 443 444 static void qcom_scm_set_download_mode(bool enable) 445 { 446 bool avail; 447 int val; 448 int ret = 0; 449 450 avail = __qcom_scm_is_call_available(__scm->dev, 451 QCOM_SCM_SVC_BOOT, 452 QCOM_SCM_BOOT_SET_DLOAD_MODE); 453 if (avail) { 454 ret = __qcom_scm_set_dload_mode(__scm->dev, enable); 455 } else if (__scm->dload_mode_addr) { 456 val = enable ? QCOM_DOWNLOAD_FULLDUMP : QCOM_DOWNLOAD_NODUMP; 457 ret = qcom_scm_io_update_field(__scm->dload_mode_addr, 458 QCOM_DOWNLOAD_MODE_MASK, > 459 FIELD_PREP(QCOM_DOWNLOAD_MODE_MASK, val)); 460 } else { 461 dev_err(__scm->dev, 462 "No available mechanism for setting download mode\n"); 463 } 464 465 if (ret) 466 dev_err(__scm->dev, "failed to set download mode: %d\n", ret); 467 } 468 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki