Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp38514201rwd; Wed, 12 Jul 2023 08:39:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlFx3dG7bIC9IIkKZEwsiQc9ruTqHmcnrXjxGUg+h/5Um1An2Z5/U+7eGPFAxIS1G5Y98IyS X-Received: by 2002:a17:906:2257:b0:994:81d:2ac3 with SMTP id 23-20020a170906225700b00994081d2ac3mr11954026ejr.18.1689176343164; Wed, 12 Jul 2023 08:39:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689176343; cv=none; d=google.com; s=arc-20160816; b=MpJnVaE4usiMCOj5UbR6ufsRL2pOsjlMa7a0v57i4765RmZrcSs3lk6JyqYxEY8T94 1Sp+hsyMpV9sDCRybkjWzqtur0IwCdx/dH5ZosqjBZM8yKbNyFM/Pyo9M28lxPn0Xacd 7Dkb28MvtSxZMklaV8gNB8w7FkbXuON/tM6TzEsuZpDvePuM8zVRget4yEksLPNYn0c4 YE7FPCVpJe/3ypMTOVhZ3KHFoUUuBtgXIcOOlOdmStOqcn34/nc54WoxKGEL0Sc6mVLi AWb0fuFObYaUmPVPfNww9B9PaHsvTxz24CTp3vNPTzDJycL288Z4RBxtb3PU/8ZIxnY/ oPVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=5Qge0k9fOoFE8u4WzIwbWBlrSJpWiGCeA3aU1hVFMQQ=; fh=qg58uFApNp6vNU+yHGOyXrhbbj6EXUc4FDyNSLHpqCQ=; b=Dt4qG3GJrtkFcimofmK0s7izPcMU7kB1J3pwUnnqMO9/rZA98xBtGXM99hcHpjX3g+ SKTLX42fyUjrsNX1sA4YJzJu01MzdrNICZnWiNATDvlIBR5Ns/YnCQALN+3og0QNmh/O vVaH6GmdCTgT2Tx5JghEZHPSOR6TIYUr8mvuPAW0C5sqt5Z+ISLF5mtfGrxZGib9AixN znLm9B7j8eAFN6Ho25B3vyhrjRRq2J5nW2hyq5IOoqwCuuOc9/PNyZudXC77W8JkM8mt CuGYw4m4aV0pihNQGTvx+BgE2Sm1RTUYF67JQFe1QFBrtlg6pXjKtpFqaB/7zaQQy6sg US/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@heitbaum.com header.s=google header.b=aumB25qk; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s13-20020a170906c30d00b00988a6f59292si4844943ejz.600.2023.07.12.08.38.43; Wed, 12 Jul 2023 08:39:03 -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=@heitbaum.com header.s=google header.b=aumB25qk; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233027AbjGLPeA (ORCPT + 61 others); Wed, 12 Jul 2023 11:34:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233332AbjGLPd5 (ORCPT ); Wed, 12 Jul 2023 11:33:57 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C4431BF5 for ; Wed, 12 Jul 2023 08:33:50 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-6682909acadso4039128b3a.3 for ; Wed, 12 Jul 2023 08:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heitbaum.com; s=google; t=1689176029; x=1691768029; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=5Qge0k9fOoFE8u4WzIwbWBlrSJpWiGCeA3aU1hVFMQQ=; b=aumB25qkmp+H22OpLviqbhMeSPRTuBf8oR6XBg8SuigO/9bpEig5h56WY5RjD3i9Qe gYXLVip40FAk5AYZcL5N/qH9cXU1Cnt0Rsa2SjawbsAp6ARD35stmLPQ0Z7AJj0nKURH NysfJD+0js/Jr6wO7UWSgPig3KR9yuvVk0sKQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689176029; x=1691768029; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5Qge0k9fOoFE8u4WzIwbWBlrSJpWiGCeA3aU1hVFMQQ=; b=C/CT7cKyOmvCWVl/9ueZsQzWndt1MdzPEI85fFIBa4gsq9fRm3AVA7JI018dmdFoz9 27nWJ56vi+xFFBlyhEqMy14yEzwvcQsRsjCUybz0ocr6IrUvItc/XSQngG3Yhf0SmH8A qJKdJ7YPSldM6S5bLi+bmbi67szQ0Ern6ZRC+sOeWYxpeSTQrfkL2L4Kq7sDVv3wJl35 x8DmhnQ8/1GQwdU2bDsHBhzy24RplsE3LRo1VKUD/yRfzPPudfo3BWT3MgXT96le4+pn dGb55hPZzKFmUNcmEI3sduTIp7EnueaJBvt68v6cH5GgIMmhOHZxHMASdcmglAY5b8xJ GYXQ== X-Gm-Message-State: ABy/qLatpASq34zKOj47hULYlZVZ00D2ND4T3RRIOoDfi28wurQvaJlL CvGaq94sBHp6/AfVAFTskZKKXg== X-Received: by 2002:a05:6a00:856:b0:682:759c:644d with SMTP id q22-20020a056a00085600b00682759c644dmr18508848pfk.27.1689176029480; Wed, 12 Jul 2023 08:33:49 -0700 (PDT) Received: from 823b66c6476b ([122.199.31.3]) by smtp.gmail.com with ESMTPSA id p2-20020aa78602000000b006687b4f2044sm3760942pfn.164.2023.07.12.08.33.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jul 2023 08:33:48 -0700 (PDT) Date: Wed, 12 Jul 2023 15:33:43 +0000 From: Rudi Heitbaum To: Johannes Berg Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, Johannes Berg , Xi Ruoyao , =?utf-8?B?TmlrbMSBdnMgS2/EvGVzxYZpa292cw==?= , Jeff Chua , Zhang Rui Subject: Re: [PATCH net] wifi: iwlwifi: remove 'use_tfh' config to fix crash Message-ID: References: <20230710145038.84186-2-johannes@sipsolutions.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230710145038.84186-2-johannes@sipsolutions.net> 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_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 04:50:39PM +0200, Johannes Berg wrote: > From: Johannes Berg > > This is equivalent to 'gen2', and it was always confusing to have > two identical config entries. The split config patch actually had > been originally developed after removing 'use_tfh" and didn't add > the use_tfh in the new configs as they'd later been copied to the > new files. Thus the easiest way to fix the init crash here now is > to just remove use_tfh (which is erroneously unset in most of the > configs now) and use 'gen2' in the code instead. > > There's possibly still an unwind error in iwl_txq_gen2_init() as > it crashes if TXQ 0 fails to initialize, but we can deal with it > later since the original failure is due to the use_tfh confusion. > > Tested-by: Xi Ruoyao > Reported-and-tested-by: Niklāvs Koļesņikovs > Reported-and-tested-by: Jeff Chua > Reported-and-tested-by: Zhang Rui > Link: https://bugzilla.kernel.org/show_bug.cgi?id=217622 > Link: https://lore.kernel.org/all/9274d9bd3d080a457649ff5addcc1726f08ef5b2.camel@xry111.site/ > Link: https://lore.kernel.org/all/CAAJw_Zug6VCS5ZqTWaFSr9sd85k%3DtyPm9DEE%2BmV%3DAKoECZM%2BsQ@mail.gmail.com/ > Fixes: 19898ce9cf8a ("wifi: iwlwifi: split 22000.c into multiple files") > Signed-off-by: Johannes Berg Hi Johannes, I can confirm that this is now working with 83.e8f84e98.0 so-a0-gf-a0-83.ucode. it wasnt with 6.5-rc1 and both 78 and 83 firmwares. Tested-by: Rudi Heitbaum