Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1678990rwb; Wed, 5 Oct 2022 03:13:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6n/Xjoxw44SVlGus8DVsgAwcP3T1vUMriMQ836yf+frAzpHonSXcWYCy0jClnQJUvOSlx2 X-Received: by 2002:a65:468a:0:b0:44e:66d3:898a with SMTP id h10-20020a65468a000000b0044e66d3898amr12901907pgr.264.1664964791159; Wed, 05 Oct 2022 03:13:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664964791; cv=none; d=google.com; s=arc-20160816; b=WMVMC/Y+vx7JfwOKP3TViMjvWfKyctcF+thvvw+YBmy5h3HoUrixifsOUOJpTByqPQ u9qVQcJnFAcvjiImuXXCGnVgLrAdLRLYTU5a1Ll8dgQpfbAh9aF9jyJyvEi5Yh1sKghx 9E8WbI/C+/dxBn06izftMgkKdW2YgeepYdvZVKL5oHe3i3LHvljLGUx9PrkHUpXz25mJ eD/kHz3WW4Kb3H1liFXYv6ZnhkHjJ0qKiNu4G1A1ceiyRBdqr5kIXHUM9Cze+Jq/0ZxY +suYDZGXmCFF5jkM+6SSKusZ9NOKChxGc9CXbGPG/7/l/x6pKfA8Y1hitp2SrXTf7ru7 bYcA== 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=bCmfb77Gu94ZkcAxubGU7yIzblH73abcjBUc6fLGu9I=; b=JRkReo5yYbWxtOb2U+lKeY4zmTDKu8678URBiaKUccuZHWjhc3ucWIBgIA9kpOU4TF r5IL5zgQV0E/Wx67o+NkuqIlWqHDQonWqIUcY7gu2IPvAbf+r4YGUmyrwaUtZhJdcC+d A7TEKt9+Yazsq3/9Yz4vpaiWX07WHOvC2lzLZgib2IgMteS/2jatJRXilVYhqyoXd9+2 5PIym80zLFTY5Mpn/Onc+eZzzoZWVk7BE3tYRVBoXBu2Fu7NHjtkjmpv5UypomUhKnqp ZAd/VoabS/zeavCxW2zNtxtV5qwQy3sMLZIepfN+8xE2lvkk9dHZNPQZqJR0p1jG7RfE sjnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=jV8x1Oqn; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 126-20020a621784000000b00551e64c3942si13936799pfx.311.2022.10.05.03.13.02; Wed, 05 Oct 2022 03:13:11 -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=@redhat.com header.s=mimecast20190719 header.b=jV8x1Oqn; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229674AbiJEKKD (ORCPT + 61 others); Wed, 5 Oct 2022 06:10:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229543AbiJEKKA (ORCPT ); Wed, 5 Oct 2022 06:10:00 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98881304 for ; Wed, 5 Oct 2022 03:09:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1664964596; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bCmfb77Gu94ZkcAxubGU7yIzblH73abcjBUc6fLGu9I=; b=jV8x1OqnXSlb1P9PHdeXkacYXhtw6OzHhsxL73ZESElzA/qe45p+Bv4c80zLv5liJTX6DU eVNQGefX8TQEwijI8dtlmA96/c9Xh52fB5NSeYMsNSgQBZPr9pTSyYhmMeOzVBly0wOysl Ao9aP0S4Xos7AmCVZfPRl/qmz1qGP/o= Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-37-6q0DVmhyPV6ENxrUpZomSQ-1; Wed, 05 Oct 2022 06:09:55 -0400 X-MC-Unique: 6q0DVmhyPV6ENxrUpZomSQ-1 Received: by mail-pj1-f71.google.com with SMTP id pf10-20020a17090b1d8a00b002037c2aad2bso895812pjb.0 for ; Wed, 05 Oct 2022 03:09:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=bCmfb77Gu94ZkcAxubGU7yIzblH73abcjBUc6fLGu9I=; b=AkEJZ4CIlNYrStQL1lXsT4oDmMPLA2wJvrpEfuxoWgUy1MOH2V69e+m+w0AvdybZwH FFP7jZgRFbf50I/RGhk+MjinDGNgWloe98Cl3Ujm8BFEBGfgMZCETh9+rdftYXLSF5Td 0dJIeBSsrdhxWPD/fKr3Wu+3U7psEFnv6PvOzO9ScWFQ8YIhO2JBJ4+rifJMpPiZU8qx wBtqGl8E0EQ0bypkUfKkIDwy+IIjb2t6bzwIor+Mg90DxJnytoK6odmAgqGhnhANxKOS X6mZm9XjrZD1mYzKH3cqRvnCd6KTY2+D8muPJH1iuyK4uuExJZ+rMcuDa2c51c6wrSGJ +umQ== X-Gm-Message-State: ACrzQf3NWVmxhQAElUu4PEsoEL7wTbkaxrEl4j+t6nee/tDgTlzxKY0W BHDzBcnz3ULiYwhRABgECbDF7pTRg9U6Z7YfeJaGEDrqK7tmAgp4Ht/U7hwWnlqNdPxjLc920C6 NhQC04bt5H0sZKlj89TgJkrd0Dp3lyfY7Wn2gfJ7apfQ= X-Received: by 2002:a63:86c1:0:b0:458:b8d7:71d3 with SMTP id x184-20020a6386c1000000b00458b8d771d3mr1887399pgd.385.1664964594199; Wed, 05 Oct 2022 03:09:54 -0700 (PDT) X-Received: by 2002:a63:86c1:0:b0:458:b8d7:71d3 with SMTP id x184-20020a6386c1000000b00458b8d771d3mr1887377pgd.385.1664964593909; Wed, 05 Oct 2022 03:09:53 -0700 (PDT) MIME-Version: 1.0 References: <100b06a944de88a4b80119c5a2024e0e59cf5243.camel@sipsolutions.net> <5c47143aea07c34dbe95fdb2cab677f2a7a753fb.camel@sipsolutions.net> In-Reply-To: <5c47143aea07c34dbe95fdb2cab677f2a7a753fb.camel@sipsolutions.net> From: =?UTF-8?B?w43DsWlnbyBIdWd1ZXQ=?= Date: Wed, 5 Oct 2022 12:09:42 +0200 Message-ID: Subject: Re: iwlwifi: AC9560 firmware crash with iwlwifi-QuZ-a0-jf-b0 versions above 55 To: Johannes Berg Cc: gregory.greenman@intel.com, golan.ben.ami@intel.com, jonathan.sade@intel.com, Linux List Kernel Mailing , linux-bluetooth@vger.kernel.org, Jose Ignacio Tornos Martinez , Laura Trivelloni Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE 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 Wed, Oct 5, 2022 at 12:07 PM Johannes Berg w= rote: > > On Wed, 2022-10-05 at 11:50 +0200, =C3=8D=C3=B1igo Huguet wrote: > > On Wed, Oct 5, 2022 at 11:35 AM Johannes Berg wrote: > > > > > > On Fri, 2022-09-09 at 12:41 +0200, =C3=8D=C3=B1igo Huguet wrote: > > > > With an AC9560 installed on a system with Quasar (11th gen processo= r, > > > > in my case) we're getting a firmware crash as soon as you try to do > > > > something with the card. The problem doesn't happen with the card > > > > installed in older platforms (8th / 9th gen), and it neither happen= s > > > > with firmware iwlwifi-QuZ-a0-jf-b0-55 version, but yes with any oth= er > > > > newer version. > > > > > > > > I've tried different versions of kernel and firmware, including the > > > > latest kernel and linux-firmware available today, and all of them f= ail > > > > unless I remove all fw files above version 55. > > > > > > > > > > I believe this is a duplicate of > > > > > > https://bugzilla.kernel.org/show_bug.cgi?id=3D214343 > > > > > > which was supposed to be fixed in firmware, but evidently that fix wa= s > > > never backported to older images. > > > > > > Internally, FW commit d8887278 fixed this, so FW version 69 should be > > > OK? > > > > I don't think so, we've reproduced it with iwlwifi-QuZ-a0-jf-b0-71.ucod= e > > > > Indeed, my git-fu was bad. Looks like 74 only fixes it (or will, since > it hasn't been released, apparently). > > We could do some awful workaround like this I guess: > > diff --git a/drivers/net/wireless/intel/iwlwifi/fw/acpi.c b/drivers/net/w= ireless/intel/iwlwifi/fw/acpi.c > index 009a4074d062..0c0a28d748f2 100644 > --- a/drivers/net/wireless/intel/iwlwifi/fw/acpi.c > +++ b/drivers/net/wireless/intel/iwlwifi/fw/acpi.c > @@ -1119,6 +1119,11 @@ int iwl_read_ppag_table(struct iwl_fw_runtime *fwr= t, union iwl_ppag_table_cmd *c > int i, j, num_sub_bands; > s8 *gain; > > + /* many firmware images for JF lie about this */ > + if (CSR_HW_RFID_TYPE(fwrt->trans->hw_rf_id) =3D=3D > + CSR_HW_RFID_TYPE(CSR_HW_RF_ID_TYPE_JF)) > + return -EOPNOTSUPP; > + > if (!fw_has_capa(&fwrt->fw->ucode_capa, IWL_UCODE_TLV_CAPA_SET_P= PAG)) { > IWL_DEBUG_RADIO(fwrt, > "PPAG capability not supported by FW, co= mmand not sent.\n"); > > > johannes > Thanks, I will give it a try the next days and tell you the result. --=20 =C3=8D=C3=B1igo Huguet