linux_dsm_epyc7002/drivers/net/wireless/ath/ath9k
Gabor Juhos b3cd802137 ath9k: ar9003: fix OTP register offsets for AR9340
Trying to access the OTP memory on the AR9340
causes a data bus error like this:

  Data bus error, epc == 86e84164, ra == 86e84164
  Oops[#1]:
  Cpu 0
  $ 0   : 00000000 00000061 deadc0de 00000000
  $ 4   : b8115f18 00015f18 00000007 00000004
  $ 8   : 00000001 7c7c3c7c 7c7c7c7c 7c7c7c7c
  $12   : 7c7c3c7c 001f0041 00000000 7c7c7c3c
  $16   : 86ee0000 00015f18 00000000 00000007
  $20   : 00000004 00000064 00000004 86d71c44
  $24   : 00000000 86e6ca00
  $28   : 86d70000 86d71b20 86ece0c0 86e84164
  Hi    : 00000000
  Lo    : 00000064
  epc   : 86e84164 ath9k_hw_wait+0x58/0xb0 [ath9k_hw]
      Tainted: G           O
  ra    : 86e84164 ath9k_hw_wait+0x58/0xb0 [ath9k_hw]
  Status: 1100d403    KERNEL EXL IE
  Cause : 4080801c
  PrId  : 0001974c (MIPS 74Kc)
  Modules linked in: ath9k(O+) ath9k_common(O) ath9k_hw(O) ath(O) ar934x_nfc
  mac80211(O) usbcore usb_common scsi_mod nls_base nand nand_ecc nand_ids
  crc_ccitt cfg80211(O) compat(O) arc4 aes_generic crypto_blkcipher cryptomgr
  aead crypto_hash crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio
  Process insmod (pid: 459, threadinfo=86d70000, task=87942140, tls=779ac440)
  Stack : 802fb500 000200da 804db150 804e0000 87816130 86ee0000 00010000 86d71b88
          86d71bc0 00000004 00000003 86e9fcd0 80305300 0002c0d0 86e74c50 800b4c20
          000003e8 00000001 00000000 86ee0000 000003ff 86e9fd64 80305300 80123938
          fffffffc 00000004 000058bc 00000000 86ea0000 86ee0000 000001ff 878d6000
          99999999 86e9fdc0 86ee0fcc 86e9e664 0000c0d0 86ee0000 0000700000007000
          ...
  Call Trace:
  [<86e84164>] ath9k_hw_wait+0x58/0xb0 [ath9k_hw]
  [<86e9fcd0>] ath9k_hw_setup_statusring+0x16b8/0x1c7c [ath9k_hw]

  Code: 0000a812  0040f809  00000000 <00531024> 1054000b  24020001  0c05b5dc  2404000a  26520001

The cause of the error is that the OTP register
offsets are different on the AR9340 than the
actually used values.

Cc: <stable@vger.kernel.org> # 3.0+
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-12-10 15:49:44 -05:00
..
ahb.c ath9k: add platform_device_id for AR9550 2012-07-09 16:36:24 -04:00
ani.c ath9k_hw: Add AR9565 HW support 2012-09-11 15:31:37 -04:00
ani.h ath9k: fix ANI operation in AP mode 2012-06-28 14:37:46 -04:00
antenna.c ath9k: Add a module parameter to enable diversity 2012-09-24 14:59:11 -04:00
ar955x_1p0_initvals.h ath9k: add initvals for AR9550 2012-07-09 16:36:26 -04:00
ar5008_initvals.h
ar5008_phy.c ath9k_hw: rename mrcCCKOff to fix smatch warning 2012-06-22 14:44:05 -04:00
ar9001_initvals.h
ar9002_calib.c
ar9002_hw.c ath9k_hw: remove redundant arguments to INIT_INI_ARRAY 2012-07-17 15:11:34 -04:00
ar9002_initvals.h ath9k_hw: INI changes for WoW for AR9002 chipsets 2012-07-12 15:27:16 -04:00
ar9002_mac.c
ar9002_phy.c
ar9002_phy.h
ar9003_2p2_initvals.h Revert "ath9k_hw: Update AR9003 high_power tx gain table" 2012-12-10 15:47:28 -05:00
ar9003_calib.c ath9k_hw: Fix wrong peak detector DC offset 2012-11-16 14:11:14 -05:00
ar9003_eeprom.c ath9k_hw: Configure new switch table for AR9565 BTCOEX 2012-10-29 15:19:30 -04:00
ar9003_eeprom.h ath9k: ar9003: fix OTP register offsets for AR9340 2012-12-10 15:49:44 -05:00
ar9003_hw.c ath9k_hw: Program filter coefficients correctly 2012-11-16 14:29:11 -05:00
ar9003_mac.c ath9k_hw: Handle AR_INTR_SYNC_HOST1_(FATAL|PERR) on AR9003 2012-09-28 13:54:10 -04:00
ar9003_mac.h
ar9003_mci.c ath9k: Fix MCI reset in BT cal_req 2012-11-21 14:16:01 -05:00
ar9003_mci.h ath9k: Add new BT profile info A2DP_Voice 2012-10-29 15:19:30 -04:00
ar9003_paprd.c ath9k_hw: calibrate PA input for PA predistortion 2012-09-05 14:53:31 -04:00
ar9003_phy.c ath9k_hw: Program filter coefficients correctly 2012-11-16 14:29:11 -05:00
ar9003_phy.h ath9k_hw: Fix wrong peak detector DC offset 2012-11-16 14:11:14 -05:00
ar9003_rtt.c ath9k_hw: Fix RTT calibration 2012-05-15 17:27:55 -04:00
ar9003_rtt.h ath9k_hw: Fix RTT calibration 2012-05-15 17:27:55 -04:00
ar9330_1p1_initvals.h ath9k: de-duplicate initvals 2012-06-28 14:37:47 -04:00
ar9330_1p2_initvals.h ath9k: de-duplicate initvals 2012-06-28 14:37:47 -04:00
ar9340_initvals.h ath9k: de-duplicate initvals 2012-06-28 14:37:47 -04:00
ar9462_2p0_initvals.h ath9k_hw: Fix wrong peak detector DC offset 2012-11-16 14:11:14 -05:00
ar9485_initvals.h ath9k_hw: Program filter coefficients correctly 2012-11-16 14:29:11 -05:00
ar9565_1p0_initvals.h ath9k_hw: Enable hw PLL power save for AR9565 2012-10-29 15:30:31 -04:00
ar9580_1p0_initvals.h ath9k: de-duplicate initvals 2012-06-28 14:37:47 -04:00
ath9k.h ath9k: Implement sta_add_debugfs/sta_remove_debugfs 2012-11-30 13:38:15 -05:00
beacon.c ath9k/ath9k_htc: Remove WME macros 2012-11-21 14:16:02 -05:00
btcoex.c ath9k: stomp audio profiles on weak signal strength 2012-11-21 14:16:01 -05:00
btcoex.h ath9k: stomp audio profiles on weak signal strength 2012-11-21 14:16:01 -05:00
calib.c ath9k: fill channel mode in caldata 2012-10-29 15:18:53 -04:00
calib.h ath9k_hw: remove redundant arguments to INIT_INI_ARRAY 2012-07-17 15:11:34 -04:00
common.c
common.h ath9k: Replace WME_NUM_TID with IEEE80211_NUM_TIDS 2012-11-30 13:38:15 -05:00
debug.c ath9k: Implement sta_add_debugfs/sta_remove_debugfs 2012-11-30 13:38:15 -05:00
debug.h ath9k: Fix regression in 'xmit' debugfs file 2012-12-10 15:47:30 -05:00
dfs_debug.c ath9k: extend DFS detector stats in dfs_debugfs 2012-04-23 15:37:41 -04:00
dfs_debug.h ath9k: extend DFS detector stats in dfs_debugfs 2012-04-23 15:37:41 -04:00
dfs_pattern_detector.c ath9k: [DFS] add pulse width tolerance for ETSI 2012-11-16 14:11:13 -05:00
dfs_pattern_detector.h ath9k: resolve name collision in DFS detector 2012-11-14 14:55:32 -05:00
dfs_pri_detector.c ath9k: extend DFS detector stats in dfs_debugfs 2012-04-23 15:37:41 -04:00
dfs_pri_detector.h
dfs.c ath9k: extend DFS detector stats in dfs_debugfs 2012-04-23 15:37:41 -04:00
dfs.h
eeprom_4k.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2012-06-12 14:25:04 -04:00
eeprom_9287.c ath9k: Fix modal EEPROM dump 2012-06-05 15:23:20 -04:00
eeprom_def.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2012-06-12 14:25:04 -04:00
eeprom.c ath9k: move ath9k_hw_fbin2freq function to eeprom.h 2012-04-17 14:57:13 -04:00
eeprom.h ath9k_hw: add 8 points for 5G temp slop 2012-09-11 15:31:47 -04:00
gpio.c ath9k/ath9k_htc: Remove WME macros 2012-11-21 14:16:02 -05:00
hif_usb.c ath9k_htc: Add PID/VID for a Ubiquiti WiFiStation 2012-10-24 13:18:08 -04:00
hif_usb.h wireless: ath9k-htc: only load firmware in need 2012-09-07 15:03:36 -04:00
htc_drv_beacon.c ath9k/ath9k_htc: Remove WME macros 2012-11-21 14:16:02 -05:00
htc_drv_debug.c ath9k/ath9k_htc: Remove WME macros 2012-11-21 14:16:02 -05:00
htc_drv_gpio.c ath9k/ath9k_htc: Remove WME macros 2012-11-21 14:16:02 -05:00
htc_drv_init.c ath9k/ath9k_htc: Remove WME macros 2012-11-21 14:16:02 -05:00
htc_drv_main.c ath9k/ath9k_htc: Remove WME macros 2012-11-21 14:16:02 -05:00
htc_drv_txrx.c Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2012-11-21 14:43:51 -05:00
htc_hst.c
htc_hst.h
htc.h ath9k/ath9k_htc: Remove WME macros 2012-11-21 14:16:02 -05:00
hw-ops.h ath9k_hw: Add a HW callback to set diversity 2012-09-24 14:59:11 -04:00
hw.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2012-11-21 12:57:56 -05:00
hw.h ath9k_hw: Program filter coefficients correctly 2012-11-16 14:29:11 -05:00
init.c ath9k: Remove 'stations' debugfs file 2012-11-21 14:16:04 -05:00
Kconfig wireless: allow Atheros card to not depend on ath.ko 2012-11-30 13:38:16 -05:00
link.c ath9k: Fix the 'xmit' debugfs file 2012-11-21 14:16:03 -05:00
mac.c ath9k: fix interrupt storms on queued hardware reset 2012-08-10 14:50:24 -04:00
mac.h ath9k: fix interrupt storms on queued hardware reset 2012-08-10 14:50:24 -04:00
main.c ath9k: Implement sta_add_debugfs/sta_remove_debugfs 2012-11-30 13:38:15 -05:00
Makefile ath9k_hw: Add hardware code for WoW 2012-07-12 15:27:16 -04:00
mci.c ath9k: Fix buffer overflow error 2012-11-30 13:38:14 -05:00
mci.h ath9k: Add new BT profile info A2DP_Voice 2012-10-29 15:19:30 -04:00
pci.c ath9k: use SIMPLE_DEV_PM_OPS 2012-11-30 14:00:35 -05:00
phy.h
rc.c ath9k: Fix rate control debugging 2012-11-21 14:16:04 -05:00
rc.h ath9k: Fix rate control debugging 2012-11-21 14:16:04 -05:00
recv.c mac80211: support RX_FLAG_MACTIME_END 2012-11-13 21:43:55 +01:00
reg.h ath9k_hw: Fix concurrent tx on lower tx power 2012-10-29 15:30:32 -04:00
wmi.c
wmi.h
wow.c ath9k_hw: Configure new switch table for AR9565 BTCOEX 2012-10-29 15:19:30 -04:00
xmit.c ath9k: Remove redundant NULL assignment 2012-11-30 13:38:15 -05:00