css_pm_scmi: optimise cpu suspend to remove redundant scmi call
authorDeepak Pandey <Deepak.Pandey@arm.com>
Tue, 10 Oct 2017 16:04:32 +0000 (21:34 +0530)
committerNariman Poushin <nariman.poushin@linaro.org>
Fri, 3 Aug 2018 16:42:54 +0000 (17:42 +0100)
commit5b2a7813a8781333f7bda3bacdaf9c19835071fc
tree8339feec2154ca6e1864433aa92b765f9bbb8ee1
parenteb5e1be4316aaec9c013dc87b866f614d09c88b2
css_pm_scmi: optimise cpu suspend to remove redundant scmi call

In css platforms where the cpu/cluster management is done by the hardware,
software does need to issue certain scmi requests.

This patch wraps those scmi calls around the HW_ASSISTED_COHERENCY
build option to remove them on platforms that have this hardware support.

Change-Id: Ie818e234484ef18549aa7f977aef5c3f0fc26c27
Signed-off-by: Deepak Pandey <Deepak.Pandey@arm.com>
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@arm.com>
Signed-off-by: Nariman Poushin <nariman.poushin@linaro.org>
plat/arm/css/drivers/scp/css_pm_scmi.c