APPLIED/Cmnt: [SRU][J][PATCH v2 0/3] DPC Fixes for Failure Cases of DownPort Containment events

Stefan Bader stefan.bader at canonical.com
Mon Jul 11 10:54:18 UTC 2022


On 17.05.22 23:08, Michael Reed wrote:
> From: Michael Reed <Michael.Reed at canonical.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1965241
> 
> SRU Justification:
> 
> [Impact]
> Recovery from DownPort Containment events fail and the NVMe endpoint is not accessible in some scenarios.
> 
> [Fix]
> 
> These are some of the DPC fixes which help in handling some of the failure cases of DownPort Containment events.
> 
> Upstream kernel patches to be included into Ubuntu 22.04 and into Ubuntu 20.04.5:
> 
> Already in Jammy as of Ubuntu-5.15.0-1.1
> PCI/portdrv: Enable Bandwidth Notification only if port supports it
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.17-rc6&id=00823dcbdd415c868390feaca16f0265101efab4
> 
> PCI: pciehp: Ignore Link Down/Up caused by error-induced Hot Reset
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.17-rc6&id=ea401499e943c307e6d44af6c2b4e068643e7884
> 
> 3134689f98 PCI/portdrv: Rename pm_iter() to pcie_port_device_iter()
> 
> [Test Case]
> 
> 1. Disable the memory space of NVMe end point device
> 2. Issue IO to the device
> 3. Observe dmesg. dmesg shows that EDR event is generated, link is contained and NVMe device is recovered.
> 
> 2. Observe the dmesg
> 
> [Other Info]
> https://code.launchpad.net/~mreed8855/ubuntu/+source/linux/+git/jammy/+ref/test_dpc_1965241
> 
> Lukas Wunner (2):
>    PCI/portdrv: Rename pm_iter() to pcie_port_device_iter()
>    PCI: pciehp: Ignore Link Down/Up caused by error-induced Hot Reset
> 
> Michael Reed (1):
>    Enable config option CONFIG_PCIE_EDR BugLink:
>      https://bugs.launchpad.net/bugs/1965241
> 
>   debian.master/config/annotations          |  2 +-
>   debian.master/config/config.common.ubuntu |  2 +-
>   drivers/pci/hotplug/pciehp.h              |  2 ++
>   drivers/pci/hotplug/pciehp_core.c         |  2 ++
>   drivers/pci/hotplug/pciehp_hpc.c          | 26 +++++++++++++++++++++++
>   drivers/pci/pcie/portdrv.h                |  3 +++
>   drivers/pci/pcie/portdrv_core.c           | 20 ++++++++---------
>   drivers/pci/pcie/portdrv_pci.c            |  3 +++
>   8 files changed, 48 insertions(+), 12 deletions(-)
> 

Applied to jammy:linux/master-next with suggested changes. Thanks.

-Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20220711/b5b595c5/attachment.sig>


More information about the kernel-team mailing list