All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Abel Vesa <abel.vesa@linaro.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH v2 4/7] soc: qcom: Make the Qualcomm UFS/SDCC ICE a dedicated driver
Date: Thu, 9 Mar 2023 04:50:43 +0800	[thread overview]
Message-ID: <202303090452.BnFbrmdA-lkp@intel.com> (raw)
In-Reply-To: <20230308155838.1094920-5-abel.vesa@linaro.org>

Hi Abel,

[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on robh/for-next]
[also build test ERROR on mkp-scsi/for-next jejb-scsi/for-next linus/master v6.3-rc1 next-20230308]
[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/Abel-Vesa/dt-bindings-soc-qcom-Add-schema-for-Inline-Crypto-Engine/20230309-000152
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link:    https://lore.kernel.org/r/20230308155838.1094920-5-abel.vesa%40linaro.org
patch subject: [RFC PATCH v2 4/7] soc: qcom: Make the Qualcomm UFS/SDCC ICE a dedicated driver
config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20230309/202303090452.BnFbrmdA-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 12.1.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/633203cb3c00e8a4fc2cb442e3ff8bc16a4a685c
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Abel-Vesa/dt-bindings-soc-qcom-Add-schema-for-Inline-Crypto-Engine/20230309-000152
        git checkout 633203cb3c00e8a4fc2cb442e3ff8bc16a4a685c
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash drivers/soc/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303090452.BnFbrmdA-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/soc/qcom/ice.c: In function 'qcom_ice_check_supported':
>> drivers/soc/qcom/ice.c:48:21: error: implicit declaration of function 'FIELD_GET' [-Werror=implicit-function-declaration]
      48 |         int major = FIELD_GET(GENMASK(31, 24), regval);
         |                     ^~~~~~~~~
   cc1: some warnings being treated as errors


vim +/FIELD_GET +48 drivers/soc/qcom/ice.c

    36	
    37	#define qcom_ice_writel(engine, val, reg)	\
    38		writel((val), (engine)->base + (reg))
    39	
    40	#define qcom_ice_readl(engine, reg)	\
    41		readl((engine)->base + (reg))
    42	
    43	/* Only one ICE instance is currently supported by HW */
    44	static bool qcom_ice_check_supported(struct qcom_ice *ice)
    45	{
    46		u32 regval = qcom_ice_readl(ice, QCOM_ICE_REG_VERSION);
    47		struct device *dev = ice->dev;
  > 48		int major = FIELD_GET(GENMASK(31, 24), regval);
    49		int minor = FIELD_GET(GENMASK(23, 16), regval);
    50		int step = FIELD_GET(GENMASK(15, 0), regval);
    51	
    52		/* For now this driver only supports ICE version 3. */
    53		if (major != 3) {
    54			dev_warn(dev, "Unsupported ICE version: v%d.%d.%d\n",
    55				 major, minor, step);
    56			return false;
    57		}
    58	
    59		dev_info(dev, "Found QC Inline Crypto Engine (ICE) v%d.%d.%d\n",
    60			 major, minor, step);
    61	
    62		/* If fuses are blown, ICE might not work in the standard way. */
    63		regval = qcom_ice_readl(ice, QCOM_ICE_REG_FUSE_SETTING);
    64		if (regval & (QCOM_ICE_FUSE_SETTING_MASK |
    65			      QCOM_ICE_FORCE_HW_KEY0_SETTING_MASK |
    66			      QCOM_ICE_FORCE_HW_KEY1_SETTING_MASK)) {
    67			dev_warn(dev, "Fuses are blown; ICE is unusable!\n");
    68			return false;
    69		}
    70	
    71		return true;
    72	}
    73	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

  parent reply	other threads:[~2023-03-08 20:51 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-08 15:58 [RFC PATCH v2 0/7] Add dedicated Qcom ICE driver Abel Vesa
2023-03-08 15:58 ` [RFC PATCH v2 1/7] dt-bindings: soc: qcom: Add schema for Inline Crypto Engine Abel Vesa
2023-03-09 10:25   ` Krzysztof Kozlowski
2023-03-08 15:58 ` [RFC PATCH v2 2/7] dt-bindings: ufs: qcom: Add ICE phandle and drop core clock Abel Vesa
2023-03-09 10:26   ` Krzysztof Kozlowski
2023-03-08 15:58 ` [RFC PATCH v2 3/7] dt-bindings: mmc: sdhci-msm: " Abel Vesa
2023-03-09 10:27   ` Krzysztof Kozlowski
2023-03-08 15:58 ` [RFC PATCH v2 4/7] soc: qcom: Make the Qualcomm UFS/SDCC ICE a dedicated driver Abel Vesa
2023-03-08 20:01   ` Eric Biggers
2023-03-08 21:44     ` Abel Vesa
2023-03-08 23:10       ` Eric Biggers
2023-03-08 20:50   ` kernel test robot [this message]
2023-03-08 15:58 ` [RFC PATCH v2 5/7] scsi: ufs: ufs-qcom: Switch to the new ICE API Abel Vesa
2023-03-09  9:10   ` kernel test robot
2023-03-08 15:58 ` [RFC PATCH v2 6/7] mmc: sdhci-msm: " Abel Vesa
2023-03-10 12:45   ` Adrian Hunter
2023-03-08 15:58 ` [RFC PATCH v2 7/7] arm64: dts: qcom: Add the Inline Crypto Engine nodes Abel Vesa
2023-03-09 10:31   ` Krzysztof Kozlowski
2023-03-09 18:31     ` Eric Biggers
2023-03-10  8:13       ` Krzysztof Kozlowski
2023-03-10  9:21         ` Abel Vesa
2023-03-10  9:27           ` Krzysztof Kozlowski
2023-03-10  9:34             ` Abel Vesa
2023-03-10  9:37               ` Krzysztof Kozlowski
2023-03-10  9:42                 ` Abel Vesa
2023-03-10 20:00         ` Eric Biggers
2023-03-08 20:03 ` [RFC PATCH v2 0/7] Add dedicated Qcom ICE driver Eric Biggers
2023-03-08 21:55   ` Abel Vesa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202303090452.BnFbrmdA-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=abel.vesa@linaro.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.