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 32329C433EF for ; Thu, 10 Feb 2022 07:31:12 +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:MIME-Version: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:In-Reply-To:References: List-Owner; bh=2Nme2RkK5sYwmm5M3uqEprXGYBF9fruGuNafMrIz2LE=; b=X16V0XErJ8nZOE 0HD9rgJp7K3GHE6eXQnbeSonem5PL3wFJOyH/uw963NIpdqsVjnS/a5NzpbNwcWbfhFANCj2ymS/y lLdrsJaoVK0TNbiegxY2wxQ4+7iunYI1SsgrQMwcoOG/Xxd0VKY6BQfhfgMjng5Zx9EnzChDTXte5 /apYoITDkku/viM6XwiByqLy+UI2u5g9m2rpWKQ1aV5ffT+An5ceQ/cftUy8+2Bbv1Iv95g/MRkfn MP3XkpKIcEmRxYgfK0mSoe/YZXqcWuLKwB1nSQ+XuBX596vDWzZXkkryUI44pjyJCCdnDmt8p0FAo iDACO5/3l4HJd+aSvLsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nI3tc-002sNw-EM; Thu, 10 Feb 2022 07:29:40 +0000 Received: from mga04.intel.com ([192.55.52.120]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nI3tW-002sJu-Jz for linux-arm-kernel@lists.infradead.org; Thu, 10 Feb 2022 07:29:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644478174; x=1676014174; h=date:from:to:cc:subject:message-id:mime-version; bh=N0oOmYl8q9FWmBsMO9wdlkb/CvglC4jsxBV6yQqMXZs=; b=PTe9qBm4LYM3NpvpK8PLKFebYY7CEffldYjcGXAJUQUID8qViy/cUP6a ZJe7qG6hEyGggHHG2D6bMM9ID+If+FWr3W7Tds3gRWeB+J2JAClAu0pKn RD9rtucyuNj0eWfdulN2cpXp4tgw7SsdmnLCPkjWof/SZXedHtRzy0zmV jXC06OqmNRJHxbIe9s4aH7N2yX5RA05eNmO/aGJ3n+7oosPhTd+KZYhoD pwo2oyOy00I5DJoIGuGMJgPDqlenIKjC9ttWuFkmtmv1Y65EnSILARQUa FumVuTCbc7jMWFoK3ZJfUJ5OntVJcOBMR96TdBu783HG37ERE2F7EXKmA g==; X-IronPort-AV: E=McAfee;i="6200,9189,10253"; a="248263112" X-IronPort-AV: E=Sophos;i="5.88,358,1635231600"; d="scan'208";a="248263112" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2022 23:29:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,358,1635231600"; d="scan'208";a="526368861" Received: from lkp-server01.sh.intel.com (HELO d95dc2dabeb1) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 09 Feb 2022 23:29:32 -0800 Received: from kbuild by d95dc2dabeb1 with local (Exim 4.92) (envelope-from ) id 1nI3tT-0002t1-LG; Thu, 10 Feb 2022 07:29:31 +0000 Date: Thu, 10 Feb 2022 15:29:27 +0800 From: kernel test robot To: Nava kishore Manne Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org, Michal Simek , Kalyani Akula Subject: [xilinx-xlnx:xlnx_rebase_v5.15 441/907] drivers/crypto/xilinx/zynqmp-sha.c:120:9: error: implicit declaration of function 'caches_clean_inval_user_pou' Message-ID: <202202101547.aXR0aUzu-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_232934_699632_EE86FFED X-CRM114-Status: GOOD ( 12.03 ) 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 tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15 head: 423a108a01e05e84b59a4c4885c16bf3cd8c90c7 commit: e2696a07cb200c0ca6be673ba2bc9f3e01384dc6 [441/907] crypto: zynqmp-sha: Adopted SHA3 support for ZynqMP Soc config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220210/202202101547.aXR0aUzu-lkp@intel.com/config) compiler: arceb-elf-gcc (GCC) 11.2.0 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 # https://github.com/Xilinx/linux-xlnx/commit/e2696a07cb200c0ca6be673ba2bc9f3e01384dc6 git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15 git checkout e2696a07cb200c0ca6be673ba2bc9f3e01384dc6 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot Note: the xilinx-xlnx/xlnx_rebase_v5.15 HEAD 423a108a01e05e84b59a4c4885c16bf3cd8c90c7 builds fine. It only hurts bisectability. All errors (new ones prefixed by >>): drivers/crypto/xilinx/zynqmp-sha.c: In function 'zynqmp_sha_update': >> drivers/crypto/xilinx/zynqmp-sha.c:120:9: error: implicit declaration of function 'caches_clean_inval_user_pou' [-Werror=implicit-function-declaration] 120 | caches_clean_inval_user_pou((unsigned long)kbuf, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/crypto/xilinx/zynqmp-sha.c:23: At top level: include/linux/firmware/xlnx-zynqmp.h:1227:12: warning: 'zynqmp_pm_fpga_get_feature_list' defined but not used [-Wunused-function] 1227 | static int zynqmp_pm_fpga_get_feature_list(u32 *value) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/firmware/xlnx-zynqmp.h:1222:12: warning: 'zynqmp_pm_fpga_get_version' defined but not used [-Wunused-function] 1222 | static int zynqmp_pm_fpga_get_version(u32 *value) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/firmware/xlnx-zynqmp.h:1173:12: warning: 'zynqmp_pm_sec_mask_write_reg' defined but not used [-Wunused-function] 1173 | static int zynqmp_pm_sec_mask_write_reg(const u32 node_id, const u32 offset, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/firmware/xlnx-zynqmp.h:1168:12: warning: 'zynqmp_pm_sec_read_reg' defined but not used [-Wunused-function] 1168 | static int zynqmp_pm_sec_read_reg(u32 node_id, u32 offset, u32 *ret_value) | ^~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/caches_clean_inval_user_pou +120 drivers/crypto/xilinx/zynqmp-sha.c 102 103 static int zynqmp_sha_update(struct ahash_request *req) 104 { 105 struct zynqmp_sha_ctx *tctx = crypto_tfm_ctx(req->base.tfm); 106 struct zynqmp_sha_dev *dd = tctx->dd; 107 char *kbuf; 108 size_t dma_size = req->nbytes; 109 dma_addr_t dma_addr; 110 int ret; 111 112 if (!req->nbytes) 113 return 0; 114 115 kbuf = dma_alloc_coherent(dd->dev, dma_size, &dma_addr, GFP_KERNEL); 116 if (!kbuf) 117 return -ENOMEM; 118 119 scatterwalk_map_and_copy(kbuf, req->src, 0, req->nbytes, 0); > 120 caches_clean_inval_user_pou((unsigned long)kbuf, 121 (unsigned long)kbuf + dma_size); 122 ret = zynqmp_pm_sha_hash(dma_addr, req->nbytes, ZYNQMP_SHA3_UPDATE); 123 if (ret) { 124 mutex_unlock(&zynqmp_sha.hw_engine_mutex); 125 goto end; 126 } 127 128 dma_free_coherent(dd->dev, dma_size, kbuf, dma_addr); 129 130 end: 131 return ret; 132 } 133 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel