Date: Thu, 1 Mar 2018 04:21:18 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r330142 - stable/11/sys/dev/iwm Message-ID: <201803010421.w214LIYF085406@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Thu Mar 1 04:21:18 2018 New Revision: 330142 URL: https://svnweb.freebsd.org/changeset/base/330142 Log: MFC r304880: iwm: add 'command accepted' debug notification (copied from wpi(4)). Now it should be easier to find out which command causes firmware panics when few commands are sent in a short period of time. Modified: stable/11/sys/dev/iwm/if_iwm.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/dev/iwm/if_iwm.c ============================================================================== --- stable/11/sys/dev/iwm/if_iwm.c Thu Mar 1 04:06:49 2018 (r330141) +++ stable/11/sys/dev/iwm/if_iwm.c Thu Mar 1 04:21:18 2018 (r330142) @@ -3115,6 +3115,11 @@ iwm_cmd_done(struct iwm_softc *sc, struct iwm_rx_packe return; /* Not a command ack. */ } + /* XXX wide commands? */ + IWM_DPRINTF(sc, IWM_DEBUG_CMD, + "cmd notification type 0x%x qid %d idx %d\n", + pkt->hdr.code, pkt->hdr.qid, pkt->hdr.idx); + data = &ring->data[pkt->hdr.idx]; /* If the command was mapped in an mbuf, free it. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803010421.w214LIYF085406>