Commit 0a834a3
e1000e: Remove mutex_trylock and associated WARN on failure.
Single-thread access must be ensured for ICH8 NVM and PHY operations.
This synchronization is provided by the nvm_mutex. To assist in
understanding the contexts from which this code could be reached,
a WARN was output if the mutex was not going to be immediately
acquirable (if !mutex_trylock()). The code has now been optimized,
and we have verified that the few remaining mutex contentions are
reasonable and non-blocking, and it is time to remove the
mutex_trylock() and WARN messages.
Signed-off-by: dave graham <david.graham@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 5e30589 commit 0a834a3
1 file changed
+1
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
394 | | - | |
395 | 393 | | |
396 | 394 | | |
397 | 395 | | |
| |||
408 | 406 | | |
409 | 407 | | |
410 | 408 | | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
| 409 | + | |
421 | 410 | | |
422 | 411 | | |
423 | 412 | | |
| |||
435 | 424 | | |
436 | 425 | | |
437 | 426 | | |
438 | | - | |
439 | | - | |
440 | 427 | | |
441 | 428 | | |
442 | 429 | | |
| |||
460 | 447 | | |
461 | 448 | | |
462 | 449 | | |
463 | | - | |
464 | | - | |
465 | 450 | | |
466 | 451 | | |
467 | 452 | | |
| |||
0 commit comments