diff options
author | Sudeep Holla <[email protected]> | 2014-08-26 16:03:35 +0100 |
---|---|---|
committer | Jason Cooper <[email protected]> | 2014-09-14 08:57:54 +0000 |
commit | 3708d52fc6bb34ae16399fe998d515dd7d188ab0 (patch) | |
tree | 598a7d545982c3f2c63a5d490d7bd77ae1ddb81c /net/lapb/lapb_subr.c | |
parent | a2c225101234bcef8f40497bd50ccb5e9c1fb527 (diff) |
irqchip: gic-v3: Implement CPU PM notifier
When a CPU enters a low power state, the contents of the GICv3/4 system
registers are lost. They need to be saved and restored if required.
For now, since most of the GICv3 register are set some initial values and
not modified at runtime, it is better to re-initialise rather than saving
and restoring them. It may need to be saved and restored in future if
required.
This patch adds a notifier to disable the redistributor(if allowed) and
Group1 interrupts when powering down the processor and to re-initialise
the system registers on wakeup.
Cc: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Sudeep Holla <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Acked-by: Marc Zyngier <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jason Cooper <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions