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: 12343279 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=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 38494C49EA5 for ; Thu, 24 Jun 2021 22:27:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 161DE613C0 for ; Thu, 24 Jun 2021 22:27:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229643AbhFXW32 (ORCPT ); Thu, 24 Jun 2021 18:29:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:37896 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229521AbhFXW32 (ORCPT ); Thu, 24 Jun 2021 18:29:28 -0400 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 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.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(-)