forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Labels
CMLApplies to Comet Lake platformApplies to Comet Lake platformHDAApplies to HD-Audio bus for codec connectionApplies to HD-Audio bus for codec connectionNot SOF FW/DriverNot using SOF audio FW and driverNot using SOF audio FW and driverbugSomething isn't workingSomething isn't working
Description
Describe the bug
On CML chromebook device with legacy HDA driver, When system goes to low memory , we see page allocation failure for audio and audio stops working. We also see kernel crash after page allocation failures
To Reproduce
Boot the chromebook
Restrict the system memory to 4gb
Run memory intense workloads
Paralley run youtube audio playback
Environment
Kernel Branch: https://chromium.googlesource.com/chromiumos/third_party/kernel/+/refs/tags/v5.15.152
Platform: CML
Logs
dmesg.log
Screenshots or console output
[ 143.995313] snd_hda_codec_realtek hdaudioC0D0: hda_codec_cleanup_stream: NID=0x3
[ 143.995319] snd_hda_codec_realtek hdaudioC0D0: hda_codec_cleanup_stream: NID=0x2
**[ 217.112589] modprobe: page allocation failure: order:4, mode:0x40cc0(GFP_KERNEL|__GFP_COMP), nodemask=(null),cpuset=/,mems_allowed=0**
[ 217.112605] CPU: 3 PID: 5838 Comm: modprobe Tainted: G W 5.15.152-22006-g5365727b3992 #1 38b847e2a0b5e38ed928959f12ca771020b542bf
[ 217.112611] Hardware name: Dell Inc. Drallion/Drallion, BIOS Google_Drallion.12930.48.0 04/21/2020
[ 217.112613] Call Trace:
[ 217.112616] <TASK>
[ 217.112619] dump_stack_lvl+0x69/0x97
[ 217.112626] warn_alloc+0x10c/0x165
[ 217.112630] ? psi_memstall_leave+0x7e/0x98
[ 217.112636] __alloc_pages+0x5dd/0x744
[ 217.112640] kmalloc_order+0x2e/0x86
[ 217.112645] kmalloc_order_trace+0x1e/0x8b
[ 217.112649] module_decompress+0xb2/0x285
[ 217.112654] __se_sys_finit_module+0xbc/0x148
[ 217.112660] do_syscall_64+0x51/0xa1
[ 217.112664] ? exit_to_user_mode_prepare+0x3c/0x84
[ 217.112668] entry_SYSCALL_64_after_hwframe+0x5c/0xc6
[ 217.112673] RIP: 0033:0x7d1b93803d09
[ 217.112677] Code: 5b 41 5c 5d c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d df 40 0c 00 f7 d8 64 89 01 48
[ 217.112681] RSP: 002b:00007ffc8b116a68 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 217.112685] RAX: ffffffffffffffda RBX: 0000555b345db0a0 RCX: 00007d1b93803d09
[ 217.112688] RDX: 0000000000000004 RSI: 0000555b32ab9bc3 RDI: 0000000000000000
[ 217.112691] RBP: 00007ffc8b116ad0 R08: 0000555b345e6798 R09: 0000000000000000
[ 217.112693] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000040000
[ 217.112696] R13: 0000000000000000 R14: 0000000000000004 R15: 0000555b32ab9bc3
[ 217.112700] </TASK>
[ 217.112702] Mem-Info:
[ 217.112704] active_anon:194690 inactive_anon:447172 isolated_anon:0
active_file:11164 inactive_file:20014 isolated_file:0
unevictable:81 dirty:6759 writeback:5
slab_reclaimable:15007 slab_unreclaimable:33187
mapped:33405 shmem:26152 pagetables:10996 bounce:0
kernel_misc_reclaimable:0
free:16483 free_pcp:649 free_cma:0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CMLApplies to Comet Lake platformApplies to Comet Lake platformHDAApplies to HD-Audio bus for codec connectionApplies to HD-Audio bus for codec connectionNot SOF FW/DriverNot using SOF audio FW and driverNot using SOF audio FW and driverbugSomething isn't workingSomething isn't working