diff options
author | Vitaly Lifshits <[email protected]> | 2024-04-29 10:10:40 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-04-30 18:40:59 -0700 |
commit | 387f295cb2150ed164905b648d76dfcbd3621778 (patch) | |
tree | 8dbc51f6ca1afe78f8d5b53b8765e0469dbc0aae /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | b9a61c20179fda7bdfe2c1210aa72451991ab81a (diff) |
e1000e: change usleep_range to udelay in PHY mdic access
This is a partial revert of commit 6dbdd4de0362 ("e1000e: Workaround
for sporadic MDI error on Meteor Lake systems"). The referenced commit
used usleep_range inside the PHY access routines, which are sometimes
called from an atomic context. This can lead to a kernel panic in some
scenarios, such as cable disconnection and reconnection on vPro systems.
Solve this by changing the usleep_range calls back to udelay.
Fixes: 6dbdd4de0362 ("e1000e: Workaround for sporadic MDI error on Meteor Lake systems")
Cc: [email protected]
Reported-by: Jérôme Carretero <[email protected]>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218740
Closes: https://lore.kernel.org/lkml/[email protected]/
Co-developed-by: Sasha Neftin <[email protected]>
Signed-off-by: Sasha Neftin <[email protected]>
Signed-off-by: Vitaly Lifshits <[email protected]>
Tested-by: Dima Ruinskiy <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions