Message ID | cover.1563912591.git.sathyanarayanan.kuppuswamy@linux.intel.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-pci-owner@kernel.org> 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 EDB4F6C5 for <patchwork-linux-pci@patchwork.kernel.org>; Tue, 23 Jul 2019 20:24:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6E4C2861E for <patchwork-linux-pci@patchwork.kernel.org>; Tue, 23 Jul 2019 20:24:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CAF5928628; Tue, 23 Jul 2019 20:24:29 +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=-7.9 required=2.0 tests=BAYES_00,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 711BB2861E for <patchwork-linux-pci@patchwork.kernel.org>; Tue, 23 Jul 2019 20:24:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731713AbfGWUY2 (ORCPT <rfc822;patchwork-linux-pci@patchwork.kernel.org>); Tue, 23 Jul 2019 16:24:28 -0400 Received: from mga12.intel.com ([192.55.52.136]:31967 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727247AbfGWUY2 (ORCPT <rfc822;linux-pci@vger.kernel.org>); Tue, 23 Jul 2019 16:24:28 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jul 2019 13:24:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,300,1559545200"; d="scan'208";a="369028998" Received: from skuppusw-desk.jf.intel.com ([10.54.74.33]) by fmsmga006.fm.intel.com with ESMTP; 23 Jul 2019 13:24:27 -0700 From: sathyanarayanan.kuppuswamy@linux.intel.com To: bhelgaas@google.com Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, ashok.raj@intel.com, keith.busch@intel.com, sathyanarayanan.kuppuswamy@linux.intel.com Subject: [PATCH v5 0/9] Add Error Disconnect Recover (EDR) support Date: Tue, 23 Jul 2019 13:21:42 -0700 Message-Id: <cover.1563912591.git.sathyanarayanan.kuppuswamy@linux.intel.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: <linux-pci.vger.kernel.org> X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Add Error Disconnect Recover (EDR) support
|
expand
|
From: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> This patchset adds support for following features: 1. Error Disconnect Recover (EDR) support. 2. _OSC based negotiation support for DPC. You can find EDR spec in the following link. https://members.pcisig.com/wg/PCI-SIG/document/12614 Changes since v1: * Rebased on top of v5.1-rc1 Changes since v2: * Split EDR support patch into multiple patches. * Addressed Bjorn comments. Changes since v3: * Moved EDR related ACPI functions/definitions to pci-acpi.c * Modified commit history in few patches to include spec reference. * Added support to handle DPC triggered by NON_FATAL errors. * Added edr_lock to protect PCI device receiving duplicate EDR notifications. * Addressed Bjorn comments. Changes since v4: * Rebased on top of v5.3-rc1 * Fixed lock/unlock issue in edr_handle_event(). * Merged "Update error status after reset_link()" patch into this patchset. Kuppuswamy Sathyanarayanan (9): PCI/ERR: Update error status after reset_link() PCI/ACPI: Add _OSC based negotiation support for DPC PCI/ACPI: Expose EDR support via _OSC to BIOS PCI/DPC: Allow dpc_probe() even if firmware first mode is enabled PCI/DPC: Add dpc_process_error() wrapper function PCI/DPC: Add Error Disconnect Recover (EDR) support PCI/AER: Allow clearing Error Status Register in FF mode PCI/DPC: Add support for DPC recovery on NON_FATAL errors PCI/DPC: Clear AER registers in EDR mode drivers/acpi/pci_root.c | 9 ++ drivers/pci/pci-acpi.c | 91 +++++++++++++++ drivers/pci/pcie/Kconfig | 10 ++ drivers/pci/pcie/aer.c | 9 -- drivers/pci/pcie/dpc.c | 201 +++++++++++++++++++++++++++++--- drivers/pci/pcie/err.c | 11 +- drivers/pci/pcie/portdrv_core.c | 8 +- drivers/pci/probe.c | 1 + include/linux/acpi.h | 4 +- include/linux/pci-acpi.h | 11 ++ include/linux/pci.h | 2 +- 11 files changed, 323 insertions(+), 34 deletions(-)