[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 14/45] target/arm: Define arm_cpu_do_unaligned_access for
From: |
Peter Maydell |
Subject: |
Re: [PATCH v8 14/45] target/arm: Define arm_cpu_do_unaligned_access for user-only |
Date: |
Thu, 25 Jun 2020 11:45:50 +0100 |
On Tue, 23 Jun 2020 at 20:37, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Use the same code as system mode, so that we generate the same
> exception + syndrome for the unaligned access.
>
> For the moment, if MTE is enabled so that this path is reachable,
> this would generate a SIGSEGV in the user-only cpu_loop. Decoding
> the syndrome to produce the proper SIGBUS will be done later.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> v8: Raise the normal data exception + syndrome.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- [PATCH v8 07/45] target/arm: Add MTE system registers, (continued)
- [PATCH v8 07/45] target/arm: Add MTE system registers, Richard Henderson, 2020/06/23
- [PATCH v8 06/45] target/arm: Add DISAS_UPDATE_NOCHAIN, Richard Henderson, 2020/06/23
- [PATCH v8 09/45] target/arm: Implement the IRG instruction, Richard Henderson, 2020/06/23
- [PATCH v8 10/45] target/arm: Revise decoding for disas_add_sub_imm, Richard Henderson, 2020/06/23
- [PATCH v8 12/45] target/arm: Implement the GMI instruction, Richard Henderson, 2020/06/23
- [PATCH v8 11/45] target/arm: Implement the ADDG, SUBG instructions, Richard Henderson, 2020/06/23
- [PATCH v8 13/45] target/arm: Implement the SUBP instruction, Richard Henderson, 2020/06/23
- [PATCH v8 14/45] target/arm: Define arm_cpu_do_unaligned_access for user-only, Richard Henderson, 2020/06/23
- Re: [PATCH v8 14/45] target/arm: Define arm_cpu_do_unaligned_access for user-only,
Peter Maydell <=
- [PATCH v8 16/45] target/arm: Implement the STGP instruction, Richard Henderson, 2020/06/23
- [PATCH v8 15/45] target/arm: Implement LDG, STG, ST2G instructions, Richard Henderson, 2020/06/23
- [PATCH v8 17/45] target/arm: Restrict the values of DCZID.BS under TCG, Richard Henderson, 2020/06/23
- [PATCH v8 18/45] target/arm: Simplify DC_ZVA, Richard Henderson, 2020/06/23
- [PATCH v8 19/45] target/arm: Implement the LDGM, STGM, STZGM instructions, Richard Henderson, 2020/06/23
- [PATCH v8 20/45] target/arm: Implement the access tag cache flushes, Richard Henderson, 2020/06/23
- [PATCH v8 21/45] target/arm: Move regime_el to internals.h, Richard Henderson, 2020/06/23
- [PATCH v8 22/45] target/arm: Move regime_tcr to internals.h, Richard Henderson, 2020/06/23
- [PATCH v8 23/45] target/arm: Add gen_mte_check1, Richard Henderson, 2020/06/23