Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35163489rwd; Mon, 10 Jul 2023 03:38:04 -0700 (PDT) X-Google-Smtp-Source: APBJJlFW1SK1sM8HweHhaC/EBMBFuaTpraeHMXBpR36PbkCC85HFPMLaYKnp85nTJQs96h6DHEvT X-Received: by 2002:a05:6a00:14c9:b0:667:85e6:4e9 with SMTP id w9-20020a056a0014c900b0066785e604e9mr11070093pfu.24.1688985484099; Mon, 10 Jul 2023 03:38:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688985484; cv=none; d=google.com; s=arc-20160816; b=jNy59XreAjpGSYm9FSfjFPdn7ktv9McpCv/V1ckd2f+4YhZ/jE/LzRsDd5O8xQzRyL p45YwxImxB/XLwgFE+uugfCu3Fp8//B+r1xS3z5+jZtuxzpG6Tq4Qk4LcTxiddxGblSR JzvIB9+l0cwgtvyop97Qzc7gFDf6R6L4V1VxZrZ/W1+d5foGGG2V/8hrI24v4/UgCJYJ IgFm8pfarOvV5zru099lI4uMwByP8bmY4Hkit4OAsbz9fejIwPySsDqw36XXbCkVHiqV LPId/NfQbw2HayrMByArE4S35qKkpjGcciXw0qMC64uQvZl54dKOiepwdniI0m3RecgQ zu3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=Qd7Jq6PV9bUrlUetZdlFipTTG5XNVHRahk+7pTupUnY=; fh=Io+QLpuXweEVE3yFK2YNgXv2uwwKU+ju5Ix0xNSev6o=; b=szI2fvAA5e1Do6jyt+2P5iK9AVh/5YRjBqrfXYM7KJcxs5rvTJp60j3fRye3mZyIKC lUTAae5JlaHKU2x9UP52Uv/40a4Pzlw1FsG9FW22chLVbGMecbscz++saGy+WT/HB4y2 z0GrICsXWPxuU9tsoJ7rAiL767EWd58E6gk4DAjgpQvf//hz4ckDDSuPiA95mHUsGVrp 6JzD6qBpGMbX+peowbuWfwTSKjhTm9BKWFRAmD3hmHtxLandB5iViywfaOaP89QRnK4U bmOmF5ajwwrTCgpScpUVFCXlF06n2b3k3MD642aFD0knNBNTnbuy6OEoxSBKpBlK97uB PT8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=hnWfx1fe; 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=REJECT sp=REJECT dis=NONE) header.from=xry111.site Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k4-20020a056a00134400b00656f1d69ec6si9220079pfu.292.2023.07.10.03.37.55; Mon, 10 Jul 2023 03:38:04 -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=@xry111.site header.s=default header.b=hnWfx1fe; 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=REJECT sp=REJECT dis=NONE) header.from=xry111.site Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231824AbjGJKeB (ORCPT + 61 others); Mon, 10 Jul 2023 06:34:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231340AbjGJKd7 (ORCPT ); Mon, 10 Jul 2023 06:33:59 -0400 Received: from xry111.site (xry111.site [89.208.246.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9085ED1; Mon, 10 Jul 2023 03:33:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1688985230; bh=Qd7Jq6PV9bUrlUetZdlFipTTG5XNVHRahk+7pTupUnY=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=hnWfx1femhGVzcnMKSnDNf5xgExdFaoCKOuaJ7ctT8uwiVSpSlPmmIAI906gmEQ+4 0owCsZvwTSPxqkE5OG0BhsTeRBEFCnEw61/oroH4BdFCoDwDucZwRFDJsYpLsNac3a nZkP5TXtpTvOEY4bvFfgSRt+BdyWIKfa6EDfvFUg= Received: from [192.168.124.11] (unknown [113.140.11.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 7226465AB5; Mon, 10 Jul 2023 06:33:47 -0400 (EDT) Message-ID: <2856be90ec133a2bafd5f11e537f8d589d0f8cb9.camel@xry111.site> Subject: Re: [RFC PATCH] wifi: iwlwifi: remove 'use_tfh' config to fix crash From: Xi Ruoyao To: Jeff Chua , "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 Date: Mon, 10 Jul 2023 18:33:45 +0800 In-Reply-To: References: <20230709181323.12085-2-johannes@sipsolutions.net> <19f7bc7f43922c257238127d5fe84ea01cf2be79.camel@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 On Mon, 2023-07-10 at 18:16 +0800, Jeff Chua wrote: > On Mon, Jul 10, 2023 at 9:53=E2=80=AFAM Zhang, Rui = wrote: > >=20 > > On Sun, 2023-07-09 at 20:13 +0200, Johannes Berg wrote: > > > From: Johannes Berg > > >=20 > > > 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 ... > > >=20 > > > 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. > > >=20 > > > 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.= camel@xry111.site/ > > > Link: > > > https://lore.kernel.org/all/CAAJw_Zug6VCS5ZqTWaFSr9sd85k%3DtyPm9DEE%2= BmV%3DAKoECZM%2BsQ@mail.gmail.com/ > > > Fixes: 19898ce9cf8a ("wifi: iwlwifi: split 22000.c into multiple > > > files") > > > Signed-off-by: Johannes Berg > >=20 > > Hi, Johannes, > >=20 > > Thanks for the patch. It fixes the problem on my side. > >=20 > > Tested-by: Zhang Rui > >=20 > > thanks, > > rui >=20 >=20 > Johannes, >=20 > Fixed as well! Thank you! Works for me too, thanks! Tested-by: Xi Ruoyao --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University