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

2024-10-04 Thread bugzilla-daemon--- via acpi-bugzilla
https://bugzilla.kernel.org/show_bug.cgi?id=217076 --- Comment #106 from Iñaki Ucar (iu...@fedoraproject.org) --- Created attachment 306970 --> https://bugzilla.kernel.org/attachment.cgi?id=306970&action=edit v6.10.12 with debug prints (successful connection and disconnection) Sometimes, random

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

2024-10-04 Thread bugzilla-daemon--- via acpi-bugzilla
https://bugzilla.kernel.org/show_bug.cgi?id=217076 Iñaki Ucar (iu...@fedoraproject.org) changed: What|Removed |Added Attachment #306968|0 |1 is obsole

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

2024-10-04 Thread bugzilla-daemon--- via acpi-bugzilla
https://bugzilla.kernel.org/show_bug.cgi?id=217076 --- Comment #104 from Diogo Ivo (diogo@tecnico.ulisboa.pt) --- No, this order is core code in ucsi_handle_connector_change(), where you can see that the first thing that happens is GET_CONNECTOR_STATUS. Could you try just printing out *val rat

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

2024-10-04 Thread bugzilla-daemon--- via acpi-bugzilla
https://bugzilla.kernel.org/show_bug.cgi?id=217076 --- Comment #103 from Iñaki Ucar (iu...@fedoraproject.org) --- And could this be the issue? That the order of the calls is wrong and then the module is processing the previous command? Because I don't see any issues in the systemtap script. If I i

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

2024-10-04 Thread bugzilla-daemon--- via acpi-bugzilla
https://bugzilla.kernel.org/show_bug.cgi?id=217076 --- Comment #102 from Diogo Ivo (diogo@tecnico.ulisboa.pt) --- Yes, I am sure. The first command that should be printed is a GET_CONNECTOR_STATUS, that ends with 0x12 (in the case of that port 0x20012 and in case of using the other port 0x100

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

2024-10-04 Thread bugzilla-daemon--- via acpi-bugzilla
https://bugzilla.kernel.org/show_bug.cgi?id=217076 --- Comment #101 from Iñaki Ucar (iu...@fedoraproject.org) --- Are you sure? I'm printing: - val at line 61 (return) - ua->cmd at line 72 (return) - cci at line 213 (after the conditional return) -- You may reply to this email to add a comment.

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

2024-10-04 Thread bugzilla-daemon--- via acpi-bugzilla
https://bugzilla.kernel.org/show_bug.cgi?id=217076 --- Comment #100 from Diogo Ivo (diogo@tecnico.ulisboa.pt) --- Unfortunately it's still printing the previous command. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of th

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

2024-10-04 Thread bugzilla-daemon--- via acpi-bugzilla
https://bugzilla.kernel.org/show_bug.cgi?id=217076 Iñaki Ucar (iu...@fedoraproject.org) changed: What|Removed |Added Attachment #306963|0 |1 is obsole

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

2024-10-04 Thread bugzilla-daemon--- via acpi-bugzilla
https://bugzilla.kernel.org/show_bug.cgi?id=217076 --- Comment #98 from Iñaki Ucar (iu...@fedoraproject.org) --- Oh, I see. It should be statement 61, not 59 in my script above. Let me try again. -- You may reply to this email to add a comment. You are receiving this mail because: You are watch

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

2024-10-04 Thread bugzilla-daemon--- via acpi-bugzilla
https://bugzilla.kernel.org/show_bug.cgi?id=217076 --- Comment #97 from Diogo Ivo (diogo@tecnico.ulisboa.pt) --- The debug statements need to be in those exact positions -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of th

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

2024-10-04 Thread bugzilla-daemon--- via acpi-bugzilla
https://bugzilla.kernel.org/show_bug.cgi?id=217076 --- Comment #96 from Diogo Ivo (diogo@tecnico.ulisboa.pt) --- Created attachment 306967 --> https://bugzilla.kernel.org/attachment.cgi?id=306967&action=edit debug_6.10 -- You may reply to this email to add a comment. You are receiving thi

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

2024-10-04 Thread bugzilla-daemon--- via acpi-bugzilla
https://bugzilla.kernel.org/show_bug.cgi?id=217076 --- Comment #93 from Iñaki Ucar (iu...@fedoraproject.org) --- The log ends when I killed the script producing them after a few seconds, but yes, the prints keep going. -- You may reply to this email to add a comment. You are receiving this mail

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

2024-10-04 Thread bugzilla-daemon--- via acpi-bugzilla
https://bugzilla.kernel.org/show_bug.cgi?id=217076 --- Comment #95 from Diogo Ivo (diogo@tecnico.ulisboa.pt) --- Hmm, does systemtap allow you to specify where in the function you want the prints to happen? The logs you sent me are not printing the command correctly because the print is happen

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

2024-10-04 Thread bugzilla-daemon--- via acpi-bugzilla
https://bugzilla.kernel.org/show_bug.cgi?id=217076 --- Comment #94 from Iñaki Ucar (iu...@fedoraproject.org) --- Created attachment 306966 --> https://bugzilla.kernel.org/attachment.cgi?id=306966&action=edit systemtap script for debug prints For your reference, this is the script I used to gene

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

2024-10-04 Thread bugzilla-daemon--- via acpi-bugzilla
https://bugzilla.kernel.org/show_bug.cgi?id=217076 --- Comment #92 from Diogo Ivo (diogo@tecnico.ulisboa.pt) --- Thanks, the prints should be enough. I did not know about systemtap, would have saved me some time as well :) And just to confirm, do the prints keep being emitted for as long as t

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

2024-10-04 Thread bugzilla-daemon--- via acpi-bugzilla
https://bugzilla.kernel.org/show_bug.cgi?id=217076 --- Comment #91 from Iñaki Ucar (iu...@fedoraproject.org) --- Created attachment 306964 --> https://bugzilla.kernel.org/attachment.cgi?id=306964&action=edit v6.10.12 function calls I did the same "exercise" as above, but in this case, I instruc

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

2024-10-04 Thread bugzilla-daemon--- via acpi-bugzilla
https://bugzilla.kernel.org/show_bug.cgi?id=217076 --- Comment #90 from Iñaki Ucar (iu...@fedoraproject.org) --- Created attachment 306963 --> https://bugzilla.kernel.org/attachment.cgi?id=306963&action=edit v6.10.12 with debug prints If you just need these prints, I think it's easier if I plug