ARM: gic: save/restore distributor ISR register values

Before going into power collapse we have to save/restore the ISR
registers in case we configure GIC to handle FIQ on apps side.
Otherwise we will end up in wrong ISR configurations after PC.

Signed-off-by: Taniya Das <tdas@codeaurora.org>
(cherry picked from commit cc721d47dfa3d040e7f78c5229bcb1af82076641)

Change-Id: I13c1c271142d4921bb46075a338268237dbd191e
Signed-off-by: Gopal Goberu <ggober@codeaurora.org>
ARM: gic: Fix saving/restore of ISR

Remove the ifdefer and save/restore ISR register values
if the cpu is secure.

Change-Id: Ie54bed6fc409c65d3428a75ddf3bc99adfb6aa52
Signed-off-by: Taniya Das <tdas@codeaurora.org>
arm: gic: Configure SGI to run in secure mode

This patch adds an API to raise a SGI as a secure IRQ.
So that it can be handled as an FIQ in the secure mode.

CRs-Fixed: 443724
Change-Id: I1597be54d05d39e59fa419389543105e98f7b018
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>