Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35156920rwd; Mon, 10 Jul 2023 03:31:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlENbawW9Ux0x72dDK7ts9Ba/WzigwFnU7V9mElQdPIrrAEjg6M88K5qEx1f93sye0Qw4nMA X-Received: by 2002:a17:907:3205:b0:993:b230:936b with SMTP id xg5-20020a170907320500b00993b230936bmr15976076ejb.6.1688985069282; Mon, 10 Jul 2023 03:31:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688985069; cv=none; d=google.com; s=arc-20160816; b=OWgHY4Wwaf4fI9bsZftKqpdNVCewwqZmziJjGYgcMwv1OJUuYW8IKRF0Uid+hziBc+ 5MXoiTso50KHcTinxdvMjhfQ41H6UZ3L779Ysd/AhRGBa0i5ihzXcrFsc1pyHTKCRr68 DxkbxbU/gb9SDqNvcHusfi8cM/Wwn3a225SqfiExaP/tMAlcQDJfd1PydQpkasPDt5Gn 7j+lW2TuOFxonFJ6OLVh2TIyVXHOMtuY6fbv5oq0bG/gZO1AbUdtN3OEoP5I6vZwHFyg jMVhVz8VPESxVmMhakEINHNzTYBv5Ka9YvFcFdD9R8VTKkD5EgZdcteJ7l1iwlbtd+jG ch7Q== 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=LzWFsqoe/v6zSf+Upw+SNFQ6NrSy8Ce/GjnyKdu6vQk=; fh=hw4cSQVsqhPYQZ0beKvtflnFSzFfZq2ubzg7jbtKtKM=; b=JclJk7s2jnSZJ/C/H6NIzZiJUZTFAEAZf6lsOt4lMSJvXOlBuoBLuIbW7bx1wkmXaB hcdVejTu5RxEwAPSB4KpICZYLiQPzeIeZdxt9iSibnHINzGG+OLQqS1nzarQoVXJEWg9 SCLJDgdGBNK6s0RKRAMQayCohPKlP5p6Cw72mcBSLQgAx8Q9UOsf14FMIlxrVYOoW2a0 lN22qAjDCcjY6kwm5fIhYAJYhPWwHH+0NAVifX6d7YOLZuGEET69SZ0lsf3CphgVTSmq Ps5YfZXx0aip7IRnqAVi2t89g19utUuXIHEZmmIdxaDKgFPcz3O2jCa7jHV6K+pt3KgL j8cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=aVCPEK61; 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 xa5-20020a170907b9c500b0099381745ba7si9236592ejc.878.2023.07.10.03.30.50; Mon, 10 Jul 2023 03:31:09 -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=aVCPEK61; 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 S233349AbjGJKRI (ORCPT + 60 others); Mon, 10 Jul 2023 06:17:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231622AbjGJKQx (ORCPT ); Mon, 10 Jul 2023 06:16:53 -0400 Received: from mail-vs1-xe32.google.com (mail-vs1-xe32.google.com [IPv6:2607:f8b0:4864:20::e32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2DC8E7D; Mon, 10 Jul 2023 03:16:29 -0700 (PDT) Received: by mail-vs1-xe32.google.com with SMTP id ada2fe7eead31-4452fe640fbso488937137.0; Mon, 10 Jul 2023 03:16:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688984189; x=1691576189; 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=LzWFsqoe/v6zSf+Upw+SNFQ6NrSy8Ce/GjnyKdu6vQk=; b=aVCPEK61dljR5uzJMRK3Wv1AlsHllj4aC/RZOqqJ/SrYFxoRQAb7TyeyOM1MDRZAem VDTcwv6HRLb/pD85hxjIh27u4ebYfMOSZcS2DMWYaYqnSSUCHDidj8P4/iij50jyBJq6 odKQdVvU/x8oXreEKAaFI9zNvPLvj+2rB5AeO13nqv0HI8XsOuWIVn4IfkBnKYiBdOt3 g/1CtOIX2405bjBXs3Ot+vp4HQ7xp1QHY2Gq7yTNHXwVuwfd72BPYTlp9D1cKzxlTpXE YoBt9sJXwKfIjosP0VTAi07XikVkSmInJygBJHEYATrJGBHMXThJ6AvSjnrPgqFyzZmo qgtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688984189; x=1691576189; 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=LzWFsqoe/v6zSf+Upw+SNFQ6NrSy8Ce/GjnyKdu6vQk=; b=AFYqQW7o97yerhZWAjUtQ8uf61umzYJP3L3ToJrqoTWNiOi7FBWEFtdq8eDSOI8JYV lcVJAwNlR84zELrhyDpp+qhOvTOFiA7Qz+Hwosp7mHhVD6KDUO9x/8FswypsO9i0SRpa MahyLq+pIAOajq4ypcFk/nioubYAczWZ0bW5EYw3Yzoa/sBktTYpHp/b+vn9JkJ0hRrS HDZsARUkNd6FwpAjpvQRnHWkBCr0u2jGlSUb97s1+/MQiCmxjUX/Nnb8QPsCw4HCAeqw 5S23EOm/D1z5SO/nW8sAXsA3pjIqW+ytx4iz+gyG9lR4tD65Z5Y+e28VRQMacL++r7WB vbEA== X-Gm-Message-State: ABy/qLa33YHMzrOvIxXXc7Lbf9HYBSNRJ5pajA/pX+Yy307fvxGiacPL NKnEHl3x1h2mALDFthRrPHv0LfG5u0dxiGUWgAY= X-Received: by 2002:a67:f446:0:b0:444:bb70:db73 with SMTP id r6-20020a67f446000000b00444bb70db73mr3105959vsn.28.1688984188693; Mon, 10 Jul 2023 03:16:28 -0700 (PDT) MIME-Version: 1.0 References: <20230709181323.12085-2-johannes@sipsolutions.net> <19f7bc7f43922c257238127d5fe84ea01cf2be79.camel@intel.com> In-Reply-To: <19f7bc7f43922c257238127d5fe84ea01cf2be79.camel@intel.com> From: Jeff Chua Date: Mon, 10 Jul 2023 18:16:17 +0800 Message-ID: Subject: Re: [RFC PATCH] wifi: iwlwifi: remove 'use_tfh' config to fix crash To: "Zhang, Rui" Cc: "linux-wireless@vger.kernel.org" , "johannes@sipsolutions.net" , "Berg, Johannes" , Larry Finger , Gregory Greenman , Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Linux Networking , Bagas Sanjaya , lkml 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_BLOCKED,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 Mon, Jul 10, 2023 at 9:53=E2=80=AFAM Zhang, Rui wr= ote: > > On Sun, 2023-07-09 at 20:13 +0200, Johannes Berg wrote: > > From: Johannes Berg > > > > This is equivalent to 'gen2', and it's confusing to have two > > of the same configs. The split config patch actually had been > > originally developed after this, and didn't add the use_tfh > > in the new configs because they were copied to the new files > > after ... > > > > There's clearly still an unwind error in iwl_txq_gen2_init() > > since it crashes if something fails there, but the reason it > > fails in the first place is due to the gen2/use_tfh confusion. > > > > Reported-by: Jeff Chua > > Reported-by: "Zhang, Rui" > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=3D217622 > > Link: > > https://lore.kernel.org/all/9274d9bd3d080a457649ff5addcc1726f08ef5b2.ca= mel@xry111.site/ > > Link: > > https://lore.kernel.org/all/CAAJw_Zug6VCS5ZqTWaFSr9sd85k%3DtyPm9DEE%2Bm= V%3DAKoECZM%2BsQ@mail.gmail.com/ > > Fixes: 19898ce9cf8a ("wifi: iwlwifi: split 22000.c into multiple > > files") > > Signed-off-by: Johannes Berg > > Hi, Johannes, > > Thanks for the patch. It fixes the problem on my side. > > Tested-by: Zhang Rui > > thanks, > rui Johannes, Fixed as well! Thank you! cc to those I've posted before as well. Jeff