OSDN Git Service

irqchip/gic-v3-its: Add ability to resend MAPC on resume
authorDerek Basehore <dbasehore@chromium.org>
Thu, 1 Mar 2018 05:48:20 +0000 (21:48 -0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 14 Mar 2018 11:11:30 +0000 (11:11 +0000)
commit920181ce84692653094d9a3e04e05c06177edf5d
tree85db8dd675eff79c7e70886cb2798271a5cb2de5
parentdba0bc7b76dcf80f82f5a7542605d4abc52808f2
irqchip/gic-v3-its: Add ability to resend MAPC on resume

This adds functionality to resend the MAPC command to an ITS node on
resume. If the ITS is powered down during suspend and the collections
are not backed by memory, the ITS will lose that state. This just sets
up the known state for the collections after the ITS is restored.

Signed-off-by: Derek Basehore <dbasehore@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3-its.c