ATH11K Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Procopiuc <pavel.procopiuc@gmail.com>
To: Kalle Valo <kvalo@codeaurora.org>
Cc: ath11k@lists.infradead.org
Subject: Re: ath11k-qca6390-bringup-202011191920: new suspend implementation
Date: Fri, 20 Nov 2020 11:24:41 +0100	[thread overview]
Message-ID: <d2cb032b-3dd8-6915-1b49-1c45e73f1ba7@gmail.com> (raw)
In-Reply-To: <875z60tlh8.fsf@codeaurora.org>

Op 20.11.2020 om 10:40 schreef Kalle Valo:
> Pavel Procopiuc <pavel.procopiuc@gmail.com> writes:
> 
>> Suspend seems to work. The log after booting with memmap=20M$12M and doing suspend:
>> Nov 19 22:47:59 razor kernel: Linux version 5.10.0-rc4 (root@razor)
>> (gcc (Gentoo 9.3.0-r1 p3) 9.3.0, GNU ld (Gentoo 2.34 p6) 2.34.0) #14
>> SMP Thu Nov 19 22:44:32 CET 2020
>> Nov 19 22:47:59 razor kernel: Command line: ro root=/dev/nvme0n1p2
>> resume=/dev/nvme1n1p1 zram.num_devices=2 memmap=20M$12M quiet
>> Nov 19 22:47:59 razor kernel:   DMA zone: 47 pages used for memmap
>> Nov 19 22:47:59 razor kernel:   DMA32 zone: 5149 pages used for memmap
>> Nov 19 22:47:59 razor kernel:   Normal zone: 255840 pages used for memmap
>> Nov 19 22:47:59 razor kernel: Kernel command line: ro
>> root=/dev/nvme0n1p2 resume=/dev/nvme1n1p1 zram.num_devices=2
>> memmap=20M$12M quiet ro root=/dev/nvme0n1p2 resume=/dev/nvme1n1p1
>> zram.num_devices=2 memmap=20M$12M quiet
>> Nov 19 22:47:59 razor kernel: pci 0000:05:00.0: [17cb:1101] type 00 class 0x028000
>> Nov 19 22:47:59 razor kernel: pci 0000:05:00.0: reg 0x10: [mem
>> 0xd2100000-0xd21fffff 64bit]
>> Nov 19 22:47:59 razor kernel: pci 0000:05:00.0: PME# supported from D0 D3hot D3cold
>> Nov 19 22:47:59 razor kernel: pci 0000:05:00.0: 4.000 Gb/s available
>> PCIe bandwidth, limited by 5.0 GT/s PCIe x1 link at 0000:00:1c.1
>> (capable of 7.876 Gb/s with 8.0 GT/s PCIe x1 link)
>> Nov 19 22:47:59 razor kernel: pci 0000:05:00.0: Adding to iommu group 21
>> Nov 19 22:48:00 razor kernel: ath11k_pci 0000:05:00.0: WARNING: ath11k
>> PCI support is experimental!
>> Nov 19 22:48:00 razor kernel: ath11k_pci 0000:05:00.0: BAR 0: assigned
>> [mem 0xd2100000-0xd21fffff 64bit]
>> Nov 19 22:48:00 razor kernel: ath11k_pci 0000:05:00.0: enabling device (0000 -> 0002)
>> Nov 19 22:48:00 razor kernel: ath11k_pci 0000:05:00.0: MSI vectors: 32
>> Nov 19 22:48:00 razor kernel: mhi 0000:05:00.0: Requested to power ON
>> Nov 19 22:48:00 razor kernel: mhi 0000:05:00.0: Power on setup success
>> Nov 19 22:48:00 razor kernel: ath11k_pci 0000:05:00.0: qmi req
>> mem_seg[0] 0x2800000 3522560 1
>> Nov 19 22:48:00 razor kernel: ath11k_pci 0000:05:00.0: qmi req
>> mem_seg[1] 0x2500000 884736 4
>> Nov 19 22:48:00 razor kernel: ath11k_pci 0000:05:00.0: chip_id 0x0
>> chip_family 0xb board_id 0xff soc_id 0xffffffff
>> Nov 19 22:48:00 razor kernel: ath11k_pci 0000:05:00.0: fw_version
>> 0x101c06cc fw_build_timestamp 2020-06-24 19:50 fw_build_id
>> Nov 19 22:48:02 razor NetworkManager[793]: <info>  [1605822482.1378]
>> rfkill1: found Wi-Fi radio killswitch (at
>> /sys/devices/pci0000:00/0000:00:1c.1/0000:05:00.0/ieee80211/phy0/rfkill1)
>> (driver ath11k_pci)
>> Nov 19 22:48:04 razor ModemManager[725]: <info>  Couldn't check
>> support for device
>> '/sys/devices/pci0000:00/0000:00:1c.1/0000:05:00.0': not supported by
>> any plugin
>>
>> ... suspend here ...
>>
>> Nov 19 22:49:30 razor kernel: mhi 0000:05:00.0: Allowing M3 transition
>> Nov 19 22:49:30 razor kernel: mhi 0000:05:00.0: Wait for M3 completion
>> Nov 19 22:49:30 razor kernel: mhi 0000:05:00.0: Entered with PM state:
>> M3, MHI state: M3
>> Nov 19 22:49:33 razor ModemManager[725]: <info>  Couldn't check
>> support for device
>> '/sys/devices/pci0000:00/0000:00:1c.1/0000:05:00.0': not supported by
>> any plugin
> 
> And I guess resume also worked? :) Do you have logs about resume?

Yes, resume was successful and I could use wireless network thereafter :)) The ath11k module didn't produce any 
additional log lines after resume, only those "kernel: mhi ..." lines were visible.

> You had Dell XPS 17, right?

Yes, I've got the XPS 17 model with the i9 processor (the i7 and lower are outfitted with the Killer AX1650 wireless card).

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

  reply	other threads:[~2020-11-20 10:24 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-19 19:48 ath11k-qca6390-bringup-202011191920: new suspend implementation Kalle Valo
2020-11-19 19:52 ` Kalle Valo
2020-11-19 22:00   ` Pavel Procopiuc
2020-11-19 22:11     ` wi nk
2020-11-19 23:08       ` wi nk
2020-11-20 16:01         ` Kalle Valo
2020-11-20 16:59           ` wi nk
2020-11-20  8:16       ` Pavel Procopiuc
2020-11-20  9:40     ` Kalle Valo
2020-11-20 10:24       ` Pavel Procopiuc [this message]
2020-11-20 15:56         ` Kalle Valo
2020-11-21 23:44   ` Mitchell Nordine
2020-11-22 13:15     ` Mitchell Nordine
2020-11-22 15:07       ` wi nk
2020-11-23  3:14         ` wi nk
2020-11-23 23:30           ` wi nk
2020-11-23 23:38             ` wi nk
2020-11-26 22:45               ` wi nk
2020-12-02 18:51 ` Pavel Procopiuc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d2cb032b-3dd8-6915-1b49-1c45e73f1ba7@gmail.com \
    --to=pavel.procopiuc@gmail.com \
    --cc=ath11k@lists.infradead.org \
    --cc=kvalo@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox