From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5FDD91A9F97 for ; Sat, 20 Sep 2025 15:49:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.67.36.66 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758383388; cv=none; b=Pk4ZRqmOtnVcibwRoLyT/adO6YDppfp3u5zlrIMMtP42k7tpomjdaLY/y9/Epseok6gdIhdV2HYHoM9qIjwo2QBO9I/yAxxl0weLd0HGxClKQACoZTFHhM9BgxfbmWUrhFfef7BKgKw9nhXUBXfI+irnVj5raULpiCIFd8li+tI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758383388; c=relaxed/simple; bh=VqU9kBIv3GJH5ecLogCb8x8xG+AXIywoz3C9j4KNqQI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=H74rSXkx0JfbAykhfcST4EVrHJGYTRbBmXkBT+bC3DyiSkYsYkQ612QOH8RF3XdRtr9o27mrGZSwWEFRkjU0bHl98ltWzZz4IixihdvPLo/Ytq1X0TIKYIxaSlt6JSmsBVHIqOJrn/NXBIxIZkAqDWUBtmtECaqyiAklcZDmhYA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=posteo.org; spf=pass smtp.mailfrom=posteo.org; dkim=pass (2048-bit key) header.d=posteo.org header.i=@posteo.org header.b=RS9BVGpw; arc=none smtp.client-ip=185.67.36.66 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=posteo.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=posteo.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=posteo.org header.i=@posteo.org header.b="RS9BVGpw" Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4A04F240101 for ; Sat, 20 Sep 2025 17:49:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.org; s=2017; t=1758383383; bh=12cSXouHig6eJCbLkWhzyhxZJT9pxRosLx5CxBWPbmI=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Description:Content-Disposition:From; b=RS9BVGpwLMdEHsaWzNjqq2TshsaVMTUV/KSjEuZBt7DVGbrF4xStw7AJBRshRONGG BSSqd/MBkE2SR+y35HS+IRUX5GT1/sYqyPu5R6PnYtd9Czf+gIULZNpnr0OUtIivJh 1pB6VYGp0/cx0bkPcw5QeXwTn4Un6IhXVA+z/gk8da9qbSXoXSR9F30IGBJ4Nt5xm6 L33cGB2Aylc9QjxUm+gBnW88JjVCNvmDrCWdvJZRyOYRlkx3ReUhImyAB0nsxs53jX xibYBxSTfVGyTD+h2/IqkmO38ax2h3sDX4H2AwbsjG5soOPdRKfopZyt2g7/PRMF6p 5G3QjpbBCZUvw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4cTYj162zwz9rxG; Sat, 20 Sep 2025 17:49:41 +0200 (CEST) Date: Sat, 20 Sep 2025 15:49:42 +0000 From: Karsten Tausche To: David Wang <00107082@163.com> Cc: Johannes Berg , miriam.rachel.korenblit@intel.com, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: IWL Error Log Dump since 6.17.0-rc5 Message-ID: References: <20250909165811.10729-1-00107082@163.com> <487c99e0.6ed4.19932979ca5.Coremail.00107082@163.com> <285c7cd9935d5c245ad478c5692faa927bcda245.camel@sipsolutions.net> <35b1fd7b.aa06.1993e2b7ce5.Coremail.00107082@163.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Description:  Content-Disposition: inline In-Reply-To: <35b1fd7b.aa06.1993e2b7ce5.Coremail.00107082@163.com> Hi, I can confirm the same issue and resolution on a similar card "Intel Corporation Wireless 7265 (rev 59)". I did not test rc5, but rc4 was working and rc6 broken for me. On Fri, Sep 12, 2025 at 09:44:21PM +0800, David Wang wrote: > > At 2025-09-10 16:31:33, "Johannes Berg" wrote: > >On Wed, 2025-09-10 at 15:47 +0800, David Wang wrote: > >> Hi, > >> > >> I think those error dump is introduced by commit 586e3cb33ba6890054b95aa0ade0a165890efabd("wifi: iwlwifi: fix byte count table for old devices") > >> > >> My wireless pcie card has device_family 15 which is less than IWL_DEVICE_FAMILY_9000, and the changes in the commit have changed the behavior for my devices. > >> > >> - if (trans->mac_cfg->device_family < IWL_DEVICE_FAMILY_AX210) > >> + if (trans->mac_cfg->device_family >= IWL_DEVICE_FAMILY_9000 && > >> + trans->mac_cfg->device_family < IWL_DEVICE_FAMILY_AX210) > >> len = DIV_ROUND_UP(len, 4); > > > >I think I just got confused, and that 9000 should be 7000. Presumably > >that'd work for you, I'll send a patch. > > > >johannes > > > Hi, > > My system has been run for days and no IWL error dumps & reset happened. > I think I can confirm that my wireless card needs the length adjustment. > > Some information about my cards: > > [ 5.067265] iwlwifi 0000:21:00.0: enabling device (0000 -> 0002) > [ 5.068798] iwlwifi 0000:21:00.0: Detected crf-id 0x0, cnv-id 0x0 wfpm id 0x0 > [ 5.068809] iwlwifi 0000:21:00.0: PCI dev 08b1/c070, rev=0x144, rfid=0xd55555d5 > [ 5.068813] iwlwifi 0000:21:00.0: device family: 15 <-- > [ 5.068816] iwlwifi 0000:21:00.0: Detected Intel(R) Dual Band Wireless AC 7260 > [ 5.075593] iwlwifi 0000:21:00.0: loaded firmware version 17.bfb58538.0 7260-17.ucode op_mode iwlmvm > > $ lspci > ... > 21:00.0 Network controller: Intel Corporation Wireless 7260 (rev bb) > ... > > > My device match the config in drivers/net/wireless/intel/iwlwifi/pcie/drv.c: > > 263 {IWL_PCI_DEVICE(0x08B1, 0xC070, iwl7000_mac_cfg)}, > > iwl7000_mac_cfg is defined as: > > 88 const struct iwl_mac_cfg iwl7000_mac_cfg = { > 89 .device_family = IWL_DEVICE_FAMILY_7000, > 90 .base = &iwl7000_base, > 91 }; > > And indeed, it is IWL_DEVICE_FAMILY_7000 > Early kernel logs for my chip below. 095b/5210 is matching the same config iwl7000_mac_cfg as above. iwlwifi 0000:03:00.0: Detected crf-id 0x0, cnv-id 0x0 wfpm id 0x0 iwlwifi 0000:03:00.0: PCI dev 095b/5210, rev=0x210, rfid=0xd55555d5 iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless-AC 7265 Snippet of failure logs on v6.17-rc6: iwlwifi 0000:03:00.0: Microcode SW error detected. Restarting 0x2000000. iwlwifi 0000:03:00.0: Start IWL Error Log Dump: iwlwifi 0000:03:00.0: Transport status: 0x0000004A, valid: 6 iwlwifi 0000:03:00.0: Loaded firmware version: 29.f2390aa8.0 7265D-29.ucode iwlwifi 0000:03:00.0: 0x00001030 | ADVANCED_SYSASSERT iwlwifi 0000:03:00.0: 0x00800233 | trm_hw_status0 iwlwifi 0000:03:00.0: 0x00000000 | trm_hw_status1 iwlwifi 0000:03:00.0: 0x00043D6C | branchlink2 iwlwifi 0000:03:00.0: 0x0004B002 | interruptlink1 ... $ lscpi ... 03:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59) ... Thanks, Karsten