Some additional data I thought might be helpful:

$ sudo su -
# echo l > /proc/sysrq-trigger

---/var/log/syslog---
2024-07-19T12:45:33.815231-04:00 victus kernel: NMI backtrace for cpu 11
2024-07-19T12:45:33.815232-04:00 victus kernel: CPU: 11 PID: 271 Comm: 
kworker/11:3 Not tainted 6.8.0-38-generic #38-Ubuntu
2024-07-19T12:45:33.815232-04:00 victus kernel: Hardware name: HP Victus by HP 
Gaming Laptop 15-fb2xxx/8C2F, BIOS F.03 05/20/2024
2024-07-19T12:45:33.815233-04:00 victus kernel: Workqueue: kacpi_notify 
acpi_os_execute_deferred
2024-07-19T12:45:33.815233-04:00 victus kernel: RIP: 
0010:acpi_ps_get_arguments.constprop.0+0x8a/0x360
2024-07-19T12:45:33.815234-04:00 victus kernel: Code: 02 20 0f 85 9c 01 00 00 
41 0f b7 44 24 0a 66 83 f8 0e 0f 86 6b 01 00 00 66 83 f8 2d 75 75 48 8d 73 38 
b9 01 00 00 00 4c 89 e2 <48> 89 df e8 4e f3 ff ff 85 c0 0f 85 1f 02 00 00 c7 43 
28 00 00 00
2024-07-19T12:45:33.815235-04:00 victus kernel: RSP: 0018:ffffbaf5008c3b68 
EFLAGS: 00000246
2024-07-19T12:45:33.815236-04:00 victus kernel: RAX: 000000000000002d RBX: 
ffff94bd8d60a800 RCX: 0000000000000001
2024-07-19T12:45:33.815236-04:00 victus kernel: RDX: ffff94bd82635190 RSI: 
ffff94bd8d60a838 RDI: 0000000000000000
2024-07-19T12:45:33.815237-04:00 victus kernel: RBP: ffffbaf5008c3b98 R08: 
0000000000000000 R09: 0000000000000000
2024-07-19T12:45:33.815237-04:00 victus kernel: R10: 0000000000000000 R11: 
0000000000000000 R12: ffff94bd82635190
2024-07-19T12:45:33.815238-04:00 victus kernel: R13: ffffbaf500037da7 R14: 
ffffbaf500037da7 R15: ffffbaf5008c3ba8
2024-07-19T12:45:33.815238-04:00 victus kernel: FS:  0000000000000000(0000) 
GS:ffff94cc20180000(0000) knlGS:0000000000000000
2024-07-19T12:45:33.815239-04:00 victus kernel: CS:  0010 DS: 0000 ES: 0000 
CR0: 0000000080050033
2024-07-19T12:45:33.815239-04:00 victus kernel: CR2: 00007f51bddf9bf8 CR3: 
0000000df9e3c000 CR4: 0000000000f50ef0
2024-07-19T12:45:33.815240-04:00 victus kernel: PKRU: 55555554
2024-07-19T12:45:33.815240-04:00 victus kernel: Call Trace:
2024-07-19T12:45:33.815241-04:00 victus kernel:  <NMI>
2024-07-19T12:45:33.815241-04:00 victus kernel:  ? show_regs+0x6d/0x80
2024-07-19T12:45:33.815241-04:00 victus kernel:  ? nmi_cpu_backtrace+0xb5/0x120
2024-07-19T12:45:33.815242-04:00 victus kernel:  ? sched_clock_noinstr+0x9/0x10
2024-07-19T12:45:33.815243-04:00 victus kernel:  ? 
nmi_cpu_backtrace_handler+0x11/0x20
2024-07-19T12:45:33.815243-04:00 victus kernel:  ? nmi_handle+0x64/0x180
2024-07-19T12:45:33.815244-04:00 victus kernel:  ? default_do_nmi+0x47/0x140
2024-07-19T12:45:33.815244-04:00 victus kernel:  ? exc_nmi+0x1c2/0x290
2024-07-19T12:45:33.815245-04:00 victus kernel:  ? end_repeat_nmi+0xf/0x60
2024-07-19T12:45:33.815245-04:00 victus kernel:  ? 
acpi_ps_get_arguments.constprop.0+0x8a/0x360
2024-07-19T12:45:33.815248-04:00 victus kernel: message repeated 2 times: [  ? 
acpi_ps_get_arguments.constprop.0+0x8a/0x360]
2024-07-19T12:45:33.815249-04:00 victus kernel:  </NMI>
2024-07-19T12:45:33.815253-04:00 victus kernel:  <TASK>
2024-07-19T12:45:33.815253-04:00 victus kernel:  acpi_ps_parse_loop+0x331/0x780
2024-07-19T12:45:33.815254-04:00 victus kernel:  acpi_ps_parse_aml+0x226/0x600
2024-07-19T12:45:33.815254-04:00 victus kernel:  
acpi_ps_execute_method+0x172/0x3e0
2024-07-19T12:45:33.815255-04:00 victus kernel:  acpi_ns_evaluate+0x175/0x5f0
2024-07-19T12:45:33.815255-04:00 victus kernel:  
acpi_evaluate_object+0x1a2/0x4a0
2024-07-19T12:45:33.815256-04:00 victus kernel:  acpi_evaluate_dsm+0xc7/0x150
2024-07-19T12:45:33.815256-04:00 victus kernel:  ucsi_acpi_dsm+0x57/0xa0 
[ucsi_acpi]
2024-07-19T12:45:33.815257-04:00 victus kernel:  ucsi_acpi_read+0x2f/0x70 
[ucsi_acpi]
2024-07-19T12:45:33.815257-04:00 victus kernel:  ucsi_acpi_notify+0x42/0xe0 
[ucsi_acpi]
2024-07-19T12:45:33.815258-04:00 victus kernel:  
acpi_ev_notify_dispatch+0x56/0xa0
2024-07-19T12:45:33.815258-04:00 victus kernel:  
acpi_os_execute_deferred+0x17/0x40
2024-07-19T12:45:33.815259-04:00 victus kernel:  process_one_work+0x16c/0x350
2024-07-19T12:45:33.815259-04:00 victus kernel:  worker_thread+0x306/0x440
2024-07-19T12:45:33.815260-04:00 victus kernel:  ? 
srso_alias_return_thunk+0x5/0xfbef5
2024-07-19T12:45:33.815260-04:00 victus kernel:  ? 
_raw_spin_lock_irqsave+0xe/0x20
2024-07-19T12:45:33.815261-04:00 victus kernel:  ? __pfx_worker_thread+0x10/0x10
2024-07-19T12:45:33.815261-04:00 victus kernel:  kthread+0xef/0x120
2024-07-19T12:45:33.815262-04:00 victus kernel:  ? __pfx_kthread+0x10/0x10
2024-07-19T12:45:33.815262-04:00 victus kernel:  ret_from_fork+0x44/0x70
2024-07-19T12:45:33.815263-04:00 victus kernel:  ? __pfx_kthread+0x10/0x10
2024-07-19T12:45:33.815263-04:00 victus kernel:  ret_from_fork_asm+0x1b/0x30
2024-07-19T12:45:33.815263-04:00 victus kernel:  </TASK>


$ ps auxwww|egrep kacpi_notify|tail -5
root        1584  1.0  0.0      0     0 ?        D    12:01   0:14 
[kworker/11:92+kacpi_notify]
root        1585  1.0  0.0      0     0 ?        D    12:01   0:14 
[kworker/11:93+kacpi_notify]
root        1591  1.0  0.0      0     0 ?        D    12:01   0:14 
[kworker/11:94+kacpi_notify]
root        1620  1.0  0.0      0     0 ?        D    12:01   0:15 
[kworker/11:95+kacpi_notify]


$ sudo perf stat -p 1620 sleep 10
 Performance counter stats for process id '1620':
            109.43 msec task-clock                       #    0.011 CPUs 
utilized
               427      context-switches                 #    3.902 K/sec
                 0      cpu-migrations                   #    0.000 /sec
                 0      page-faults                      #    0.000 /sec
       539,425,119      cycles                           #    4.930 GHz
       235,983,004      stalled-cycles-frontend          #   43.75% frontend 
cycles idle
       357,489,266      instructions                     #    0.66  insn per 
cycle
                                                         #    0.66  stalled 
cycles per insn
        85,793,863      branches                         #  784.038 M/sec
         9,109,923      branch-misses                    #   10.62% of all 
branches
      10.006953974 seconds time elapsed


$ sudo perf record -p 1620 -g -a sleep 10
Warning:
PID/TID switch overriding SYSTEM
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.114 MB perf.data (480 samples) ]


$ sudo perf report -I
Samples: 480  of event 'cycles:P', Event count (approx.): 562755334
  Children      Self  Command          Shared Object      Symbol
-  100.00%     0.00%  kworker/11:95+k  [kernel.kallsyms]  [k] ret_from_fork_asm
     ret_from_fork_asm
     ret_from_fork
     kthread                                                                    
                                       
   - worker_thread                                                              
                                       
      - 99.76% process_one_work                                                 
                                       
         - acpi_os_execute_deferred                                             
                                       
         - acpi_ev_notify_dispatch                                              
                                       
            - 99.34% ucsi_acpi_notify                                           
                                       
                 ucsi_acpi_read                                                 
                                       
                 ucsi_acpi_dsm                                                  
                                       
                 acpi_evaluate_dsm                                              
                                       
               - acpi_evaluate_object                                           
                                       
                  - acpi_ns_evaluate                                            
                                       
                     - 97.87% acpi_ps_execute_method                            
                                       
                        - 96.80% acpi_ps_parse_aml                              
                                       
                           - 92.02% acpi_ps_parse_loop                          
                                       
                              - 58.41% acpi_ds_exec_end_op                      
                                       
                                 - 30.33% acpi_ds_evaluate_name_path            
                                       
                                    - 20.74% acpi_ex_resolve_to_value           
                                       
                                       - acpi_ex_resolve_node_to_value          
                                       
                                          - 2.10% acpi_ex_read_data_from_field  
                                       
                                               0.84% 
acpi_ut_create_integer_object                                     
                                             - 0.61% acpi_ex_extract_from_field 
                                       
                                                  acpi_ex_field_datum_io

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2073538

Title:
  kacpi_notify high cpu on interrupt gpe17

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2073538/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to