public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers@kernel.org>
To: gregory.greenman@intel.com
Cc: johannes@sipsolutions.net, linux-wireless@vger.kernel.org,
	Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com>
Subject: Re: [PATCH 01/10] wifi: iwlwifi: mvm: implement new firmware API for statistics
Date: Thu, 2 Nov 2023 20:17:05 -0700	[thread overview]
Message-ID: <20231103031705.GA947@sol.localdomain> (raw)
In-Reply-To: <20231022173519.8cc7df0ebff2.If1dcb57145841c5b3c68ed112bbfcd0201f7acc3@changeid>

Hi Gregory and Anjaneyulu,

On Sun, Oct 22, 2023 at 05:55:47PM +0300, gregory.greenman@intel.com wrote:
> From: Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com>
> 
> The new firmware API uses a new command and notification,
> the command configures in which statistics types driver is
> interested and the notification is sent periodically.
> An additional change in the API is that most of the statistics
> data is accumulated and reported by the firmware per MLO link.
> Implement new command and notification handlers and adjust to
> per-link statistics.
> 
> Signed-off-by: Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com>
> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>

I'm seeing a warning at boot time due to this patch.  See below.  It's from
'WARN_ON(iwl_cmd_groups_verify_sorted(trans_cfg));'.  Looks like there's an
array that is supposed to be sorted that isn't sorted anymore.

[    5.342367] Intel(R) Wireless WiFi driver for Linux
[    5.342405] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002)
[    5.342978] iwlwifi 0000:04:00.0: Detected crf-id 0xbadcafe, cnv-id 0x10 wfpm id 0x80000000
[    5.342993] iwlwifi 0000:04:00.0: PCI dev 24fd/1010, rev=0x230, rfid=0xd55555d5
[    5.343131] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    5.343137] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    5.346469] iwlwifi 0000:04:00.0: loaded firmware version 36.ca7b901d.0 8265-36.ucode op_mode iwlmvm
[    5.346502] ------------[ cut here ]------------
[    5.346503] WARNING: CPU: 1 PID: 20 at drivers/net/wireless/intel/iwlwifi/mvm/../iwl-trans.h:1158 iwl_op_mode_mvm_start+0x995/0x9b0
[    5.346511] CPU: 1 PID: 20 Comm: kworker/1:0 Not tainted 6.6.0-11999-gae7b1149d4fb #1
[    5.346514] Hardware name: Gigabyte Technology Co., Ltd. X399 AORUS Gaming 7/X399 AORUS Gaming 7, BIOS F2 08/31/2017
[    5.346516] Workqueue: events request_firmware_work_func
[    5.346520] RIP: 0010:iwl_op_mode_mvm_start+0x995/0x9b0
[    5.346524] Code: 41 5e 41 5f 5d e9 2b 4c 59 00 cc 48 c7 c7 10 58 a2 ba 48 c7 c6 8a 0c a3 ba e8 87 f1 57 00 e9 b6 fb ff ff 0f 0b e9 b2 fe ff ff <0f> 0b e9 aa fc ff ff e8 6f 96 58 00 66 66 66 66 66 66 2e 0f 1f 84
[    5.346526] RSP: 0018:ffffa87d402e7bf8 EFLAGS: 00010286
[    5.346529] RAX: 00000000ffffffff RBX: ffffa87d402e7c00 RCX: ffffffffba721630
[    5.346531] RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffffffffba721cc0
[    5.346532] RBP: ffff8ba7c72e0028 R08: 0000000000000090 R09: 0000000000000070
[    5.346534] R10: 0000000000000070 R11: 00000000000000ff R12: ffff8ba7c7241f88
[    5.346536] R13: ffff8ba7c6fff814 R14: ffff8ba7c7241f80 R15: 0000000000000000
[    5.346537] FS:  0000000000000000(0000) GS:ffff8baf1e840000(0000) knlGS:0000000000000000
[    5.346540] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    5.346541] CR2: 0000000000000000 CR3: 0000000056228000 CR4: 00000000003506f0
[    5.346543] Call Trace:
[    5.346546]  <TASK>
[    5.346548]  ? __warn+0xa7/0x140
[    5.346551]  ? iwl_op_mode_mvm_start+0x995/0x9b0
[    5.346554]  ? report_bug+0xe8/0x180
[    5.346557]  ? handle_bug+0x3d/0x90
[    5.346560]  ? exc_invalid_op+0x1a/0x60
[    5.346562]  ? asm_exc_invalid_op+0x1a/0x20
[    5.346566]  ? iwl_op_mode_mvm_start+0x995/0x9b0
[    5.346568]  ? iwl_op_mode_mvm_start+0x63e/0x9b0
[    5.346571]  _iwl_op_mode_start+0x4e/0xa0
[    5.346575]  iwl_req_fw_callback+0x2501/0x2610
[    5.346579]  ? srso_return_thunk+0x5/0x5f
[    5.346582]  ? __switch_to+0x80/0x480
[    5.346586]  request_firmware_work_func+0x62/0xa0
[    5.346589]  process_scheduled_works+0x263/0x3d0
[    5.346593]  worker_thread+0x222/0x300
[    5.346595]  ? __cfi_worker_thread+0x10/0x10
[    5.346598]  kthread+0xf4/0x110
[    5.346602]  ? __cfi_kthread+0x10/0x10
[    5.346604]  ret_from_fork+0x43/0x50
[    5.346608]  ? __cfi_kthread+0x10/0x10
[    5.346610]  ret_from_fork_asm+0x1b/0x30
[    5.346614]  </TASK>
[    5.346615] ---[ end trace 0000000000000000 ]---
[    5.346617] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230

  reply	other threads:[~2023-11-03  3:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-22 14:55 [PATCH 00/10] wifi: iwlwifi: updates - 2023-10-22 gregory.greenman
2023-10-22 14:55 ` [PATCH 01/10] wifi: iwlwifi: mvm: implement new firmware API for statistics gregory.greenman
2023-11-03  3:17   ` Eric Biggers [this message]
2023-11-10 14:25     ` Damian Tometzki
2023-11-12 17:10       ` Emmanuel Grumbach
2023-10-22 14:55 ` [PATCH 02/10] wifi: iwlwifi: mvm: debugfs for fw system stats gregory.greenman
2023-10-22 14:55 ` [PATCH 03/10] wifi: iwlwifi: mvm: add a print when sending RLC command gregory.greenman
2023-10-22 14:55 ` [PATCH 04/10] wifi: iwlwifi: fw: Add support for UATS table in UHB gregory.greenman
2023-10-22 14:55 ` [PATCH 05/10] wifi: iwlwifi: empty overflow queue during flush gregory.greenman
2023-10-22 14:55 ` [PATCH 06/10] wifi: iwlwifi: trace full frames with TX status request gregory.greenman
2023-10-22 14:55 ` [PATCH 07/10] wifi: iwlwifi: mvm: cycle FW link on chanctx removal gregory.greenman
2023-10-22 14:55 ` [PATCH 08/10] wifi: iwlwifi: mvm: show dump even for pldr_sync gregory.greenman
2023-10-22 14:55 ` [PATCH 09/10] wifi: iwlwifi: read DSM func 2 for specific RF types gregory.greenman
2023-10-22 14:55 ` [PATCH 10/10] wifi: iwlwifi: bump FW API to 86 for AX/BZ/SC devices gregory.greenman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231103031705.GA947@sol.localdomain \
    --to=ebiggers@kernel.org \
    --cc=gregory.greenman@intel.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pagadala.yesu.anjaneyulu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox