From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932163AbdHUP6s (ORCPT ); Mon, 21 Aug 2017 11:58:48 -0400 Received: from mail-qt0-f179.google.com ([209.85.216.179]:34402 "EHLO mail-qt0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754402AbdHUP6p (ORCPT ); Mon, 21 Aug 2017 11:58:45 -0400 From: Oza Pawandeep To: Bjorn Helgaas , , Rob Herring , Mark Rutland , Ray Jui , Scott Branden , Jon Mason , bcm-kernel-feedback-list@broadcom.com, Oza Pawandeep , Andy Gospodarek , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Oza Pawandeep Subject: [PATCH v7 0/2] PCI: iproc: SOC specific fixes Date: Mon, 21 Aug 2017 21:28:42 +0530 Message-Id: <1503331124-25029-1-git-send-email-oza.oza@broadcom.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PCI: iproc: Retry request when CRS returned from EP Above patch adds support for CRS in PCI RC driver, otherwise if not handled at lower level, the user space PMD (poll mode drivers) can timeout. PCI: iproc: add device shutdown for PCI RC This fixes the issue where certian PCI endpoints are not getting detected on Stingray SOC after reboot. Changes Since v6: Rebased patches on top of Lorenzo's patches. Bjorn's comments addressed. now the confg retry returns 0xffffffff as data. Added reference to PCIe spec and iproc Controller spec in Changelog. Changes Since v5: Ray's comments addressed. Changes Since v4: Bjorn's comments addressed. Changes Since v3: [re-send] Changes Since v2: Fix compilation errors for pcie-iproc-platform.ko which was caught by kbuild. Oza Pawandeep (2): PCI: iproc: Retry request when CRS returned from EP PCI: iproc: add device shutdown for PCI RC drivers/pci/host/pcie-iproc-platform.c | 8 ++ drivers/pci/host/pcie-iproc.c | 142 ++++++++++++++++++++++++++------- drivers/pci/host/pcie-iproc.h | 1 + 3 files changed, 123 insertions(+), 28 deletions(-) -- 1.9.1