diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2013-07-17 12:18:51 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-07-19 14:50:04 +0100 |
commit | c57c50c1de759583d5de629fec205254280da4f0 (patch) | |
tree | 4c11452a14ba413cacf94b5b8031fcbdd7029533 /config | |
parent | 47d1a51480ad0f602d747e460d619436c907deea (diff) | |
download | xen-c57c50c1de759583d5de629fec205254280da4f0.tar.gz xen-c57c50c1de759583d5de629fec205254280da4f0.tar.bz2 xen-c57c50c1de759583d5de629fec205254280da4f0.zip |
xen: arm: clear the exclusive monitor on exception return
Otherwise context switching between two vcpus which are contending the same
lock can result in a spurious success.
Our spinlock and atomics code (which we get from Linux) rely on this behaviour
because they use non-exclusive stores for single instruction operations (e.g.
spin_unlock or atomic_set).
This is not required on ARMv8 since eret implicitly clears the monitor.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions