1. 27 6月, 2016 1 次提交
  2. 24 6月, 2016 2 次提交
  3. 23 6月, 2016 3 次提交
  4. 20 6月, 2016 8 次提交
  5. 18 6月, 2016 3 次提交
  6. 17 6月, 2016 3 次提交
  7. 16 6月, 2016 9 次提交
  8. 15 6月, 2016 5 次提交
  9. 14 6月, 2016 2 次提交
    • M
      ath9k: fix GPIO mask for AR9462 and AR9565 · e024111f
      Miaoqing Pan 提交于
      The incorrect GPIO mask cause kernel warning, when AR9462 access GPIO11.
      Also fix the mask for AR9565.
      
      WARNING: CPU: 1 PID: 199 at ../drivers/net/wireless/ath/ath9k/hw.c:2778 ath9k_hw_gpio_get+0x1a9/0x1b0 [ath9k_hw]
      CPU: 1 PID: 199 Comm: kworker/u16:9 Not tainted 4.7.0-rc1-next-20160530+ #5
      Hardware name: Acer TravelMate P243/BA40_HC, BIOS V1.01 04/20/2012
      Workqueue: events_power_efficient rfkill_poll
       0000000000000000 ffff88002cf73d28 ffffffff813b8ddc 0000000000000000
       0000000000000000 ffff88002cf73d68 ffffffff8107a331 00000ada00000086
       ffff880148d9c018 000000000000000b ffff880147e68720 0000000000000200
      Call Trace:
       [<ffffffff813b8ddc>] dump_stack+0x63/0x87
       [<ffffffff8107a331>] __warn+0xd1/0xf0
       [<ffffffff8107a41d>] warn_slowpath_null+0x1d/0x20
       [<ffffffffc0775b19>] ath9k_hw_gpio_get+0x1a9/0x1b0 [ath9k_hw]
       [<ffffffffc047f3e4>] ath9k_rfkill_poll_state+0x34/0x60 [ath9k]
       [<ffffffffc06dbb53>] ieee80211_rfkill_poll+0x33/0x40 [mac80211]
       [<ffffffffc03ad65a>] cfg80211_rfkill_poll+0x2a/0xc0 [cfg80211]
       [<ffffffff817c5514>] rfkill_poll+0x24/0x50
       [<ffffffff81093183>] process_one_work+0x153/0x3f0
       [<ffffffff8109393b>] worker_thread+0x12b/0x4b0
       [<ffffffff81093810>] ? rescuer_thread+0x340/0x340
       [<ffffffff81099129>] kthread+0xc9/0xe0
       [<ffffffff817d8f1f>] ret_from_fork+0x1f/0x40
       [<ffffffff81099060>] ? kthread_park+0x60/0x60
      
      Fixes: a01ab81b ("ath9k: define correct GPIO numbers and bits mask")
      Reported-by: NSudip Mukherjee <sudip.mukherjee@codethink.co.uk>
      Tested-by: NSudip Mukherjee <sudip.mukherjee@codethink.co.uk>
      Signed-off-by: NMiaoqing Pan <miaoqing@codeaurora.org>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      e024111f
    • R
      ath10k: fix deadlock while processing rx_in_ord_ind · e50525be
      Rajkumar Manoharan 提交于
      commit 5c86d97b ("ath10k: combine txrx and replenish task")
      introduced deadlock while processing rx in order indication message
      for qca6174 based devices. While merging replenish and txrx tasklets,
      replenish task should be called out of htt rx ring locking since it
      is also try to acquire the same lock.
      
      Unfortunately this issue is not exposed by other solutions (qca988x,
      qca99x0 & qca4019), as rx_in_ord_ind message is specific to qca6174
      based devices. This patch fixes
      
      =============================================
      [ INFO: possible recursive locking detected ]
      4.7.0-rc2-wt-ath+ #1353 Tainted: G            E
      ---------------------------------------------
      swapper/3/0 is trying to acquire lock:
       (&(&htt->rx_ring.lock)->rlock){+.-...}, at: [<f8d7ef19>]
      ath10k_htt_rx_msdu_buff_replenish+0x29/0x90 [ath10k_core]
      
      but task is already holding lock:
       (&(&htt->rx_ring.lock)->rlock){+.-...}, at: [<f8d82cab>]
      ath10k_htt_txrx_compl_task+0x21b/0x250 [ath10k_core]
      
      other info that might help us debug this:
       Possible unsafe locking scenario:
      
             CPU0
             ----
        lock(&(&htt->rx_ring.lock)->rlock);
        lock(&(&htt->rx_ring.lock)->rlock);
      
       *** DEADLOCK ***
      
       May be due to missing lock nesting notation
      
      1 lock held by swapper/3/0:
       #0:  (&(&htt->rx_ring.lock)->rlock){+.-...}, at: [<f8d82cab>]
      ath10k_htt_txrx_compl_task+0x21b/0x250 [ath10k_core]
      
      Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=119151
      Fixes: 5c86d97b ("ath10k: combine txrx and replenish task")
      Reported-by: NMike Lothian <mike@fireburn.co.uk>
      Signed-off-by: NRajkumar Manoharan <rmanohar@qti.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      e50525be
  10. 13 6月, 2016 1 次提交
  11. 11 6月, 2016 3 次提交