Searched hist:"3 a0310eb" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/arch/arm64/include/asm/ |
H A D | spinlock.h | 3a0310eb Mon Feb 04 06:12:33 CST 2013 Will Deacon <will.deacon@arm.com> arm64: atomics: fix grossly inconsistent asm constraints for exclusives
Our uses of inline asm constraints for atomic operations are fairly wild and varied. We basically need to guarantee the following:
1. Any instructions with barrier implications (load-acquire/store-release) have a "memory" clobber
2. When performing exclusive accesses, the addresing mode is generated using the "Q" constraint
3. Atomic blocks which use the condition flags, have a "cc" clobber
This patch addresses these concerns which, as well as fixing the semantics of the code, stops GCC complaining about impossible asm constraints.
Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> 3a0310eb Mon Feb 04 06:12:33 CST 2013 Will Deacon <will.deacon@arm.com> arm64: atomics: fix grossly inconsistent asm constraints for exclusives Our uses of inline asm constraints for atomic operations are fairly wild and varied. We basically need to guarantee the following: 1. Any instructions with barrier implications (load-acquire/store-release) have a "memory" clobber 2. When performing exclusive accesses, the addresing mode is generated using the "Q" constraint 3. Atomic blocks which use the condition flags, have a "cc" clobber This patch addresses these concerns which, as well as fixing the semantics of the code, stops GCC complaining about impossible asm constraints. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
|
H A D | futex.h | 3a0310eb Mon Feb 04 06:12:33 CST 2013 Will Deacon <will.deacon@arm.com> arm64: atomics: fix grossly inconsistent asm constraints for exclusives
Our uses of inline asm constraints for atomic operations are fairly wild and varied. We basically need to guarantee the following:
1. Any instructions with barrier implications (load-acquire/store-release) have a "memory" clobber
2. When performing exclusive accesses, the addresing mode is generated using the "Q" constraint
3. Atomic blocks which use the condition flags, have a "cc" clobber
This patch addresses these concerns which, as well as fixing the semantics of the code, stops GCC complaining about impossible asm constraints.
Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> 3a0310eb Mon Feb 04 06:12:33 CST 2013 Will Deacon <will.deacon@arm.com> arm64: atomics: fix grossly inconsistent asm constraints for exclusives Our uses of inline asm constraints for atomic operations are fairly wild and varied. We basically need to guarantee the following: 1. Any instructions with barrier implications (load-acquire/store-release) have a "memory" clobber 2. When performing exclusive accesses, the addresing mode is generated using the "Q" constraint 3. Atomic blocks which use the condition flags, have a "cc" clobber This patch addresses these concerns which, as well as fixing the semantics of the code, stops GCC complaining about impossible asm constraints. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
|
H A D | cmpxchg.h | 3a0310eb Mon Feb 04 06:12:33 CST 2013 Will Deacon <will.deacon@arm.com> arm64: atomics: fix grossly inconsistent asm constraints for exclusives
Our uses of inline asm constraints for atomic operations are fairly wild and varied. We basically need to guarantee the following:
1. Any instructions with barrier implications (load-acquire/store-release) have a "memory" clobber
2. When performing exclusive accesses, the addresing mode is generated using the "Q" constraint
3. Atomic blocks which use the condition flags, have a "cc" clobber
This patch addresses these concerns which, as well as fixing the semantics of the code, stops GCC complaining about impossible asm constraints.
Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> 3a0310eb Mon Feb 04 06:12:33 CST 2013 Will Deacon <will.deacon@arm.com> arm64: atomics: fix grossly inconsistent asm constraints for exclusives Our uses of inline asm constraints for atomic operations are fairly wild and varied. We basically need to guarantee the following: 1. Any instructions with barrier implications (load-acquire/store-release) have a "memory" clobber 2. When performing exclusive accesses, the addresing mode is generated using the "Q" constraint 3. Atomic blocks which use the condition flags, have a "cc" clobber This patch addresses these concerns which, as well as fixing the semantics of the code, stops GCC complaining about impossible asm constraints. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
|
H A D | atomic.h | 3a0310eb Mon Feb 04 06:12:33 CST 2013 Will Deacon <will.deacon@arm.com> arm64: atomics: fix grossly inconsistent asm constraints for exclusives
Our uses of inline asm constraints for atomic operations are fairly wild and varied. We basically need to guarantee the following:
1. Any instructions with barrier implications (load-acquire/store-release) have a "memory" clobber
2. When performing exclusive accesses, the addresing mode is generated using the "Q" constraint
3. Atomic blocks which use the condition flags, have a "cc" clobber
This patch addresses these concerns which, as well as fixing the semantics of the code, stops GCC complaining about impossible asm constraints.
Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> 3a0310eb Mon Feb 04 06:12:33 CST 2013 Will Deacon <will.deacon@arm.com> arm64: atomics: fix grossly inconsistent asm constraints for exclusives Our uses of inline asm constraints for atomic operations are fairly wild and varied. We basically need to guarantee the following: 1. Any instructions with barrier implications (load-acquire/store-release) have a "memory" clobber 2. When performing exclusive accesses, the addresing mode is generated using the "Q" constraint 3. Atomic blocks which use the condition flags, have a "cc" clobber This patch addresses these concerns which, as well as fixing the semantics of the code, stops GCC complaining about impossible asm constraints. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
|