diff options
author | Sudeep Holla <[email protected]> | 2014-08-26 16:03:34 +0100 |
---|---|---|
committer | Jason Cooper <[email protected]> | 2014-09-14 08:57:25 +0000 |
commit | a2c225101234bcef8f40497bd50ccb5e9c1fb527 (patch) | |
tree | 8dce7f0a6645eefe13069c4484995ccf9c895c40 /net/lapb/lapb_subr.c | |
parent | 3228950621d92f0f212378f95a6998ef3a1be0bb (diff) |
irqchip: gic-v3: Refactor gic_enable_redist to support both enabling and disabling
Currently gic_enable_redist configures the redistributors to never
assert WakeRequest signal. However when powering down the processors
with wake-up enabled(i.e suspend), we need to configure it to assert
that signal.
This patch extends gic_enable_redist so that the redistributor can be
configure to assert WakeRequest and hold interrupts as pending. This is
useful in suspending the processors.
This patch also adds check to make sure GICR_WAKER is accessible when
configuring it.
Cc: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Sudeep Holla <[email protected]>
[maz: removed reference to GICD_CTLR.DS and added read-back of
GICR_WAKER to check that it is not RAZ/WI]
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