Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4322965rwr; Sun, 30 Apr 2023 05:13:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4cFQtSbUIb4kZj9TaQz5D+xaOMnYQYK38ZnpGr0gubpya3Pf2dw9ZA7YJPjOQn+WOZS01a X-Received: by 2002:a17:902:d509:b0:1a1:f70c:c81a with SMTP id b9-20020a170902d50900b001a1f70cc81amr12646240plg.9.1682856829834; Sun, 30 Apr 2023 05:13:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682856829; cv=none; d=google.com; s=arc-20160816; b=v/AnvQ44WC5B5vHdvqF3O4Mz8hDNGlXljkz7/hpVTlNulHqXutwyNMu7u9uqYV/UIK xvwWlSrompgmhWAoyYHyJYtm7dnFU0WW2GI2bEOpV6ZoO17GWc/02CH8HMhXMy0tuW7o CX6LcLAvuHUPD9fOEfGkwpjr9i4gv/44eHlYvEniFjMo/2G5s4Gfiwb4hiY+CW+1xLBF knTzoeKO6MMCE+wUSh+lZtgk6+ESKb8kPvvrL6bIKXQtK3/zNXuk5Yl4gMqBBp7Gwl/f 2CqRCqsmFb3eBsA2+8vll0cuSRZFZxWg4A2seV9HEVAiXWjlq5xQsweSfq3ztzwiG8sh YKRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=4yRqbMK5ZOoBV7oEjfeaEkeOFx+akdbA76Qn7HPAVqQ=; b=MzMa1QWq4WApVdvteiQeoE0CkFTxI1uI/2/CrbQtp+HyxS6e6OtSf/XObRbFIUxz/v mEHOmp3q4QKeZJgE0sEzzbgnB7dDyynLou6WOJ7AY9N1/ArzTswwvR83+MLusVNUfGKz /Ks9XGw8cy+QJIn7cm1rcOoIPLsCdAYkdiJXPxSnxwRI+QtIIvZ1qKurjG7mxZtuLiLr fMZxtfTssk+D/m3JyqR6sLPPvYSh3oaYKnU1kxBooDcTG/8F6hDyrKe3oa4HQYYWbAzO mP83oKhTTwbHUvKsZgqhKUivt18VKY/UPo2NlKmVWsXeSkyRU7Yi2eMR+3CmgScnt74j Tv0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=dVMpPKQm; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v202-20020a6361d3000000b00528d90d40d3si2745083pgb.366.2023.04.30.05.13.36; Sun, 30 Apr 2023 05:13:49 -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=@gmail.com header.s=20221208 header.b=dVMpPKQm; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230272AbjD3K66 (ORCPT + 62 others); Sun, 30 Apr 2023 06:58:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjD3K65 (ORCPT ); Sun, 30 Apr 2023 06:58:57 -0400 Received: from mail-ua1-x92c.google.com (mail-ua1-x92c.google.com [IPv6:2607:f8b0:4864:20::92c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3464D269E; Sun, 30 Apr 2023 03:58:56 -0700 (PDT) Received: by mail-ua1-x92c.google.com with SMTP id a1e0cc1a2514c-77115450b8fso1003699241.0; Sun, 30 Apr 2023 03:58:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682852335; x=1685444335; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4yRqbMK5ZOoBV7oEjfeaEkeOFx+akdbA76Qn7HPAVqQ=; b=dVMpPKQmYtWA6bJvjmz2oUs7Wz81r6A0Hf2HQ5ktdXKqC9/EssFIuc1FCvs5XK8G4/ 3ReRrdhMgAuyIZZiMhZ/viFQWa9qNKtsb8kRcr8BYqOftrfDLlB4GSN36KNthl8VMs8W rYiktJNrp7nRtqvsHpngoi920qwJe9Ka9aJGvaoj+O10qhJbFzoFdhh3hPjLNWRuzm37 +DrX87nCscfqdK1r2aRCsZPSW1C5xcQYZbQzidGFRDnIgCCp2jsPcVcAULf2UAuiqUM6 l9CcezKLCtX9SzM3NPYonxniXd91G2ZOBGl8X8z1vNljN7mfGFwPqvDmM+qI7YITX+XC 8ESw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682852335; x=1685444335; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4yRqbMK5ZOoBV7oEjfeaEkeOFx+akdbA76Qn7HPAVqQ=; b=iF9xf6ndhs/q3LZgcxruShQW7seEXIQU1ahyhVwJSKONnOwnFDfFwR1lHCThk2lC/C qcFrBB80Xi0d9OVyTcXm9DiuICUqpHW28T7wiah3/Pe3WVRqdG3qHwLtaTKYEz6mb37l Y5j6vqMPonimY9EoJoL9XWUfFsZkoGjXY2hEVL1pS/2MJfcKny3jG9wY+xxJzICp4czO gnJqasKAXZIu0Y/bTDvxQushEcl3vqxcyW1vr4J6hhhKsSbAijFXPfRZ2Kb+6HNTFCox osD/yVYaDkn2V3HVGfEMSXvmqEyJ0HzBHR1JQUTWXhdc9DoiX9Bo2fHmoelhQM9nuRLT Nq1A== X-Gm-Message-State: AC+VfDweUvMr3OT/S0fJylrZmmSrVFDxtsNnnwX6m5SlsAMYZwFVF/ce hwgiAcyXgFzJ+euvpu3LpMg4TVuwIA7Zmsdydxk= X-Received: by 2002:a67:f883:0:b0:42f:78d5:d987 with SMTP id h3-20020a67f883000000b0042f78d5d987mr4858393vso.1.1682852335098; Sun, 30 Apr 2023 03:58:55 -0700 (PDT) MIME-Version: 1.0 References: <20230429020951.082353595@lindbergh.monkeyblade.net> In-Reply-To: From: Jeff Chua Date: Sun, 30 Apr 2023 18:58:44 +0800 Message-ID: Subject: Re: iwlwifi broken in post-linux-6.3.0 after April 26 To: Bagas Sanjaya Cc: Linux Kernel Mailing List , Gregory Greenman , Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Linux Wireless , Linux Networking , Linux Regressions , Johannes Berg 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_DNSWL_NONE,SPF_HELO_NONE,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 On Sun, Apr 30, 2023 at 2:17=E2=80=AFAM Jeff Chua wrote: > > On Sat, Apr 29, 2023 at 10:07=E2=80=AFPM Bagas Sanjaya wrote: > > > > On Sat, Apr 29, 2023 at 01:22:03PM +0800, Jeff Chua wrote: > > > Can't start wifi on latest linux git pull ... started happening 3 day= s ago ... > > > > Are you testing mainline? > > I'm pulling from https://github.com/torvalds/linux.git, currently at ... > > commit 1ae78a14516b9372e4c90a89ac21b259339a3a3a (HEAD -> master, > origin/master, origin/HEAD) > Merge: 4e1c80ae5cf4 74d7970febf7 > Author: Linus Torvalds > Date: Sat Apr 29 11:10:39 2023 -0700 > > > Certainly you should do bisection. > > ok, will do. Bisected! ef3ed33dfc8f0f1c81ca103e6b68b4f77ee0ab65 is the first bad commit commit ef3ed33dfc8f0f1c81ca103e6b68b4f77ee0ab65 Author: Gregory Greenman Date: Sun Apr 16 15:47:33 2023 +0300 wifi: iwlwifi: bump FW API to 77 for AX devices Start supporting API version 77 for AX devices. Signed-off-by: Gregory Greenman Link: https://lore.kernel.org/r/20230416154301.e522ccefe354.If7628363fa= feb7687163103e734206915c445197@changeid Signed-off-by: Johannes Berg drivers/net/wireless/intel/iwlwifi/cfg/22000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) I had to downgrade FW API to 75 to make it work again! --- a/drivers/net/wireless/intel/iwlwifi/cfg/22000.c 2023-04-30 18:27:21.719983505 +0800 +++ a/drivers/net/wireless/intel/iwlwifi/cfg/22000.c 2023-04-30 18:27:25.749983446 +0800 @@ -10,7 +10,7 @@ #include "fw/api/txq.h" /* Highest firmware API version supported */ -#define IWL_22000_UCODE_API_MAX 78 +#define IWL_22000_UCODE_API_MAX 75 /* Lowest firmware API version supported */ #define IWL_22000_UCODE_API_MIN 39 My h/w is Lenovo X1 with ... 00:14.3 Network controller: Intel Corporation Alder Lake-P PCH CNVi WiFi (rev 01) I've the following firmware .. I've tried 77, 78, 79, 81 .. .all not workin= g -rw-r--r-- 1 root root 1560532 Mar 14 08:05 iwlwifi-so-a0-gf-a0-72.ucode -rw-r--r-- 1 root root 1563692 Mar 6 14:07 iwlwifi-so-a0-gf-a0-73.ucode -rw-r--r-- 1 root root 1577460 Mar 14 08:05 iwlwifi-so-a0-gf-a0-74.ucode -rw-r--r-- 1 root root 1641260 Mar 6 14:07 iwlwifi-so-a0-gf-a0-77.ucode -rw-r--r-- 1 root root 1667236 Mar 6 14:07 iwlwifi-so-a0-gf-a0-78.ucode -rw-r--r-- 1 root root 1672988 Mar 6 14:07 iwlwifi-so-a0-gf-a0-79.ucode -rw-r--r-- 1 root root 1682852 Apr 5 08:22 iwlwifi-so-a0-gf-a0-81.ucode # working dmesg attached ... cfg80211: Loading compiled-in X.509 certificates for regulatory database Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' iwlwifi 0000:00:14.3: enabling device (0000 -> 0002) iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-75.ucode failed with error -2 iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver thermal thermal_zone1: failed to read out thermal zone (-61) iwlwifi 0000:00:14.3: Sorry - debug buffer is only 4096K while you requested 65536K