diff options
author | Dave Martin <Dave.Martin@arm.com> | 2020-03-16 19:50:52 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2020-03-16 20:19:49 +0300 |
commit | 30685d789c48f27f97f6ecde6185b606a6c7abf6 (patch) | |
tree | 34af9e9e9e66b758a7d9dccb38147d16ad59dc0f /tools/perf/scripts/python | |
parent | 0537c4cd71e3c729c278c82f5b088460fb66fc33 (diff) | |
download | linux-30685d789c48f27f97f6ecde6185b606a6c7abf6.tar.xz |
KVM: arm64: BTI: Reset BTYPE when skipping emulated instructions
Since normal execution of any non-branch instruction resets the
PSTATE BTYPE field to 0, so do the same thing when emulating a
trapped instruction.
Branches don't trap directly, so we should never need to assign a
non-zero value to BTYPE here.
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions