From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) (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 9AF9323BF0 for ; Fri, 21 Jul 2023 20:31:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689971486; x=1721507486; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=xych12fXAllQmfKXQOtduucuGRdzVWia+wDdseBLe4E=; b=PDfOfxjioxfxKPyAAPpyAtz9YU/ZwvwcaODR3q2mO1lMsiHgeBNcx7a/ 6CUxWMW5vGe28pKEmApkvkN6XFSRsYme8Dxb382miXSO7WSJziAVxZEss egaB6l2txffrXA9ErRlXYoldB5IS7dpeQzzWFo8m382+mRZoBb/YdjtOX jmf1hFVR3Z1I1wAeLAs7CwE4M530oDdk6wrn6S2u4Tzy5vT6rjIrWcTKp TlI5FEb2TTWZ+M9F4/GLuvHUXehEixjgBBbpNXQqhMMht9bptzJ0LHU/O OlLTwoyKgxICgbak8OYCfkkuAk5Oc727DWdVbm/msz/j3m3NCceTMCjqW Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10778"; a="430905730" X-IronPort-AV: E=Sophos;i="6.01,222,1684825200"; d="scan'208";a="430905730" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2023 13:31:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10778"; a="728224177" X-IronPort-AV: E=Sophos;i="6.01,222,1684825200"; d="scan'208";a="728224177" Received: from lkp-server02.sh.intel.com (HELO 36946fcf73d7) ([10.239.97.151]) by fmsmga007.fm.intel.com with ESMTP; 21 Jul 2023 13:31:21 -0700 Received: from kbuild by 36946fcf73d7 with local (Exim 4.96) (envelope-from ) id 1qMwmW-0007dx-0p; Fri, 21 Jul 2023 20:31:20 +0000 Date: Sat, 22 Jul 2023 04:31:17 +0800 From: kernel test robot To: Marco Felsch , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, mcoquelin.stm32@gmail.com Cc: oe-kbuild-all@lists.linux.dev, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH net-next v3 2/2] net: stmmac: add support for phy-supply Message-ID: <202307220459.2gaQtSqH-lkp@intel.com> References: <20230720072304.3358701-2-m.felsch@pengutronix.de> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230720072304.3358701-2-m.felsch@pengutronix.de> Hi Marco, 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/Marco-Felsch/net-stmmac-add-support-for-phy-supply/20230720-152642 base: net-next/main patch link: https://lore.kernel.org/r/20230720072304.3358701-2-m.felsch%40pengutronix.de patch subject: [PATCH net-next v3 2/2] net: stmmac: add support for phy-supply config: x86_64-kexec (https://download.01.org/0day-ci/archive/20230722/202307220459.2gaQtSqH-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce: (https://download.01.org/0day-ci/archive/20230722/202307220459.2gaQtSqH-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/202307220459.2gaQtSqH-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/net/ethernet/stmicro/stmmac/stmmac_main.c: In function 'stmmac_suspend': >> drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:7706:32: error: 'struct plat_stmmacenet_data' has no member named 'use_phy_wol' 7706 | if (!priv->plat->use_phy_wol) | ^~ drivers/net/ethernet/stmicro/stmmac/stmmac_main.c: In function 'stmmac_resume': drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:7790:32: error: 'struct plat_stmmacenet_data' has no member named 'use_phy_wol' 7790 | if (!priv->plat->use_phy_wol) | ^~ vim +7706 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 7651 7652 /** 7653 * stmmac_suspend - suspend callback 7654 * @dev: device pointer 7655 * Description: this is the function to suspend the device and it is called 7656 * by the platform driver to stop the network queue, release the resources, 7657 * program the PMT register (for WoL), clean and release driver resources. 7658 */ 7659 int stmmac_suspend(struct device *dev) 7660 { 7661 struct net_device *ndev = dev_get_drvdata(dev); 7662 struct stmmac_priv *priv = netdev_priv(ndev); 7663 u32 chan; 7664 7665 if (!ndev || !netif_running(ndev)) 7666 return 0; 7667 7668 mutex_lock(&priv->lock); 7669 7670 netif_device_detach(ndev); 7671 7672 stmmac_disable_all_queues(priv); 7673 7674 for (chan = 0; chan < priv->plat->tx_queues_to_use; chan++) 7675 hrtimer_cancel(&priv->dma_conf.tx_queue[chan].txtimer); 7676 7677 if (priv->eee_enabled) { 7678 priv->tx_path_in_lpi_mode = false; 7679 del_timer_sync(&priv->eee_ctrl_timer); 7680 } 7681 7682 /* Stop TX/RX DMA */ 7683 stmmac_stop_all_dma(priv); 7684 7685 if (priv->plat->serdes_powerdown) 7686 priv->plat->serdes_powerdown(ndev, priv->plat->bsp_priv); 7687 7688 /* Enable Power down mode by programming the PMT regs */ 7689 if (device_may_wakeup(priv->device) && priv->plat->pmt) { 7690 stmmac_pmt(priv, priv->hw, priv->wolopts); 7691 priv->irq_wake = 1; 7692 } else { 7693 stmmac_mac_set(priv, priv->ioaddr, false); 7694 pinctrl_pm_select_sleep_state(priv->device); 7695 } 7696 7697 mutex_unlock(&priv->lock); 7698 7699 rtnl_lock(); 7700 if (device_may_wakeup(priv->device) && priv->plat->pmt) { 7701 phylink_suspend(priv->phylink, true); 7702 } else { 7703 if (device_may_wakeup(priv->device)) 7704 phylink_speed_down(priv->phylink, false); 7705 phylink_suspend(priv->phylink, false); > 7706 if (!priv->plat->use_phy_wol) 7707 stmmac_phy_power_off(priv); 7708 } 7709 rtnl_unlock(); 7710 7711 if (priv->dma_cap.fpesel) { 7712 /* Disable FPE */ 7713 stmmac_fpe_configure(priv, priv->ioaddr, 7714 priv->plat->tx_queues_to_use, 7715 priv->plat->rx_queues_to_use, false); 7716 7717 stmmac_fpe_handshake(priv, false); 7718 stmmac_fpe_stop_wq(priv); 7719 } 7720 7721 priv->speed = SPEED_UNKNOWN; 7722 return 0; 7723 } 7724 EXPORT_SYMBOL_GPL(stmmac_suspend); 7725 -- 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 9D6E4C001DE for ; Fri, 21 Jul 2023 20:31:52 +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=R90+n5kqfLoh2UOAYItRviM598Tb4NGeRTH153JHiRM=; b=vzpQTLcZ2THxvM 506zEk0kXyFlo7JKrYmIXCC4nRqdisw2dcQ/gVbRjUN6rEweS2P/p1nIuh+udxjh2ox+vvPvflC/6 wcRWhomJZHZj0JQm3vzl2v0/SszkxkMHedGh/AvXVtKqYNYgN1OTwo8mgQD38fRL2y4LymTzS1gts qxr9ayY1/xqTICpk+zUTIIuobG9I6IA2ezL8EbN/Z9EtezWHTlmLfsjaHlAts7UEvvTuUU6PFAJgt ACTeFACccHCd+U31IT/0xR1e/SL200jDUQhZcpN/Aw2hSJwEh+rgLxlxbZ/4A56l9DVdVXi/PlHUp zWrrNOmZBmhLrjQp6CLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qMwmk-00F3Zu-0L; Fri, 21 Jul 2023 20:31:34 +0000 Received: from mga06b.intel.com ([134.134.136.31] helo=mga06.intel.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qMwmg-00F3ZB-3C for linux-arm-kernel@lists.infradead.org; Fri, 21 Jul 2023 20:31:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689971490; x=1721507490; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=xych12fXAllQmfKXQOtduucuGRdzVWia+wDdseBLe4E=; b=Ry6s/klUZnGySRvgVFxoaUK98F98AEiODEf7cO2CMsn09X8fiVBrbkUB TYeQMEdTWQLU54IUKWAX6wO7tJJ6WJa05mYTA2yB/7o1k8/gdLkhPOZT+ DUESgevgdCSbKsHoUt9wYoCPHr/uBAsx6uooiJ5wyYilxhwuEfKCM9Qjd 2cau0vLuR2C48yb9m9G66r9hFxRB2nUje4WwYkhjgd2qIER/tsgrASZ8r iyNmBU3rkjqS6TZDm/Hy+69fGEpRDykIIVR86GnBipua4H3I4p2D1fIt6 9BI1YxreXFjw7J0TskL4W4TLl7zlVEZIXUpAPTyHwZjDZUr41MlWzQqIk A==; X-IronPort-AV: E=McAfee;i="6600,9927,10778"; a="430905739" X-IronPort-AV: E=Sophos;i="6.01,222,1684825200"; d="scan'208";a="430905739" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2023 13:31:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10778"; a="728224177" X-IronPort-AV: E=Sophos;i="6.01,222,1684825200"; d="scan'208";a="728224177" Received: from lkp-server02.sh.intel.com (HELO 36946fcf73d7) ([10.239.97.151]) by fmsmga007.fm.intel.com with ESMTP; 21 Jul 2023 13:31:21 -0700 Received: from kbuild by 36946fcf73d7 with local (Exim 4.96) (envelope-from ) id 1qMwmW-0007dx-0p; Fri, 21 Jul 2023 20:31:20 +0000 Date: Sat, 22 Jul 2023 04:31:17 +0800 From: kernel test robot To: Marco Felsch , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, mcoquelin.stm32@gmail.com Cc: oe-kbuild-all@lists.linux.dev, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH net-next v3 2/2] net: stmmac: add support for phy-supply Message-ID: <202307220459.2gaQtSqH-lkp@intel.com> References: <20230720072304.3358701-2-m.felsch@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230720072304.3358701-2-m.felsch@pengutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230721_133131_087196_B73E04AA X-CRM114-Status: GOOD ( 14.54 ) 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 Marco, 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/Marco-Felsch/net-stmmac-add-support-for-phy-supply/20230720-152642 base: net-next/main patch link: https://lore.kernel.org/r/20230720072304.3358701-2-m.felsch%40pengutronix.de patch subject: [PATCH net-next v3 2/2] net: stmmac: add support for phy-supply config: x86_64-kexec (https://download.01.org/0day-ci/archive/20230722/202307220459.2gaQtSqH-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce: (https://download.01.org/0day-ci/archive/20230722/202307220459.2gaQtSqH-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/202307220459.2gaQtSqH-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/net/ethernet/stmicro/stmmac/stmmac_main.c: In function 'stmmac_suspend': >> drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:7706:32: error: 'struct plat_stmmacenet_data' has no member named 'use_phy_wol' 7706 | if (!priv->plat->use_phy_wol) | ^~ drivers/net/ethernet/stmicro/stmmac/stmmac_main.c: In function 'stmmac_resume': drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:7790:32: error: 'struct plat_stmmacenet_data' has no member named 'use_phy_wol' 7790 | if (!priv->plat->use_phy_wol) | ^~ vim +7706 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 7651 7652 /** 7653 * stmmac_suspend - suspend callback 7654 * @dev: device pointer 7655 * Description: this is the function to suspend the device and it is called 7656 * by the platform driver to stop the network queue, release the resources, 7657 * program the PMT register (for WoL), clean and release driver resources. 7658 */ 7659 int stmmac_suspend(struct device *dev) 7660 { 7661 struct net_device *ndev = dev_get_drvdata(dev); 7662 struct stmmac_priv *priv = netdev_priv(ndev); 7663 u32 chan; 7664 7665 if (!ndev || !netif_running(ndev)) 7666 return 0; 7667 7668 mutex_lock(&priv->lock); 7669 7670 netif_device_detach(ndev); 7671 7672 stmmac_disable_all_queues(priv); 7673 7674 for (chan = 0; chan < priv->plat->tx_queues_to_use; chan++) 7675 hrtimer_cancel(&priv->dma_conf.tx_queue[chan].txtimer); 7676 7677 if (priv->eee_enabled) { 7678 priv->tx_path_in_lpi_mode = false; 7679 del_timer_sync(&priv->eee_ctrl_timer); 7680 } 7681 7682 /* Stop TX/RX DMA */ 7683 stmmac_stop_all_dma(priv); 7684 7685 if (priv->plat->serdes_powerdown) 7686 priv->plat->serdes_powerdown(ndev, priv->plat->bsp_priv); 7687 7688 /* Enable Power down mode by programming the PMT regs */ 7689 if (device_may_wakeup(priv->device) && priv->plat->pmt) { 7690 stmmac_pmt(priv, priv->hw, priv->wolopts); 7691 priv->irq_wake = 1; 7692 } else { 7693 stmmac_mac_set(priv, priv->ioaddr, false); 7694 pinctrl_pm_select_sleep_state(priv->device); 7695 } 7696 7697 mutex_unlock(&priv->lock); 7698 7699 rtnl_lock(); 7700 if (device_may_wakeup(priv->device) && priv->plat->pmt) { 7701 phylink_suspend(priv->phylink, true); 7702 } else { 7703 if (device_may_wakeup(priv->device)) 7704 phylink_speed_down(priv->phylink, false); 7705 phylink_suspend(priv->phylink, false); > 7706 if (!priv->plat->use_phy_wol) 7707 stmmac_phy_power_off(priv); 7708 } 7709 rtnl_unlock(); 7710 7711 if (priv->dma_cap.fpesel) { 7712 /* Disable FPE */ 7713 stmmac_fpe_configure(priv, priv->ioaddr, 7714 priv->plat->tx_queues_to_use, 7715 priv->plat->rx_queues_to_use, false); 7716 7717 stmmac_fpe_handshake(priv, false); 7718 stmmac_fpe_stop_wq(priv); 7719 } 7720 7721 priv->speed = SPEED_UNKNOWN; 7722 return 0; 7723 } 7724 EXPORT_SYMBOL_GPL(stmmac_suspend); 7725 -- 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