Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp21240133rwd; Thu, 29 Jun 2023 13:04:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlE/y8c76uVzT0i65V1T8cYqPYB7L6a2+p6gMst58siGza7oNySlTk+oH5bNrw8KQkqMfPpl X-Received: by 2002:a17:902:e551:b0:1b5:cbc:b4c with SMTP id n17-20020a170902e55100b001b50cbc0b4cmr191961plf.46.1688069072689; Thu, 29 Jun 2023 13:04:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688069072; cv=none; d=google.com; s=arc-20160816; b=VQkJNFaJd5FZjtvYDTFaeutomgnt2Blqz56wJU1hsPFRtgN+Rf9kidlPJjyMSTLcLS 8tlQ9/wJGDRgD1LrnZrQTKHXQQyxCTV8Lj/r42UQ0LrsbMKh5Ph/IhSW6VEK8Xe3rmLT 5NRrMVu7WOaxgUx1q23qAggWkinN+Vcf8mBkmym4+ILBp3t2wOp+888kRa/VmHdN+1ok Mjlzb2n6BshSYQxRXySP96/x8bJpsTmfpeRic161cn/XcbcGvsXjRajmnJjwaUp1qYnd Hz4wBtfc8aAIFyw7yhc6vjP7V/tL8uBYYpp+syPxQB4/+ESc83pZmzLMreWl0MyBSe2B 7Q8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :dkim-signature:date; bh=g4QWBEy1zgzBDhjQke9f5CW/d2l1TLARH4+S+S8WRzw=; fh=r9lOM4+yIhMXmcbP/7iMbUzmiTV6J3kzVz06a45Z3VI=; b=d/XwP9GyNYbEjloZ7OKoKDKxMr+OP0gTr3mD6Zh3Y7yApCjeXPYr5YUKS6IEzYHg8t 2rgKpYN8Bu4e4vvDDN9DWw804T9XBP5dzBE/9caeOwuTxVVrlOfH0yjY0bL1p4DvL67x xFg9vvVKwzpWk9Slq0yocL1vHAktkk/eTKq614OoX0j2cqTqpGOQitIz6dO214od6IWh xT4smfw4vmVd6zlEJ821oyBGPtfTs8Z7qhy+7n7D9yKBVl+H+wuOorG0JdfGCAo5d/Yt ZzyrdLZYrHkNR9pfP1gR2GTSmO8gPZH/+WUsNUdIjujip94LlRgDsx09C3ngEHIjncRh ANFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=kh4aZXKg; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c2-20020a170902f30200b001a814f7db5fsi10217826ple.632.2023.06.29.13.04.23; Thu, 29 Jun 2023 13:04:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=kh4aZXKg; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232374AbjF2UEJ (ORCPT + 60 others); Thu, 29 Jun 2023 16:04:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232445AbjF2UDm (ORCPT ); Thu, 29 Jun 2023 16:03:42 -0400 Received: from mail-40134.protonmail.ch (mail-40134.protonmail.ch [185.70.40.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C2F73C01 for ; Thu, 29 Jun 2023 13:03:16 -0700 (PDT) Date: Thu, 29 Jun 2023 20:03:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1688068994; x=1688328194; bh=g4QWBEy1zgzBDhjQke9f5CW/d2l1TLARH4+S+S8WRzw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=kh4aZXKgduzn64jbe2p5658SF+oZuYh8ZA9AVCVFv11XxkFLR4e2psL1TocBt7QT2 EBPhdfBfhMt6hndtbrZOWyPOOfWMlWUJUo7DsfeSadvpvLkVP4+dSySOHxFbbTVoQC Zqc7Q5lWdV1ex19+C0OPo+Og994FBsrF6AUm+It0kQQR6Bgv9jIvMaGcIefPsCN43Q 5l/9++DV5pzyE7FINYlXzOGcfzBDMhObtn3gk3eve8Tc8KfEgXEFzxjK7PI3WE4ZFA GqNME1J1Qkf24Udb+xnXPm3gNEfdX7180aM6KtgEsCMlN5fb6Y0HxlEXlD8UmsTzWp XFyF9TIoGpPVA== To: Greg KH From: =?utf-8?Q?Barnab=C3=A1s_P=C5=91cze?= Cc: Linux regressions mailing list , Gregory Greenman , linux-wireless , Bagas Sanjaya Subject: Re: iwlwifi: AX201 misdetected as AX101 Message-ID: In-Reply-To: <2023062914-upcoming-turmoil-a443@gregkh> References: <3270268e-c926-01e6-65e1-02aa6abfd0db@leemhuis.info> <0d3db91c-f071-009a-952a-bd109b16a352@leemhuis.info> <2023062914-upcoming-turmoil-a443@gregkh> Feedback-ID: 20568564:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi 2023. j=C3=BAnius 29., cs=C3=BCt=C3=B6rt=C3=B6k 20:46 keltez=C3=A9ssel, Gre= g KH =C3=ADrta: > On Thu, Jun 29, 2023 at 05:30:34PM +0000, Barnab=C3=A1s P=C5=91cze wrote: > > Hi > > > > > > 2023. j=C3=BAnius 29., cs=C3=BCt=C3=B6rt=C3=B6k 18:50 keltez=C3=A9ssel,= Linux regression tracking (Thorsten Leemhuis) = =C3=ADrta: > > > > > On 29.06.23 17:28, Barnab=C3=A1s P=C5=91cze wrote: > > > > 2023. j=C3=BAnius 29., cs=C3=BCt=C3=B6rt=C3=B6k 13:31 keltez=C3= =A9ssel, Thorsten Leemhuis =C3=ADrta: > > > >> On 27.06.23 23:55, Barnab=C3=A1s P=C5=91cze wrote: > > > >>> 2023. m=C3=A1jus 26., p=C3=A9ntek 19:55 keltez=C3=A9ssel, Barnab= =C3=A1s P=C5=91cze =C3=ADrta: > > > >>>> I have an Acer Aspire A315-58 laptop[0], which, according to lsp= ci has the following intel wireless chip: > > > >>>> > > > >>>> Device:=0900:14.3 > > > >>>> Class:=09Network controller [0280] > > > >>>> Vendor:=09Intel Corporation [8086] > > > >>>> Device:=09Wi-Fi 6 AX201 [a0f0] > > > >>>> SVendor:=09Intel Corporation [8086] > > > >>>> SDevice:=09Wi-Fi 6 AX201 [0244] > > > >>>> Rev:=0920 > > > >>>> ProgIf:=0900 > > > >>>> Driver:=09iwlwifi > > > >>>> Module:=09iwlwifi > > > >>>> > > > >>>> However, in the kernel message buffer, the following message is = written: > > > >>>> > > > >>>> [ 3.633490] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6= AX101, REV=3D0x351 > > > > > > Gregory who is CCed since the start of the thread might care to look > > > into this. According to a quick search lspci is right, but this needs > > > expects. Maybe it's just a cosmetic problem. > > > > > > >>> [...] > > > >>> For the record, I have done a git-bisect[1], and that turned up > > > >>> d2ccc5c1526396aef5196e4dd2ec8538994e5072 > > > >>> > > > >>> as the first good commit[0]. > > > >>> > > > >>> Sadly, that patch (or even the series) does not appear to be easi= ly backportable, > > > >>> so it seems likely that current stable kernels won't be able to s= upport this device. > > > >> > > > >> Thx for bisecting. > > > >> > > > >> Thing is: 6.3 will be EOL in about two or three weeks anyway. And = Arch > > > >> will likely switch to 6.4 (which works -- or did I get this wrong?= ) > > > >> within a week or two. Makes be wonder if it's the best solution fo= r > > > >> everyone involved to not resolve this and move on. > > > > > > > > Yes, 6.4 seems to work. > > > > > > #regzbot inconclusive: unlikely to be fixed in 6.3 before EOL, but 6.= 4 works > > > > > > > I mainly meant LTS releases. Nonetheless, lspci > > > > and iwlwifi still disagree on what device it actually is. > > > > > > Not sure if I properly understand this. > > > > > > Is this broken in 6.1.y as well, but working in earlier kernels? Then= it > > > needs a separate report. > > > > There are two issues: > > > > * lspci and iwlwifi disagreeing about the device (AX201 vs AX101), and > > * the device not working until the aforementioned commit. > > > > This email was originally intended to be about the first one since the = device > > does work with 6.4. > > > > But out of curiosity I wanted to find the commit that made the device w= ork to > > see if maybe it could be easily backported to 6.3, 6.1, etc. > > > > In conclusion: > > > > device does not work device is misdetected > > 6.1 present present > > 6.3 present present > > 6.4 fixed present > > > > Since the commits that fixed it don't appear to be easily backportable, > > the only thing remains to be seen is why lspci and iwlwifi disagree abo= ut the > > name of the device. That issue is still present in 6.4. >=20 > This isn't a regression then, it's never worked, but now it works in > 6.4, so yeah! And we don't generally backport new hardware enablement > to stable kernels unless it's a simple device id table update. I was hoping the change is just a couple lines of bug fixing, which I imagi= ne, would've been a good candidate for backporting. To be fair, the commit that= made it work is in fact a couple lines, but it has many dependencies... >=20 > As for naming, realize that iwlwifi and lspci get the names of the > device from different places, so perhaps those userspace databases just > are not in sync yet? > [...] Yes, I am aware of that. Another thing I have realized is that I could just= open the laptop to see what's written on the chip to determine who is right. As = it turns out, I did not even have to do that because it says right on the back that The Device Contains WLAN + Bluetooth Module AX101NGW I really should've thought of this before. So if this label is to be believ= ed, then iwlwifi is right, and lspci is incorrect. So sorry everyone for this w= aste of time. For some reasons I really thought that iwlwifi was in the wrong. I submitted the info to the pci-ids project: https://pci-ids.ucw.cz/read/PC= /8086/a0f0 Regards, Barnab=C3=A1s P=C5=91cze