diff options
author | Roberto Vargas <roberto.vargas@arm.com> | 2018-07-18 11:14:20 +0100 |
---|---|---|
committer | Roberto Vargas <roberto.vargas@arm.com> | 2018-07-19 12:51:52 +0100 |
commit | ae551a13708cca093605119c0235e259a3538b05 (patch) | |
tree | 8b60bb64970bc293c4abe2c3a23c09f37eb74238 /lib/psci/psci_suspend.c | |
parent | f790cc0a9c492cf3615c82574e2c3f1ff8af0a3d (diff) |
cci: Wait before reading status register
The functions cci_enable_snoop_dvm_reqs and cci_disable_snoop_dvm_reqs write
in the SNOOP_CTRL_REGISTER of the slave interface and it polls the status
register to be sure that the operation is finished before leaving the
functions. If the write in SNOOP_CTRL_REGISTER is reordered after the first
read in the status register then these functions can finish before
enabling/disabling snoops and DVM messages.
The CCI500 TRM specifies:
Wait for the completion of the write to the Snoop Control Register
before testing the change_pending bit.
Change-Id: Idc7685963f412be1c16bcd3c6e3cca826e2fdf38
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
Diffstat (limited to 'lib/psci/psci_suspend.c')
0 files changed, 0 insertions, 0 deletions