Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4059492rwb; Mon, 21 Nov 2022 03:15:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf41krjE2ENf63NThBqVnA44xEM65h984KO9Yuovo5ikUzrsGzjFeaNl/eHljCrOPTlxwr/t X-Received: by 2002:a17:902:ee51:b0:189:1dda:5675 with SMTP id 17-20020a170902ee5100b001891dda5675mr555755plo.115.1669029308681; Mon, 21 Nov 2022 03:15:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669029308; cv=none; d=google.com; s=arc-20160816; b=S2gGdo2wsHNG0pAB3iwOwtBReyU/FMqFug/EBaOwofOcOGb06oGWXQzJmJBLJWb51s 35gTxAJqseKd27ZOmpdC/KpLpuSE6Ywqee1zn7FDTQoiAkZt71FIxb3YI3E3bqxdmEUG 1hWszT9rPxFsg7O81Vlhl4iyTZ50yzY6Mno1HROzGj1128737lBmWWUE6PvvUq7k6eeq kO0BNQxxXHmEeICZuPaBbN3IVtJv+Mlym1oyYgt4xVN+3CNr6ijg1HLc63LbDVR1xtEF /B7oDg98va88uF9v+9+5vmY2GnVX8KRk2ZQIv82ueJT2xyEU9cgRJv5MOQsXQmbJfIDz ZELg== 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=/+hS5Wzvy+tgi/lKBcaZFtWi/x76gJ+HRemIeEuqod0=; b=b3x0GHbpd7LV8rKI147YU/l6C0nx7FtMWlunVsMSAranCV35b4/Z7m/O8w22Y3J+XA RZpmRWdQKFV+5jNvwNuPvHfpz2QMY+uVBQ/3e5FqIxYYqsXxp4z8iX6YZDL+xZPVcHGn SAf+lkY49x3KRCTeb/R9EW21uBZQpMhKvyxfdt4cr2y6m84TwEPGkZOu522/iIKgmAqr Tt6o8GroEfmtUQaSjMo4CIeW9212BBJrfrqiYiLwSvxOFebBOSAnlPkuRIm1/oQIlZHl Ucm12Zqk8kzbML53IEKm70Urnh5Ka42DYK8/PKeaal0+AcaRdXv9L8gYRzMz40nLaMOu NtIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LvqW1uzh; 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 g11-20020a056a0023cb00b0054ed3047ee2si10598637pfc.22.2022.11.21.03.14.59; Mon, 21 Nov 2022 03:15:08 -0800 (PST) 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=LvqW1uzh; 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 S230283AbiKULO2 (ORCPT + 68 others); Mon, 21 Nov 2022 06:14:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230160AbiKULOK (ORCPT ); Mon, 21 Nov 2022 06:14:10 -0500 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 198FFBE863 for ; Mon, 21 Nov 2022 03:08:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669028895; 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=/+hS5Wzvy+tgi/lKBcaZFtWi/x76gJ+HRemIeEuqod0=; b=LvqW1uzh7xsP9l6QKlVo2ic1imvGlz7t6gBJE6uRg0eHtTCwzltJyLVwOhvHGDWI0N8YZO dXaTPOhGT9NEN9lVfjlhk705NBCuUZGqwvlNvgWSVbuvqi8ye3HCZw+2ZdlvwxQiw8KU0L xs934Pol754d/SDm5jHjuiihfKp2EKY= Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-491-RWYglFGUM-a2mafO4Xc3Rg-1; Mon, 21 Nov 2022 06:08:14 -0500 X-MC-Unique: RWYglFGUM-a2mafO4Xc3Rg-1 Received: by mail-pj1-f72.google.com with SMTP id c10-20020a17090aa60a00b00212e91df6acso5821154pjq.5 for ; Mon, 21 Nov 2022 03:08:13 -0800 (PST) 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=/+hS5Wzvy+tgi/lKBcaZFtWi/x76gJ+HRemIeEuqod0=; b=nZIyPz1nirNvqc+vJ0S/fJ1wDsmYsInnJlbKPBdoK8M01gu0tidsiii2C67UhBFqW1 wQWeLz3bR5BNZd/AMYWZhT3Pm/f7Hi0zGf3tqceCSmJ3w24sFJ9RqkfL5kgrfrYqEaoN NkO77ueIqC9IFzDw7kF73cAur+cVB4SCKkcYxY6EBI8S+zGwywe0xI2rtHp0oxVZwoBI PyHYIyOVn+rXYKgd11YJQjfxUVHnTLe4+6Un/5n2O7H7vP4AQiUa4aabywLin9RVaFwY uo7gmbf0xqiaUzH3fKF7lOqt5o4Uv765OA78pstAOMdCPk6udJMLtr8NPo9+USc5+vg9 yPug== X-Gm-Message-State: ANoB5pkwA9bt+HannDZ4X5d0quVklwImKB7gu1siQ3bw36iYfjwLFcYN IgvwbSSD6cLHIFz9P5dm5Z3Sj6nQaOMGabkArwcbFTekoNqvRh2rVAhgFfcDYMZMEkZcFUCUqhZ EGKAln/+RUPg8KnBEV5iXTLoKkGApJfvA2mukUDBFUF4= X-Received: by 2002:a17:902:ec01:b0:186:a27d:8e81 with SMTP id l1-20020a170902ec0100b00186a27d8e81mr11240129pld.133.1669028893052; Mon, 21 Nov 2022 03:08:13 -0800 (PST) X-Received: by 2002:a17:902:ec01:b0:186:a27d:8e81 with SMTP id l1-20020a170902ec0100b00186a27d8e81mr11240102pld.133.1669028892753; Mon, 21 Nov 2022 03:08:12 -0800 (PST) MIME-Version: 1.0 References: <100b06a944de88a4b80119c5a2024e0e59cf5243.camel@sipsolutions.net> <5c47143aea07c34dbe95fdb2cab677f2a7a753fb.camel@sipsolutions.net> <122752227576c059d2b1660934d57e991e7d33c8.camel@sipsolutions.net> In-Reply-To: <122752227576c059d2b1660934d57e991e7d33c8.camel@sipsolutions.net> From: =?UTF-8?B?w43DsWlnbyBIdWd1ZXQ=?= Date: Mon, 21 Nov 2022 12:08:01 +0100 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.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,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 Mon, Nov 21, 2022 at 11:42 AM Johannes Berg wrote: > > On Mon, 2022-11-21 at 09:32 +0100, =C3=8D=C3=B1igo Huguet wrote: > > > > > --- 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 = *fwrt, 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_S= ET_PPAG)) { > > > IWL_DEBUG_RADIO(fwrt, > > > "PPAG capability not supported by FW= , command not sent.\n"); > > > > > > > > > johannes > > > > > > > Sorry for the delay with this, I had some issues with the hardware. > > > > Using this workaround it doesn't show any errors and I can connect. > > OK. > > > However, using iwlwifi-QuZ-a0-jf-b0-74 from linux-firmware I get lots > > of errors, both with this patch applied and without it. Maybe the > > driver needs some changes? > > I get stack traces, fw dumps and message `iwlwifi 0000:00:14.3: Failed > > to send MAC context (action:1): -5` > > Probably some other error? > > > What would you recommend to do? It seems you didn't like this solution > > very much (and, as I say, it doesn't work with fw 74) > > > Well I think we still need this solution even if I didn't like it, and Will you post the patch? > the fw 74 seems to be a different issue - could you post more info about > separately? Sure, will do in a few hours, thanks! > > johannes > --=20 =C3=8D=C3=B1igo Huguet