lkml.org 
[lkml]   [2019]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v5 0/9] Add Error Disconnect Recover (EDR) support
Date
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(-)

--
2.21.0

\
 
 \ /
  Last update: 2019-07-23 22:25    [W:0.165 / U:0.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site