From mboxrd@z Thu Jan 1 00:00:00 1970 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=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 91867C4338F for ; Fri, 23 Jul 2021 22:19:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 611B460EB4 for ; Fri, 23 Jul 2021 22:19:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 611B460EB4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=VG/0TcAWd1Kx5xnqU0APGWzvJpxGbEIHPsUJ5ofn7Ms=; b=IVJTl+P0lgKoa3 iQlmtgQJmGR36KF0Zd09FAttWFFlOu8dYRqUf5cKr3a5GwyLvec8IeRdjJHggt5f5sYdQWtqZ6DPr EllloCz7sHL2Rqf5tkezmTtDVluOYeQOxtFdQehvkTebgHS0NWNKjCYSZT3s2tiz9LtApK9/g1/ok tKJ7gqSOZYbhnwVCcF2//o89ZdsdxiNK2kiksrc1ZRdHzgdVZpQQH4yc9JMJnjG9UQKaaXkoONwfK t/8HDZSS5berMqudUDvYGY20fwtHJwDbpkBXu+h2Khrg5ewlMjDf0vMScae6iOBri0hXE4lAdMy6P q+o5/L70P7x+Fl1SNtlw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m73U2-006D6U-Kr; Fri, 23 Jul 2021 22:17:31 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m73To-006D2r-O2 for linux-arm-kernel@lists.infradead.org; Fri, 23 Jul 2021 22:17:21 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7283F60EB4; Fri, 23 Jul 2021 22:17:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627078635; bh=bq4JdDIUwR2jdW1CIzrz8wTbXk1FyGIyb5cx66NndWY=; h=Date:From:To:Cc:Subject:From; b=tlTWopemPANHbd/9dEO+NBWCwg5KMoDp/6mTRW90N6VLr2phy52L4vmmc9Q3RphFT o8uMmVQAeC5W6K3PrEQpe8GAq2a6hZhHYSPY+7BJkhMx6zU3w+DFjdNistEAw7oac1 XM0Lv5hdLl2N5g2X0zbHI3le10NVa5M8YBC8Djpnb34Rr7RFzypI26GXWkzeRg7Ly3 QfHUKbZ0n8CuXEpARcxHE/8scEe/Oh0/csS7TOQ9wd5rzoP02AYhHYVLOIr2euUH/6 yij5RLPFuI16NO8i9UBzPLVtGFLX889PIyLwcsMoCfSec2G4FJJh3OHhIF5+ZLeINz RVylMYdfAgg0A== Received: by pali.im (Postfix) id EDCC0881; Sat, 24 Jul 2021 00:17:12 +0200 (CEST) Date: Sat, 24 Jul 2021 00:17:10 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Konstantin Porotchkin 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: Issues with A3720 PCIe controller driver pci-aardvark.c Message-ID: <20210723221710.wtztsrddudnxeoj3@pali> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20180716 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210723_151716_892059_9526FBD4 X-CRM114-Status: GOOD ( 10.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel