summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2016-08-17 12:49:19 (GMT)
committerMarc Zyngier <marc.zyngier@arm.com>2016-08-17 17:33:07 (GMT)
commitccd9432a5c85f35df7b491a1b701560d247466a5 (patch)
tree67d375b1dfaf6e4268c9f05e6e726f00d7b6c575 /fs
parent059e232089e45b0befc9933d31209c225e08b426 (diff)
downloadlinux-ccd9432a5c85f35df7b491a1b701560d247466a5.tar.xz
irqchip/gicv3: Remove disabling redistributor and group1 non-secure interrupts
As per the GICv3 specification, to power down a processor using GICv3 and allow automatic power-on if an interrupt must be sent to a processor, software must set Enable to zero for all interrupt groups(by writing to GICC_CTLR or ICC_IGRPEN{0,1}_EL1/3 as appropriate. When commit 3708d52fc6bb ("irqchip: gic-v3: Implement CPU PM notifier") was introduced there were no firmware implementations(in particular PSCI) handling this. Linux kernel may not be aware of the CPU power state details and might fail to identify the power states that require quiescing the CPU interface. Even if it can be aware of those details, it can't determine which CPU power state have been triggered at the platform level and how the power control is implemented. This patch make disabling redistributor and group1 non-secure interrupts in the power down path and re-enabling of redistributor in the power-up path conditional. It will be handled in the kernel if and only if the non-secure accesses are permitted to access and modify control registers. It is left to the platform implementation otherwise. Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Jason Cooper <jason@lakedaemon.net> Tested-by: Christopher Covington <cov@codeaurora.org> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions