Fix atomic operations so that atomic64_test passes on ARM
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ARM: atomic ops: add memory constraints to inline asmarch/ | +62 | 0 replies | |
| 2/2 | ARM: atomic64_test: add ARM as supported architecturelib/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Fix atomic operations so that atomic64_test passes on ARM
A recently introduced Kernel feature is the atomic64_test on boot. ARM fails these tests because the compiler is not correctly informed about updates occuring to memory and is at liberty to constant-fold atomic64_t variables.
This patch series adds the correct memory constraints to the atomic operations on ARM and also enables all of the atomic64 tests in atomic64_test.c.
Will Deacon (2):
ARM: atomic ops: add memory constraints to inline asm
ARM: atomic64_test: add ARM as supported architecture
arch/arm/include/asm/atomic.h | 123 +++++++++++++++++++++-------------------- lib/atomic64_test.c | 2 +- 2 files changed, 63 insertions(+), 62 deletions(-)