Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68F0BC433F5 for ; Fri, 17 Sep 2021 22:55:08 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C920E60F48 for ; Fri, 17 Sep 2021 22:55:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C920E60F48 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 150EE831FD; Sat, 18 Sep 2021 00:54:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="Lt3eRKIL"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 22512831FD; Sat, 18 Sep 2021 00:54:10 +0200 (CEST) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7D55283276 for ; Sat, 18 Sep 2021 00:54:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82e.google.com with SMTP id m9so10151816qtk.4 for ; Fri, 17 Sep 2021 15:54:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=w6J8No3u8NeXiVrrPASrGOVYi4fHCqMvJ7d1Y3HwX68=; b=Lt3eRKILxzEKhDjihLAbcZ6UOus7R4YE/uVFMjN46KGi7zjmo5wthn0JFW+C9ob9Sw I6GvO6ad5xApsHzgClSlCgZVPZrDgyczOlwXStX7jfSM/+Wl1BE8HUcBRrnwc+yCbhGR CYRgZZMoe9HnIZyQ3whOZFVqNkaQp+tbCt6CQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=w6J8No3u8NeXiVrrPASrGOVYi4fHCqMvJ7d1Y3HwX68=; b=eojjGCKhQy+YAsAoKo/x3pF9iPQpyziqmoQsDVaOrl2d4SGtjXHdwHouPVljMF6BK7 hivi1BTkW9V4Js5TVPQ+YmGNIQn2BDpSHPpAHzd46IwRDQjj/MuXW//F4Sn3nLXjivnx cdMDfLOssqULZLUq887mbwVnnoTabR9DPXh3nqEJGOE91+reznCYfqEZRH6gjqxFGneC 62Lsl5mYgalZicjBNWBSX/wmltLT+sgupLX+T2TCrjlO1JqtW1EHPqQagn+vNFX+7pj2 T29nn34Bs5WCM9KdKI13lha36iYNJWT+8jTtCkK1DSzcGJtBpXf0tvUEuOO3LDM11MHQ pR+g== X-Gm-Message-State: AOAM533lB0YfhV6DgE43T9hRw0epY7u489q9jEdxboS5gQwAnIqt4cfw 5oHo9qx9c/uocTPfRHg3EpDhvw== X-Google-Smtp-Source: ABdhPJxDBuhQDfvXFEQ8+yhJPADK4FhZB+9ZDlzHAaOMOeUuOiZh5sEQewdJLNrIBhccVCiaKgKrWA== X-Received: by 2002:ac8:58d0:: with SMTP id u16mr12696704qta.189.1631919242257; Fri, 17 Sep 2021 15:54:02 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-11d5-faa7-99fc-5b2d.res6.spectrum.com. [2603:6081:7b01:cbda:11d5:faa7:99fc:5b2d]) by smtp.gmail.com with ESMTPSA id f18sm3172980qtf.2.2021.09.17.15.54.01 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 17 Sep 2021 15:54:01 -0700 (PDT) Date: Fri, 17 Sep 2021 18:53:59 -0400 From: Tom Rini To: Nishanth Menon Cc: Jan Kiszka , Benoit Parrot , Lokesh Vutla , u-boot@lists.denx.de, Grygorii Strashko , Bao Cheng Su Subject: Re: [PATCH V2] arm: mach-k3: am6_init: Prioritize MSMC traffic over DDR in NAVSS Northbridge Message-ID: <20210917225359.GJ8579@bill-the-cat> References: <20210908202859.10942-1-nm@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="sl5MdczEF/OU2Miu" Content-Disposition: inline In-Reply-To: <20210908202859.10942-1-nm@ti.com> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --sl5MdczEF/OU2Miu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 08, 2021 at 03:28:59PM -0500, Nishanth Menon wrote: > From: Roger Quadros >=20 > NB0 is bridge to SRAM and NB1 is bridge to DDR. >=20 > To ensure that SRAM transfers are not stalled due to delays during DDR > refreshes, SRAM traffic should be higher priority (threadmap=3D2) than > DDR traffic (threadmap=3D0). >=20 > This fixup is critical to provide deterministic access latency to > MSMC from ICSSG, it applies to all AM65 silicon revisions and is due > to incorrect reset values (has no erratum id) and statically setting > things up should be done independent of usecases and board. >=20 > This specific style of Northbridge configuration is specific only to > AM65x devices, follow-on K3 devices have different data prioritization > schemes (ASEL and the like) and hence the fixup applies purely to > AM65x. >=20 > Without this fix, ICSSG TX lock-ups due to delays in MSMC transfers in > case of SR1 devices, on SR2 devices, lockups were not observed so far > but high retry rates of ICSSG Ethernet (icssg-eth) and, thus, lower > throughput. >=20 > Signed-off-by: Roger Quadros > Acked-by: Andrew F. Davis > Acked-by: Tomi Valkeinen > Acked-by: Benoit Parrot > [Jan: rebased, dropped used define, extended commit log] > Signed-off-by: Jan Kiszka > [Nishanth: Provide relevant context in the commit message] > Signed-off-by: Nishanth Menon Applied to u-boot/master, thanks! --=20 Tom --sl5MdczEF/OU2Miu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFFHIcACgkQFHw5/5Y0 tywwQgwAkLyYkwrP1ZJ/8ZUXncHa9iq5UewuygwywG9k7hKrT4kQYQo53Ai8gRjk 6Ia/WF08BUtWZtx4JeldTHIu9AYAEKqenLAFu1IawiCJLKaUQcQDwTRJZQY3awOB KKs3BHumymLKFwF17VCMVgBuWR2NPo5mqFu0c7Bv++NH2osPM20ZnbNlonDItwzn ggX3FcThjLV9fWCVw85yFmMRS4dpYR6vF/cN523wK/OmCZ/Yr2BoNv6Nm4kzhmcI HPUCQ0xiuGUcIjwlGOc8uAQZTZb02Z5VJgLRny7yO6NHR5slCNjOlcK2QE0cMmh6 7TuLzxpLvryau89BlKps2JU0fA0uzHnTzxZh063xJ+4XFSwbOuAjTJ3Jh7Kck365 OBlCD/g7YLKy/HK4LwtmVfDNcfNykoj1/LX7yVUdK4aq7Aa0LgwCFnXOy/PdQnQn SzVCDxnFR2qqH05kcQjsPmg9kRaKLqijTpI0V8r6dg7PM6RpJjVztv7/Wic+l6ON tnTBtU2j =WB9I -----END PGP SIGNATURE----- --sl5MdczEF/OU2Miu--