From 32967a379c9fde59370a3cb2d53be085951202bf Mon Sep 17 00:00:00 2001 From: "Andrew F. Davis" Date: Thu, 16 Jan 2020 15:58:34 -0600 Subject: [PATCH] ti: k3: drivers: ti_sci: Put sequence number in coherent memory The current message sequence number is accessed both with caches on and off so put this memory in the un-cached coherent section so accesses are consistent and coherency is maintained. Signed-off-by: Andrew F. Davis Change-Id: Ieeefefeaffc691e4e4c4de7c74490d50ff9de807 --- plat/ti/k3/common/drivers/ti_sci/ti_sci.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plat/ti/k3/common/drivers/ti_sci/ti_sci.c b/plat/ti/k3/common/drivers/ti_sci/ti_sci.c index d5bcee8c7..e390efee6 100644 --- a/plat/ti/k3/common/drivers/ti_sci/ti_sci.c +++ b/plat/ti/k3/common/drivers/ti_sci/ti_sci.c @@ -20,6 +20,9 @@ #include "ti_sci_protocol.h" #include "ti_sci.h" +#if USE_COHERENT_MEM +__section("tzfw_coherent_mem") +#endif static uint8_t message_sequence; /** -- GitLab