[Bug 1598312] Re: Cannot scale AMD Turion CPU frequency. It runs on lowest 800MHz

2016-11-24 Thread Vladimir Marko
The workaround makes networking very unstable (both WiFi and wired). 4.2.0-18 is OK. 4.2.0-19 is BROKEN. No suspicious configuration changes: $ diff /boot/config-4.2.0-18-generic /boot/config-4.2.0-19-generic 3c3 < # Linux/x86_64 4.2.0-18-generic Kernel Configuration --- > # Linux/x86_64

[Bug 1598312] Re: Cannot scale AMD Turion CPU frequency. It runs on lowest 800MHz

2016-11-18 Thread Vladimir Marko
Same on HP Compaq nx6325 with AMD Turion(tm) 64 X2 Mobile Technology TL-52, including the fan running at full speed. But given the the thermal trip points, I think the CPU frequency scaling works as intended. When idle, with the old kernel I see $ uname -r 3.13.0-101-generic $ cat

[Bug 1598312] Re: Cannot scale AMD Turion CPU frequency. It runs on lowest 800MHz

2016-11-19 Thread Vladimir Marko
Trying the different kernel parameters suggested at https://wiki.ubuntu.com/DebuggingACPI I've got these results: acpi=off: kernel panic (something too do with PCI) acpi=ht: no change pci=noacpi: kernel panic (something too do with PCI) acpi=noirq: WORKS So this is a bug in ACPI IRQ routing.

[Bug 1598312] Re: Cannot scale AMD Turion CPU frequency. It runs on lowest 800MHz

2016-11-19 Thread Vladimir Marko
Permanently adding kernel parameters to grub config is described at http://askubuntu.com/questions/19486/how-do-i-add-a-kernel-boot-parameter (But it's all or nothing, so you cannot add the parameter only to one of two dual-booting Linuxes.) -- You received this bug notification because you

[Bug 1598312] Re: Cannot scale AMD Turion CPU frequency. It runs on lowest 800MHz

2016-11-19 Thread Vladimir Marko
Upgrading the nx6325 BIOS from F.04 to F.07 did not help, the workaround is still necessary. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1598312 Title: Cannot scale AMD Turion CPU frequency. It

[Bug 1598312] Re: Cannot scale AMD Turion CPU frequency. It runs on lowest 800MHz

2016-11-29 Thread Vladimir Marko
3b806e2b94cad37a8809df7c86f7cfdcd3baa719 is the first bad commit commit 3b806e2b94cad37a8809df7c86f7cfdcd3baa719 Author: Thomas Gleixner Date: Mon Sep 14 12:00:55 2015 +0200 x86/ioapic: Force affinity setting in setup_ioapic_dest() BugLink:

[Bug 1598312] Re: Cannot scale AMD Turion CPU frequency. It runs on lowest 800MHz

2016-12-08 Thread Vladimir Marko
Both patches apply cleanly to the 4.9-rc8 but I cannot build the kernel with the configuration /boot/config-4.9.0-040900rc8-generic on my laptop without upgrading the compiler: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler -- You received this

[Bug 1598312] Re: Cannot scale AMD Turion CPU frequency. It runs on lowest 800MHz

2016-12-08 Thread Vladimir Marko
** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed ** Changed in: linux-lts-xenial (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1598312] Re: Cannot scale AMD Turion CPU frequency. It runs on lowest 800MHz

2016-12-08 Thread Vladimir Marko
Installed linux-headers-4.9.0-040900rc8_4.9.0-040900rc8.201612051443_all.deb linux-headers-4.9.0-040900rc8-generic_4.9.0-040900rc8.201612051443_amd64.deb linux-image-4.9.0-040900rc8-generic_4.9.0-040900rc8.201612051443_amd64.deb Laptop boots, bug still present: $ uname -r

[Bug 1598312] Re: Cannot scale AMD Turion CPU frequency. It runs on lowest 800MHz

2016-12-19 Thread Vladimir Marko
Sorry, I missed the request in comment #17 to add the tag kernel-bug- exists-upstream. Done now. ** Tags added: kernel-bug-exists-upstream -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1598312

[Bug 1598312] Re: Cannot scale AMD Turion CPU frequency. It runs on lowest 800MHz

2016-12-07 Thread Vladimir Marko
The revert of the offending commit does not apply cleanly to the Ubuntu-4.4.0-47.68 kernel. The closest we can get to a revert is this patch: diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 64f233a..aec995c 100644 --- a/arch/x86/kernel/apic/io_apic.c +++

[Bug 1598312] Re: Cannot scale AMD Turion CPU frequency. It runs on lowest 800MHz

2016-12-07 Thread Vladimir Marko
Attaching the "alternative" patch. ** Patch added: "alternative.patch" https://bugs.launchpad.net/ubuntu/+source/linux-lts-wily/+bug/1598312/+attachment/4788864/+files/alternative.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1598312] Re: Cannot scale AMD Turion CPU frequency. It runs on lowest 800MHz

2016-12-07 Thread Vladimir Marko
Looks like pasting the patches directly to the editor wasn't a good idea. It messed up the whitespace. Attaching the "revert" patch. ** Patch added: "revert.patch" https://bugs.launchpad.net/ubuntu/+source/linux-lts-wily/+bug/1598312/+attachment/4788863/+files/revert.patch -- You received

[Bug 1598312] Re: Cannot scale AMD Turion CPU frequency. It runs on lowest 800MHz

2016-12-07 Thread Vladimir Marko
This patches also apply cleanly to current master in git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git with 1 line offset. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1598312

[Bug 1598312] Re: Cannot scale AMD Turion CPU frequency. It runs on lowest 800MHz

2017-01-14 Thread Vladimir Marko
I didn't try to send the patches upstream. I was hoping that someone who already knows how to do that would pick it up. I just searched the kernel bug database for this issue and found https://bugzilla.kernel.org/show_bug.cgi?id=189291 . In comment #9, cthx posted a link to this bug on 9 Dec,

[Bug 1598312] Re: Cannot scale AMD Turion CPU frequency. It runs on lowest 800MHz

2018-04-02 Thread Vladimir Marko
Upstream: Linux 4.14: BAD Linux 4.16: GOOD I did not bisect to find out which CL fixed the bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1598312 Title: Cannot scale AMD Turion CPU frequency.