On Thu, 18 Jun 2026 00:16:39 -0700, Chunkai Deng wrote:
> glink_smem_rx_peek() reads the RX FIFO payload after the caller has
> determined data is available via glink_smem_rx_avail(), which reads the
> remote-updated head index. A control dependency between the head read
> and the subsequent payload read does not order the two loads, so the
> CPU may speculatively read the FIFO before observing the head update
> and consume stale data the remote has not yet published.
>
> [...]
Applied, thanks!
[1/1] rpmsg: glink: smem: order FIFO read after availability check
commit: 786439ad58763e04b91bc2ec5f590e463939f197
Best regards,
--
Bjorn Andersson <[email protected]>