Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6626118rdb; Tue, 2 Jan 2024 07:58:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IHdvRGI64i+T4kjhK4pLe0n9sEAM7dPTB7Sc52lO4jQio1A+Nz5yn73oEDC2rWfiLaMOApV X-Received: by 2002:a50:96cf:0:b0:54c:f42f:e377 with SMTP id z15-20020a5096cf000000b0054cf42fe377mr10554115eda.68.1704211101198; Tue, 02 Jan 2024 07:58:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704211101; cv=none; d=google.com; s=arc-20160816; b=tt2CsT2bpNDrm93NXbSiRtAGJXOo49WPx2Ip4Ltoc33zhJMpARZYkS90xa+KERyagj 98vJuBA8NUQvwumgWmoCrN6C6FFDn2rJYQlSJ/kSmYxj8DicwqRkZDxAMTR0CY2toD0S wbZZJ1YNGi6jrOhqQNLikzXpHjZjD08P5yKVETZRNaas9VQP0N9pjCXTFVwZLdNjS9M/ qFLjvGQleTj6iYQDP5j6UCeIawe5MmEyGdkM0JDvKv3Y+PI6K3p7uDJfchQbZ1HcSc0c IZ15TBuouwJWvQQ/f6uFKAWfPNiX53fjugRKbz1lfX6pW7lS5/5c006FwJMFokgE/PRj m55g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=pUas1wt8YTpTR+8Xj1PbeZYiR5g7bbbpFdrgjtjvIzU=; fh=sLtl8JpvTVYsK0KyiZSLBw8tvLYshxe8crCozpORouM=; b=qI7KN2FuBNSIOFTVMhVmr+7T1S+ML15PjRRL+RnkRKdqAYCPsmSTE5QFBrF9vw3f7b ambQR7MdVuYaiupcT64BxTYT4/Am3huoF9VU/EC7usg9tVsD3BUjqQJVMW/w/psdfmcC t/pnAj8GaIo6PNk3mmu9Zf/SHODqcYc54UoKRVsBApMbThShL4BuN5qJssMAiEbkakfy AvWFz0qvbqZ1N78xh0XM06BzNNQGbJSwP6XfoU3ksf8F+FqRLFiF16Zfi4hCpqxyxwnF /eCEqrKtlnESoOW1OpKEZ9LcTjfHU1o6fyFeiiqh76EZXEi+U4ZoRor/xAbGwwVSDnzX UUwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hjRyV52s; spf=pass (google.com: domain of linux-kernel+bounces-14573-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14573-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id bl7-20020a056402210700b005537313708esi11741351edb.689.2024.01.02.07.58.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 07:58:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14573-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hjRyV52s; spf=pass (google.com: domain of linux-kernel+bounces-14573-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14573-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id ED15B1F22B3C for ; Tue, 2 Jan 2024 15:58:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7229114F62; Tue, 2 Jan 2024 15:58:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hjRyV52s" X-Original-To: linux-kernel@vger.kernel.org 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 9DD8C14A9A; Tue, 2 Jan 2024 15:58:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59CF8C433C7; Tue, 2 Jan 2024 15:58:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704211089; bh=gsBgM/SJ5swumfn/cuVueJtKXK9nInmvCfn1DD55G2Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=hjRyV52srkWcrFMd9p6aHkxAvUkzcYMa2RWZPQEwAxmGtHyGaxQfbs/v+npGYXCIT 6nX2lufBMDX4XoQhsQIv3YMo83DPc7XTW6iQxSMAtrHgte2dIP9cs8JqwUgLlfs3GI jWftuUfNohpebYe4v9tCOTdbHFT68XR6Py2mOIOe4nvsGeCrnBy0LNTaZkYHuSOxR4 6m+BzIMKiNgZjYj5yIR2bhYJEiPR4TAFyxM4iCtkctS/vsmGAHD9Y3UujEG4K9Xe7g XKAc+BDP9yNbZSWpiaiCX4tyELCk89f/wvAvpjyazjxFg0jj+n1BaftTt/JPatw0pn kte5fS0oDAw2g== Date: Tue, 2 Jan 2024 07:58:07 -0800 From: Jakub Kicinski To: fuyao Cc: Jernej =?UTF-8?B?xaBrcmFiZWM=?= , Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Paolo Abeni , Chen-Yu Tsai , Samuel Holland , Maxime Coquelin , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-stm32@st-md-mailman.stormreply.com, linux-kernel@vger.kernel.org, =?UTF-8?B?6bqm5YGl5bu6?= Subject: Re: [PATCH] gmac: sun8i: r40: add gmac tx_delay support Message-ID: <20240102075807.1a4cac92@kernel.org> In-Reply-To: References: <2370947.NG923GbCHz@jernej-laptop> 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-Transfer-Encoding: 7bit On Thu, 21 Dec 2023 15:16:54 +0800 fuyao wrote: > I don't see it in the user manual also. > > it works fine in 100M, but it doesn't work good in 1G without tx_delay > in my board. > > Read the sdk from allwinner I found in: > > https://sourcegraph.com/github.com/tinalinux/linux-3.10/-/blob/arch/arm/boot/dts/sun8iw11p1.dtsi?L1826 > https://sourcegraph.com/github.com/tinalinux/linux-3.10@r40-v1.y/-/blob/drivers/net/ethernet/allwinner/sunxi-gmac.c?L877 > > And I add it to my board, it works fine. > > So, I think it may be exist register but not documented. Unless Allwinner can chime in we should at least document the situation clearly in the commit message (incl. what HW+config was tested, exactly) and add a comment in the code? -- pw-bot: cr