From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-183.mta0.migadu.com (out-183.mta0.migadu.com [91.218.175.183]) (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 6CD1412FF69 for ; Thu, 20 Feb 2025 01:28:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740014942; cv=none; b=QPuSzCBPghWSrVkXlyFpBIV3mqo9PSDJdVkYdVOCmzrLLJPf1HLr2U9F62SBcFIoyv96klorBYyhg/A/vSOSK4g1898IzoEbcBDPF6Gr4NcJoCr7FYuM55cY+6hVMTZgKtdyPBy3ykE1wIMQMtdT3r6Aaoy27v1DNbzKhViFmV8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740014942; c=relaxed/simple; bh=LJdxENxZpd6woHMrpY+JCXncfXl+eonrCnkoYGj7Hes=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=f4JL3QrJApVM57ID/ooj8aJgpOuCsvZwKVpLZNEzHXDI43iW5nIFE/A4+TQeDni0L1iMai205Yf4Ck4bf2JvvcPIIkCNd8+KXidH5tIEi/xVTUZI+009/4q7K7u+xGHuUluoaShdoLr+UZx7pp50u2gJG6JqgnDxc6GD7PjA4NQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=MMESd3X2; arc=none smtp.client-ip=91.218.175.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="MMESd3X2" Message-ID: <25782504-2d3c-4666-b72d-343371fe037c@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1740014927; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YqvqbehjGrCNe1roBGtpI6CdjxU06tpCNUUgl7lLOFI=; b=MMESd3X2iQtkaGVQRwL3xhqstdJuuAjyumoxl6XNw7VGJk7xkwNcaEtaXZK+0UsfydBE1+ Yx3XyQjS5f50oUCs6UwuGBWAmmqY1ceR3a6B8FZ9RNRRwiyBfvxqBJgxoLykA/6Q0UCEp6 A3k7AJIPZQHC/shqdMvbQutshltteto= Date: Thu, 20 Feb 2025 09:28:38 +0800 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH net V3] net: stmmac: dwmac-loongson: Add fix_soc_reset() callback To: Qunqin Zhao , kuba@kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com Cc: chenhuacai@kernel.org, fancer.lancer@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Huacai Chen References: <20250219020701.15139-1-zhaoqunqin@loongson.cn> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Yanteng Si In-Reply-To: <20250219020701.15139-1-zhaoqunqin@loongson.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT 在 2/19/25 10:07 AM, Qunqin Zhao 写道: > Loongson's DWMAC device may take nearly two seconds to complete DMA reset, > however, the default waiting time for reset is 200 milliseconds. > Therefore, the following error message may appear: > > [14.427169] dwmac-loongson-pci 0000:00:03.2: Failed to reset the dma > > Fixes: 803fc61df261 ("net: stmmac: dwmac-loongson: Add Loongson Multi-channels GMAC support") > Cc: stable@vger.kernel.org > Signed-off-by: Qunqin Zhao > Reviewed-by: Huacai Chen Acked-by: Yanteng Si Thanks, Yanteng > --- > v3: Added "Cc: stable@vger.kernel.org" tag. > Added error message to commit message. > > v2: Added comments. Changed callback name to loongson_dwmac_fix_reset. > > .../net/ethernet/stmicro/stmmac/dwmac-loongson.c | 14 ++++++++++++++ > 1 file changed, 14 insertions(+)