]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: barriers: introduce nops and __nops macros for NOP sequences
authorWill Deacon <will.deacon@arm.com>
Tue, 6 Sep 2016 15:40:23 +0000 (16:40 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 9 Sep 2016 17:12:28 +0000 (18:12 +0100)
commit29d5800a52ec9943e163570707a8a432e4e12205
treef22f51a75b8215b43807ba2186ec8f9e0a9d5827
parent776ed0b5e39b9cb6f54734b5f222ec8a4a370cdc
arm64: barriers: introduce nops and __nops macros for NOP sequences

NOP sequences tend to get used for padding out alternative sections
and uarch-specific pipeline flushes in errata workarounds.

This patch adds macros for generating these sequences as both inline
asm blocks, but also as strings suitable for embedding in other asm
blocks directly.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/assembler.h
arch/arm64/include/asm/barrier.h