From patchwork Thu Jun 24 22:26:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 12343291 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.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 56E0BC49EA6 for ; Thu, 24 Jun 2021 22:29:19 +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 0AF3D6137D for ; Thu, 24 Jun 2021 22:29:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0AF3D6137D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@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:Date:Subject:Cc :To:From: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=wVulfQffP47J2Gp3jk59OPZeeHCWF6Jc6C3ZaECIB2I=; b=VL8rI3MgINifpZ rEDuIbRoQaP+6EQju/rA5UuUk8l7v/RUkAszMLdK2+afcxsdIzIJT35Y7r6UDocjwnT4g+pFhpl38 gDhu+uVaOX5oCiRVflHuGxvrbGey2X2AAbNj64XTQ4wzZVNbestzRdbUU7iop+9e5tniI1oAUCloK /aawM3cFIGixS3/Ta2nBYSCplES1110E9bKCtbe8h8We9jreUEEPP1Gg9JXDVs2zMwKIRExxKmGXW u4GEYrIKYUPMTX9HNKIKiBJnZ5dU41Yhoya9Eur4t71QV9vAGnJMweHUKWn9Y+mx3UgrjYQ+ZWZKp p2AK3kqP2PwkknHLKw5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwXoW-00GV7L-LU; Thu, 24 Jun 2021 22:27:12 +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 1lwXoS-00GV5f-S2 for linux-arm-kernel@lists.infradead.org; Thu, 24 Jun 2021 22:27:10 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 53ECC61375; Thu, 24 Jun 2021 22:27:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624573628; bh=KWZRyJ0iEyvtpktbnQcV6kk8yj6NL7oIa4RExWmzxgY=; h=From:To:Cc:Subject:Date:From; b=FLbDGTWCNQYhuKT94MciN1sHgQdOJpDWDOP5uQN65ginI0e89WsAUEstER2utdbA6 AZnYdjmmIDrYxLd+kdYsMRtMzq9D47cKBuJE2O0Gjn4BcdDcugqABJZTGb5uQ0TFk5 WEXbQ5ut6aMx6nwHdcbosFlIEBjYBbsods00dkNoX7nGLNZt5uuIyFOmZ3b1iWql02 fqZD66A8PEPyCpi0Q8JkTKQL92xlElE5UGbpBzklN0fsmC+doPKz7teVzB1Z9+wHTV oz3u65yC37pN06l/jrieX+wQKlexExoSz0swjAYEeoQ1c2OfAHlroCoBhzrpzj63hR BSOb5igqyRx7Q== Received: by pali.im (Postfix) id D3CF28A3; Fri, 25 Jun 2021 00:27:05 +0200 (CEST) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: Lorenzo Pieralisi , Thomas Petazzoni , Bjorn Helgaas , Rob Herring , Gregory Clement Cc: =?utf-8?q?Marek_Beh=C3=BAn?= , "Remi Pommarel" , Xogium , "Tomasz Maciej Nowak" , Nadav Haklai , Kostya Porotchkin , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [RESEND PATCH 0/5] PCI: aardvark: Initialization fixes Date: Fri, 25 Jun 2021 00:26:16 +0200 Message-Id: <20210624222621.4776-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210624_152708_970116_3365B5AD X-CRM114-Status: UNSURE ( 7.09 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Per Lorenzo's request [1] I'm resending [2] some other aardvark patches which fixes initialization. The last patch 5/5 is the new and was not in previous patch series [2]. Please see detailed description and additional comment after --- section. [1] - https://lore.kernel.org/linux-pci/20210603151605.GA18917@lpieralisi/ [2] - https://lore.kernel.org/linux-pci/20210506153153.30454-1-pali@kernel.org/ Pali Rohár (5): PCI: aardvark: Fix link training PCI: Add PCI_EXP_DEVCTL_PAYLOAD_* macros PCI: aardvark: Fix PCIe Max Payload Size setting PCI: aardvark: Implement workaround for the readback value of VEND_ID PCI: aardvark: Implement workaround for PCIe Completion Timeout drivers/pci/controller/pci-aardvark.c | 138 ++++++++++---------------- include/uapi/linux/pci_regs.h | 6 ++ 2 files changed, 60 insertions(+), 84 deletions(-)