qca6164 support

Anish Tondwalkar twilightrook at gmail.com
Sun Aug 9 23:41:20 PDT 2015


No dice. Do note that I'm on 0014 not 003e, so I wouldn't expect that
to work. This is using sumdog's board.bin and firmware-4.bin saved as
both firmware-4.bin and firmware-5.bin (I think Victor's patched
kernel uses -5 rather than -4). Here's dmesg:

[    2.101023] random: nonblocking pool is initialized
[    2.103269] systemd[1]: Started udev Kernel Device Manager.
[    2.225591] input: Lid Switch as
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input2
[    2.225635] ACPI: Lid Switch [LID0]
[    2.225688] input: Power Button as
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input3
[    2.225691] ACPI: Power Button [PWRB]
[    2.225746] input: Power Button as
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
[    2.225748] ACPI: Power Button [PWRF]
[    2.226934] ACPI: AC Adapter [ADP0] (on-line)
[    2.288391] clocksource: Switched to clocksource tsc
[    2.298991] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    2.313748] ACPI Warning: SystemIO range
0x0000000000004040-0x000000000000405F conflicts with OpRegion
0x0000000000004040-0x000000000000404F (\_SB_.PCI0.SBUS.SMBI)
(20150619/utaddress-254)
[    2.313756] ACPI: If an ACPI driver is available for this device,
you should use it instead of the native driver
[    2.325804] [drm] Initialized drm 1.1.0 20060810
[    2.361576] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    2.369430] r8169 0000:02:00.0 eth0: RTL8168g/8111g at
0xffffc90000e9c000, 68:f7:28:e2:28:96, XID 10900800 IRQ 48
[    2.369435] r8169 0000:02:00.0 eth0: jumbo features [frames: 9200
bytes, tx checksumming: ko]
[    2.382334] ACPI: Battery Slot [BAT0] (battery present)
[    2.444234] i915: unknown parameter 'i915_enable_rc6' ignored
[    2.444929] [drm] Memory usable by graphics device = 4096M
[    2.444932] checking generic (b0000000 7f0000) vs hw (b0000000 10000000)
[    2.444933] fb: switching to inteldrmfb from VESA VGA
[    2.444953] Console: switching to colour dummy device 80x25
[    2.445033] [drm] Replacing VGA console driver
[    2.450559] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.450561] [drm] Driver supports precise vblank timestamp query.
[    2.450651] vgaarb: device changed decodes:
PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    2.455450] snd_hda_codec_conexant hdaudioC1D0: CX20751/2: BIOS auto-probing.
[    2.455751] snd_hda_codec_conexant hdaudioC1D0: autoconfig for
CX20751/2: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    2.455754] snd_hda_codec_conexant hdaudioC1D0:    speaker_outs=0
(0x0/0x0/0x0/0x0/0x0)
[    2.455757] snd_hda_codec_conexant hdaudioC1D0:    hp_outs=1
(0x16/0x0/0x0/0x0/0x0)
[    2.455759] snd_hda_codec_conexant hdaudioC1D0:    mono: mono_out=0x0
[    2.455760] snd_hda_codec_conexant hdaudioC1D0:    inputs:
[    2.455763] snd_hda_codec_conexant hdaudioC1D0:      Internal Mic=0x1a
[    2.455765] snd_hda_codec_conexant hdaudioC1D0:      Mic=0x19
[    2.456546] snd_hda_codec_conexant hdaudioC1D0: Enable sync_write
for stable communication
[    2.460126] input: HDA Digital PCBeep as
/devices/pci0000:00/0000:00:1b.0/sound/card1/input5
[    2.460263] input: HDA Intel PCH Mic as
/devices/pci0000:00/0000:00:1b.0/sound/card1/input6
[    2.460299] input: HDA Intel PCH Headphone as
/devices/pci0000:00/0000:00:1b.0/sound/card1/input7
[    2.465447] fbcon: inteldrmfb (fb0) is primary device
[    2.465741] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    2.466047] input: Video Bus as
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input8
[    2.466116] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops
i915_audio_component_bind_ops [i915])
[    2.466119] [drm] Initialized i915 1.6.0 20150522 for 0000:00:02.0 on minor 0
[    2.491339] systemd[1]: Found device ST1000LM014-SSHD-8GB 1.
[    2.496511] input: PC Speaker as /devices/platform/pcspkr/input/input9
[    2.499787] input: Ideapad extra buttons as
/devices/pci0000:00/0000:00:1f.0/PNP0C09:00/VPC2004:00/input/input10
[    2.506026] AVX2 version of gcm_enc/dec engaged.
[    2.506027] AES CTR mode by8 optimization enabled
[    2.544300] input: HDA Intel HDMI HDMI/DP,pcm=3 as
/devices/pci0000:00/0000:00:03.0/sound/card0/input12
[    2.544322] input: HDA Intel HDMI HDMI/DP,pcm=7 as
/devices/pci0000:00/0000:00:03.0/sound/card0/input13
[    2.544342] input: HDA Intel HDMI HDMI/DP,pcm=8 as
/devices/pci0000:00/0000:00:03.0/sound/card0/input14
[    2.551358] ath10k_pci 0000:03:00.0: limiting irq mode to: 1
[    2.551360] ath10k_pci 0000:03:00.0: pci irq legacy interrupts 0
irq_mode 1 reset_mode 0
[    2.577100] iTCO_vendor_support: vendor-support=0
[    2.577740] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[    2.577773] iTCO_wdt: Found a Wildcat Point_LP TCO device
(Version=2, TCOBASE=0x1860)
[    2.577859] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[    2.591630] r8169 0000:02:00.0 enp2s0: renamed from eth0
[    2.593051] kvm: disabled by bios
[    2.660744] ppdev: user-space parallel port driver
[    2.663243] intel_rapl: Found RAPL domain package
[    2.663244] intel_rapl: Found RAPL domain core
[    2.663245] intel_rapl: Found RAPL domain uncore
[    2.663246] intel_rapl: Found RAPL domain dram
[    2.732055] ------------[ cut here ]------------
[    2.732062] WARNING: CPU: 2 PID: 108 at
drivers/gpu/drm/drm_irq.c:1162 drm_wait_one_vblank+0x16e/0x1c0 [drm]()
[    2.732062] vblank not available on crtc 0, ret=-22
[    2.732085] Modules linked in: intel_rapl iosf_mbi ppdev
x86_pkg_temp_thermal intel_powerclamp coretemp kvm iTCO_wdt
iTCO_vendor_support evdev ath10k_pci ath10k_core ath
snd_hda_codec_hdmi input_leds mac_hid serio_raw mac80211
crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel
aesni_intel aes_x86_64 psmouse lrw gf128mul pcspkr ideapad_laptop
glue_helper ablk_helper cryptd cfg80211 snd_hda_codec_conexant
snd_hda_codec_generic sparse_keymap i915 snd_hda_intel parport_pc
r8169 mii snd_hda_codec rfkill drm_kms_helper snd_hda_core snd_hwdep
snd_pcm snd_timer snd drm intel_gtt i2c_algo_bit i2c_i801 parport
mei_me mei soundcore battery shpchp i2c_core lpc_ich video
snd_soc_sst_acpi processor ac acpi_pad button sch_fq_codel ip_tables
x_tables ext4 crc16 mbcache jbd2 rtsx_usb_sdmmc led_class mmc_core
[    2.732089]  rtsx_usb sr_mod cdrom sd_mod atkbd libps2 ahci libahci
xhci_pci libata xhci_hcd usbcore scsi_mod usb_common i8042 serio
[    2.732091] CPU: 2 PID: 108 Comm: kworker/u16:3 Not tainted
4.2.0-rc5-wl-ath-g22f8a40 #1
[    2.732092] Hardware name: LENOVO 80FG/Lenovo Z70-80, BIOS ABCN80WW
05/18/2015
[    2.732095] Workqueue: events_unbound async_run_entry_fn
[    2.732097]  0000000000000000 0000000085441b82 ffff880097f9b6e8
ffffffff815665e9
[    2.732098]  0000000000000000 ffff880097f9b740 ffff880097f9b728
ffffffff810737a6
[    2.732099]  0000000100000000 ffff880253fa1000 ffff880253fa1000
0000000000000000
[    2.732099] Call Trace:
[    2.732104]  [<ffffffff815665e9>] dump_stack+0x4c/0x6e
[    2.732106]  [<ffffffff810737a6>] warn_slowpath_common+0x86/0xc0
[    2.732108]  [<ffffffff81073835>] warn_slowpath_fmt+0x55/0x70
[    2.732113]  [<ffffffffa02f33fe>] drm_wait_one_vblank+0x16e/0x1c0 [drm]
[    2.732143]  [<ffffffffa0444c92>] intel_finish_crtc_commit+0x162/0x170 [i915]
[    2.732147]  [<ffffffffa03931c0>]
drm_atomic_helper_commit_planes+0x170/0x200 [drm_kms_helper]
[    2.732170]  [<ffffffffa0445ebd>] __intel_set_mode+0x8ad/0xb80 [i915]
[    2.732193]  [<ffffffffa044cd89>] intel_crtc_set_config+0x2c9/0x600 [i915]
[    2.732200]  [<ffffffffa02fb9f6>]
drm_mode_set_config_internal+0x66/0x100 [drm]
[    2.732203]  [<ffffffffa0396542>] restore_fbdev_mode+0xc2/0xf0
[drm_kms_helper]
[    2.732206]  [<ffffffffa03984a9>]
drm_fb_helper_restore_fbdev_mode_unlocked+0x29/0x70 [drm_kms_helper]
[    2.732208]  [<ffffffffa0398512>] drm_fb_helper_set_par+0x22/0x40
[drm_kms_helper]
[    2.732229]  [<ffffffffa045b60a>] intel_fbdev_set_par+0x1a/0x60 [i915]
[    2.732233]  [<ffffffff8131c8e8>] fbcon_init+0x538/0x5c0
[    2.732235]  [<ffffffff81395cee>] visual_init+0xce/0x130
[    2.732236]  [<ffffffff8139781e>] do_bind_con_driver+0x1be/0x3e0
[    2.732238]  [<ffffffff81397d79>] do_take_over_console+0x149/0x1a0
[    2.732241]  [<ffffffff8156578e>] ? printk+0x55/0x6b
[    2.732243]  [<ffffffff8131c9c7>] do_fbcon_takeover+0x57/0xb0
[    2.732244]  [<ffffffff81320b80>] fbcon_event_notify+0x660/0x760
[    2.732246]  [<ffffffff810920de>] notifier_call_chain+0x4e/0x80
[    2.732247]  [<ffffffff8109249b>] __blocking_notifier_call_chain+0x4b/0x70
[    2.732249]  [<ffffffff810924d6>] blocking_notifier_call_chain+0x16/0x20
[    2.732251]  [<ffffffff8132697b>] fb_notifier_call_chain+0x1b/0x20
[    2.732253]  [<ffffffff81328b75>] register_framebuffer+0x215/0x350
[    2.732256]  [<ffffffffa039878f>]
drm_fb_helper_initial_config+0x25f/0xad0 [drm_kms_helper]
[    2.732277]  [<ffffffffa045c0bb>] intel_fbdev_initial_config+0x1b/0x20 [i915]
[    2.732278]  [<ffffffff81093c1c>] async_run_entry_fn+0x4c/0x160
[    2.732280]  [<ffffffff8108b49b>] process_one_work+0x14b/0x440
[    2.732282]  [<ffffffff8108b7d8>] worker_thread+0x48/0x4a0
[    2.732284]  [<ffffffff8108b790>] ? process_one_work+0x440/0x440
[    2.732286]  [<ffffffff81091378>] kthread+0xd8/0xf0
[    2.732288]  [<ffffffff810912a0>] ? kthread_worker_fn+0x170/0x170
[    2.732290]  [<ffffffff8156bf5f>] ret_from_fork+0x3f/0x70
[    2.732292]  [<ffffffff810912a0>] ? kthread_worker_fn+0x170/0x170
[    2.732293] ---[ end trace f2c5c96804cf7499 ]---
[    2.819150] Non-volatile memory driver v1.3
[    2.821075] thinkpad_acpi: ThinkPad ACPI Extras v0.25
[    2.821076] thinkpad_acpi: http://ibm-acpi.sf.net/
[    2.821076] thinkpad_acpi: ThinkPad BIOS ABCN80WW, EC unknown
[    2.821077] thinkpad_acpi: Lenovo Lenovo Z70-80, model 80FG
[    2.821460] thinkpad_acpi: detected a 8-level brightness capable ThinkPad
[    2.821512] thinkpad_acpi: Standard ACPI backlight interface
available, not loading native one
[    2.821575] thinkpad_acpi: Console audio control enabled, mode:
monitor (read only)
[    2.822344] input: ThinkPad Extra Buttons as
/devices/platform/thinkpad_acpi/input/input15
[    2.837490] ath10k_pci 0000:03:00.0: Direct firmware load for
ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[    2.837491] ath10k_pci 0000:03:00.0: Falling back to user helper
[    3.456357] psmouse serio1: synaptics: queried max coordinates: x
[..5670], y [..4794]
[    3.503665] psmouse serio1: synaptics: queried min coordinates: x
[1314..], y [1098..]
[    3.556396] Console: switching to colour frame buffer device 240x67
[    3.560013] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    3.560013] i915 0000:00:02.0: registered panic notifier
[    3.560277] systemd[1]: Started Journal Service.
[    3.597423] psmouse serio1: synaptics: Touchpad model: 1, fw: 8.1,
id: 0x1e2b1, caps: 0xd00123/0x840300/0x2a800/0x0, board id: 2848, fw
id: 1581875
[    3.645737] systemd-journald[182]: Received request to flush
runtime journal from PID 1
[    3.654655] input: SynPS/2 Synaptics TouchPad as
/devices/platform/i8042/serio1/input/input11
[    3.812532] mousedev: PS/2 mouse device common for all mice
[    3.881734] EXT4-fs (sda1): mounted filesystem with ordered data
mode. Opts: (null)
[    4.129158] media: Linux media interface: v0.10
[    4.147627] Linux video capture interface: v2.00
[    4.150048] Bluetooth: Core ver 2.20
[    4.150068] NET: Registered protocol family 31
[    4.150070] Bluetooth: HCI device and connection manager initialized
[    4.150073] Bluetooth: HCI socket layer initialized
[    4.150076] Bluetooth: L2CAP socket layer initialized
[    4.150086] Bluetooth: SCO socket layer initialized
[    4.160999] usbcore: registered new interface driver btusb
[    4.167040] Bluetooth: hci0: using rampatch file:
qca/rampatch_usb_00000200.bin
[    4.167043] Bluetooth: hci0: QCA: patch rome 0x200 build 0x299,
firmware rome 0x200 build 0x111
[    4.186750] EXT4-fs (sda2): mounted filesystem with ordered data
mode. Opts: (null)
[    4.223526] Bluetooth: hci0: using NVM file: qca/nvm_usb_00000200.bin
[    4.243536] uvcvideo: Found UVC 1.00 device Lenovo EasyCamera (174f:14be)
[    4.244648] input: Lenovo EasyCamera as
/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/input/input16
[    4.244717] usbcore: registered new interface driver uvcvideo
[    4.244720] USB Video Class driver (1.1.1)
[    7.078266] sha1_ssse3: Using AVX2 optimized SHA-1 implementation
[    7.112608] Key type trusted registered
[    7.120399] sha256_ssse3: Using AVX2 optimized SHA-256 implementation
[    7.151521] Key type encrypted registered
[   19.782015] snd_hda_intel 0000:00:1b.0: IRQ timing workaround is
activated for card #1. Suggest a bigger bdl_pos_adj.
[   29.442534] r8169 0000:02:00.0 enp2s0: link down
[   29.442580] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[   31.750952] r8169 0000:02:00.0 enp2s0: link up
[   31.750961] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready
[   56.041855] r8169 0000:02:00.0 enp2s0: link down
[   62.884606] ath10k_pci 0000:03:00.0: Direct firmware load for
ath10k/QCA6174/hw2.1/board-pci-168c:0041:17aa:3545.bin failed with
error -2
[   62.884609] ath10k_pci 0000:03:00.0: Falling back to user helper
[   70.304540] r8169 0000:02:00.0 enp2s0: link up
[  122.932551] ath10k_pci 0000:03:00.0: failed to load spec board
file, falling back to generic: -11
[  124.112139] ath10k_pci 0000:03:00.0: firmware crashed! (uuid
8a379073-8ebc-49bc-a0a3-dcdcaa2f375a)
[  124.112154] ath10k_pci 0000:03:00.0: qca6174 hw2.1 (0x05010000,
0x003405ff, 168c:0041:17aa:3545 fallback) fw killer-n1525-fw api 5
htt-ver 0.0 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
features
[  124.112156] ath10k_pci 0000:03:00.0: debug 0 debugfs 1 tracing 0
dfs 0 testmode 0
[  124.114175] ath10k_pci 0000:03:00.0: firmware register dump:
[  124.114177] ath10k_pci 0000:03:00.0: [00]: 0x05010000 0x000015B3
0x000A012D 0x00955B31
[  124.114179] ath10k_pci 0000:03:00.0: [04]: 0x000A012D 0x00060330
0x00000016 0x84785006
[  124.114181] ath10k_pci 0000:03:00.0: [08]: 0x00000000 0x00400000
0x00400600 0x00000001
[  124.114182] ath10k_pci 0000:03:00.0: [12]: 0x00000009 0x00000000
0x00931C61 0x00931C7D
[  124.114184] ath10k_pci 0000:03:00.0: [16]: 0x0096BDBC 0x009287BD
0x00931DBA 0x00000000
[  124.114186] ath10k_pci 0000:03:00.0: [20]: 0x400A012D 0x0040E2B0
0x00955A00 0x00404590
[  124.114187] ath10k_pci 0000:03:00.0: [24]: 0x809287D9 0x0040E310
0x7A508DF8 0xC00A012D
[  124.114189] ath10k_pci 0000:03:00.0: [28]: 0x809288D7 0x0040E340
0x00000000 0xFFF08040
[  124.114191] ath10k_pci 0000:03:00.0: [32]: 0x809290FE 0x0040E360
0x00400000 0x00400600
[  124.114192] ath10k_pci 0000:03:00.0: [36]: 0x80929205 0x0040E380
0x00000000 0x00400600
[  124.114194] ath10k_pci 0000:03:00.0: [40]: 0x40928024 0x0040E3B0
0x0040D3D0 0x0040D3D0
[  124.114196] ath10k_pci 0000:03:00.0: [44]: 0x00000000 0x0040E3D0
0x009BB001 0x00040020
[  124.114197] ath10k_pci 0000:03:00.0: [48]: 0x00401BF0 0x00000001
0x00404B9C 0x00400000
[  124.114199] ath10k_pci 0000:03:00.0: [52]: 0x40928024 0x0040E3B0
0x0040D3D0 0x0040D3D0
[  124.114201] ath10k_pci 0000:03:00.0: [56]: 0xFAD50700 0xE43458C2
0x9DCD6B13 0x887A8F31
[  125.110848] ath10k_pci 0000:03:00.0: failed to receive control
response completion, polling..
[  126.111661] ath10k_pci 0000:03:00.0: ctl_resp never came in (-110)
[  126.111665] ath10k_pci 0000:03:00.0: failed to connect to HTC: -110
[  126.192421] ath10k_pci 0000:03:00.0: could not init core (-110)
[  126.192458] ath10k_pci 0000:03:00.0: could not probe fw (-110)
[  126.201743] ath10k_pci 0000:03:00.0: cannot restart a device that
hasn't been started
[  126.345199] r8169 0000:02:00.0 enp2s0: link down
[  136.200348] r8169 0000:02:00.0 enp2s0: link up
[  148.466435] ------------[ cut here ]------------
[  148.466442] WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:303
dev_watchdog+0x235/0x240()
[  148.466444] NETDEV WATCHDOG: enp2s0 (r8169): transmit queue 0 timed out
[  148.466445] Modules linked in: drbg ansi_cprng ecb ecryptfs cbc
sha256_ssse3 sha256_generic encrypted_keys sha1_mb mcryptd sha1_ssse3
sha1_generic hmac trusted tpm uvcvideo videobuf2_vmalloc btusb
videobuf2_memops btrtl videobuf2_core btbcm btintel v4l2_common
bluetooth videodev rtsx_usb_ms media memstick joydev mousedev
thinkpad_acpi nvram msr intel_rapl iosf_mbi ppdev x86_pkg_temp_thermal
intel_powerclamp coretemp kvm iTCO_wdt iTCO_vendor_support evdev
ath10k_pci ath10k_core ath snd_hda_codec_hdmi input_leds mac_hid
serio_raw mac80211 crct10dif_pclmul crc32_pclmul crc32c_intel
ghash_clmulni_intel aesni_intel aes_x86_64 psmouse lrw gf128mul pcspkr
ideapad_laptop glue_helper ablk_helper cryptd cfg80211
snd_hda_codec_conexant snd_hda_codec_generic sparse_keymap i915
snd_hda_intel parport_pc r8169
[  148.466481]  mii snd_hda_codec rfkill drm_kms_helper snd_hda_core
snd_hwdep snd_pcm snd_timer snd drm intel_gtt i2c_algo_bit i2c_i801
parport mei_me mei soundcore battery shpchp i2c_core lpc_ich video
snd_soc_sst_acpi processor ac acpi_pad button sch_fq_codel ip_tables
x_tables ext4 crc16 mbcache jbd2 rtsx_usb_sdmmc led_class mmc_core
rtsx_usb sr_mod cdrom sd_mod atkbd libps2 ahci libahci xhci_pci libata
xhci_hcd usbcore scsi_mod usb_common i8042 serio
[  148.466507] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G        W
4.2.0-rc5-wl-ath-g22f8a40 #1
[  148.466509] Hardware name: LENOVO 80FG/Lenovo Z70-80, BIOS ABCN80WW
05/18/2015
[  148.466510]  0000000000000000 65df9dde1ccac394 ffff88025ec83d48
ffffffff815665e9
[  148.466512]  0000000000000000 ffff88025ec83da0 ffff88025ec83d88
ffffffff810737a6
[  148.466514]  0000000000000023 0000000000000000 ffff880253b62680
0000000000000002
[  148.466516] Call Trace:
[  148.466517]  <IRQ>  [<ffffffff815665e9>] dump_stack+0x4c/0x6e
[  148.466524]  [<ffffffff810737a6>] warn_slowpath_common+0x86/0xc0
[  148.466526]  [<ffffffff81073835>] warn_slowpath_fmt+0x55/0x70
[  148.466529]  [<ffffffff81491e25>] dev_watchdog+0x235/0x240
[  148.466531]  [<ffffffff81491bf0>] ? qdisc_rcu_free+0x40/0x40
[  148.466533]  [<ffffffff810dc269>] call_timer_fn+0x39/0x130
[  148.466535]  [<ffffffff81491bf0>] ? qdisc_rcu_free+0x40/0x40
[  148.466537]  [<ffffffff810dc587>] run_timer_softirq+0x227/0x2d0
[  148.466539]  [<ffffffff8104daf2>] ? lapic_next_deadline+0x32/0x40
[  148.466542]  [<ffffffff8107754f>] __do_softirq+0xcf/0x290
[  148.466544]  [<ffffffff81077883>] irq_exit+0xa3/0xb0
[  148.466546]  [<ffffffff8156e6b6>] smp_apic_timer_interrupt+0x46/0x60
[  148.466548]  [<ffffffff8156c9bb>] apic_timer_interrupt+0x6b/0x70
[  148.466549]  <EOI>  [<ffffffff810de612>] ? hrtimer_get_next_event+0x42/0x70
[  148.466554]  [<ffffffff81428f14>] ? cpuidle_enter_state+0x124/0x290
[  148.466556]  [<ffffffff81428eef>] ? cpuidle_enter_state+0xff/0x290
[  148.466559]  [<ffffffff814290b7>] cpuidle_enter+0x17/0x20
[  148.466561]  [<ffffffff810b4c62>] call_cpuidle+0x32/0x60
[  148.466563]  [<ffffffff81429093>] ? cpuidle_select+0x13/0x20
[  148.466565]  [<ffffffff810b4f24>] cpu_startup_entry+0x294/0x370
[  148.466568]  [<ffffffff8104c5ba>] start_secondary+0x18a/0x1c0
[  148.466569] ---[ end trace f2c5c96804cf749a ]---
[  148.482004] r8169 0000:02:00.0 enp2s0: link up

On Mon, Aug 10, 2015 at 2:15 AM, Michal Kazior <michal.kazior at tieto.com> wrote:
> On 10 August 2015 at 06:36, Anish Tondwalkar <twilightrook at gmail.com> wrote:
>> Victor van Poppelen <vvanpo <at> gmail.com> writes:
>>
>>>
>>> > Can you load ath10k_pci with irq_mode=1 module parameter, please?
>>> >
>>> > Something broke in recent kernel for msi-ranged irqs on ath10k. Enrico
>>> > is trying to bisect.
>>> >
>>> > In the meantime forcing shared interrupts is the only workaround.
>>>
>>> It works!
>>>
>>
>>
>> I'm trying this with ath10k_pci irq_mode=1 and ath10k_core skip_otp=y on
>> kernel 22f8a4083883eca3e8a3175315d67d2a04392466 from
>> https://github.com/vvanpo/linux/commit (I think that's just kvalo/ath with
>> Michał's changes) on my Lenovo Z70-80. It's not working (did I extract the
>> firmware wrong? can someone send me the correct fw?)
>>
>> Here's dmesg: (I think the enp2s0 error are probably unrelated)
>>
> [...]
>> [   63.057634] ath10k_pci 0000:03:00.0: Direct firmware load for
>> ath10k/QCA6174/hw2.1/board-pci-168c:0041:17aa:3545.bin failed with error -2
>> [   63.057637] ath10k_pci 0000:03:00.0: Falling back to user helper
>> [  123.103317] ath10k_pci 0000:03:00.0: failed to load spec board file,
>> falling back to generic: -11
>> [  125.144847] ath10k_pci 0000:03:00.0: unable to write to the device
>> [  125.144851] ath10k_pci 0000:03:00.0: could not write otp (-110)
>> [  125.144853] ath10k_pci 0000:03:00.0: failed to run otp: -110
>> [  125.144854] ath10k_pci 0000:03:00.0: could not init core (-110)
>> [  125.144871] ath10k_pci 0000:03:00.0: could not probe fw (-110)
>
> Looks like you've assembled the firmware binary incorrectly. The otp
> binary is too big. You might want to try unofficial fw binary from
> this pull request instead:
>
>    https://github.com/kvalo/ath10k-firmware/pull/2
>
>
> Michal



-- 
Anish

Q: Why is this email two sentences or less?
A: http://two.sentenc.es



More information about the ath10k mailing list