OSDN Git Service

soc: qcom: aoss: Read back before triggering the IRQ
authorArun Kumar Neelakantam <aneela@codeaurora.org>
Wed, 22 Jan 2020 08:24:13 +0000 (13:54 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 14 Feb 2020 05:18:16 +0000 (21:18 -0800)
commit89e7eddece6140020749932f9647a6068cc0d56d
tree85b5842f2fdf9fe66fb2b42f6df3034855191cc3
parentdf636eea2b782589fad7fce3bfea26c6c31e4d14
soc: qcom: aoss: Read back before triggering the IRQ

In some device memory used by msm_qmp, there can be an early ack of a
write to memory succeeding. This may cause the outgoing interrupt to be
triggered before the msgram reflects the write.

Add a readback to ensure the data is flushed to device memory before
triggering the ipc interrupt.

Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
Link: https://lore.kernel.org/r/1579681454-1229-1-git-send-email-aneela@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/soc/qcom/qcom_aoss.c