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

Andrea Righi andrea.righi at canonical.com
Tue Jul 12 12:22:09 UTC 2022


On Tue, May 17, 2022 at 04:08:16PM -0500, 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

Applied to kinetic:linux as well (only patch [PATCH v2 3/3], since the
other patches were already applied via upstream updates).

Thanks,
-Andrea



More information about the kernel-team mailing list