From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD9C4606A332 for ; Mon, 30 Nov 2026 01:39:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=i2y2eWmZ; dkim=fail reason="signature verification failed" (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=K80MlM6f 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-Unsubscribe-Post:List-Owner; bh=pm4xqExXJmi5bcmHwGl2VhLiblsQtiGLGfS/OrpZw5A=; b=i2y2eWmZKOBBUhU/bnitNfSoVZ WFEcQrNv8KL01D+CtMo0cCAWR0Y8lCS1YeVLILUeTfcqjV7c853bllmRLNooeTGLsHbtvg/UKN70B igXH2qNDKjEbZ+XOFd/1Lv2ru9TFw+P4x8TyH7XInbN1hblBNSP7l9LPseBpK0wW9kySSqlNKow0P TkgZptFreeAn8jxwz8useLzxHdfPm0Fw8jUNj9eWojdPJAzuL0kFO5XkxxaoPR0bUb65AzPJCDp9F VsdzhYUibolgm4cAmQ0lLCmorT1o3iqm1aX2kkz2ObUtrf+n3WyxyUa8nf5GBltVRDZVviYfDHoOW o4P+a8dg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXqMw-00000002rHd-27PB; Mon, 30 Nov 2026 01:39:50 +0000 Received: from mgamail.intel.com ([192.198.163.11]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXqMt-00000002rHG-3crs for linux-phy@lists.infradead.org; Mon, 30 Nov 2026 01:39:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796002788; x=1827538788; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=PCbIw8pmKmn9nml2AxwK1elXKvMVCqafjeYNDxkHo98=; b=K80MlM6fcA8aqgh+6FyN2opyy/oE8lNCNBaItHz9ao+5QJfrFuVY8dp1 P1aXXukAFentvNSHF9sisOFGjXPbvkEn6kyMP6YFxyPGaM4lQiGMPI8y3 c+g5dH3geuIFksz5fXOIyIwUyZIE8A1Xg0VKtWY4LNivR02t0HoyPkc9w hmBT8gSQffrxcZVVpbSfT6LdJXq9G0ULSJUyvW6XAe29xXr1zht34ivf6 lPhxoGG8g+PKccOE961CYdQlWEy2PLE29xbxGwl9B0LVZzknfnEfmLHqo 1G/1g1riA9enQN52J26pFZxI5ZTWhbSieMyj3as777cVVZfTugH9HvEQE A==; X-CSE-ConnectionGUID: rOL0NszcR/q0kwj3N9F5lA== X-CSE-MsgGUID: xtddIYhYQK++rAvz4CUNjw== X-IronPort-AV: E=McAfee;i="6800,10657,11981"; a="4730381" X-IronPort-AV: E=Sophos;i="6.27,241,1787036400"; d="scan'208";a="4730381" Received: from fmviesa011.fm.intel.com ([10.60.135.151]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2026 17:39:46 -0800 X-CSE-ConnectionGUID: wFfhI1MpTdeVeCA/9QaZPg== X-CSE-MsgGUID: 6UuWrgSQTgaiCDG8xDAHZg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,241,1787036400"; d="scan'208";a="14562484" Received: from lkp-server01.sh.intel.com (HELO 0caa9d2d175c) ([10.239.97.150]) by fmviesa011.fm.intel.com with ESMTP; 29 Nov 2026 17:39:41 -0800 Received: from kbuild by 0caa9d2d175c with local (Exim 4.98.2) (envelope-from ) id 1xXqMk-00000001Znt-2n67; Mon, 30 Nov 2026 01:39:38 +0000 Date: Mon, 30 Nov 2026 09:38:42 +0800 From: kernel test robot To: Marek Vasut , linux-phy@lists.infradead.org Cc: oe-kbuild-all@lists.linux.dev, Thanh Quan , Phong Hoang , Hai Pham , Yoshihiro Shimoda , Marek Vasut , Arnd Bergmann , Biju Das , Conor Dooley , Geert Uytterhoeven , Krzysztof Kozlowski , Magnus Damm , Manivannan Sadhasivam , Neil Armstrong , Rob Herring , Tam Nguyen , Tommaso Merciai , Vinh Nguyen , Vinod Koul , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH v2 2/3] phy: renesas: Add Renesas Multi-Protocol PHY driver for R-Car X5H Message-ID: <20261130092534.wxcEPXfE-lkp@intel.com> References: <20261129173739.282027-2-marek.vasut+renesas@mailbox.org> X-Archived-By: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20261129173739.282027-2-marek.vasut+renesas@mailbox.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261129_173947_958008_00ADD242 X-CRM114-Status: GOOD ( 15.05 ) X-Spam-Score: -4.4 (----) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" X-Spam-Status: No, score=-8.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hi Marek, kernel test robot noticed the following build warnings: [auto build test WARNING on phy/next] [also build test WARNING on geert-renesas-devel/next soc/for-next linus/master v7.4-rc4 next-20261127] [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/Marek-Vasut/phy-renesas-Add-Renesas-Multi-Protocol-PHY-driver-for-R-Car-X5H/20261129-183704 base: https://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git next patch link: https://lore.kernel.org/r/20261129173739.282027-2-marek.vasut%2Brenesas%40mailbox.org patch subject: [PATCH v2 2/3] phy: renesas: Add Renesas Multi-Protocol PHY driver for R-Car X5H config: sparc-randconfig-1001-20261130 (https://download.01.org/0day-ci/archive/20261130/20261130092534.wxcEPXfE-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 16.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261130/20261130092534.wxcEPXfE-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/20261130092534.wxcEPXfE-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/phy/renesas/phy-rcar-gen5-mpphy.c:635:12: warning: 'mp_phy_resume' defined but not used [-Wunused-function] 635 | static int mp_phy_resume(struct device *dev) | ^~~~~~~~~~~~~ >> drivers/phy/renesas/phy-rcar-gen5-mpphy.c:584:12: warning: 'mp_phy_suspend' defined but not used [-Wunused-function] 584 | static int mp_phy_suspend(struct device *dev) | ^~~~~~~~~~~~~~ vim +/mp_phy_resume +635 drivers/phy/renesas/phy-rcar-gen5-mpphy.c 583 > 584 static int mp_phy_suspend(struct device *dev) 585 { 586 struct mp_phy_priv *priv = dev_get_drvdata(dev); 587 int i, ret; 588 589 for (i = 0; i < MPPHY_NUM_CHANNELS; i++) 590 priv->chan[i].initialized = false; 591 592 ret = reset_control_bulk_assert(ARRAY_SIZE(priv->reset_phy), priv->reset_phy); 593 if (ret) 594 return dev_err_probe(dev, ret, "Failed to assert PHY resets\n"); 595 596 clk_bulk_disable_unprepare(priv->num_clks, priv->clk_phy); 597 598 return 0; 599 } 600 601 static int mp_phy_suspend_late(struct device *dev) 602 { 603 struct mp_phy_priv *priv = dev_get_drvdata(dev); 604 int ret; 605 606 ret = pm_runtime_force_suspend(dev); 607 if (ret) 608 return dev_err_probe(dev, ret, "Failed to force suspend\n"); 609 610 ret = reset_control_assert(priv->reset_core); 611 if (ret) 612 return dev_err_probe(dev, ret, "Failed to assert PHY core reset\n"); 613 614 clk_disable_unprepare(priv->clk_core); 615 616 return 0; 617 } 618 619 static int mp_phy_resume_early(struct device *dev) 620 { 621 struct mp_phy_priv *priv = dev_get_drvdata(dev); 622 int ret; 623 624 ret = clk_prepare_enable(priv->clk_core); 625 if (ret) 626 return dev_err_probe(dev, ret, "Failed to enable PHY core clock\n"); 627 628 ret = reset_control_reset(priv->reset_core); 629 if (ret) 630 return dev_err_probe(dev, ret, "Failed to deassert PHY core reset\n"); 631 632 return pm_runtime_force_resume(dev); 633 } 634 > 635 static int mp_phy_resume(struct device *dev) 636 { 637 struct mp_phy_priv *priv = dev_get_drvdata(dev); 638 int i, ret; 639 640 ret = clk_bulk_prepare_enable(priv->num_clks, priv->clk_phy); 641 if (ret) 642 return dev_err_probe(dev, ret, "Failed to enable PHY clocks\n"); 643 644 ret = reset_control_bulk_reset(ARRAY_SIZE(priv->reset_phy), priv->reset_phy); 645 if (ret) 646 return dev_err_probe(dev, ret, "Failed to deassert PHY resets\n"); 647 648 /* Reload configuration */ 649 regmap_set_bits(priv->map, MPPHY_CMNCNT1, priv->cmncnt[0]); 650 regmap_write(priv->map, MPPHY_CMNCNT2, priv->cmncnt[1]); 651 652 for (i = 0; i < MPPHY_NUM_CHANNELS; i++) { 653 regmap_set_bits(priv->map, MPPHY_PXTEST(i), MPPHY_PXTEST_BIT); 654 regmap_write(priv->map, MPPHY_PXSRAMCNT(i), priv->sramcnt[i]); 655 656 if (priv->write_cntxt1 & BIT(i)) { 657 regmap_write(priv->map, MPPHY_CHAN_BASE(i) + 0x10c, 0xff0ff); 658 regmap_write(priv->map, MPPHY_PXCNTXT1(i), 0x180023); 659 } 660 661 regmap_clear_bits(priv->map, MPPHY_PXTEST(i), MPPHY_PXTEST_BIT); 662 } 663 664 regmap_clear_bits(priv->map, MPPHY_PCS0REG1, MPPHY_PCS0REG1_VAL); 665 /* 666 * Release only the PCIe PHYs here. Ethernet PCS released while its 667 * PHY is still not initialized blocks the PCIe40 rate change (link 668 * stuck at Gen1). 669 */ 670 regmap_clear_bits(priv->map, MPPHY_PCS0REG5, priv->pcs0reg5_mask); 671 672 return 0; 673 } 674 -- 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