[Bug 1406767] Re: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization
Hi Christopher, git bisect found the first good commit, here's the full output from the last command: bd9b2f9aff26c185c1f8e0cd08a850ee4ace391a is the first bad commit commit bd9b2f9aff26c185c1f8e0cd08a850ee4ace391a Author: Rafael J. Wysocki rafael.j.wyso...@intel.com Date: Mon Jul 14 22:41:41 2014 +0200 ACPI / scan: No implicit wake notification for buttons The ACPI device enumeration code in Linux assumes that buttons always are wakeup devices, so it calls acpi_setup_gpe_for_wake() for them which leads to undesirable side effects. Namely, that function sets up implicit device wake notification mechanism for a given GPE if there is no handler method in the ACPI namespace, which from the ACPICA's perspective means that there always is a way to handle that GPE if enabled. However, we don't handle wake notify events for buttons, so if there are no handler methods for their GPEs in the namespace, enabling a button GPE at run time leads to a GPE storm in some cases (the GPE triggers, ACPICA carries out the implicit wake notification for it which isn't handled, so the GPE triggers again and so on). To prevent that from happening use acpi_mark_gpe_for_wake() instead of acpi_setup_gpe_for_wake() for buttons which will cause ACPICA to only enable button GPEs if there are handler methods for the in the namespace. Signed-off-by: Rafael J. Wysocki rafael.j.wyso...@intel.com :04 04 fec6e6222f6b0f58a5106035c38c7091a48eef0c f6c36ad741c62668891689c8229c3703146dc92e M drivers Let me know if there's anything else I need to do, Nikola -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1406767 Title: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1406767] Re: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization
** Tags removed: needs-reverse-bisect ** Tags added: reverse-bisect-done ** Tags added: cherry-pick ** Changed in: linux (Ubuntu) Status: Incomplete = Triaged ** Attachment removed: uname -a https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+attachment/4290507/+files/uname.txt ** Summary changed: - High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization + [Asus X750LN] High ACPI event count causing ~12% non-stop CPU utilization -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1406767 Title: [Asus X750LN] High ACPI event count causing ~12% non-stop CPU utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1406767] Re: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization
Hello Christopher, I've started reverse commit bisecting the kernel and it seems like I'm on the right track(I already had instances of the bug being present and being fixed). It does take me a rather significant amount of time(well, I've read it can be worse, since it takes me about an hour - hour and a half to build the kernel from source), but I'm hoping to identify the first good commit over the weekend. I'm just letting you know that I've started working on it and that I'm not going to disappear on the bug :) Nikola -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1406767 Title: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1406767] Re: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization
** Changed in: linux (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1406767 Title: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1406767] Re: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization
Nikola Nikolov, thank you for reporting this and helping make Ubuntu better. The next step is to fully reverse commit bisect from kernel 3.16 to 3.17 in order to identify the last bad commit, followed immediately by the first good one. Once this commit has been identified, then it may be reviewed as a candidate for backporting into your release. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection#How_do_I_reverse_bisect_the_upstream_kernel.3F ? Please note, finding adjacent kernel versions is not fully commit bisecting. Thank you for your understanding. Helpful bug reporting tips: https://wiki.ubuntu.com/ReportingBugs ** Tags added: latest-bios-201 ** Attachment removed: sudo lspci -vvnn https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+attachment/4290508/+files/lspci.txt ** Attachment removed: sudo lspci -vvnn https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+attachment/4290509/+files/lspci.txt ** Tags added: kernel-fixed-upstream kernel-fixed-upstream-3.17 needs- reverse-bisect ** Changed in: linux (Ubuntu) Status: Confirmed = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1406767 Title: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1406767] Re: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization
** Attachment added: uname -a https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+attachment/4290507/+files/uname.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1406767 Title: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1406767] Re: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization
** Attachment added: sudo lspci -vvnn https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+attachment/4290509/+files/lspci.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1406767 Title: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1406767] Re: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization
** Attachment added: sudo dmidecode dmidecode.txt https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+attachment/4290510/+files/dmidecode.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1406767 Title: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1406767] Re: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization
** Attachment added: sudo lspci -vvnn https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+attachment/4290508/+files/lspci.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1406767 Title: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1406767] Re: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization
** Attachment added: contents of /proc/acpi https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+attachment/4290512/+files/acpi.tar.bz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1406767 Title: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1406767] Re: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization
** Attachment added: kern.log.1 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+attachment/4290511/+files/kern.log.1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1406767 Title: High ACPI event count on Asus K750L, causing ~12% non-stop CPU utilization To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1406767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs