RE: [PATCH v4] ARM: perf: save/restore pmu registers in pm notifier

From: Neil Zhang
Date: Tue May 13 2014 - 22:28:50 EST


> -----Original Message-----
> From: Will Deacon [mailto:will.deacon@xxxxxxx]
> Sent: 2014年5月14日 2:45
> To: Neil Zhang
> Cc: Sudeep Holla; 'linux@xxxxxxxxxxxxxxxx';
> 'linux-arm-kernel@xxxxxxxxxxxxxxxxxxx'; 'linux-kernel@xxxxxxxxxxxxxxx';
> 'devicetree@xxxxxxxxxxxxxxx'
> Subject: Re: [PATCH v4] ARM: perf: save/restore pmu registers in pm notifier
>
> On Mon, May 12, 2014 at 11:22:09AM +0100, Neil Zhang wrote:
> > > > The device tree bindings for power domains is under discussion [1]
> > >
> > > Thanks for the information.
> > > But it currently for device only, core related stuff are not supported.
> > > And is it really good to register power provider for core and let
> > > vfp / pmu etc to get it?
> > >
> >
> > What's your suggestion about it?
> > Is it OK that I add it under the PMU node?
>
> I don't really mind. I just want to avoid re-inventing the wheel in a
> PMU-specific way and having to maintain that code forever because it ended
> up in our DT description.
>
> Will

I will prepare another patch to add DT description under PMU since there is
no generic power domain support for pm notifier if no other concerns.
We can change the manner if there is generic power domain support for pm notifier later.
Thanks.

Best Regards,
Neil Zhang
N?叉??y??b??千v??藓{.n???{?赙zXФ?塄}?财??j:+v???赙zZ+€?zf"?????i????ア??璀??撷f?^j谦y??@A?囤?0鹅h??i