diff options
author | Marc Zyngier <maz@kernel.org> | 2020-07-31 18:38:23 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2020-08-21 11:39:56 +0100 |
commit | d49f7d7376d0c0daf8680984a37bd07581ac7d38 (patch) | |
tree | 393b2ffb2e6cf8f7594a37955a15e60571238f33 /tools/bpf/bpftool/prog.c | |
parent | 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff) |
arm64: Move handling of erratum 1418040 into C code
Instead of dealing with erratum 1418040 on each entry and exit,
let's move the handling to __switch_to() instead, which has
several advantages:
- It can be applied when it matters (switching between 32 and 64
bit tasks).
- It is written in C (yay!)
- It can rely on static keys rather than alternatives
Signed-off-by: Marc Zyngier <maz@kernel.org>
Tested-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20200731173824.107480-2-maz@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions