mbox

[pull-request,utopic,SRU] iwlwifi: Backport firmware monitor support

Message ID 1417730742-38020-1-git-send-email-seth.forshee@canonical.com
State New
Headers show

Pull-request

git://kernel.ubuntu.com/sforshee/ubuntu-utopic.git lp1399440

Message

Seth Forshee Dec. 4, 2014, 10:05 p.m. UTC
These patches were backported from 3.17 by Intel to help with debugging
firmware issues [1]. They aren't suitable for upstream stable, but Intel
wireless is widely used among Ubuntu users so I think it makes sense for
us to pick them up if it's going to help get firmware bugs fixed.

The firmware monitor support is disabled be default and enabled only
when the fw_monitor=1 option is given to iwlwifi. I have reviewed the
patches, and I believe they have low potential for regression,
especially without the module option. I also saw no regressions during
testing, with or without the module option.

BugLink: http://bugs.launchpad.net/bugs/1399440

Thanks,
Seth

[1] http://permalink.gmane.org/gmane.linux.kernel.wireless.general/129744

---

The following changes since commit b9651a5d8545cd9c3072178d3540538af5948962:

  xen-netfront: Remove BUGs on paged skb data which crosses a page boundary (2014-12-04 10:04:17 -0800)

are available in the git repository at:

  git://kernel.ubuntu.com/sforshee/ubuntu-utopic.git lp1399440

for you to fetch changes up to 479b0e0368882c6e9e4c032efde277a4422a90f8:

  iwlwifi: mvm: update layout of firmware error dump (2014-12-04 15:50:34 -0600)

----------------------------------------------------------------
Emmanuel Grumbach (7):
      iwlwifi: add device / firmware to fw-error-dump file
      iwlwifi: rename iwl_mvm_fw_error_next_data
      iwlwifi: pcie: add firmware monitor capabilities
      iwlwifi: remove wrong comment about alignment in iwl-fw-error-dump.h
      iwlwifi: mvm: don't collect logs in the interrupt thread
      iwlwifi: mvm: kill iwl_mvm_fw_error_rxf_dump
      iwlwifi: mvm: update layout of firmware error dump

 drivers/net/wireless/iwlwifi/iwl-drv.c           |   6 +++++
 drivers/net/wireless/iwlwifi/iwl-fw-error-dump.h |  50 +++++++++++++++++++++++++++++++---
 drivers/net/wireless/iwlwifi/iwl-fw-file.h       |   5 ++--
 drivers/net/wireless/iwlwifi/iwl-fw.h            |   3 +++
 drivers/net/wireless/iwlwifi/iwl-modparams.h     |   2 ++
 drivers/net/wireless/iwlwifi/iwl-prph.h          |   6 +++++
 drivers/net/wireless/iwlwifi/mvm/mac80211.c      | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/net/wireless/iwlwifi/mvm/mvm.h           |   9 -------
 drivers/net/wireless/iwlwifi/mvm/ops.c           |  72 -------------------------------------------------
 drivers/net/wireless/iwlwifi/mvm/utils.c         |  65 --------------------------------------------
 drivers/net/wireless/iwlwifi/pcie/internal.h     |   7 +++++
 drivers/net/wireless/iwlwifi/pcie/trans.c        | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 12 files changed, 294 insertions(+), 156 deletions(-)

Comments

Andy Whitcroft Dec. 5, 2014, 9:26 a.m. UTC | #1
On Thu, Dec 04, 2014 at 04:05:35PM -0600, Seth Forshee wrote:
> These patches were backported from 3.17 by Intel to help with debugging
> firmware issues [1]. They aren't suitable for upstream stable, but Intel
> wireless is widely used among Ubuntu users so I think it makes sense for
> us to pick them up if it's going to help get firmware bugs fixed.
> 
> The firmware monitor support is disabled be default and enabled only
> when the fw_monitor=1 option is given to iwlwifi. I have reviewed the
> patches, and I believe they have low potential for regression,
> especially without the module option. I also saw no regressions during
> testing, with or without the module option.
> 
> BugLink: http://bugs.launchpad.net/bugs/1399440

Ok, this is a seemingly large heap of change, but they are self
contained affecting only one driver.  They are also official backports
by the maintainer of upstream accepted commits.  If they are going
to help us debug notty problems (well help Intel do so) then they
probabally are worth the pain.

Acked-by: Andy Whitcroft <apw@canonical.com>

-apw
Stefan Bader Dec. 8, 2014, 11:10 a.m. UTC | #2
On 04.12.2014 23:05, Seth Forshee wrote:
> These patches were backported from 3.17 by Intel to help with debugging
> firmware issues [1]. They aren't suitable for upstream stable, but Intel
> wireless is widely used among Ubuntu users so I think it makes sense for
> us to pick them up if it's going to help get firmware bugs fixed.
> 
> The firmware monitor support is disabled be default and enabled only
> when the fw_monitor=1 option is given to iwlwifi. I have reviewed the
> patches, and I believe they have low potential for regression,
> especially without the module option. I also saw no regressions during
> testing, with or without the module option.
> 
> BugLink: http://bugs.launchpad.net/bugs/1399440
> 
> Thanks,
> Seth
> 
> [1] http://permalink.gmane.org/gmane.linux.kernel.wireless.general/129744
> 
> ---
> 
> The following changes since commit b9651a5d8545cd9c3072178d3540538af5948962:
> 
>   xen-netfront: Remove BUGs on paged skb data which crosses a page boundary (2014-12-04 10:04:17 -0800)
> 
> are available in the git repository at:
> 
>   git://kernel.ubuntu.com/sforshee/ubuntu-utopic.git lp1399440
> 
> for you to fetch changes up to 479b0e0368882c6e9e4c032efde277a4422a90f8:
> 
>   iwlwifi: mvm: update layout of firmware error dump (2014-12-04 15:50:34 -0600)
> 
> ----------------------------------------------------------------
> Emmanuel Grumbach (7):
>       iwlwifi: add device / firmware to fw-error-dump file
>       iwlwifi: rename iwl_mvm_fw_error_next_data
>       iwlwifi: pcie: add firmware monitor capabilities
>       iwlwifi: remove wrong comment about alignment in iwl-fw-error-dump.h
>       iwlwifi: mvm: don't collect logs in the interrupt thread
>       iwlwifi: mvm: kill iwl_mvm_fw_error_rxf_dump
>       iwlwifi: mvm: update layout of firmware error dump
> 
>  drivers/net/wireless/iwlwifi/iwl-drv.c           |   6 +++++
>  drivers/net/wireless/iwlwifi/iwl-fw-error-dump.h |  50 +++++++++++++++++++++++++++++++---
>  drivers/net/wireless/iwlwifi/iwl-fw-file.h       |   5 ++--
>  drivers/net/wireless/iwlwifi/iwl-fw.h            |   3 +++
>  drivers/net/wireless/iwlwifi/iwl-modparams.h     |   2 ++
>  drivers/net/wireless/iwlwifi/iwl-prph.h          |   6 +++++
>  drivers/net/wireless/iwlwifi/mvm/mac80211.c      | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  drivers/net/wireless/iwlwifi/mvm/mvm.h           |   9 -------
>  drivers/net/wireless/iwlwifi/mvm/ops.c           |  72 -------------------------------------------------
>  drivers/net/wireless/iwlwifi/mvm/utils.c         |  65 --------------------------------------------
>  drivers/net/wireless/iwlwifi/pcie/internal.h     |   7 +++++
>  drivers/net/wireless/iwlwifi/pcie/trans.c        | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
>  12 files changed, 294 insertions(+), 156 deletions(-)
> 
> 
Agreed that this looks rather large but given this is in collaboration with the
maintainer and well contained and the actual feature backported is disabled by
default, it feels acceptable.

-Stefan
Brad Figg Dec. 8, 2014, 3:56 p.m. UTC | #3
On 12/04/2014 02:05 PM, Seth Forshee wrote:
> These patches were backported from 3.17 by Intel to help with debugging
> firmware issues [1]. They aren't suitable for upstream stable, but Intel
> wireless is widely used among Ubuntu users so I think it makes sense for
> us to pick them up if it's going to help get firmware bugs fixed.
> 
> The firmware monitor support is disabled be default and enabled only
> when the fw_monitor=1 option is given to iwlwifi. I have reviewed the
> patches, and I believe they have low potential for regression,
> especially without the module option. I also saw no regressions during
> testing, with or without the module option.
> 
> BugLink: http://bugs.launchpad.net/bugs/1399440
> 
> Thanks,
> Seth
> 
> [1] http://permalink.gmane.org/gmane.linux.kernel.wireless.general/129744
> 
> ---
> 
> The following changes since commit b9651a5d8545cd9c3072178d3540538af5948962:
> 
>   xen-netfront: Remove BUGs on paged skb data which crosses a page boundary (2014-12-04 10:04:17 -0800)
> 
> are available in the git repository at:
> 
>   git://kernel.ubuntu.com/sforshee/ubuntu-utopic.git lp1399440
> 
> for you to fetch changes up to 479b0e0368882c6e9e4c032efde277a4422a90f8:
> 
>   iwlwifi: mvm: update layout of firmware error dump (2014-12-04 15:50:34 -0600)
> 
> ----------------------------------------------------------------
> Emmanuel Grumbach (7):
>       iwlwifi: add device / firmware to fw-error-dump file
>       iwlwifi: rename iwl_mvm_fw_error_next_data
>       iwlwifi: pcie: add firmware monitor capabilities
>       iwlwifi: remove wrong comment about alignment in iwl-fw-error-dump.h
>       iwlwifi: mvm: don't collect logs in the interrupt thread
>       iwlwifi: mvm: kill iwl_mvm_fw_error_rxf_dump
>       iwlwifi: mvm: update layout of firmware error dump
> 
>  drivers/net/wireless/iwlwifi/iwl-drv.c           |   6 +++++
>  drivers/net/wireless/iwlwifi/iwl-fw-error-dump.h |  50 +++++++++++++++++++++++++++++++---
>  drivers/net/wireless/iwlwifi/iwl-fw-file.h       |   5 ++--
>  drivers/net/wireless/iwlwifi/iwl-fw.h            |   3 +++
>  drivers/net/wireless/iwlwifi/iwl-modparams.h     |   2 ++
>  drivers/net/wireless/iwlwifi/iwl-prph.h          |   6 +++++
>  drivers/net/wireless/iwlwifi/mvm/mac80211.c      | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  drivers/net/wireless/iwlwifi/mvm/mvm.h           |   9 -------
>  drivers/net/wireless/iwlwifi/mvm/ops.c           |  72 -------------------------------------------------
>  drivers/net/wireless/iwlwifi/mvm/utils.c         |  65 --------------------------------------------
>  drivers/net/wireless/iwlwifi/pcie/internal.h     |   7 +++++
>  drivers/net/wireless/iwlwifi/pcie/trans.c        | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
>  12 files changed, 294 insertions(+), 156 deletions(-)
> 
>