commit | 0537c4cd71e3c729c278c82f5b088460fb66fc33 | [log] [tgz] |
---|---|---|
author | Dave Martin <Dave.Martin@arm.com> | Mon Mar 16 16:50:51 2020 +0000 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Mon Mar 16 17:19:49 2020 +0000 |
tree | 0200b41d14892d1bc98ae1ca6083361c244e8c3a | |
parent | d2c2ee4cc33bea814eb6739f14d8cb6a4b5265bb [diff] |
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> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>