[Bug 217076] Charging causes high CPU usage on LG Gram laptops series Z90Q

2024-05-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=217076

--- Comment #59 from Diogo Ivo (diogo@tecnico.ulisboa.pt) ---
Hi Ralph,

Thank you for trying the instructions. You can safely ignore the BTF related
stuff, don't worry about it :). Do you have any newer kernels pre-built that
you can try running on your system?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 217076] Charging causes high CPU usage on LG Gram laptops series Z90Q

2024-05-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=217076

--- Comment #58 from Ralph Martin (ra...@cs.cf.ac.uk) ---
Hi Diogo

When I try to compile the modules following your instructions, I got

Skipping BTF generation for
/home/ralph/Downloads/linux-6.9.1/drivers/usb/typec/ucsi/ucsi_acpi.ko due to
unavailability of vmlinux

It was not clear if that was essential or not. I tried to fix this up, but
after copying `/sys/kernel/btf/vmlinux` to corresponding position and with
`dwarves` installed, building the kernel module throws an error: 
`/bin/sh: 1: ./tools/bpf/resolve_btfids/resolve_btfids: not found`.

I see  Bug#1027306: mentions this issue. 

I am getting further from trying out your fix it seems, rather than closer...

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 218867] New: UBSAN: array-index-out-of-bounds in drivers/acpi/acpica/dswexec.c:401:12

2024-05-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=218867

Bug ID: 218867
   Summary: UBSAN: array-index-out-of-bounds in
drivers/acpi/acpica/dswexec.c:401:12
   Product: ACPI
   Version: 2.5
  Hardware: All
OS: Linux
Status: NEW
  Severity: normal
  Priority: P3
 Component: ACPICA-Core
  Assignee: acpi_acpica-c...@kernel-bugs.osdl.org
  Reporter: ionut_n2...@yahoo.com
Regression: No

[0.662597]

[0.662604] UBSAN: array-index-out-of-bounds in
drivers/acpi/acpica/dswexec.c:401:12
[0.662611] index -1 is out of range for type 'acpi_operand_object *[9]'
[0.662615] CPU: 0 PID: 18 Comm: kworker/0:1 Not tainted 6.1.25-1-lowlatency
#1
[0.662618] Hardware name: Intel(R) Client Systems NUC9i7QNX/NUC9i7QNB, BIOS
QXCFL579.0034.2019.1125.1436 11/25/2019
[0.662620] Workqueue: kacpid acpi_os_execute_deferred
[0.662626] Call Trace:
[0.662628]  
[0.662630]  dump_stack_lvl+0x4a/0x6f
[0.662635]  dump_stack+0x10/0x18
[0.662639]  ubsan_epilogue+0x9/0x3a
[0.662642]  __ubsan_handle_out_of_bounds.cold+0x46/0x4b
[0.662645]  acpi_ds_exec_end_op+0x943/0x950
[0.662650]  acpi_ps_parse_loop+0x28e/0xa30
[0.662654]  acpi_ps_parse_aml+0x226/0x5f0
[0.662657]  acpi_ps_execute_method+0x172/0x3e0
[0.662661]  acpi_ns_evaluate+0x2f2/0x5e0
[0.662663]  acpi_ev_asynch_execute_gpe_method+0x14b/0x1d0
[0.662668]  acpi_os_execute_deferred+0x17/0x40
[0.662671]  process_one_work+0x222/0x3f0
[0.662675]  worker_thread+0x50/0x480
[0.662679]  ? process_one_work+0x3f0/0x3f0
[0.662682]  kthread+0xea/0x120
[0.662684]  ? kthread_complete_and_exit+0x20/0x20
[0.662687]  ret_from_fork+0x1f/0x30
[0.662694]  
[0.662695]
e

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 218867] UBSAN: array-index-out-of-bounds in drivers/acpi/acpica/dswexec.c:401:12

2024-05-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=218867

sander44 (ionut_n2...@yahoo.com) changed:

   What|Removed |Added

 Kernel Version||6.1.25

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla


[Bug 217076] Charging causes high CPU usage on LG Gram laptops series Z90Q

2024-05-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=217076

--- Comment #57 from Ralph Martin (ra...@cs.cf.ac.uk) ---
Hi Diogo

I followed your instructions (I am using the current testing kernel 6.7.12),
building the module with the 6.9.1 sources, disabling safe boot, and got

insmod: ERROR: could not insert module drivers/usb/typec/ucsi/typec_ucsi.ko:
Unknown symbol in module

insmod: ERROR: could not insert module drivers/usb/typec/ucsi/ucsi_acpi.ko:
Unknown symbol in module

when trying to insert the compiled modules.

(ucsi_acpi is blacklisted at boot, but that does not sound like it is the
problem

so it was not unexpected that I got the following when trying to unload the
existing modules

rmmod: ERROR: Module ucsi_acpi is not currently loaded

rmmod: ERROR: Module typec_ucsi is not currently loaded

Happy to try again if there is something else I can do. Perhaps I really need
to build a new kernel - time I learnt how to do that?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

___
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla