2011-02-01 13:03:52

by Russell King - ARM Linux

[permalink] [raw]
Subject: Re: [PATCH v2 02/28] ARM: gic: Add functions to save and restore gic state

On Sun, Jan 23, 2011 at 06:01:07PM -0800, Colin Cross wrote:
> on systems with idle states which power-gate the logic including
> the gic, such as tegra, the gic distributor needs to be shut down
> and restored on entry and exit from the architecture idle code

I'd rather not add this and then have to weed it back out when we have a
proper interface for dealign with idle shutdown stuff.

Can some effort please be put into coming up with a proper interface
such as an idle notifier list rather than calling directly into random
parts of the kernel on idle.