** Changed in: linux-oem-6.11 (Ubuntu Noble)
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-6.11 in Ubuntu.
https://bugs.launchpad.net/bugs/2089199

Title:
  Boot hangs with cs42l43 soundwire codec

Status in HWE Next:
  New
Status in linux-oem-6.11 package in Ubuntu:
  Invalid
Status in linux-oem-6.11 source package in Noble:
  Fix Committed

Bug description:
  [Impact]
  May encounter the kernel oops and hangs during booting up

  [    4.402320] kernel: Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI
  [    4.402323] kernel: CPU: 2 UID: 0 PID: 251 Comm: kworker/2:4 Tainted: G    
       O       6.11.0-1007-oem #7-Ubuntu
  [    4.402325] kernel: Tainted: [O]=OOT_MODULE
  [    4.402326] kernel: Hardware name: Dell Inc. Dell Pro 14 Plus PB14250/, 
BIOS 0.7.53 11/15/2024
  [    4.402327] kernel: Workqueue: events request_firmware_work_func
  [    4.402331] kernel: RIP: 0010:__dev_printk+0x23/0xa0
  [    4.402334] kernel: Code: 90 90 90 90 90 90 90 0f 1f 44 00 00 55 49 89 d1 
48 89 e5 48 85 f6 74 68 4c 8b 46 50 4d 85 c0 74 35 48 8b 46 68 48 85 c0 74 38 
<48> 8b 08 0f b6 7f 01 48 c7 c2 59 8b 3d b7 83 ef 30 e8 f7 ee ff ff
  [    4.402335] kernel: RSP: 0018:ffffc0a0c091fa98 EFLAGS: 00010202
  [    4.402336] kernel: RAX: 0000000000000001 RBX: 0000000036c41700 RCX: 
ffffc0a0c091fb18
  [    4.402337] kernel: RDX: ffffc0a0c091faa8 RSI: ffff9fd9cb145400 RDI: 
ffffffffb73acdfa
  [    4.402338] kernel: RBP: ffffc0a0c091fa98 R08: 0000000000000318 R09: 
ffffc0a0c091faa8
  [    4.402339] kernel: R10: 0000000000000003 R11: 0000000000000000 R12: 
0000000000000008
  [    4.402339] kernel: R13: ffffc0a0c091fc00 R14: ffff9fd9e2c8d028 R15: 
000000000000001c
  [    4.402340] kernel: FS:  0000000000000000(0000) GS:ffff9fdd3f700000(0000) 
knlGS:0000000000000000
  [    4.402341] kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [    4.402342] kernel: CR2: 0000000000000001 CR3: 0000000104014001 CR4: 
0000000000f70ef0
  [    4.402343] kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 
0000000000000000
  [    4.402343] kernel: DR3: 0000000000000000 DR6: 00000000ffff07f0 DR7: 
0000000000000400
  [    4.402344] kernel: PKRU: 55555554
  [    4.402344] kernel: Call Trace:
  [    4.402346] kernel:  <TASK>
  [    4.402348] kernel:  ? show_regs+0x6c/0x80
  [    4.402351] kernel:  ? __die+0x24/0x80
  [    4.402352] kernel:  ? page_fault_oops+0x96/0x1b0
  [    4.402355] kernel:  ? do_user_addr_fault+0x4b2/0x870
  [    4.402356] kernel:  ? exc_page_fault+0x85/0x1c0
  [    4.402359] kernel:  ? asm_exc_page_fault+0x27/0x30
  [    4.402362] kernel:  ? __dev_printk+0x23/0xa0
  [    4.402363] kernel:  _dev_err+0x75/0xa0
  [    4.402368] kernel:  _cdns_xfer_msg+0x17a/0x1c0 [soundwire_cadence]
  [    4.402371] kernel:  cdns_xfer_msg+0x90/0xf0 [soundwire_cadence]
  [    4.402373] kernel:  sdw_transfer_unlocked+0x62/0xf0 [soundwire_bus]
  [    4.402378] kernel:  sdw_ntransfer_no_pm+0xce/0x140 [soundwire_bus]
  [    4.402381] kernel:  sdw_nwrite_no_pm+0x19/0x30 [soundwire_bus]
  [    4.402384] kernel:  regmap_sdw_gather_write+0x17/0x30 [regmap_sdw]
  [    4.402386] kernel:  _regmap_raw_write_impl+0x623/0x980
  [    4.402388] kernel:  _regmap_raw_write+0xc4/0x1a0
  [    4.402389] kernel:  regmap_raw_write+0x71/0xa0
  [    4.402390] kernel:  regmap_bulk_write+0xa9/0x260
  [    4.402392] kernel:  cs42l43_mcu_load_firmware+0x7c/0x1b0 [cs42l43]
  [    4.402393] kernel:  request_firmware_work_func+0x53/0xb0
  [    4.402394] kernel:  process_one_work+0x178/0x3d0
  [    4.402397] kernel:  worker_thread+0x2de/0x410
  [    4.402398] kernel:  ? _raw_spin_lock_irqsave+0xe/0x20
  [    4.402399] kernel:  ? __pfx_worker_thread+0x10/0x10
  [    4.402400] kernel:  kthread+0xe1/0x110
  [    4.402402] kernel:  ? __pfx_kthread+0x10/0x10
  [    4.402403] kernel:  ret_from_fork+0x44/0x70
  [    4.402404] kernel:  ? __pfx_kthread+0x10/0x10
  [    4.402405] kernel:  ret_from_fork_asm+0x1a/0x30
  [    4.402408] kernel:  </TASK>

  
  [Fix]
  The cs42l43_dev_remove(cs42l43) could be called during booting up, and then 
leads to the loading firmware process fails.

  e59148b784fb mfd: cs42l43: Fix issues in probe error paths

  [Test]
  Reboot the machine with cs42l43 soundwire codec multiple times(20+), and it 
should not hang.

  [Where problems could occur]
  No, the cs42l43_dev_remove(cs42l43) will be called when cs42l43_sdw_remove() 
is called. So, it should not lead to any regression.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2089199/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to