Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4433854ioa; Wed, 27 Apr 2022 03:54:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6h7SP5s6CD6iLnSNy3k3Mx4ADEYKvMu7RauUtmuyywUQgoUxLlWOz6LfV58iufLGgyX+A X-Received: by 2002:a05:6a00:1596:b0:50d:4bc2:467d with SMTP id u22-20020a056a00159600b0050d4bc2467dmr11184815pfk.44.1651056887905; Wed, 27 Apr 2022 03:54:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651056887; cv=none; d=google.com; s=arc-20160816; b=JcD0U13xnUGX9xg0X3WlPPMHD6kklH3eFAksR4i1BPR4zxfjzEaPyEwJffphhcpXKG TqdLD2kCQGcgx1VsPK2A8sXFFUODsFN2hYkLQvKVQGeWkBirA5HEr52BOHXDvx4E5L6q jMI2kOh9t7BcbY1ddcnTyB/CEL0fS/mUvnfffdRA9+kvZixwCjMavIdtHlFH5JkzOWAb Fo4CHbEuYi9F32xNFjqgxwwL+h7+9k/RZtQKbTwmWRCIshYkQD0UUW1rov6GCoIZc6Yl CzpKby4+RyNmyPLUNIxMiCJ5gsni6mFFd+a5F+xwIoH2p5huTQEuOoV4VKpUhHTGj2e8 aNLg== 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=hP0lfNjdRW5eZAy2OWfxQPFk/1OfMDyvHvBrZfmBbUc=; b=FbkA/+2dmuaoXz6B2Ik6Dw6OHZheVmDLN5D+wW9TtfrdeUBCQPVCefrxMwVbjElPDZ jheg/HH8g9nP8dtLpbM2w3miAjyQ38a8UPovVaeGaT9wl+jSNBTu7C+eCPtohySR0071 8QpG0JtSJqgNYH8vEr6OV5AqpBlEYu9aLsu93LynIvWHkErDlID8Tk2RjgD1/TvzAhUz +Lm0CPcis7fTeis5Qqk4EuA7X0SKPUIfk6kE4htgap8phoIbXJR1s08fi1uGgCgOiHRF HEuYHk1O3I0zkVg55af2WrZGEuzhYLtf2AUo9Dx+e9tgRvOQGSlrZEGn9fsEOjFO0jS4 9SKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="T1/+NNYl"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id c21-20020a621c15000000b004faa79d798bsi973737pfc.27.2022.04.27.03.54.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 03:54:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="T1/+NNYl"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 55ACE579B1; Wed, 27 Apr 2022 03:00:04 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230268AbiD0DSh (ORCPT + 99 others); Tue, 26 Apr 2022 23:18:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244309AbiD0DSc (ORCPT ); Tue, 26 Apr 2022 23:18:32 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B156413F1B for ; Tue, 26 Apr 2022 20:15:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651029322; x=1682565322; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=CxNPtwgYBw9B+jGMjd8TzcClQe20UzJJk/iZIJUCvkA=; b=T1/+NNYl3TupKWHfDxYc1OdWH+mtzjIZ2LSakVck70Dm6OaGa34qahjj FJj3wkx8DWKLZzSZYLm7gaGmgTYT5KlNmVPtMii9+HtiypZQX9I6j2lt5 vs3K4DwQXBVe2ra4GioHlTA+55zp/4oqSHOh9nrIbPkWAvcGFPSjXju82 804NvHiVjPPpwfqn6vTmg4HQWRVX+hxwvfAqDpF7LHs/J9hGGOl2ddYxn 0vmfmLvLM1Y89Eydia4VNZ7W7bdivDvThiJnfpuC69hVRs7XUqkHr4i4Y TQQyOOdVe3HlFMCuyyK4zILgFfy3wxaUKYh56A87lVWAQiNrRJNfz44S3 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10329"; a="290946729" X-IronPort-AV: E=Sophos;i="5.90,292,1643702400"; d="scan'208";a="290946729" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2022 20:15:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,292,1643702400"; d="scan'208";a="650498542" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 26 Apr 2022 20:15:21 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1njY9A-0004GE-OX; Wed, 27 Apr 2022 03:15:20 +0000 Date: Wed, 27 Apr 2022 11:14:54 +0800 From: kernel test robot To: Herbert Xu , Linux Crypto Mailing List Cc: kbuild-all@lists.01.org Subject: Re: [PATCH] hwrng: cn10k - Enable compile testing Message-ID: <202204271119.5APX0rdl-lkp@intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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-crypto@vger.kernel.org Hi Herbert, I love your patch! Yet something to improve: [auto build test ERROR on char-misc/char-misc-testing] [also build test ERROR on herbert-cryptodev-2.6/master v5.18-rc4 next-20220426] [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/Herbert-Xu/hwrng-cn10k-Enable-compile-testing/20220421-181432 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git c50c29a806113614098efd8da9fd7b48d605ba45 config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220427/202204271119.5APX0rdl-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/intel-lab-lkp/linux/commit/c804fd47b3fa542852a8cbd9c76ded8a43d32a90 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Herbert-Xu/hwrng-cn10k-Enable-compile-testing/20220421-181432 git checkout c804fd47b3fa542852a8cbd9c76ded8a43d32a90 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/char/hw_random/cn10k-rng.c: In function 'check_rng_health': >> drivers/char/hw_random/cn10k-rng.c:55:18: error: implicit declaration of function 'readq'; did you mean 'readb'? [-Werror=implicit-function-declaration] 55 | status = readq(rng->reg_base + RNM_PF_EBG_HEALTH); | ^~~~~ | readb cc1: some warnings being treated as errors vim +55 drivers/char/hw_random/cn10k-rng.c 38e9791a0209041 Sunil Goutham 2021-12-14 45 38e9791a0209041 Sunil Goutham 2021-12-14 46 static int check_rng_health(struct cn10k_rng *rng) 38e9791a0209041 Sunil Goutham 2021-12-14 47 { 38e9791a0209041 Sunil Goutham 2021-12-14 48 u64 status; 38e9791a0209041 Sunil Goutham 2021-12-14 49 int err; 38e9791a0209041 Sunil Goutham 2021-12-14 50 38e9791a0209041 Sunil Goutham 2021-12-14 51 /* Skip checking health */ 38e9791a0209041 Sunil Goutham 2021-12-14 52 if (!rng->reg_base) 38e9791a0209041 Sunil Goutham 2021-12-14 53 return 0; 38e9791a0209041 Sunil Goutham 2021-12-14 54 38e9791a0209041 Sunil Goutham 2021-12-14 @55 status = readq(rng->reg_base + RNM_PF_EBG_HEALTH); 38e9791a0209041 Sunil Goutham 2021-12-14 56 if (status & BIT_ULL(20)) { 38e9791a0209041 Sunil Goutham 2021-12-14 57 err = reset_rng_health_state(rng); 38e9791a0209041 Sunil Goutham 2021-12-14 58 if (err) { 38e9791a0209041 Sunil Goutham 2021-12-14 59 dev_err(&rng->pdev->dev, "HWRNG: Health test failed (status=%llx)\n", 38e9791a0209041 Sunil Goutham 2021-12-14 60 status); 38e9791a0209041 Sunil Goutham 2021-12-14 61 dev_err(&rng->pdev->dev, "HWRNG: error during reset\n"); 38e9791a0209041 Sunil Goutham 2021-12-14 62 } 38e9791a0209041 Sunil Goutham 2021-12-14 63 } 38e9791a0209041 Sunil Goutham 2021-12-14 64 return 0; 38e9791a0209041 Sunil Goutham 2021-12-14 65 } 38e9791a0209041 Sunil Goutham 2021-12-14 66 -- 0-DAY CI Kernel Test Service https://01.org/lkp