Hello, since 6.8-rc1 I'm experiencing an unusual high system load when acessing the EC through ACPI. I need to do this several times a second. My system constantly shows 30-50% system load on irq/9-acpi during that time. With previous kernel versions I never saw that even with higher access intervals. I've nailed down the offending commit to: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/acpi/ec.c?id=eb9299beadbdd7be8de1e97f1059e89bcb64b05d It seems that leaving interrupts on during acces causes the system monitor to show the access times as system load. An easy way to reproduce this just execute "od -Ax -t x1 /sys/kernel/debug/ec/ec0/io" three or more times a second and watch the system load go up during EC access. The respone time also increased subjectively but I didn't find the time to do some meassurements on that. This is really confusing. Is this how it's supposed to be from now on? Kind Regards, Dieter
Ping Rafael J. Wysocki
Thanks for the report! The only way to restore the previous behavior I can see is to revert the commit in question, which is not a big deal, because it is an optimization anyway. I'll post a revert patch tomorrow.
Done: https://patchwork.kernel.org/project/linux-acpi/patch/2739288.mvXUDI8C0e@kreacher/
Thank you. Will this make it into 6.8 in time?
Yes, I'm going to push it as 6.8 fix next week, so it should make it just fine.
The patch has been included into 6.8-rc7.