ath11k.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Dell XPS 13 9310 MHI issue
@ 2021-05-10 11:59 SaGGy00
  0 siblings, 0 replies; only message in thread
From: SaGGy00 @ 2021-05-10 11:59 UTC (permalink / raw)
  To: ath11k

Hi everyone,

I am facing a problem with my Dell XPS 13 regarding the ath11k_pci module.

I have tried the following kernels:
ath11k-qca6390-bringup, ath-202104221406, archlinux's stock 5.12.1.

Wifi is working only for ath11k-qca6390-bringup and only when the
kernel is auto-loading the ath11k_pci/ath11k modules. For all three
kernels the wifi doesn't work when the modules are loaded manually
after booting the kernel. I tried to see what is going on and it seems
that the process fails because the MHI command to the PCI never
returns a response.

The debug output when loading ath11k_pci is given below:
[   37.680944] ath11k_pci 0000:72:00.0: BAR 0: assigned [mem
0xa2500000-0xa25fffff 64bit]
[   37.680970] ath11k_pci 0000:72:00.0: enabling device (0000 -> 0002)
[   37.681025] ath11k_pci 0000:72:00.0: boot pci_mem 0x00000000c2f3a455
[   37.681030] ath11k_pci 0000:72:00.0: pci tcsr_soc_hw_version major 2 minor 0
[   37.681257] ath11k_pci 0000:72:00.0: msi base data is 0
[   37.681258] ath11k_pci 0000:72:00.0: qca6390 hw2.0
[   37.681259] ath11k_pci 0000:72:00.0: Assign MSI to user: MHI,
num_vectors: 3, user_base_data: 0, base_vector: 0
[   37.681260] ath11k_pci 0000:72:00.0: Number of assigned MSI for MHI
is 3, base vector is 0
[   37.681329] ath11k_pci 0000:72:00.0: target_reg a3b034, shadow reg
0x8fc shadow_idx 0x0, ring_type 0, ring num 0
[   37.681330] ath11k_pci 0000:72:00.0: target_reg a3b03c, shadow reg
0x900 shadow_idx 0x1, ring_type 0, ring num 1
[   37.681331] ath11k_pci 0000:72:00.0: target_reg a3b044, shadow reg
0x904 shadow_idx 0x2, ring_type 0, ring num 2
[   37.681332] ath11k_pci 0000:72:00.0: target_reg a3b04c, shadow reg
0x908 shadow_idx 0x3, ring_type 0, ring num 3
[   37.681333] ath11k_pci 0000:72:00.0: target_reg a3b054, shadow reg
0x90c shadow_idx 0x4, ring_type 1, ring num 0
[   37.681334] ath11k_pci 0000:72:00.0: target_reg a3b028, shadow reg
0x910 shadow_idx 0x5, ring_type 2, ring num 0
[   37.681335] ath11k_pci 0000:72:00.0: target_reg a3b020, shadow reg
0x914 shadow_idx 0x6, ring_type 3, ring num 0
[   37.681335] ath11k_pci 0000:72:00.0: target_reg a3b06c, shadow reg
0x918 shadow_idx 0x7, ring_type 4, ring num 0
[   37.681336] ath11k_pci 0000:72:00.0: target_reg a46000, shadow reg
0x91c shadow_idx 0x8, ring_type 5, ring num 0
[   37.681337] ath11k_pci 0000:72:00.0: target_reg a46008, shadow reg
0x920 shadow_idx 0x9, ring_type 5, ring num 1
[   37.681338] ath11k_pci 0000:72:00.0: target_reg a46010, shadow reg
0x924 shadow_idx 0xa, ring_type 5, ring num 2
[   37.681338] ath11k_pci 0000:72:00.0: target_reg a46018, shadow reg
0x928 shadow_idx 0xb, ring_type 6, ring num 0
[   37.681339] ath11k_pci 0000:72:00.0: target_reg a46034, shadow reg
0x92c shadow_idx 0xc, ring_type 7, ring num 0
[   37.681347] ath11k_pci 0000:72:00.0: target_reg a370b0, shadow reg
0x930 shadow_idx 0xd, ring_type 11, ring num 0
[   37.681348] ath11k_pci 0000:72:00.0: target_reg a37018, shadow reg
0x934 shadow_idx 0xe, ring_type 12, ring num 0
[   37.681349] ath11k_pci 0000:72:00.0: target_reg a370c4, shadow reg
0x938 shadow_idx 0xf, ring_type 13, ring num 0
[   37.681349] ath11k_pci 0000:72:00.0: target_reg a370cc, shadow reg
0x93c shadow_idx 0x10, ring_type 13, ring num 1
[   37.681350] ath11k_pci 0000:72:00.0: target_reg a370d4, shadow reg
0x940 shadow_idx 0x11, ring_type 13, ring num 2
[   37.681351] ath11k_pci 0000:72:00.0: target_reg a370dc, shadow reg
0x944 shadow_idx 0x12, ring_type 13, ring num 3
[   37.681352] ath11k_pci 0000:72:00.0: target_reg a00400, shadow reg
0x948 shadow_idx 0x13, ring_type 8, ring num 0
[   37.681353] ath11k_pci 0000:72:00.0: target_reg a03400, shadow reg
0x94c shadow_idx 0x14, ring_type 9, ring num 1
[   37.681354] ath11k_pci 0000:72:00.0: target_reg a0340c, shadow reg
0x950 shadow_idx 0x15, ring_type 10, ring num 1
[   37.681355] ath11k_pci 0000:72:00.0: target_reg a05400, shadow reg
0x954 shadow_idx 0x16, ring_type 9, ring num 2
[   37.681356] ath11k_pci 0000:72:00.0: target_reg a0540c, shadow reg
0x958 shadow_idx 0x17, ring_type 10, ring num 2
[   37.681356] ath11k_pci 0000:72:00.0: target_reg a06400, shadow reg
0x95c shadow_idx 0x18, ring_type 8, ring num 3
[   37.681357] ath11k_pci 0000:72:00.0: target_reg a08400, shadow reg
0x960 shadow_idx 0x19, ring_type 8, ring num 4
[   37.681358] ath11k_pci 0000:72:00.0: target_reg a0b400, shadow reg
0x964 shadow_idx 0x1a, ring_type 9, ring num 5
[   37.681359] ath11k_pci 0000:72:00.0: target_reg a0b40c, shadow reg
0x968 shadow_idx 0x1b, ring_type 10, ring num 5
[   37.681360] ath11k_pci 0000:72:00.0: target_reg a0e400, shadow reg
0x96c shadow_idx 0x1c, ring_type 8, ring num 7
[   37.681360] ath11k_pci 0000:72:00.0: Assign MSI to user: CE,
num_vectors: 10, user_base_data: 3, base_vector: 3
[   37.681417] ath11k_pci 0000:72:00.0: Assign MSI to user: DP,
num_vectors: 18, user_base_data: 14, base_vector: 14
[   37.681419] ath11k_pci 0000:72:00.0: irq:192 group:0
[   37.681429] ath11k_pci 0000:72:00.0: irq:193 group:1
[   37.681438] ath11k_pci 0000:72:00.0: irq:194 group:2
[   37.681447] ath11k_pci 0000:72:00.0: irq:196 group:4
[   37.681457] ath11k_pci 0000:72:00.0: irq:197 group:5
[   37.681466] ath11k_pci 0000:72:00.0: irq:198 group:6
[   37.681475] ath11k_pci 0000:72:00.0: irq:199 group:7
[   37.681484] ath11k_pci 0000:72:00.0: irq:200 group:8
[   37.681494] ath11k_pci 0000:72:00.0: irq:201 group:9
[   37.681503] ath11k_pci 0000:72:00.0: irq:202 group:10
[   37.685504] NET: Registered protocol family 42
[   37.685694] ath11k_pci 0000:72:00.0: pci ltssm 0x111
[   37.685705] ath11k_pci 0000:72:00.0: pci pcie_hot_rst 0x10
[   37.710771] ath11k_pci 0000:72:00.0: MHISTATUS 0xff04
[   37.720790] ath11k_pci 0000:72:00.0: cookie:0x0
[   37.720802] ath11k_pci 0000:72:00.0: WLAON_WARM_SW_ENTRY 0x0
[   37.740817] ath11k_pci 0000:72:00.0: WLAON_WARM_SW_ENTRY 0x0
[   37.740829] ath11k_pci 0000:72:00.0: soc reset cause:0
[   37.740833] ath11k_pci 0000:72:00.0: pci link_ctl 0x0042 L0s 0 L1 1
[   37.740836] ath11k_pci 0000:72:00.0: setting mhi state: INIT(0)
[   37.740844] ath11k_pci 0000:72:00.0: setting mhi state: POWER_ON(2)
[   37.740846] mhi mhi0: Requested to power ON
[   37.741117] mhi mhi0: Power on setup success
[   37.741448] audit: type=1106 audit(1619127314.596:98): pid=1034
uid=1000 auid=1000 ses=4 msg='op=PAM:session_close
grantors=pam_limits,pam_unix,pam_permit acct="root"
exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[   37.741481] audit: type=1104 audit(1619127314.596:99): pid=1034
uid=1000 auid=1000 ses=4 msg='op=PAM:setcred
grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root"
exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[   38.051572] mhi mhi0: Wait for device to enter SBL or Mission mode

I also tried the booting from the archlinux livecd and I noticed that
sometimes ath11k_pci is loaded properly, while other times is not.

Any help appreciated,
Thanasis Xigis

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-10 12:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-10 11:59 Dell XPS 13 9310 MHI issue SaGGy00

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).