Return-path: Received: from mail-wm0-f68.google.com ([74.125.82.68]:34378 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750870AbcF0HWj (ORCPT ); Mon, 27 Jun 2016 03:22:39 -0400 Received: by mail-wm0-f68.google.com with SMTP id 187so22128662wmz.1 for ; Mon, 27 Jun 2016 00:22:38 -0700 (PDT) Date: Mon, 27 Jun 2016 09:22:35 +0200 From: Mirco Tischler To: kvalo@qca.qualcomm.com Cc: linux-wireless@vger.kernel.org, ath9k-devel@qca.qualcomm.com, miaoqing pan Subject: Re: ath9k: fix GPIO mask for AR9462 and AR9565 Message-ID: <20160627072235.GB31166@frangipani> (sfid-20160627_092242_353793_FFB73A94) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-wireless-owner@vger.kernel.org List-ID: Kalle Valo wrote: >miaoqing pan wrote: >> From: 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: >> [] dump_stack+0x63/0x87 >> [] __warn+0xd1/0xf0 >> [] warn_slowpath_null+0x1d/0x20 >> [] ath9k_hw_gpio_get+0x1a9/0x1b0 [ath9k_hw] >> [] ath9k_rfkill_poll_state+0x34/0x60 [ath9k] >> [] ieee80211_rfkill_poll+0x33/0x40 [mac80211] >> [] cfg80211_rfkill_poll+0x2a/0xc0 [cfg80211] >> [] rfkill_poll+0x24/0x50 >> [] process_one_work+0x153/0x3f0 >> [] worker_thread+0x12b/0x4b0 >> [] ? rescuer_thread+0x340/0x340 >> [] kthread+0xc9/0xe0 >> [] ret_from_fork+0x1f/0x40 >> [] ? kthread_park+0x60/0x60 >> >> Signed-off-by: Miaoqing Pan > > >Thanks, 1 patch applied to ath-current branch of ath.git: > >e024111f6946 ath9k: fix GPIO mask for AR9462 and AR9565 > Hello Kalle, I see this warning in 4.7-rc4. Could the fix please go into 4.7? if I understand correctly it is only queued for 4.8? Btw. I applied the patch and it does fix the problem :) Thank you, Mirco