Re: [PATCH] cpufreq, powernow-k8: Fix usage of smp_processor_id() in preemptible code

2012-10-10 Thread Tejun Heo
Hello, On Wed, Oct 10, 2012 at 9:48 PM, Andreas Herrmann wrote: > Please ignore my patch. It was insufficiently tested -- sorry for this. > (powernowk8_target_fn might sleep). > > Have to take a closer look how to avoid below issue. Probably the only thing which can be done is always bouncing

Re: [PATCH] cpufreq, powernow-k8: Fix usage of smp_processor_id() in preemptible code

2012-10-10 Thread Andreas Herrmann
Rafael, Please ignore my patch. It was insufficiently tested -- sorry for this. (powernowk8_target_fn might sleep). Have to take a closer look how to avoid below issue. Regards, Andreas On Tue, Oct 09, 2012 at 09:38:44PM +0200, Andreas Herrmann wrote: > > Commit

Re: [PATCH] cpufreq, powernow-k8: Fix usage of smp_processor_id() in preemptible code

2012-10-10 Thread Andreas Herrmann
Rafael, Please ignore my patch. It was insufficiently tested -- sorry for this. (powernowk8_target_fn might sleep). Have to take a closer look how to avoid below issue. Regards, Andreas On Tue, Oct 09, 2012 at 09:38:44PM +0200, Andreas Herrmann wrote: Commit

Re: [PATCH] cpufreq, powernow-k8: Fix usage of smp_processor_id() in preemptible code

2012-10-10 Thread Tejun Heo
Hello, On Wed, Oct 10, 2012 at 9:48 PM, Andreas Herrmann andreas.herrma...@amd.com wrote: Please ignore my patch. It was insufficiently tested -- sorry for this. (powernowk8_target_fn might sleep). Have to take a closer look how to avoid below issue. Probably the only thing which can be done

Re: [PATCH] cpufreq, powernow-k8: Fix usage of smp_processor_id() in preemptible code

2012-10-09 Thread Tejun Heo
Hello, On Tue, Oct 09, 2012 at 09:38:44PM +0200, Andreas Herrmann wrote: > > Commit 6889125b8b4e09c5e53e6ecab3433bed1ce198c9 > (cpufreq/powernow-k8: workqueue user shouldn't migrate the kworker to another > CPU) > causes powernow-k8 to trigger a preempt warning, e.g.: > > BUG: using

Re: [PATCH] cpufreq, powernow-k8: Fix usage of smp_processor_id() in preemptible code

2012-10-09 Thread Tejun Heo
Hello, On Tue, Oct 09, 2012 at 09:38:44PM +0200, Andreas Herrmann wrote: Commit 6889125b8b4e09c5e53e6ecab3433bed1ce198c9 (cpufreq/powernow-k8: workqueue user shouldn't migrate the kworker to another CPU) causes powernow-k8 to trigger a preempt warning, e.g.: BUG: using