SDEI: Mask events after CPU wakeup
authorJeenu Viswambharan <jeenu.viswambharan@arm.com>
Thu, 1 Feb 2018 08:05:36 +0000 (08:05 +0000)
committerJeenu Viswambharan <jeenu.viswambharan@arm.com>
Fri, 7 Sep 2018 07:42:50 +0000 (08:42 +0100)
commitf933b44bd6c35df1ee3685cbf8a88c3498116138
tree87e9e2a8943126b8741302853096399f28b9c348
parent783fd8e00f7a58462891ff16fa3f10f635df7a12
SDEI: Mask events after CPU wakeup

The specification requires that, after wakeup from a CPU suspend, the
dispatcher must mask all events on the CPU. This patch adds the feature
to the SDEI dispatcher by subscribing to the PSCI suspend to power down
event, and masking all events on the PE.

Change-Id: I9fe1d1bc2a58379ba7bba953a8d8b275fc18902c
Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>
services/std_svc/sdei/sdei_main.c