Commit dc2aa33
Revert "e1000e: Separate signaling for link check/link up"
commit 3016e0a upstream.
This reverts commit 19110cf.
This reverts commit 4110e02.
This reverts commit d3604515c9eda464a92e8e67aae82dfe07fe3c98.
Commit 19110cf ("e1000e: Separate signaling for link check/link up")
changed what happens to the link status when there is an error which
happens after "get_link_status = false" in the copper check_for_link
callbacks. Previously, such an error would be ignored and the link
considered up. After that commit, any error implies that the link is down.
Revert commit 19110cf ("e1000e: Separate signaling for link check/link
up") and its followups. After reverting, the race condition described in
the log of commit 19110cf is reintroduced. It may still be triggered
by LSC events but this should keep the link down in case the link is
electrically unstable, as discussed. The race may no longer be
triggered by RXO events because commit 4aea7a5 ("e1000e: Avoid
receiver overrun interrupt bursts") restored reading icr in the Other
handler.
Link: https://lkml.org/lkml/2018/3/1/789
Signed-off-by: Benjamin Poirier <bpoirier@suse.com>
Acked-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 7a5b2bf commit dc2aa33
3 files changed
Lines changed: 9 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1367 | 1367 | | |
1368 | 1368 | | |
1369 | 1369 | | |
1370 | | - | |
1371 | | - | |
1372 | | - | |
1373 | 1370 | | |
1374 | 1371 | | |
1375 | 1372 | | |
| |||
1385 | 1382 | | |
1386 | 1383 | | |
1387 | 1384 | | |
1388 | | - | |
| 1385 | + | |
1389 | 1386 | | |
1390 | 1387 | | |
1391 | 1388 | | |
| |||
1602 | 1599 | | |
1603 | 1600 | | |
1604 | 1601 | | |
1605 | | - | |
| 1602 | + | |
1606 | 1603 | | |
1607 | 1604 | | |
1608 | 1605 | | |
| |||
1616 | 1613 | | |
1617 | 1614 | | |
1618 | 1615 | | |
1619 | | - | |
| 1616 | + | |
1620 | 1617 | | |
1621 | | - | |
1622 | | - | |
1623 | 1618 | | |
1624 | | - | |
| 1619 | + | |
1625 | 1620 | | |
1626 | 1621 | | |
1627 | 1622 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | 413 | | |
417 | 414 | | |
418 | 415 | | |
| |||
426 | 423 | | |
427 | 424 | | |
428 | 425 | | |
429 | | - | |
| 426 | + | |
430 | 427 | | |
431 | 428 | | |
432 | 429 | | |
| |||
450 | 447 | | |
451 | 448 | | |
452 | 449 | | |
453 | | - | |
| 450 | + | |
454 | 451 | | |
455 | 452 | | |
456 | 453 | | |
| |||
464 | 461 | | |
465 | 462 | | |
466 | 463 | | |
467 | | - | |
| 464 | + | |
468 | 465 | | |
469 | | - | |
470 | | - | |
471 | 466 | | |
472 | | - | |
| 467 | + | |
473 | 468 | | |
474 | 469 | | |
475 | 470 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5089 | 5089 | | |
5090 | 5090 | | |
5091 | 5091 | | |
5092 | | - | |
| 5092 | + | |
5093 | 5093 | | |
5094 | 5094 | | |
5095 | 5095 | | |
| |||
0 commit comments