mbox series

[00/26,SRU,U/OEM-5.10] UBUNTU: SAUCE: Support Killer 500s (QCA6390) WLAN/BT

Message ID 20201204152013.195139-1-vicamo.yang@canonical.com
Headers show
Series UBUNTU: SAUCE: Support Killer 500s (QCA6390) WLAN/BT | expand

Message

You-Sheng Yang Dec. 4, 2020, 3:19 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1879633

[Impact]

Qualcomm QCA6390 series not recognized due to the lack of ath11k driver.

$ lspci
0000:55:00.0 Unassigned class [ff00]: Qualcomm Device [17cb:1101]
 Subsystem: Bigfoot Networks, Inc. Device [1a56:a501]

[Fix]

25 additional fixes in ath tree
(https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git), tag
ath11k-qca6390-bringup-202011301608 to resolve issues on TGL platforms,
and firmware updates from mainline are required.

[Test Case]

1. Install firmwares & boot from patched kernel,
2. ath11k should be now up and running. Check with
   `sudo dmesg | grep ath11k`

[Where problems could occur]

There has been a lot patches landed in kernel since 5.7 devel cycle. The
last bits here has merge base with mainline at v5.10-rc4, and since then
only patches for ath11k itself has been committed.

Anilkumar Kolli (1):
  ath11k: add 64bit check before reading msi high addr

Carl Huang (17):
  ath11k: pci: support platforms with one MSI vector
  ath11k: try to allocate big block of dma memory firstly
  ath11k: hook mhi suspend and resume
  ath11k: implement hif suspend and resume functions.
  ath11k: read select_window register to ensure write is finished
  ath11k: implement htc suspend related callbacks
  ath11k: put target to suspend when system enters suspend state
  ath11k: put hw to DBS using WMI_PDEV_SET_HW_MODE_CMDID
  ath11k: fix pcie link unstable issue
  ath11k: fix PCI L1ss clock unstable problem
  ath11k: disable OTP write privilege
  ath11k: disable ASPM L0sLs before downloading firmware
  ath11k: purge rx pktlog when entering suspend
  ath11k: set credit_update flag for flow controlled ep only
  ath11k: implement wow enable and wow wakeup command
  ath11k: add ce irq enable and disable hif layer functions
  ath11k: put target to wow state when suspend happens

Kalle Valo (4):
  ath11k: dp_rx: fix monitor status dma unmap direction
  ath11k: pci: print a warning if firmware crashed
  ath11k: qmi: print allocated memory segment addresses and sizes
  HACK: ath11k: add delays to suspend and resume handlers

Pradeep Kumar Chitrapu (1):
  ath11k: Fix incorrect tlvs in scan start command

Ritesh Singh (2):
  ath11k: vdev delete synchronization with firmware
  ath11k: peer delete synchronization with firmware

You-Sheng Yang (1):
  UBUNTU: [Config] enable ath11k debugfs/tracing

 debian.master/config/annotations          |   5 +-
 debian.master/config/config.common.ubuntu |   5 +-
 drivers/bus/mhi/core/init.c               |   4 +-
 drivers/net/wireless/ath/ath11k/Makefile  |   3 +-
 drivers/net/wireless/ath/ath11k/ce.c      |   8 +-
 drivers/net/wireless/ath/ath11k/ce.h      |   2 +
 drivers/net/wireless/ath/ath11k/core.c    |  58 ++-
 drivers/net/wireless/ath/ath11k/core.h    |  13 +
 drivers/net/wireless/ath/ath11k/dp.c      |  10 +-
 drivers/net/wireless/ath/ath11k/dp.h      |   3 +-
 drivers/net/wireless/ath/ath11k/dp_rx.c   |  31 +-
 drivers/net/wireless/ath/ath11k/dp_rx.h   |   2 +-
 drivers/net/wireless/ath/ath11k/hif.h     |  33 ++
 drivers/net/wireless/ath/ath11k/htc.c     |  38 +-
 drivers/net/wireless/ath/ath11k/htc.h     |   9 +-
 drivers/net/wireless/ath/ath11k/hw.h      |   7 +-
 drivers/net/wireless/ath/ath11k/mac.c     |  78 +++-
 drivers/net/wireless/ath/ath11k/mac.h     |   2 +
 drivers/net/wireless/ath/ath11k/mhi.c     |  37 +-
 drivers/net/wireless/ath/ath11k/mhi.h     |   4 +
 drivers/net/wireless/ath/ath11k/pci.c     | 417 ++++++++++++++++++++--
 drivers/net/wireless/ath/ath11k/pci.h     |  29 ++
 drivers/net/wireless/ath/ath11k/peer.c    |  44 ++-
 drivers/net/wireless/ath/ath11k/peer.h    |   2 +
 drivers/net/wireless/ath/ath11k/qmi.c     |  27 +-
 drivers/net/wireless/ath/ath11k/qmi.h     |   1 +
 drivers/net/wireless/ath/ath11k/wmi.c     | 245 ++++++++++---
 drivers/net/wireless/ath/ath11k/wmi.h     | 170 +++++++++
 drivers/net/wireless/ath/ath11k/wow.c     |  70 ++++
 drivers/net/wireless/ath/ath11k/wow.h     |  10 +
 30 files changed, 1238 insertions(+), 129 deletions(-)
 create mode 100644 drivers/net/wireless/ath/ath11k/wow.c
 create mode 100644 drivers/net/wireless/ath/ath11k/wow.h

Comments

You-Sheng Yang Dec. 4, 2020, 3:27 p.m. UTC | #1
In correct tag for defconfig/annotation changes in 26th patch.

On 12/4/20 11:19 PM, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1879633
> 
> [Impact]
> 
> Qualcomm QCA6390 series not recognized due to the lack of ath11k driver.
> 
> $ lspci
> 0000:55:00.0 Unassigned class [ff00]: Qualcomm Device [17cb:1101]
>  Subsystem: Bigfoot Networks, Inc. Device [1a56:a501]
> 
> [Fix]
> 
> 25 additional fixes in ath tree
> (https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git), tag
> ath11k-qca6390-bringup-202011301608 to resolve issues on TGL platforms,
> and firmware updates from mainline are required.
> 
> [Test Case]
> 
> 1. Install firmwares & boot from patched kernel,
> 2. ath11k should be now up and running. Check with
>    `sudo dmesg | grep ath11k`
> 
> [Where problems could occur]
> 
> There has been a lot patches landed in kernel since 5.7 devel cycle. The
> last bits here has merge base with mainline at v5.10-rc4, and since then
> only patches for ath11k itself has been committed.
> 
> Anilkumar Kolli (1):
>   ath11k: add 64bit check before reading msi high addr
> 
> Carl Huang (17):
>   ath11k: pci: support platforms with one MSI vector
>   ath11k: try to allocate big block of dma memory firstly
>   ath11k: hook mhi suspend and resume
>   ath11k: implement hif suspend and resume functions.
>   ath11k: read select_window register to ensure write is finished
>   ath11k: implement htc suspend related callbacks
>   ath11k: put target to suspend when system enters suspend state
>   ath11k: put hw to DBS using WMI_PDEV_SET_HW_MODE_CMDID
>   ath11k: fix pcie link unstable issue
>   ath11k: fix PCI L1ss clock unstable problem
>   ath11k: disable OTP write privilege
>   ath11k: disable ASPM L0sLs before downloading firmware
>   ath11k: purge rx pktlog when entering suspend
>   ath11k: set credit_update flag for flow controlled ep only
>   ath11k: implement wow enable and wow wakeup command
>   ath11k: add ce irq enable and disable hif layer functions
>   ath11k: put target to wow state when suspend happens
> 
> Kalle Valo (4):
>   ath11k: dp_rx: fix monitor status dma unmap direction
>   ath11k: pci: print a warning if firmware crashed
>   ath11k: qmi: print allocated memory segment addresses and sizes
>   HACK: ath11k: add delays to suspend and resume handlers
> 
> Pradeep Kumar Chitrapu (1):
>   ath11k: Fix incorrect tlvs in scan start command
> 
> Ritesh Singh (2):
>   ath11k: vdev delete synchronization with firmware
>   ath11k: peer delete synchronization with firmware
> 
> You-Sheng Yang (1):
>   UBUNTU: [Config] enable ath11k debugfs/tracing
> 
>  debian.master/config/annotations          |   5 +-
>  debian.master/config/config.common.ubuntu |   5 +-
>  drivers/bus/mhi/core/init.c               |   4 +-
>  drivers/net/wireless/ath/ath11k/Makefile  |   3 +-
>  drivers/net/wireless/ath/ath11k/ce.c      |   8 +-
>  drivers/net/wireless/ath/ath11k/ce.h      |   2 +
>  drivers/net/wireless/ath/ath11k/core.c    |  58 ++-
>  drivers/net/wireless/ath/ath11k/core.h    |  13 +
>  drivers/net/wireless/ath/ath11k/dp.c      |  10 +-
>  drivers/net/wireless/ath/ath11k/dp.h      |   3 +-
>  drivers/net/wireless/ath/ath11k/dp_rx.c   |  31 +-
>  drivers/net/wireless/ath/ath11k/dp_rx.h   |   2 +-
>  drivers/net/wireless/ath/ath11k/hif.h     |  33 ++
>  drivers/net/wireless/ath/ath11k/htc.c     |  38 +-
>  drivers/net/wireless/ath/ath11k/htc.h     |   9 +-
>  drivers/net/wireless/ath/ath11k/hw.h      |   7 +-
>  drivers/net/wireless/ath/ath11k/mac.c     |  78 +++-
>  drivers/net/wireless/ath/ath11k/mac.h     |   2 +
>  drivers/net/wireless/ath/ath11k/mhi.c     |  37 +-
>  drivers/net/wireless/ath/ath11k/mhi.h     |   4 +
>  drivers/net/wireless/ath/ath11k/pci.c     | 417 ++++++++++++++++++++--
>  drivers/net/wireless/ath/ath11k/pci.h     |  29 ++
>  drivers/net/wireless/ath/ath11k/peer.c    |  44 ++-
>  drivers/net/wireless/ath/ath11k/peer.h    |   2 +
>  drivers/net/wireless/ath/ath11k/qmi.c     |  27 +-
>  drivers/net/wireless/ath/ath11k/qmi.h     |   1 +
>  drivers/net/wireless/ath/ath11k/wmi.c     | 245 ++++++++++---
>  drivers/net/wireless/ath/ath11k/wmi.h     | 170 +++++++++
>  drivers/net/wireless/ath/ath11k/wow.c     |  70 ++++
>  drivers/net/wireless/ath/ath11k/wow.h     |  10 +
>  30 files changed, 1238 insertions(+), 129 deletions(-)
>  create mode 100644 drivers/net/wireless/ath/ath11k/wow.c
>  create mode 100644 drivers/net/wireless/ath/ath11k/wow.h
>