Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8985243ybi; Tue, 23 Jul 2019 19:29:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxM4bQv1usR+9XF1MNKfcgN5Y7YDosi0Oc44/H92ErXAfwGkVAxgJpmkDooR56l7b9LNoxV X-Received: by 2002:a62:ce8e:: with SMTP id y136mr8997494pfg.29.1563935376299; Tue, 23 Jul 2019 19:29:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563935376; cv=none; d=google.com; s=arc-20160816; b=PddABqmdm4dm4CdxVLDCeHNjrqfszzahnz8v/4qBUaeBWTZ3Tf10vkT6LtMHDr0BfA 8SMREZqYjt22Rn+6EPYCwL9VUCdvepwikz5pSE9biHM2kliResDbkpeQz3iGE1triVtz VROjbL3ypRWm1OMMWXWkOppRpxDokpiQ+YHf1isTIeIfQYVtcUkfxY3bAwwQc5iW3pNP 9XVBY6lGpsN9mjqKcq2CuEH1N7WZP3VzGEanqt28DJxQXealxSHtBOKw+VxJFDOCR7ik HFKxn4Yd9bTo5Z9IdUeUiAUGYFRoheqFgyEUYTrv7bZe1N8Mf+4hifLs4kyT2IDQVQ3g uoQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=rrOyyFy5rqW99rk0P5KQSSl5r6R/QDYqLHn4USJsL3A=; b=LIquXDBVfV4ZNCuHN3C2DmHp3N7w6xyd3JeVe2tLZTNqU+jQSPwRzBTqDwCNQ9LqVC jFriO5AWAxn/Kk5e+1dxjwk1KPZELGMF/Xvz78/Pj6khau96Cr+Nmdhq+PCckTIRvdov gx6HTM31usJ3PXZc9qlzjidiluzrnexRx5UegWTqoxMHUDNBF9RDjDEwe0I+Uojhp0FL abgb+YrxO27MdSYoPr6NjzDbooqIVnbsV75UZoNdIQYtjJAmaE0XMLm21Yxx+RVwGcai CpTs/0IFX5WfuB7D4d6gWiy2lbc4lUh9E9kU8J3+XFm0Z0LoaS63jPa/infPWQXa5+bI gddQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=vcM3eQor; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bc7si14196317plb.55.2019.07.23.19.29.21; Tue, 23 Jul 2019 19:29:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=vcM3eQor; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730919AbfGWT4L (ORCPT + 99 others); Tue, 23 Jul 2019 15:56:11 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:43259 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730398AbfGWT4L (ORCPT ); Tue, 23 Jul 2019 15:56:11 -0400 Received: by mail-ot1-f68.google.com with SMTP id j11so21091752otp.10; Tue, 23 Jul 2019 12:56:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rrOyyFy5rqW99rk0P5KQSSl5r6R/QDYqLHn4USJsL3A=; b=vcM3eQorsGcT1LMegPoSDy7NqJel3thLcZ2N2Qhx0puRNsTkmNEiG0F+XQkCGOX1Ig 1/4OLol9nF+KTkFq94bP7V0gNccyrHqwFvBsL8WBQM5+kMzt7kkuhu6Y1jnOqPvXPAqa Cp3VNRJ5JO6K9m4vIs+nQ491pbazijVwpD1Z7JkavJUwZPTK859ob7hylOnwT8BipmZd Emu5jpBlPNjxdz60q6vN7ZKaoCSNrbo+2U4pXw+By02NFun+DnlVft68K1jVspPLqQuS Fw32ofFtSNlZCeFfzCvc2088usKsI5DZh/eOdcbK4L+tZydcscA0m8oIEDABGvc+ZCbN 3XJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rrOyyFy5rqW99rk0P5KQSSl5r6R/QDYqLHn4USJsL3A=; b=fHF0gH01ETWVQNsRz4QJaZ2zfCZN8PeOHDZVh5fzF21frJyPec2LFILA3/lUae5ej/ so9qpavzXY3zEqz/bwk918wNIneO8DDPcankt9y807742xR8cEw4kCeFCeZN1KS6GwR6 vZhZPpAhNvRQB9swd0Kbc5JariwET5YMUNaPlJuOHPdB9/gHWyo/2tuY508UV6q3KjL9 7Loma28twMqiAJAdDIxSiSc0z2dLruzAUNEj+x5doR08V48ajnRQUbgA8nOQukPMDYA1 FrWk166Hd16Z63R9uofIm6jCfQDmY94XCi1mRROIpejoIrI1iK65ltoWv8sMKoASiIrb 1+sQ== X-Gm-Message-State: APjAAAX2OExkreW4nuXHsoDdwoGgrRe1LOt729D2Hjrko4c7PGlXQEvW vGoYGfKDICwFfw2IMhmBpZjuU5Wb1+rujUpIOrE= X-Received: by 2002:a9d:39a6:: with SMTP id y35mr59597026otb.81.1563911770343; Tue, 23 Jul 2019 12:56:10 -0700 (PDT) MIME-Version: 1.0 References: <20190718090301.19283-1-jbrunet@baylibre.com> In-Reply-To: <20190718090301.19283-1-jbrunet@baylibre.com> From: Martin Blumenstingl Date: Tue, 23 Jul 2019 21:55:59 +0200 Message-ID: Subject: Re: [PATCH] arm64: dts: meson: add ethernet fifo sizes To: Jerome Brunet Cc: Kevin Hilman , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 18, 2019 at 11:03 AM Jerome Brunet wrote: > > If unspecified in DT, the fifo sizes are not automatically detected by > the dwmac1000 dma driver and the reported fifo sizes default to 0. > Because of this, flow control will be turned off on the device. > > Add the fifo sizes provided by the datasheets in the SoC in DT so > flow control may be enabled if necessary. (only worth updating if you have to re-send it for whatever reason) as far as I understand the stmmac code (dwmac1000_dma_operation_mode_{rx,tx}) "RX flow control" depends on the RX FIFO size but TX doesn't > Signed-off-by: Jerome Brunet Reviewed-by: Martin Blumenstingl