[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/8] accel/tcg: Add guest_base_signed_addr32 for user-only
From: |
Alistair Francis |
Subject: |
Re: [PATCH 4/8] accel/tcg: Add guest_base_signed_addr32 for user-only |
Date: |
Wed, 13 Oct 2021 17:07:46 +1000 |
On Mon, Oct 11, 2021 at 3:52 AM Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> While the host may prefer to treat 32-bit addresses as signed,
> there are edge cases of guests that cannot be implemented with
> addresses 0x7fff_ffff and 0x8000_0000 being non-consecutive.
>
> Therefore, default to guest_base_signed_addr32 false, and allow
> probe_guest_base to determine whether it is possible to set it
> to true. A tcg backend which sets TCG_TARGET_SIGNED_ADDR32 will
> have to cope with either setting for user-only.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Alistair
- Re: [PATCH 1/8] tcg: Add TCG_TARGET_SIGNED_ADDR32, (continued)
- [PATCH 3/8] accel/tcg: Support TCG_TARGET_SIGNED_ADDR32 for softmmu, Richard Henderson, 2021/10/10
- [PATCH 5/8] linux-user: Support TCG_TARGET_SIGNED_ADDR32, Richard Henderson, 2021/10/10
- [PATCH 4/8] accel/tcg: Add guest_base_signed_addr32 for user-only, Richard Henderson, 2021/10/10
- [PATCH 2/8] accel/tcg: Split out g2h_tlbe, Richard Henderson, 2021/10/10
- [PATCH 8/8] target/riscv: Support TCG_TARGET_SIGNED_ADDR32, Richard Henderson, 2021/10/10
- [PATCH 6/8] tcg/aarch64: Support TCG_TARGET_SIGNED_ADDR32, Richard Henderson, 2021/10/10