Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp497226pxb; Thu, 30 Sep 2021 10:24:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVx2ihscJUGn3jPhn+R5sWpmv9B/w5XRk2n5lPShwi+SGU6lri16Xz2HN+xHPzyn08cAEO X-Received: by 2002:a05:6a00:b47:b0:43d:cac0:cbe with SMTP id p7-20020a056a000b4700b0043dcac00cbemr6591247pfo.79.1633022645776; Thu, 30 Sep 2021 10:24:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633022645; cv=none; d=google.com; s=arc-20160816; b=ydo+6HeC3fo4witOw7njqQuhHxgZp4AkJVvQdGSQVEpCYg4szP5aFFJEqvFFoSBNqM 0WQu/6OpP2vGnUkyqSrZhEk2amlj/Rm91IF4LeegQQf8jfyISAAX+s09xenivulIK8yq lWwWu78YrpeYWPEQPmYJOjmHZuLbFHkousHLSNz9YILF7ZhHdNP9HIYkimJKuVkJoBA2 rCVpNYseJvt9yNBvbEVO1R7op1UV8aolyztk8FBsHZAZF+VoF7TEUVuz9VWRYn7LuYzn p3FEqoUojqNnlgOV61tqFkj7u4lyNkmcmFXZM32MQmkRZhtYDvmN4xMnTYT57nyH54dH 1Huw== 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=AFrUoy5zqxCydHIPNP8XUS9oI+xyXDN3IQTStyFQP2I=; b=XdbXYXrMxbLYgzZezTk89aRx3EiJIR7fdez3kArNN5Xv+yVcfkcUKWqYLlEf+yZhVb PjEZWWTSSR94xjvHvd1S1a57EKd9mTXlxpjdwsTKDkvLWyL2H084xIFGgvWs4e6CTY+y /FfMSKWns18fFXHxww+Zilc9j9rq877joLJN9x36ZNnIn4k+17ruPVMiOa3o2V7dz0Fn wW1ATZ1Uq0QE+RU3+IwPjuA+AqJBtMnquHt6HS5GeX2co+/oaFsvLpTl3dx6JbLXWxZb tEqeJolu9NUpEAykfRZ/m+0A1386DNwRn95uxWxyGXxqJxwG0CcOvm33eVr6PLvHvdJk xj6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=smT4INWH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k9si4516669pls.321.2021.09.30.10.23.51; Thu, 30 Sep 2021 10:24:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=smT4INWH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1352566AbhI3RYq (ORCPT + 99 others); Thu, 30 Sep 2021 13:24:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:39480 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352459AbhI3RYo (ORCPT ); Thu, 30 Sep 2021 13:24:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8B919613A0; Thu, 30 Sep 2021 17:23:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633022581; bh=9rag8usx11vrfz5n1Alc5CNlxdSu7yLNHJusXs6H3Xc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=smT4INWHGimM8VYsC/zVfp5QMujuZ5U21z40UH9cFM5G70cYo0d2lKW1axqmPFwHK ednwMaotuLnaClhXaxpoP0e43qc2gnvXfAoSltS7tmKX1wnMxutMJZyInXZ9oQe9PO WMSJJUTDb+GcvMDiKZnoUeotF/c021KEkYFZ7lsWtyAMhLQK0L3KjY25ce6PyXZlWy ykexidoxN/DmaHtSawowBwieM1XQwlvGiaHPW63tTlSBD1/M+Pq62kQsVruaiP22/N +yQQ6zqMPlT/5OSWAuqq8x1OwRG/YVzL09M/fYfc59mLMNcgd/nbzQJJztM5SpEjWk 3IA6zqn6gfoIg== Received: by pali.im (Postfix) id 7D7BEE79; Thu, 30 Sep 2021 19:22:59 +0200 (CEST) Date: Thu, 30 Sep 2021 19:22:59 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Stefan Chulski Cc: Konstantin Porotchkin , 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: <20210930172259.gdz75oxz7doqrvna@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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Stefan! Could you please look at this email and help us with this 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?