From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) (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 363A81FA5; Sat, 30 Mar 2024 03:58:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711771105; cv=none; b=D2PdiZ/09NEE8cGVeYaLKwoto5aEQcqaLiH0K3zG9aSRDicNdfTR9Y4Wu1p0DSI/Yuf7M6W6cdSHce09pCvQyV7Q4opTnfnjM5EsSHx/9mn5D5JuEG/ROD6TNmjR5XuNqODX8xBvFUJscGY79+kQ8M6sGWpX3ls/bfkTlxBdJfw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711771105; c=relaxed/simple; bh=+1r0KuPuLBo2r548nWnxoAcgxrG2gmAGvuQwZou/czA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Kwq2obNbkGGvNfdoVg1gaKR/vHN/hmaq8/zNIMcqUBK//IzeYDU/HyROUFlRC60YBvnMlbV4jVc8NNN2h28eKMusY3smJ9MXnAItUF9WE+b+vS689CwTVwwLIT+f9o46ZVbkPokRsQWvYtvsrmK9T9gNj8OsPcrzO/An8T/t1+c= 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=Emfy5Sqo; arc=none smtp.client-ip=192.198.163.7 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="Emfy5Sqo" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711771102; x=1743307102; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=+1r0KuPuLBo2r548nWnxoAcgxrG2gmAGvuQwZou/czA=; b=Emfy5SqoQSrjQrk8Qkp3SjXVExlOrmi0YaPbnXG8tzKV8EcgbLU0teLY /SozqdZqJnYcRHTKyiNzx3nOx6sfk3o7z1jH3fHPpoPBHXsbGppbm8GKh CULIaFUkybhVvzNDJ0sXWjfZqrW+bCBUlxsD/ednK1r0yKN3sGpt6oQak GxUSsEBsR8i/10y4Ps8qNpjuIwbjimDPqyV3vYjngO1jLgiUty0xeyUHT 2IYIHfmcLLF/OvpEkUPFQ/hRMGJumKP9z8jzyC36eeJo/jk3v7ixV1S46 ojXxNXa4gCoAEuhPXStfv88qXq5/uqt+lowp/TN8nwQjiUilKtOkCoSGE Q==; X-CSE-ConnectionGUID: WFS1oBizQ4ugaK52YWbJCQ== X-CSE-MsgGUID: h3+y6xDfRDOMG1vTJ2hBRg== X-IronPort-AV: E=McAfee;i="6600,9927,11028"; a="32370308" X-IronPort-AV: E=Sophos;i="6.07,166,1708416000"; d="scan'208";a="32370308" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2024 20:58:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,166,1708416000"; d="scan'208";a="17213261" Received: from lkp-server01.sh.intel.com (HELO be39aa325d23) ([10.239.97.150]) by fmviesa009.fm.intel.com with ESMTP; 29 Mar 2024 20:58:18 -0700 Received: from kbuild by be39aa325d23 with local (Exim 4.96) (envelope-from ) id 1rqPrD-0003vk-37; Sat, 30 Mar 2024 03:58:15 +0000 Date: Sat, 30 Mar 2024 11:57:34 +0800 From: kernel test robot To: Richard Zhu , vkoul@kernel.org, kishon@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, frank.li@nxp.com Cc: oe-kbuild-all@lists.linux.dev, hongxing.zhu@nxp.com, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, linux-imx@nxp.com Subject: Re: [PATCH v1 3/3] phy: freescale: imx8q-hsio: Add i.MX8Q HSIO PHY driver support Message-ID: <202403301157.mPlhQUdz-lkp@intel.com> References: <1711699790-16494-4-git-send-email-hongxing.zhu@nxp.com> Precedence: bulk X-Mailing-List: linux-kernel@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: <1711699790-16494-4-git-send-email-hongxing.zhu@nxp.com> Hi Richard, kernel test robot noticed the following build errors: [auto build test ERROR on robh/for-next] [also build test ERROR on linus/master v6.9-rc1 next-20240328] [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/Richard-Zhu/dt-bindings-phy-Add-i-MX8Q-HSIO-SerDes-PHY-binding/20240329-162937 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/1711699790-16494-4-git-send-email-hongxing.zhu%40nxp.com patch subject: [PATCH v1 3/3] phy: freescale: imx8q-hsio: Add i.MX8Q HSIO PHY driver support config: powerpc64-randconfig-r062-20240330 (https://download.01.org/0day-ci/archive/20240330/202403301157.mPlhQUdz-lkp@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 79ba323bdd0843275019e16b6e9b35133677c514) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240330/202403301157.mPlhQUdz-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/202403301157.mPlhQUdz-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/phy/freescale/phy-fsl-imx8q-hsio.c:8: In file included from include/linux/io.h:13: In file included from arch/powerpc/include/asm/io.h:24: In file included from include/linux/mm.h:2208: include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ >> drivers/phy/freescale/phy-fsl-imx8q-hsio.c:367:8: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 367 | val = FIELD_PREP(MODE_MASK, val); | ^ 1 warning and 1 error generated. vim +/FIELD_PREP +367 drivers/phy/freescale/phy-fsl-imx8q-hsio.c 355 356 static int imx8q_hsio_set_mode(struct phy *phy, enum phy_mode mode, 357 int submode) 358 { 359 u32 val; 360 struct imx8q_hsio_lane *lane = phy_get_drvdata(phy); 361 struct imx8q_hsio_priv *priv = lane->priv; 362 363 if (lane->lane_mode != mode) 364 return -EINVAL; 365 366 val = (mode == PHY_MODE_PCIE) ? MODE_PCIE : MODE_SATA; > 367 val = FIELD_PREP(MODE_MASK, val); 368 regmap_update_bits(priv->phy, lane->phy_off + CTRL0, MODE_MASK, val); 369 370 switch (submode) { 371 case PHY_MODE_PCIE_RC: 372 val = FIELD_PREP(DEVICE_TYPE_MASK, PCI_EXP_TYPE_ROOT_PORT); 373 break; 374 case PHY_MODE_PCIE_EP: 375 val = FIELD_PREP(DEVICE_TYPE_MASK, PCI_EXP_TYPE_ENDPOINT); 376 break; 377 default: /* Support only PCIe EP and RC now. */ 378 return 0; 379 } 380 if (submode) 381 regmap_update_bits(priv->ctrl, lane->ctrl_off + CTRL0, 382 DEVICE_TYPE_MASK, val); 383 384 return 0; 385 } 386 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki 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 1044BC6FD1F for ; Sat, 30 Mar 2024 03:58:42 +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:In-Reply-To:MIME-Version:References: 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: List-Owner; bh=Do8BTZjdR8tu+m0+ctydqFQ9ZQowNBT5lN6pE0uoQA0=; b=mKfkq9x7P/AtMp GEoLMtosHm5sh15Tw+AEnFne/RCFnREdObnMIx/SwetwluHhpp70IGz/mq2o998SzhoyTChcu6wAh QYDYeZMiAeMAG+bV8ICGiYpVFl2YpnKAv6tB4sdxo96Dn3bbFXNi8BAosxJ+ihwMQYOO/zEtUOZn8 pG46FV5ozQ61CSCatIr2W/V4FLWFSUhQpz8wmAQCRJooqlJhFM7P22NTVdWfCM2wUYPF+n5cE+pOv l1fyK4564Jffe3jHjrV1afwJ2XQNu5IwrW1boYpoaHu6CYiHUbY9bMs1Kt3EKt5hVnI+Tat/uzCss 0dE9gNSwg6XomqwnkHCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqPrR-00000002hXe-2q2L; Sat, 30 Mar 2024 03:58:29 +0000 Received: from mgamail.intel.com ([192.198.163.7]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqPrN-00000002hWs-2MvE; Sat, 30 Mar 2024 03:58:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711771105; x=1743307105; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=+1r0KuPuLBo2r548nWnxoAcgxrG2gmAGvuQwZou/czA=; b=gTe3K77ST8XnYZbEUQlD7KSISpP4gZJ5fxYoRUt0frc+M1v3cE/ffWuF AAReRBk0qVI26/2zwJHHyY5+XEjgdNBmYgBFtx/S5+NSwTAX/xAjYCn7X ugaE37kG4KSPXU0IGYQXRwVqTqjYVJ57ypKj01ffOOoqoEjQmmTCvKCtG 8WuKpxp+6YvJe73sQbJlAOMTAU9wWv2dj/ba7G1tAYiFylu259PBDwfq4 goEht421UJT9XyVxoPJodVQUlLuf6YOEtkVHoXFQ4SYPIh61/LtNXAi+G 6g6WTgFS3jN4TM/TgEGHWApfdFqKZtBdtIRNv+X8h/BHT1rObKMxw5ine w==; X-CSE-ConnectionGUID: Tc4j8jsaSu2nL6Cp9LNyIA== X-CSE-MsgGUID: 5wyIUcXNSVCr2r2X4yqQZw== X-IronPort-AV: E=McAfee;i="6600,9927,11028"; a="32370311" X-IronPort-AV: E=Sophos;i="6.07,166,1708416000"; d="scan'208";a="32370311" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2024 20:58:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,166,1708416000"; d="scan'208";a="17213261" Received: from lkp-server01.sh.intel.com (HELO be39aa325d23) ([10.239.97.150]) by fmviesa009.fm.intel.com with ESMTP; 29 Mar 2024 20:58:18 -0700 Received: from kbuild by be39aa325d23 with local (Exim 4.96) (envelope-from ) id 1rqPrD-0003vk-37; Sat, 30 Mar 2024 03:58:15 +0000 Date: Sat, 30 Mar 2024 11:57:34 +0800 From: kernel test robot To: Richard Zhu , vkoul@kernel.org, kishon@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, frank.li@nxp.com Cc: oe-kbuild-all@lists.linux.dev, hongxing.zhu@nxp.com, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, linux-imx@nxp.com Subject: Re: [PATCH v1 3/3] phy: freescale: imx8q-hsio: Add i.MX8Q HSIO PHY driver support Message-ID: <202403301157.mPlhQUdz-lkp@intel.com> References: <1711699790-16494-4-git-send-email-hongxing.zhu@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1711699790-16494-4-git-send-email-hongxing.zhu@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240329_205825_852457_9A064074 X-CRM114-Status: GOOD ( 13.09 ) 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 Hi Richard, kernel test robot noticed the following build errors: [auto build test ERROR on robh/for-next] [also build test ERROR on linus/master v6.9-rc1 next-20240328] [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/Richard-Zhu/dt-bindings-phy-Add-i-MX8Q-HSIO-SerDes-PHY-binding/20240329-162937 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/1711699790-16494-4-git-send-email-hongxing.zhu%40nxp.com patch subject: [PATCH v1 3/3] phy: freescale: imx8q-hsio: Add i.MX8Q HSIO PHY driver support config: powerpc64-randconfig-r062-20240330 (https://download.01.org/0day-ci/archive/20240330/202403301157.mPlhQUdz-lkp@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 79ba323bdd0843275019e16b6e9b35133677c514) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240330/202403301157.mPlhQUdz-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/202403301157.mPlhQUdz-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/phy/freescale/phy-fsl-imx8q-hsio.c:8: In file included from include/linux/io.h:13: In file included from arch/powerpc/include/asm/io.h:24: In file included from include/linux/mm.h:2208: include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ >> drivers/phy/freescale/phy-fsl-imx8q-hsio.c:367:8: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 367 | val = FIELD_PREP(MODE_MASK, val); | ^ 1 warning and 1 error generated. vim +/FIELD_PREP +367 drivers/phy/freescale/phy-fsl-imx8q-hsio.c 355 356 static int imx8q_hsio_set_mode(struct phy *phy, enum phy_mode mode, 357 int submode) 358 { 359 u32 val; 360 struct imx8q_hsio_lane *lane = phy_get_drvdata(phy); 361 struct imx8q_hsio_priv *priv = lane->priv; 362 363 if (lane->lane_mode != mode) 364 return -EINVAL; 365 366 val = (mode == PHY_MODE_PCIE) ? MODE_PCIE : MODE_SATA; > 367 val = FIELD_PREP(MODE_MASK, val); 368 regmap_update_bits(priv->phy, lane->phy_off + CTRL0, MODE_MASK, val); 369 370 switch (submode) { 371 case PHY_MODE_PCIE_RC: 372 val = FIELD_PREP(DEVICE_TYPE_MASK, PCI_EXP_TYPE_ROOT_PORT); 373 break; 374 case PHY_MODE_PCIE_EP: 375 val = FIELD_PREP(DEVICE_TYPE_MASK, PCI_EXP_TYPE_ENDPOINT); 376 break; 377 default: /* Support only PCIe EP and RC now. */ 378 return 0; 379 } 380 if (submode) 381 regmap_update_bits(priv->ctrl, lane->ctrl_off + CTRL0, 382 DEVICE_TYPE_MASK, val); 383 384 return 0; 385 } 386 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 BC9CEC6FD1F for ; Sat, 30 Mar 2024 03:58:28 +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:In-Reply-To:MIME-Version:References: 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: List-Owner; bh=QZYzQphpkYkqD7568ol5FpOBcS+oPZfl8/tCmOB3MXI=; b=FNMBRIbLCY37O+ 2yvSs5T4jBdzGuL9eeWsYaSyMa2vUxpZrLlZdt6WJXqU4Genb994P4YUzSWxfwitmrYaKBEQgulyT LSFteO6Hpi1EKenZtZlPSDOee8IUYiUSfKDu3Om1jxeKSm5IvBLt/OtOB6g1OTYaUkxU7dV57upEv 4XwUUJ8+FzIdxYtAPJatkw9zLuYwBzLIyhYQfw8hwkiTW8sxt5NAI0BB3VJUzMJSrQai73u4iUBPl aeerl1PnoOxnlbGhegKf4f7kMTtWVX21T72B8EH/g3wnPuYVn81+xaP8tJaE5cb0gdTBEnPVBnyzw pFFyNnc2DrAqepLvl55w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqPrQ-00000002hXL-15lx; Sat, 30 Mar 2024 03:58:28 +0000 Received: from mgamail.intel.com ([192.198.163.7]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqPrN-00000002hWs-2MvE; Sat, 30 Mar 2024 03:58:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711771105; x=1743307105; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=+1r0KuPuLBo2r548nWnxoAcgxrG2gmAGvuQwZou/czA=; b=gTe3K77ST8XnYZbEUQlD7KSISpP4gZJ5fxYoRUt0frc+M1v3cE/ffWuF AAReRBk0qVI26/2zwJHHyY5+XEjgdNBmYgBFtx/S5+NSwTAX/xAjYCn7X ugaE37kG4KSPXU0IGYQXRwVqTqjYVJ57ypKj01ffOOoqoEjQmmTCvKCtG 8WuKpxp+6YvJe73sQbJlAOMTAU9wWv2dj/ba7G1tAYiFylu259PBDwfq4 goEht421UJT9XyVxoPJodVQUlLuf6YOEtkVHoXFQ4SYPIh61/LtNXAi+G 6g6WTgFS3jN4TM/TgEGHWApfdFqKZtBdtIRNv+X8h/BHT1rObKMxw5ine w==; X-CSE-ConnectionGUID: Tc4j8jsaSu2nL6Cp9LNyIA== X-CSE-MsgGUID: 5wyIUcXNSVCr2r2X4yqQZw== X-IronPort-AV: E=McAfee;i="6600,9927,11028"; a="32370311" X-IronPort-AV: E=Sophos;i="6.07,166,1708416000"; d="scan'208";a="32370311" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2024 20:58:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,166,1708416000"; d="scan'208";a="17213261" Received: from lkp-server01.sh.intel.com (HELO be39aa325d23) ([10.239.97.150]) by fmviesa009.fm.intel.com with ESMTP; 29 Mar 2024 20:58:18 -0700 Received: from kbuild by be39aa325d23 with local (Exim 4.96) (envelope-from ) id 1rqPrD-0003vk-37; Sat, 30 Mar 2024 03:58:15 +0000 Date: Sat, 30 Mar 2024 11:57:34 +0800 From: kernel test robot To: Richard Zhu , vkoul@kernel.org, kishon@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, frank.li@nxp.com Cc: oe-kbuild-all@lists.linux.dev, hongxing.zhu@nxp.com, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, linux-imx@nxp.com Subject: Re: [PATCH v1 3/3] phy: freescale: imx8q-hsio: Add i.MX8Q HSIO PHY driver support Message-ID: <202403301157.mPlhQUdz-lkp@intel.com> References: <1711699790-16494-4-git-send-email-hongxing.zhu@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1711699790-16494-4-git-send-email-hongxing.zhu@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240329_205825_852457_9A064074 X-CRM114-Status: GOOD ( 13.09 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Hi Richard, kernel test robot noticed the following build errors: [auto build test ERROR on robh/for-next] [also build test ERROR on linus/master v6.9-rc1 next-20240328] [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/Richard-Zhu/dt-bindings-phy-Add-i-MX8Q-HSIO-SerDes-PHY-binding/20240329-162937 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/1711699790-16494-4-git-send-email-hongxing.zhu%40nxp.com patch subject: [PATCH v1 3/3] phy: freescale: imx8q-hsio: Add i.MX8Q HSIO PHY driver support config: powerpc64-randconfig-r062-20240330 (https://download.01.org/0day-ci/archive/20240330/202403301157.mPlhQUdz-lkp@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 79ba323bdd0843275019e16b6e9b35133677c514) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240330/202403301157.mPlhQUdz-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/202403301157.mPlhQUdz-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/phy/freescale/phy-fsl-imx8q-hsio.c:8: In file included from include/linux/io.h:13: In file included from arch/powerpc/include/asm/io.h:24: In file included from include/linux/mm.h:2208: include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ >> drivers/phy/freescale/phy-fsl-imx8q-hsio.c:367:8: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 367 | val = FIELD_PREP(MODE_MASK, val); | ^ 1 warning and 1 error generated. vim +/FIELD_PREP +367 drivers/phy/freescale/phy-fsl-imx8q-hsio.c 355 356 static int imx8q_hsio_set_mode(struct phy *phy, enum phy_mode mode, 357 int submode) 358 { 359 u32 val; 360 struct imx8q_hsio_lane *lane = phy_get_drvdata(phy); 361 struct imx8q_hsio_priv *priv = lane->priv; 362 363 if (lane->lane_mode != mode) 364 return -EINVAL; 365 366 val = (mode == PHY_MODE_PCIE) ? MODE_PCIE : MODE_SATA; > 367 val = FIELD_PREP(MODE_MASK, val); 368 regmap_update_bits(priv->phy, lane->phy_off + CTRL0, MODE_MASK, val); 369 370 switch (submode) { 371 case PHY_MODE_PCIE_RC: 372 val = FIELD_PREP(DEVICE_TYPE_MASK, PCI_EXP_TYPE_ROOT_PORT); 373 break; 374 case PHY_MODE_PCIE_EP: 375 val = FIELD_PREP(DEVICE_TYPE_MASK, PCI_EXP_TYPE_ENDPOINT); 376 break; 377 default: /* Support only PCIe EP and RC now. */ 378 return 0; 379 } 380 if (submode) 381 regmap_update_bits(priv->ctrl, lane->ctrl_off + CTRL0, 382 DEVICE_TYPE_MASK, val); 383 384 return 0; 385 } 386 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy