scmi: Optimize bakery locks when HW_ASSISTED_COHERENCY is enabled
authorRoberto Vargas <roberto.vargas@arm.com>
Mon, 13 Nov 2017 13:41:58 +0000 (13:41 +0000)
committerRoberto Vargas <roberto.vargas@arm.com>
Tue, 16 Oct 2018 12:38:41 +0000 (13:38 +0100)
commit32aee8415dac5ef71d53cacc28e25a8d312cc47b
treef2ff8a50364c5bee5dd0d78a22ea66bd8ad5d3ad
parent0a09313ec780d2f66efcda3eb2a5d1632719bd81
scmi: Optimize bakery locks when HW_ASSISTED_COHERENCY is enabled

When HW_ASSISTED_COHERENCY is enabled we can use spinlocks
instead of using the more complex and slower bakery algorithm.

Change-Id: I9d791a70050d599241169b9160a67e57d5506564
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
bl31/bl31.ld.S
include/plat/arm/common/plat_arm.h
plat/arm/css/drivers/scmi/scmi.h
plat/arm/css/drivers/scmi/scmi_common.c
plat/arm/css/drivers/scp/css_pm_scmi.c