Re: iwlwifi: Regression after migrating to 6.6.32

From: Fabio Estevam
Date: Thu Jun 13 2024 - 16:15:26 EST


Hi Johannes and Baochen,

Thanks for the great suggestions.

On Thu, Jun 13, 2024 at 7:37 AM Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:

> Oh. So I guess try to pick up commit 14cebf689a78 ("swiotlb: Reinstate
> page-alignment for mappings >= PAGE_SIZE").

Good catch, thanks!

After applying 14cebf689a78 ("swiotlb: Reinstate> page-alignment for
mappings >= PAGE_SIZE")
on top of 6.6.33 I no longer have the flood of alignment warnings and
iwlwifi can be used again:

# dmesg | grep iwlwifi
[ 4.295064] iwlwifi 0000:01:00.0: enabling device (0000 -> 0002)
[ 4.305459] iwlwifi 0000:01:00.0: Detected crf-id 0x3617, cnv-id
0x100530 wfpm id 0x80000000
[ 4.315440] iwlwifi 0000:01:00.0: PCI dev 2723/0084, rev=0x340, rfid=0x10a100
[ 4.346029] iwlwifi 0000:01:00.0: api flags index 2 larger than
supported by driver
[ 4.353816] iwlwifi 0000:01:00.0: TLV_FW_FSEQ_VERSION: FSEQ
Version: 89.3.35.37
[ 4.363135] iwlwifi 0000:01:00.0: loaded firmware version
77.ad46c98b.0 cc-a0-77.ucode op_mode iwlmvm
[ 4.444427] iwlwifi 0000:01:00.0: Detected Intel(R) Wi-Fi 6 AX200
160MHz, REV=0x340
[ 4.604918] iwlwifi 0000:01:00.0: Detected RF HR B3, rfid=0x10a100
[ 4.676138] iwlwifi 0000:01:00.0: base HW address: 3c:21:9c:4e:16:6x
[ 5.339929] iwlwifi 0000:01:00.0 wlp1s0: renamed from wlan0
[ 9.840136] iwlwifi 0000:01:00.0: Registered PHC clock:
iwlwifi-PTP, with index: 1

Will, is it OK for me to ask the stable folks to backport 14cebf689a78
("swiotlb: Reinstate> page-alignment for mappings >= PAGE_SIZE")
to 6.6 stable?

Thanks!

Fabio Estevam