1. 27 1月, 2012 2 次提交
    • B
      sfc: Make handling of MC reboot more reliable · 3f713bf4
      Ben Hutchings 提交于
      When the MC reboots, either as part of a firmware upgrade or due to a
      bug, it attempts to complete (with an error) any requests that were
      outstanding before the reboot.  Since there is an inherent race
      condition in checking this, it will also write to a status word in
      shared memory.
      
      If we look at each of these separately, we may detect each reboot
      twice, resulting in a spurious command failure after a firmware
      upgrade or frustrating recovery from a firmware bug.  Instead, if a
      request completion indicates a reboot, we must poll and clear the
      status word.
      
      This bug was previously masked by use of an incorrect address for the
      status word.  Fix that, using the definition now included in
      mcdi_pcol.h.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      3f713bf4
    • B
      sfc: Remove fallback for invalid permanent MAC address · e332bcb3
      Ben Hutchings 提交于
      By the time we look at the MAC address in efx_probe_port(), either the
      driver or the firmware has already validated the board configuration.
      The possibility of having an invalid MAC address just isn't worth
      considering.  It certainly isn't worth having a compile-time option
      for this.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      e332bcb3
  2. 10 1月, 2012 5 次提交
  3. 06 1月, 2012 3 次提交
  4. 05 1月, 2012 19 次提交
  5. 04 1月, 2012 11 次提交