diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-08-09 17:37:54 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2024-08-09 17:37:54 +0100 |
| commit | 64678fc45d8f6c0c8d3adff41e0080aa7af15549 (patch) | |
| tree | 34af4510adb827fb1d6b852a8e21e51c80d2cce9 /docs/specs | |
| parent | 0f397dcfecc9211d12c2c720c01eb32f0eaa7d23 (diff) | |
| download | focaccia-qemu-64678fc45d8f6c0c8d3adff41e0080aa7af15549.tar.gz focaccia-qemu-64678fc45d8f6c0c8d3adff41e0080aa7af15549.zip | |
target/arm: Fix BTI versus CF_PCREL
With pcrel, we cannot check the guarded page bit at translation time, as different mappings of the same physical page may or may not have the GP bit set. Instead, add a couple of helpers to check the page at runtime, after all other filters that might obviate the need for the check. The set_btype_for_br call must be moved after the gen_a64_set_pc call to ensure the current pc can still be computed. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20240802003028.795476-1-richard.henderson@linaro.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'docs/specs')
0 files changed, 0 insertions, 0 deletions