[Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes

2019-08-21 Thread Brad Figg
** Tags added: ubuntu-certified -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840454 Title: kernel 5.2 disallows thermald's direct MSR writes To manage notifications about this bug go to:

Re: [Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes

2019-08-17 Thread Srinivas Pandruvada
On Sat, 2019-08-17 at 05:24 +, Anthony Wong wrote: > On Sat, Aug 17, 2019 at 1:05 AM Srinivas Pandruvada < > srinivas.pandruv...@linux.intel.com> wrote: > > > The patch for changing TCC offset can only be in for 5.4 kernel. > > Then > > there will be no MSR access. > > > > Is it

Re: [Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes

2019-08-16 Thread Anthony Wong
On Sat, Aug 17, 2019 at 1:05 AM Srinivas Pandruvada < srinivas.pandruv...@linux.intel.com> wrote: > The patch for changing TCC offset can only be in for 5.4 kernel. Then > there will be no MSR access. > Is it https://lkml.org/lkml/2019/7/22/1286? Should it work when system is locked down? > So

[Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes

2019-08-16 Thread Julian Andres Klode
Noteworthy maybe is that this did not seem to happen in 5.2.0-9, but that one complained about 1b0 Jul 27 16:44:16 jak-t480s kernel: msr: Direct access to MSR 1b0 but far less often :D ** Changed in: linux (Ubuntu) Status: Incomplete => New -- You received this bug notification because

[Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes

2019-08-16 Thread Julian Andres Klode
apport information ** Tags added: apport-collected eoan third-party-packages ** Description changed: thermald/kernel are spamming dmesg now because MSR write is disallowed. jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | wc -l 8688 jak@jak-t480s:~:master$

[Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes

2019-08-16 Thread Srinivas Pandruvada
The patch for changing TCC offset can only be in for 5.4 kernel. Then there will be no MSR access. So the option is to take out of mainline kernel patch to avoid this or avoid workaround option. I don't know if there are any other options. -- You received this bug notification because you are

[Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes

2019-08-16 Thread Colin Ian King
Good point. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840454 Title: kernel 5.2 disallows thermald's direct MSR writes To manage notifications about this bug go to:

[Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes

2019-08-16 Thread Kai-Heng Feng
No I think it's because kernel lockdown: commit 708822cdbcd3faab40e83a79b71617e1812a1b06 Author: Matthew Garrett Date: Mon Feb 18 12:44:59 2019 + UBUNTU: SAUCE: (efi-lockdown) x86/msr: Restrict MSR access when the kernel is locked down Writing to MSRs should not be allowed if

[Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes

2019-08-16 Thread Colin Ian King
I wonder if the msr module is not loaded. Try sudo modprobe msr -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840454 Title: kernel 5.2 disallows thermald's direct MSR writes To manage

[Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes

2019-08-16 Thread Anthony Wong
Can you try 5.3rc kernel such as https://kernel.ubuntu.com/~kernel- ppa/mainline/v5.3-rc4/? I believe the patchset https://lore.kernel.org/linux- pm/1562766278-7099-1-git-send-email-rui.zh...@intel.com/T/#t is needed, which got merged in 5.3. -- You received this bug notification because you