[PATCH 0/1][SRU][H/OEM-5.13/OEM-5.14/U] UBUNTU: SAUCE: Fix invalid MAC address after hotplug tbt dock

Tim Gardner tim.gardner at canonical.com
Wed Sep 8 12:06:45 UTC 2021


Ick. It seems like there ought to be a more deterministic way to note 
when the MAC address has been copied. Why not a loop that does an 
msleep(1) until the MAC is address is updated or 600 msec elapses ?

On 9/8/21 2:49 AM, Aaron Ma wrote:
> BugLink: https://bugs.launchpad.net/bugs/1942999
> 
> SRU justification:
> 
> [Impact]
> igc driver can not connect to network after re-plugin thunderbolt dock
> when
> MAC passthrough enabled in BIOS.
> 
> [Fix]
> Wait for the MAC copy of BIOS when enabled MAC passthrough.
> Intel engineer wants a different solution and promise to discuss with
> firmware engineer.
> Due to the schedule, made this as a short term solution to fix the
> issue, and wait for the other
> fix from Intel.
> 
> [Test]
> Verified on hardware, after hotplug the thunderbolt cable,
> Ethernet works fine.
> 
> [Where problems could occur]
> It may break the igc driver.
> 
> Aaron Ma (1):
>    UBUNTU: SAUCE: igc: wait for the MAC copy when enabled MAC passthrough
> 
>   drivers/net/ethernet/intel/igc/igc_main.c | 3 +++
>   1 file changed, 3 insertions(+)
> 

-- 
-----------
Tim Gardner
Canonical, Inc



More information about the kernel-team mailing list