]> git.hungrycats.org Git - linux/commit
bus: omap_l3_noc: Add resume hook to restore context
authorKeerthy <j-keerthy@ti.com>
Mon, 10 Nov 2014 18:19:47 +0000 (23:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Jan 2015 16:29:44 +0000 (08:29 -0800)
commit397ee6685dbe3d1dd7b002bcf6231d969080ab0c
tree4fc3ef21d5667e6aacb9df6d5fc18ebfb9221dcc
parentfa036ea44cf070a7688c36531938b28f41aed45e
bus: omap_l3_noc: Add resume hook to restore context

commit 61b43d4e919e8fa5e10c77ee32ba328da07e0264 upstream.

On certain SoCs such as AM437x SoC, L3_noc error registers are
maintained in power domain such as per domain which looses context as part
of low power state such as RTC+DDR mode. On these platforms when we
mask interrupts which we cannot handle, the source of these interrupts
still remain on resume, however, the flag mux registers now contain
their reset value (unmasked) - this breaks the system with infinite
interrupts since we do not these interrupts to take place ever again.

To handle this: restore the masking of interrupts which we have
already recorded in the system as ones we cannot handle.

Fixes: 2100b595b7 ("bus: omap_l3_noc: ignore masked out unclearable targets")
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bus/omap_l3_noc.c