aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorShanker Donthineni <[email protected]>2018-01-31 18:03:42 -0600
committerMarc Zyngier <[email protected]>2018-02-16 13:47:58 +0000
commit21ec30c0ef5234fb1039cc7c7737d885bf875a9e (patch)
treea00ee66a932cce167d87a78b5f8aaa2738e48d06 /scripts/gcc-plugins/structleak_plugin.c
parentb6dd4d83dc2f78cebc9a7e6e7e4bc2be4d29b94d (diff)
irqchip/gic-v3: Use wmb() instead of smb_wmb() in gic_raise_softirq()
A DMB instruction can be used to ensure the relative order of only memory accesses before and after the barrier. Since writes to system registers are not memory operations, barrier DMB is not sufficient for observability of memory accesses that occur before ICC_SGI1R_EL1 writes. A DSB instruction ensures that no instructions that appear in program order after the DSB instruction, can execute until the DSB instruction has completed. Cc: [email protected] Acked-by: Will Deacon <[email protected]>, Signed-off-by: Shanker Donthineni <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions