Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp73773pxb; Wed, 16 Feb 2022 22:12:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcoO7CdhBCjar3TGHn+QtQ3vu+pxXRiO1Qf4XFB2OZqilzj91feaiLeB+MYyVk5NU1tAc3 X-Received: by 2002:a17:906:b287:b0:6ce:98af:3f6e with SMTP id q7-20020a170906b28700b006ce98af3f6emr1105187ejz.216.1645078337204; Wed, 16 Feb 2022 22:12:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645078337; cv=none; d=google.com; s=arc-20160816; b=CwNpA4OmSEFX5pj9wIqXi2JrTbpgW+j5oJt1WYyAcjQxaj7Ah/XdDDE2hPoFY6Nh8C SW8BSIXurm6keiBJRdv2qP3XNZOIgyXYWYX6Itd6kbL8Y5DoJ6RULUkRxlXpS/S4anJM ruwgOLKmPOYjIWyh5wCjwq7/+8UK5+PxD+sS0QMb8mxs5rq8htLTIkLQgWTMM179nPcj OwOMa/flVSiKSmf9Bd27Kpdl2V2v/rh8HUvruri4WDeuu9mdXQnmnMB4ADT3nVeofrAS D3bzAlLifvk66zdjMfyqxZV2MfW4eNmwlRNh7XngSBQbgVvRVZK5tg5xBKdACVZ3g1ON Qadg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/ilG/Fm0QuQohABYDjutehMRPGXqye+CMgxknkeoAJg=; b=A0mtLm/KDe+HN0eIztKkNejZAaVETdgA9pYHD3/aUqBAWF13+VXr/1Z48LTmutS+Bb mCD7/pTLWkmT5bO6Nq36AG9/WnhXB38DreJrCBB3QjuwoYOuLeI1cB3Zeq+LULWklJfI Z0LhHmFN+MrwNHRSMKZmymYzf2CqdP5VlGdClRz2hJAQXUbXGIsah95ZLpDy9vRuEQE6 0W4jl8E1bOrM2eJE1cmVBY+6x7/0diPF2S1LKJ1M45A4h1D1XPOLxZ7lLGgx9R8Rj+hH /AjMCiA0fF/QwX/0HVjH56E8VC6bFE5rOZyB4X96FL4toVmqDrpw6zfqwKPm6uxOxC46 QYAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aR9wl8EE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s1si1614042ejn.33.2022.02.16.22.11.54; Wed, 16 Feb 2022 22:12:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aR9wl8EE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229825AbiBPUJ7 (ORCPT + 99 others); Wed, 16 Feb 2022 15:09:59 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:57936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229913AbiBPUJ6 (ORCPT ); Wed, 16 Feb 2022 15:09:58 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77D4E24465E; Wed, 16 Feb 2022 12:09:45 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1533D619CF; Wed, 16 Feb 2022 20:09:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 544A0C340E8; Wed, 16 Feb 2022 20:09:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645042184; bh=FZsG08s2jZREpEvg+n1BCb14zspDJP7SeZOU8KKwmPs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aR9wl8EEQMY1ExwThfaFzqZhg+Dv1btyPtFNbk42KkY1o7OrEbkddH0NQcG0Jg9Ev MQZ+HmsS2fwdFuoMpCwDEIeOXdMW3L5l4WRcB0QeBp4ip/HIV+lYrTDFoD42vTQoy8 /G8ZRI7l9HFaVTbe5YIV68Q8A04Fo0ECzOiIEATsGOKS7cQalq9ar9UtE0CX6bJ4QW dpv32IDntntkCvexnyXKUlCUkPV8xjyV46OQwSDAV/mumc++wr0FtJo01hIEft13vB q0nMIOAOw6dFU9DSia4vATTQm+Ne009bqaYZ8m5uZHLm/uS5xoiE1SsDr7cUK8LB9V vFO9WdLruLOWg== Received: by pali.im (Postfix) id 023E37F4; Wed, 16 Feb 2022 21:09:40 +0100 (CET) Date: Wed, 16 Feb 2022 21:09:40 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Bharat Bhushan , Veerasenareddy Burru , Wojciech Bartczak Cc: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Lorenzo Pieralisi , Thomas Petazzoni , Bjorn Helgaas , Marek =?utf-8?B?QmVow7pu?= , Remi Pommarel , Xogium , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: Issues with A3720 PCIe controller driver pci-aardvark.c Message-ID: <20220216200940.fwdwk5rcb4zq6dyg@pali> References: <20210723221710.wtztsrddudnxeoj3@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210723221710.wtztsrddudnxeoj3@pali> User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + Bharat, Veerasenareddy and Wojciech from Marvell Hello! Could you please look at this email and help us with this Marvell HW issue? On Saturday 24 July 2021 00:17:10 Pali Rohár wrote: > Hello Konstantin! > > There are issues with Marvell Armada 3720 PCIe controller when high > performance PCIe card (e.g. WiFi AX) is connected to this SOC. Under > heavy load PCIe controller sends fatal abort to CPU and kernel crash. > > In Marvell Armada 3700 Functional Errata, Guidelines, and Restrictions > document is described erratum 3.12 PCIe Completion Timeout (Ref #: 251) > which may be relevant. But neither Bjorn, Thomas nor me were able to > understood text of this erratum. And we have already spent lot of time > on this erratum. My guess that is that in erratum itself are mistakes > and there are missing some other important details. > > Konstantin, are you able to understand this erratum? Or do you know > somebody in Marvell who understand this erratum and can explain details > to us? Or do you know some more details about this erratum? > > Also it would be useful if you / Marvell could share text of this > erratum with linux-pci people as currently it is available only on > Marvell Customer Portal which requires registration with signed NDA. > > In past Thomas wrote patch "according to this erratum" and I have > rebased, rewritten and resent it to linux-pci mailing list for review: > https://lore.kernel.org/linux-pci/20210624222621.4776-6-pali@kernel.org/ > > Similar patch is available also in kernel which is part of Marvell SDK. > > Bjorn has objections for this patch as he thinks that bit DIS_ORD_CHK in > that patch should be disabled. Seems that enabling this bit effectively > disables PCIe strong ordering model. PCIe kernel drivers rely on PCIe > strong ordering, so it would implicate that that bit should not be > enabled. Which is opposite of what is mentioned patch doing. > > Konstantin, could you help us with this problem?