From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (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 C32152EE26C; Wed, 16 Jul 2025 22:11:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752703908; cv=none; b=cIo+wTABBwodYlwPAsGSPk9PXkhyim1tQaIXjbszTFX4BYL6uCowsYEs0dtOky9Jkqp1byopXYxslyLx3kfDwmxnK6S0eMmoNh8dUjEZxviMX5/vKZCbA5lejGPtTjaK34C/wJT1ssMLBoTxYtoaKXn5rpYwe/gkZ+ccSo17WX8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752703908; c=relaxed/simple; bh=K2LjLva9PTXchgg36uerNQg8thmeshRb0DJSmmwW18Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UwyEyYmVWHUWYawrasoqXcQ0syFaK0dV6iw+evDWCLwvEeBliRXrfGXayNp6xp5mHQWudgAGIz+iqPiKTz7SeYFlQ32szcxBJ2Q6Ol+4Mzsk7wV7giZiZAnYFIkv4xDars2B2CT5N9NdCoge+CugtddDVX0l99Rek/jy4oNqCKk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=QQKGTL5m; arc=none smtp.client-ip=198.175.65.19 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="QQKGTL5m" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1752703907; x=1784239907; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=K2LjLva9PTXchgg36uerNQg8thmeshRb0DJSmmwW18Y=; b=QQKGTL5miGKajjCw1hibh4qqm5QxsLI2Yz/ESoV16VN+CRsFGxltWmeI gFMycDxTDMKgBeBA/I3wAO617K/vpPH1HjsZBvYTDxDJocot3uqWEXDoo kSApoMg9EKM8Z4Sxw/tWpemkbAoj8peHa8VzDyZysj0rqds2i+3VrFQQN KS2itEhR0LmYnzvgV6qnzyL7+Zex7A1CjCa81s2JWxZbmY9Hc7z483Cf5 Xe0MMPjDjZRPiHe9XCO6gbkcc8Db2ZSKgny3HPzAgorsYFKtDQwIwsi5z 0ihs+hx35LGvpinmle/NEU8blGoToY1bJaKj38gltrRpC06//GXRX2b4P Q==; X-CSE-ConnectionGUID: INOvmpF1SNmFoLylsnGs5A== X-CSE-MsgGUID: +5i/eT7kR/2vI8SO9feJzw== X-IronPort-AV: E=McAfee;i="6800,10657,11493"; a="54828187" X-IronPort-AV: E=Sophos;i="6.16,316,1744095600"; d="scan'208";a="54828187" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jul 2025 15:11:46 -0700 X-CSE-ConnectionGUID: AYcx1IKVQHaPeeJolmvBMw== X-CSE-MsgGUID: cBEl46h5RLahIlUJEXaWcQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,316,1744095600"; d="scan'208";a="161934930" Received: from lkp-server01.sh.intel.com (HELO 9ee84586c615) ([10.239.97.150]) by orviesa003.jf.intel.com with ESMTP; 16 Jul 2025 15:11:43 -0700 Received: from kbuild by 9ee84586c615 with local (Exim 4.96) (envelope-from ) id 1ucALl-000Cu3-06; Wed, 16 Jul 2025 22:11:41 +0000 Date: Thu, 17 Jul 2025 06:11:22 +0800 From: kernel test robot To: Tanmay Jagdale , davem@davemloft.net, leon@kernel.org, horms@kernel.org, herbert@gondor.apana.org.au, sgoutham@marvell.com, bbhushan2@marvell.com Cc: oe-kbuild-all@lists.linux.dev, linux-crypto@vger.kernel.org, netdev@vger.kernel.org, Kiran Kumar K , Nithin Dabilpuram , Tanmay Jagdale Subject: Re: [PATCH net-next v3 06/14] octeontx2-af: Add support for SPI to SA index translation Message-ID: <202507170541.NbMPkGbC-lkp@intel.com> References: <20250711121317.340326-7-tanmay@marvell.com> Precedence: bulk X-Mailing-List: netdev@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: <20250711121317.340326-7-tanmay@marvell.com> Hi Tanmay, kernel test robot noticed the following build errors: [auto build test ERROR on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Tanmay-Jagdale/crypto-octeontx2-Share-engine-group-info-with-AF-driver/20250711-201723 base: net-next/main patch link: https://lore.kernel.org/r/20250711121317.340326-7-tanmay%40marvell.com patch subject: [PATCH net-next v3 06/14] octeontx2-af: Add support for SPI to SA index translation config: sparc-allmodconfig (https://download.01.org/0day-ci/archive/20250717/202507170541.NbMPkGbC-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250717/202507170541.NbMPkGbC-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/202507170541.NbMPkGbC-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/net/ethernet/marvell/octeontx2/af/rvu_nix_spi.c: In function 'nix_spi_to_sa_index_check_duplicate': >> drivers/net/ethernet/marvell/octeontx2/af/rvu_nix_spi.c:25:21: error: implicit declaration of function 'FIELD_GET' [-Wimplicit-function-declaration] 25 | spi_index = FIELD_GET(NIX_AF_SPI_TO_SA_SPI_INDEX_MASK, wkey); | ^~~~~~~~~ drivers/net/ethernet/marvell/octeontx2/af/rvu_nix_spi.c: In function 'nix_spi_to_sa_index_table_update': >> drivers/net/ethernet/marvell/octeontx2/af/rvu_nix_spi.c:53:16: error: implicit declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration] 53 | wkey = FIELD_PREP(NIX_AF_SPI_TO_SA_SPI_INDEX_MASK, req->spi_index); | ^~~~~~~~~~ vim +/FIELD_GET +25 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix_spi.c 9 10 static bool 11 nix_spi_to_sa_index_check_duplicate(struct rvu *rvu, 12 struct nix_spi_to_sa_add_req *req, 13 struct nix_spi_to_sa_add_rsp *rsp, 14 int blkaddr, int16_t index, u8 way, 15 bool *is_valid, int lfidx) 16 { 17 u32 spi_index; 18 u16 match_id; 19 bool valid; 20 u64 wkey; 21 u8 lfid; 22 23 wkey = rvu_read64(rvu, blkaddr, NIX_AF_SPI_TO_SA_KEYX_WAYX(index, way)); 24 > 25 spi_index = FIELD_GET(NIX_AF_SPI_TO_SA_SPI_INDEX_MASK, wkey); 26 match_id = FIELD_GET(NIX_AF_SPI_TO_SA_MATCH_ID_MASK, wkey); 27 lfid = FIELD_GET(NIX_AF_SPI_TO_SA_LFID_MASK, wkey); 28 valid = FIELD_GET(NIX_AF_SPI_TO_SA_KEYX_WAYX_VALID, wkey); 29 30 *is_valid = valid; 31 if (!valid) 32 return 0; 33 34 if (req->spi_index == spi_index && req->match_id == match_id && 35 lfidx == lfid) { 36 rsp->hash_index = index; 37 rsp->way = way; 38 rsp->is_duplicate = true; 39 return 1; 40 } 41 return 0; 42 } 43 44 static void nix_spi_to_sa_index_table_update(struct rvu *rvu, 45 struct nix_spi_to_sa_add_req *req, 46 struct nix_spi_to_sa_add_rsp *rsp, 47 int blkaddr, int16_t index, 48 u8 way, int lfidx) 49 { 50 u64 wvalue; 51 u64 wkey; 52 > 53 wkey = FIELD_PREP(NIX_AF_SPI_TO_SA_SPI_INDEX_MASK, req->spi_index); 54 wkey |= FIELD_PREP(NIX_AF_SPI_TO_SA_MATCH_ID_MASK, req->match_id); 55 wkey |= FIELD_PREP(NIX_AF_SPI_TO_SA_LFID_MASK, lfidx); 56 wkey |= FIELD_PREP(NIX_AF_SPI_TO_SA_KEYX_WAYX_VALID, req->valid); 57 58 rvu_write64(rvu, blkaddr, NIX_AF_SPI_TO_SA_KEYX_WAYX(index, way), 59 wkey); 60 wvalue = (req->sa_index & 0xFFFFFFFF); 61 rvu_write64(rvu, blkaddr, NIX_AF_SPI_TO_SA_VALUEX_WAYX(index, way), 62 wvalue); 63 rsp->hash_index = index; 64 rsp->way = way; 65 rsp->is_duplicate = false; 66 } 67 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki