summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2023-11-21 15:52:17 +0530
committerAnup Patel <[email protected]>2023-11-26 18:45:08 +0530
commitb70d6285f0f7cbb84619ba1758bb0c6d7620eaef (patch)
tree29ad2b1dfc380e5715136bf27e21682fd5be5c50 /include
parentf520256d03da84e7ff8bddd084ef873192f46304 (diff)
lib: sbi: Allow relaxed MMIO writes in device ipi_clear() callback
Currently, there are no barriers before or after the ipi_clear() device callback which forces ipi_clear() device callback to always use non-relaxed MMIO writes. Instead of above, we use wmb() in after the ipi_clear() device callback which pairs with the wmb() done before the ipi_send() device callback. This also allows device ipi_clear() callback to use relaxed MMIO writes. Signed-off-by: Anup Patel <[email protected]> Reported-by: Bo Gan <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions