]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sfc: Demote "MC Scheduler error" messages
authorRobert Stonehouse <rstonehouse@solarflare.com>
Mon, 7 Oct 2013 17:44:17 +0000 (18:44 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Fri, 6 Dec 2013 22:29:19 +0000 (22:29 +0000)
The MC firmware is cooperatively multitasking and its scheduler will
send an event when a task yields after running for more than the
expected maximum time.  This can be useful for firmware development
but does not usually indicate a serious error and does not help to
detect a lockup (there is a hardware watchdog that does that).
Change the message and reduce log level accordingly.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/mcdi.c

index 4b0bd8a1514dbb7035c7c0562cefc072901e585c..25f91c0ca6a60ec9bc04eaffd71256ee65c36e71 100644 (file)
@@ -867,8 +867,8 @@ void efx_mcdi_process_event(struct efx_channel *channel,
                efx_mcdi_sensor_event(efx, event);
                break;
        case MCDI_EVENT_CODE_SCHEDERR:
-               netif_info(efx, hw, efx->net_dev,
-                          "MC Scheduler error address=0x%x\n", data);
+               netif_dbg(efx, hw, efx->net_dev,
+                         "MC Scheduler alert (0x%x)\n", data);
                break;
        case MCDI_EVENT_CODE_REBOOT:
        case MCDI_EVENT_CODE_MC_REBOOT: