Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6354928rdb; Thu, 14 Dec 2023 16:24:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGF3egszp9pRBEZWaQ99xQRM/Vt82P5ma/OMPpmnxIDUfIjPaxhBzCRRg863rOQvOfGLr/l X-Received: by 2002:a05:6214:2262:b0:67f:4ad:d9 with SMTP id gs2-20020a056214226200b0067f04ad00d9mr3194147qvb.74.1702599899176; Thu, 14 Dec 2023 16:24:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702599899; cv=none; d=google.com; s=arc-20160816; b=0qzB/Qr+x415DbvQj2gZQSFEDIQNNUtvJ2pRJ1qBF3LodOGmlMgy2ZF7tqxd4o7KaM ZEy6k8cAD1zc0BAtJHzVMDaA5kT5eBK2zi55rMm0Zc3ni8K1rENyvDP6D1ocSvufiBSI KWvYfrihFRI6QJ8j4xSbHHZoNcDDKlGoR0zxqlobMLTd7FE489++40MOrsWwtgl3DIq9 5pr5tpsVbaNWFA18Vj0at0ocH3te7iUna2czrtDRkKoLD3JCVQxAFkg28VudS25lDjdl MQc5iZw06UYK9XiLcsjMAD7ztOLFH2dhhz2c2LHrYyfiVF0npkqtjwdaHDvc+YwVX3XW QE6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=gSHiYrr6IYM8TYQLhiKZRvILMi1E88NH2DvTmmNHgDw=; fh=xTOl8QJoLlgD++K8yVkjU42+lQtkgNvyU7rNz+Kh9a4=; b=l/tmgfgmIrp4ozMkGtMZ0cVkf8Qq5XCMLRvyQN7rx2LeEH1xjoTJvd7zaQQnTdaSfc Z1dMewOJ16z7tzhX8/+KUkQ1FYKOGIp69ZMZWkF21yy5UcPpaLzZyUb+5G6rar7zY4FW v+1JaXIOGklLDV69x6EpPnEpLibSybTL6YaPC9NG80saycGF8gPGJXQH7VS6CsrxmRQR ccKMhWTof0/lkv3BDV4rNLGiDH78y77/g1foEY90mouXIlVG3H1OA3PAb6PA+ZxG/MpY OgLMDlS9lTZx0C6GhQ3pAKih8gQIkkVEksath4ILRkTPz92MPpM9DOYQhI+gc69dd7PV OtuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Gfir7HKR; spf=pass (google.com: domain of linux-crypto+bounces-850-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-850-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m3-20020a0cbf03000000b0067ee84abca1si7247105qvi.105.2023.12.14.16.24.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 16:24:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-850-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Gfir7HKR; spf=pass (google.com: domain of linux-crypto+bounces-850-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-850-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id EA9D61C22058 for ; Fri, 15 Dec 2023 00:24:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 385A27EA; Fri, 15 Dec 2023 00:24:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Gfir7HKR" X-Original-To: linux-crypto@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 963DA7FC; Fri, 15 Dec 2023 00:24:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702599890; x=1734135890; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=EOXDnLezHvp+UiDY/7mkYoXNOd7E6rY6LHj0YTRlehI=; b=Gfir7HKRuYrwlOocCePEdyOScasIgVEOmFDOehnhdwwPtoDZ4pEP2blP 4+JE7lN9ydq5qglT/qRItdq0ciu7laK7DQg/1YvucSAxT+rBMMJ7ps7eO NSOXop0wGjZN2HjYdeLugBUWUZDCPSDBIG00J1fKpRknJTbfpMNlvlOgJ Bx9qCW0VOosrsI7fz5nmkJy3UXToc/bb50N09xGYMvwGqAdPly8sV2MIU SoLfGiABB+RtNzc+QrRlbgPlv1n+jWJSh/R1DkxWlxcvmYZ5NfJr8qqT0 DPyutxDRRpEj8h4Kz+u2RxaDhlCcH0r1Ye9cbcMR6gkChfI+Gp3UTwSyQ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10924"; a="2366456" X-IronPort-AV: E=Sophos;i="6.04,277,1695711600"; d="scan'208";a="2366456" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2023 16:24:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,277,1695711600"; d="scan'208";a="22629518" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orviesa001.jf.intel.com with ESMTP; 14 Dec 2023 16:24:45 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rDw0Q-000Mr3-1m; Fri, 15 Dec 2023 00:24:42 +0000 Date: Fri, 15 Dec 2023 08:23:56 +0800 From: kernel test robot To: Md Sadre Alam , thara.gopinath@gmail.com, herbert@gondor.apana.org.au, davem@davemloft.net, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, vkoul@kernel.org, linux-crypto@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, quic_srichara@quicinc.com, quic_varada@quicinc.com Cc: oe-kbuild-all@lists.linux.dev, quic_mdalam@quicinc.com Subject: Re: [PATCH 02/11] crypto: qce - Add bam dma support for crypto register r/w Message-ID: <202312150856.hFSqQCnr-lkp@intel.com> References: <20231214114239.2635325-3-quic_mdalam@quicinc.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231214114239.2635325-3-quic_mdalam@quicinc.com> Hi Md, kernel test robot noticed the following build errors: [auto build test ERROR on herbert-cryptodev-2.6/master] [also build test ERROR on vkoul-dmaengine/next linus/master v6.7-rc5 next-20231214] [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/Md-Sadre-Alam/crypto-qce-Add-support-for-crypto-address-read/20231214-194404 base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master patch link: https://lore.kernel.org/r/20231214114239.2635325-3-quic_mdalam%40quicinc.com patch subject: [PATCH 02/11] crypto: qce - Add bam dma support for crypto register r/w config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20231215/202312150856.hFSqQCnr-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231215/202312150856.hFSqQCnr-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/202312150856.hFSqQCnr-lkp@intel.com/ All error/warnings (new ones prefixed by >>): In file included from drivers/crypto/qce/dma.c:11: >> drivers/crypto/qce/core.h:32:31: error: field 'done_tasklet' has incomplete type 32 | struct tasklet_struct done_tasklet; | ^~~~~~~~~~~~ In file included from drivers/crypto/qce/dma.c:7: drivers/crypto/qce/dma.c: In function 'qce_dma_prep_cmd_sg': >> drivers/crypto/qce/dma.c:44:38: warning: implicit conversion from 'enum dma_transfer_direction' to 'enum dma_data_direction' [-Wenum-conversion] 44 | qce_sgl_cnt, dir)) { | ^~~ include/linux/dma-mapping.h:419:58: note: in definition of macro 'dma_map_sg' 419 | #define dma_map_sg(d, s, n, r) dma_map_sg_attrs(d, s, n, r, 0) | ^ drivers/crypto/qce/dma.c:53:66: warning: implicit conversion from 'enum dma_transfer_direction' to 'enum dma_data_direction' [-Wenum-conversion] 53 | dma_unmap_sg(qce->dev, qce_bam_sgl, qce_sgl_cnt, dir); | ^~~ include/linux/dma-mapping.h:420:62: note: in definition of macro 'dma_unmap_sg' 420 | #define dma_unmap_sg(d, s, n, r) dma_unmap_sg_attrs(d, s, n, r, 0) | ^ vim +/done_tasklet +32 drivers/crypto/qce/core.h ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 10 ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 11 /** ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 12 * struct qce_device - crypto engine device structure ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 13 * @queue: crypto request queue ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 14 * @lock: the lock protects queue and req ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 15 * @done_tasklet: done tasklet object ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 16 * @req: current active request ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 17 * @result: result of current transform ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 18 * @base: virtual IO base ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 19 * @dev: pointer to device structure ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 20 * @core: core device clock ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 21 * @iface: interface clock ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 22 * @bus: bus clock ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 23 * @dma: pointer to dma data ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 24 * @burst_size: the crypto burst size ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 25 * @pipe_pair_id: which pipe pair id the device using ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 26 * @async_req_enqueue: invoked by every algorithm to enqueue a request ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 27 * @async_req_done: invoked by every algorithm to finish its request ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 28 */ ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 29 struct qce_device { ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 30 struct crypto_queue queue; ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 31 spinlock_t lock; ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 @32 struct tasklet_struct done_tasklet; ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 33 struct crypto_async_request *req; ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 34 int result; ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 35 void __iomem *base; ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 36 struct device *dev; ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 37 struct clk *core, *iface, *bus; 694ff00c9bb387 Thara Gopinath 2023-02-22 38 struct icc_path *mem_path; ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 39 struct qce_dma_data dma; ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 40 int burst_size; ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 41 unsigned int pipe_pair_id; f666e78afa2c49 Md Sadre Alam 2023-12-14 42 dma_addr_t base_dma; 74826d774de8a8 Md Sadre Alam 2023-12-14 43 __le32 *reg_read_buf; 74826d774de8a8 Md Sadre Alam 2023-12-14 44 dma_addr_t reg_buf_phys; ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 45 int (*async_req_enqueue)(struct qce_device *qce, ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 46 struct crypto_async_request *req); ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 47 void (*async_req_done)(struct qce_device *qce, int ret); ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 48 }; ec8f5d8f6f76b9 Stanimir Varbanov 2014-06-25 49 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki