Re: [PATCH V7 5/7] cpufreq: Register notifiers with the PM QoS framework

2019-10-16 Thread Rafael J. Wysocki
On Wed, Oct 16, 2019 at 10:27 AM Viresh Kumar wrote: > > On 15-10-19, 23:50, Rafael J. Wysocki wrote: > > On Tue, Oct 15, 2019 at 5:53 PM Rafael J. Wysocki wrote: > > > > > - Update QoS framework with the knowledge of related CPUs, this has > > > > been pending > > > > until now from my side.

Re: [PATCH V7 5/7] cpufreq: Register notifiers with the PM QoS framework

2019-10-16 Thread Viresh Kumar
On 15-10-19, 23:50, Rafael J. Wysocki wrote: > On Tue, Oct 15, 2019 at 5:53 PM Rafael J. Wysocki wrote: > > > - Update QoS framework with the knowledge of related CPUs, this has been > > > pending > > > until now from my side. And this is the thing we really need to do. > > > Eventually > > >

Re: [PATCH V7 5/7] cpufreq: Register notifiers with the PM QoS framework

2019-10-15 Thread Rafael J. Wysocki
On Tue, Oct 15, 2019 at 5:53 PM Rafael J. Wysocki wrote: > > On Tue, Oct 15, 2019 at 1:46 PM Viresh Kumar wrote: > > > > On 22-09-19, 23:12, Dmitry Osipenko wrote: > > > Hello Viresh, > > > > > > This patch causes use-after-free on a cpufreq driver module reload. > > > Please take a look, thanks

Re: [PATCH V7 5/7] cpufreq: Register notifiers with the PM QoS framework

2019-10-15 Thread Rafael J. Wysocki
On Tue, Oct 15, 2019 at 1:46 PM Viresh Kumar wrote: > > On 22-09-19, 23:12, Dmitry Osipenko wrote: > > Hello Viresh, > > > > This patch causes use-after-free on a cpufreq driver module reload. Please > > take a look, thanks in advance. > > > > > > [ 87.952369] > > =

Re: [PATCH V7 5/7] cpufreq: Register notifiers with the PM QoS framework

2019-10-15 Thread Dmitry Osipenko
15.10.2019 14:46, Viresh Kumar пишет: > On 22-09-19, 23:12, Dmitry Osipenko wrote: >> Hello Viresh, >> >> This patch causes use-after-free on a cpufreq driver module reload. Please >> take a look, thanks in advance. >> >> >> [ 87.952369] >> ==

Re: [PATCH V7 5/7] cpufreq: Register notifiers with the PM QoS framework

2019-10-15 Thread Viresh Kumar
On 22-09-19, 23:12, Dmitry Osipenko wrote: > Hello Viresh, > > This patch causes use-after-free on a cpufreq driver module reload. Please > take a look, thanks in advance. > > > [ 87.952369] > == > [ 87.953259] BUG: KASAN: use

Re: [PATCH V7 5/7] cpufreq: Register notifiers with the PM QoS framework

2019-10-14 Thread Dmitry Osipenko
14.10.2019 12:42, Viresh Kumar пишет: > On 22-09-19, 23:12, Dmitry Osipenko wrote: >> This patch causes use-after-free on a cpufreq driver module reload. Please >> take a look, thanks in advance. >> >> >> [ 87.952369] >> == >> [

Re: [PATCH V7 5/7] cpufreq: Register notifiers with the PM QoS framework

2019-10-14 Thread Viresh Kumar
On 22-09-19, 23:12, Dmitry Osipenko wrote: > This patch causes use-after-free on a cpufreq driver module reload. Please > take a look, thanks in advance. > > > [ 87.952369] > == > [ 87.953259] BUG: KASAN: use-after-free in noti

Re: [PATCH V7 5/7] cpufreq: Register notifiers with the PM QoS framework

2019-09-23 Thread Dmitry Osipenko
23.09.2019 16:56, Viresh Kumar пишет: > On 22-09-19, 23:12, Dmitry Osipenko wrote: >> This patch causes use-after-free on a cpufreq driver module reload. Please >> take a look, thanks in advance. >> >> >> [ 87.952369] >> == >> [

Re: [PATCH V7 5/7] cpufreq: Register notifiers with the PM QoS framework

2019-09-23 Thread Viresh Kumar
On 22-09-19, 23:12, Dmitry Osipenko wrote: > This patch causes use-after-free on a cpufreq driver module reload. Please > take a look, thanks in advance. > > > [ 87.952369] > == > [ 87.953259] BUG: KASAN: use-after-free in noti

Re: [PATCH V7 5/7] cpufreq: Register notifiers with the PM QoS framework

2019-09-22 Thread Dmitry Osipenko
08.07.2019 13:57, Viresh Kumar пишет: > This registers the notifiers for min/max frequency constraints with the > PM QoS framework. The constraints are also taken into consideration in > cpufreq_set_policy(). > > This also relocates cpufreq_policy_put_kobj() as it is required to be > called from c

[PATCH V7 5/7] cpufreq: Register notifiers with the PM QoS framework

2019-07-08 Thread Viresh Kumar
This registers the notifiers for min/max frequency constraints with the PM QoS framework. The constraints are also taken into consideration in cpufreq_set_policy(). This also relocates cpufreq_policy_put_kobj() as it is required to be called from cpufreq_policy_alloc() now. refresh_frequency_limi