Re: cpufreq not working as module on i386/amd64

2013-07-23 Thread Jia-Shiun Li
On Thu, Jul 4, 2013 at 1:37 PM, Jia-Shiun Li wrote: > ok anyone can help test and review this patch? > > It will allow cpufreq to be removed from kernel conf, loaded and > function correctly as kernel module. I've tested it ok on my own > i5-3450. > > It removes get_features method definition from

Re: cpufreq not working as module on i386/amd64

2013-07-05 Thread Jia-Shiun Li
On Fri, Jul 5, 2013 at 5:00 PM, Andriy Gapon wrote: > I can not bless this change, but I won't argue against it either. > > My opinion is still that OS should advertise to ACPI the capabilities that it > actually has not those that it potentially may have. So I prefer the status > quo. I think t

Re: cpufreq not working as module on i386/amd64

2013-07-05 Thread Andriy Gapon
on 04/07/2013 08:37 Jia-Shiun Li said the following: > ok anyone can help test and review this patch? I can not bless this change, but I won't argue against it either. My opinion is still that OS should advertise to ACPI the capabilities that it actually has not those that it potentially may have

Re: cpufreq not working as module on i386/amd64

2013-07-04 Thread Volodymyr Kostyrko
04.07.2013 08:37, Jia-Shiun Li wrote: ok anyone can help test and review this patch? It will allow cpufreq to be removed from kernel conf, loaded and function correctly as kernel module. I've tested it ok on my own i5-3450. Works here at AMD X4 750K: # kldload cpufreq Jul 4 16:00:11 ar1l0u

Re: cpufreq not working as module on i386/amd64

2013-07-03 Thread Jia-Shiun Li
ok anyone can help test and review this patch? It will allow cpufreq to be removed from kernel conf, loaded and function correctly as kernel module. I've tested it ok on my own i5-3450. It removes get_features method definition from acpi_if.m and corresponding implementations from est, p4tcc, & h

Re: cpufreq not working as module on i386/amd64

2013-01-08 Thread Konstantin Belousov
On Tue, Jan 08, 2013 at 01:15:59PM +0800, Jia-Shiun Li wrote: > Hi all, > > move to -hackers as it seems a better place to discuss. > > Turns out, at acpi_cpu_attach(), the bus probe will query > ACPI_GET_FEATURES() to get cpu_features flags from each cpufreq > drivers. Since it is only executed

Re: cpufreq not working as module on i386/amd64

2013-01-07 Thread Jia-Shiun Li
Hi all, move to -hackers as it seems a better place to discuss. Turns out, at acpi_cpu_attach(), the bus probe will query ACPI_GET_FEATURES() to get cpu_features flags from each cpufreq drivers. Since it is only executed once at booting, subsequent module loading after booting will not be called