diff options
author | Mark Rutland <[email protected]> | 2021-05-24 09:29:45 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2021-05-25 19:27:48 +0100 |
commit | d11b187760f52480dd83bda0429ee3c94e542b1d (patch) | |
tree | 88cb52ce7adc3db8fe2a89c8b0d5529a76405f15 /tools/perf/scripts/python | |
parent | e89d6cc51034998607502cd3899173bfa7189571 (diff) |
arm64: assembler: add conditional cache fixups
It would be helpful if we could use both `dcache_by_line_op` and
`invalidate_icache_by_line` for user memory without accidentally fixing
up unexpected faults when performing maintenance on kernel addresses.
Let's make this possible by having both macros take an optional fixup
label, and only generating an extable entry if a label is provided.
At the same time, let's clean up the labels used to be globally unique
using \@ as we do for other macros.
There should be no functional change as a result of this patch.
Signed-off-by: Mark Rutland <[email protected]>
Signed-off-by: Fuad Tabba <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Fuad Tabba <[email protected]>
Cc: Will Deacon <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions