[PATCH 0/1][SRU][H/OEM-5.10/OEM-5.13/U] Fix system hang after unplug tbt dock

Aaron Ma aaron.ma at canonical.com
Mon Aug 2 10:56:31 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1938689

SRU justification:

[Impact]
System hang after unplug thunderbolt dock with Intel igc lan.

[Fix]
igc driver continue reading and writing MMIO address after PCI device is
unplugged.
This cause system page fault, and system hang.
Add safe check and prevent reading and writing the MMIO.

The patch is in maintainer's tree, but not merged to Linus's tree.
Due to the schedule, send SRU as SAUCE patch.

[Test]
Verified on hardware, after unplug the thunderbolt cable,
system work fine.

[Where problems could occur]
It may break the igc driver.

Aaron Ma (1):
  UBUNTU: SAUCE: igc: fix page fault when thunderbolt is unplugged

 drivers/net/ethernet/intel/igc/igc_main.c | 32 ++++++++++++++---------
 drivers/net/ethernet/intel/igc/igc_ptp.c  |  3 ++-
 2 files changed, 21 insertions(+), 14 deletions(-)

-- 
2.30.2




More information about the kernel-team mailing list