From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0DF0C225A38; Mon, 13 Apr 2026 16:30:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776097809; cv=none; b=a/NVyTuxGus/71WndBaSswOOFrNzGZTen2nmyn9szaQBLshl803UlnxsjZGWBiPDDTUCutdjGy2raMN3FBvVJKS6cFZsnve33PRSf8C0OD3W4rs+wnYwuW/qeojDLo37vrTWGWCMyEd99m4tJixluuEfvyjSE2ig40HgsGQk8OI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776097809; c=relaxed/simple; bh=20RsPcFb40Xls0c8RpuoEle75007HEp9vrr781ygSYs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Fjn7BgAtdwniznauBMr4Mb/46wRGXj1QLR9nwyli3c3yYTF9ULO3TwTvRk5o9o3QayjhjZbZzQFpStTSPdKoOubT5YUnkTmlFl4zvTKFeVA6fs7jEJyz8M1r5MIBT51sfMQimiVR2AXpZrpoasQuo1TQVpYdOVV0lq/8bBsj1o4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qeVLC4yy; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="qeVLC4yy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 52521C2BCAF; Mon, 13 Apr 2026 16:30:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776097808; bh=20RsPcFb40Xls0c8RpuoEle75007HEp9vrr781ygSYs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qeVLC4yyRk84sPDji+rMXc0ZLq2jZKkiFTHzSdegPtAC0ynKp1YBXTUl42oh4z4T4 ZoUcJHtOjs51F0PncePgi9+LcXkynqZVoRuOQ3UN93VIshP48dEIMhqkhypvX4LZTa nxTQHeMgEcyGd2qHUEpaRB6Atk8gFJe+jVR0tMJA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Justin Chen , Florian Fainelli , Jakub Kicinski , Sasha Levin Subject: [PATCH 5.15 263/570] net: bcmgenet: increase WoL poll timeout Date: Mon, 13 Apr 2026 17:56:34 +0200 Message-ID: <20260413155840.334491665@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260413155830.386096114@linuxfoundation.org> References: <20260413155830.386096114@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Justin Chen [ Upstream commit 6cfc3bc02b977f2fba5f7268e6504d1931a774f7 ] Some systems require more than 5ms to get into WoL mode. Increase the timeout value to 50ms. Fixes: c51de7f3976b ("net: bcmgenet: add Wake-on-LAN support code") Signed-off-by: Justin Chen Reviewed-by: Florian Fainelli Link: https://patch.msgid.link/20260312191852.3904571-1-justin.chen@broadcom.com Signed-off-by: Jakub Kicinski Signed-off-by: Sasha Levin --- drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c b/drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c index 38d41028e98a0..a1126368f9ed7 100644 --- a/drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c @@ -101,7 +101,7 @@ static int bcmgenet_poll_wol_status(struct bcmgenet_priv *priv) while (!(bcmgenet_rbuf_readl(priv, RBUF_STATUS) & RBUF_STATUS_WOL)) { retries++; - if (retries > 5) { + if (retries > 50) { netdev_crit(dev, "polling wol mode timeout\n"); return -ETIMEDOUT; } -- 2.51.0