mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-24 05:54:08 +00:00
fix(intel): flush dcache before sending certificate to mailbox
Due to the cache coherency issue the dcache need to flush before sending the certificate to the mailbox Signed-off-by: Boon Khai Ng <boon.khai.ng@intel.com> Signed-off-by: Sieu Mun Tang <sieu.mun.tang@intel.com> Change-Id: I39d5144519d9c7308597698b4cbea1b8aba0a849
This commit is contained in:
parent
651841f201
commit
49d44ec5f3
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ uint32_t intel_fcs_send_cert(uint64_t addr, uint64_t size,
|
||||||
(uint32_t *)addr, size / MBOX_WORD_BYTE,
|
(uint32_t *)addr, size / MBOX_WORD_BYTE,
|
||||||
CMD_DIRECT);
|
CMD_DIRECT);
|
||||||
|
|
||||||
|
flush_dcache_range(addr, size);
|
||||||
|
|
||||||
if (status < 0) {
|
if (status < 0) {
|
||||||
return INTEL_SIP_SMC_STATUS_ERROR;
|
return INTEL_SIP_SMC_STATUS_ERROR;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue