From patchwork Tue Sep 25 08:30:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 10613645 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4C7BB913 for ; Tue, 25 Sep 2018 08:29:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C0C52978E for ; Tue, 25 Sep 2018 08:29:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2DA08299C2; Tue, 25 Sep 2018 08:29:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 229EA2978E for ; Tue, 25 Sep 2018 08:29:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727507AbeIYOgK (ORCPT ); Tue, 25 Sep 2018 10:36:10 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:37754 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726125AbeIYOgK (ORCPT ); Tue, 25 Sep 2018 10:36:10 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8P8TYsg005177; Tue, 25 Sep 2018 03:29:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1537864174; bh=/6IyBVzlR42G0qI9cpbwD5bIPz7BxC+PDyWbKInEmXA=; h=From:To:CC:Subject:Date; b=cS7cw5ZycEa7YUv1pNiseO5ShDJELwsCeW9ALo1NLAEJKAysqdNlg4ZkkEHMg1JrE hjccO02NugmzAInLStR4e/XhHpdWq+dgdSjv0V/Ag6hdC1hh0xqROX7twOTtdgw9FL bkZNlfAgPNl5lRxPjp/hufNlu3mVdSSSnEijsZ6E= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8P8TYmI007255; Tue, 25 Sep 2018 03:29:34 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 25 Sep 2018 03:29:33 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 25 Sep 2018 03:29:33 -0500 Received: from a0132425.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8P8TU3k006331; Tue, 25 Sep 2018 03:29:31 -0500 From: Vignesh R To: Lorenzo Pieralisi CC: Kishon Vijay Abraham I , Bjorn Helgaas , Rob Herring , , , , , Vignesh R Subject: [PATCH v5 0/2] pci-dra7xx: Enable errata i870 workaround for RC mode Date: Tue, 25 Sep 2018 14:00:22 +0530 Message-ID: <20180925083024.6960-1-vigneshr@ti.com> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Make workaround for errata i870 applicable in Host mode as well(previously it was enabled only for EP mode) as per errata documentation: http://www.ti.com/lit/er/sprz450/sprz450.pdf Driver will continue to work with w/o applying errata in host mode when using older DT, to maintain backward compatibility. Tested on DRA72 EVM Changes since v4: Fail driver probe if DT binding is absent for EP(as it is in current code) Changes since v3: Rebase onto latest next Drop DT patches from this series. They will be sent separately once driver changes in this series is merged. Changes since v2: Reorder patch 2 to appear at the last. Collect all the ACKs Changes since v1: Drop IRQ handling rework (will be sent out separately) Vignesh R (2): dt-bindings: PCI: dra7xx: Add bindings for unaligned access in host mode pci: dwc: pci-dra7xx: Enable errata i870 for both EP and RC mode Documentation/devicetree/bindings/pci/ti-pci.txt | 5 +++++ drivers/pci/controller/dwc/pci-dra7xx.c | 11 ++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-)