Commit 7129edb7 authored by Will Deacon's avatar Will Deacon Committed by Amit Pundir
Browse files

BACKPORT: 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: default avatarWill Deacon <will.deacon@arm.com>

Bug: 31432001
Change-Id: I7f82b677a065ede302a763d39ffcc3fef83f8fbe
(cherry picked from commit f99a250c)
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent 1b1d2ba5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment