qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 03/13] target/riscv: Ignore the pc bits above XLEN


From: Richard Henderson
Subject: Re: [PATCH 03/13] target/riscv: Ignore the pc bits above XLEN
Date: Mon, 1 Nov 2021 06:35:45 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 11/1/21 6:01 AM, LIU Zhiwei wrote:
The read from PC for translation is in cpu_get_tb_cpu_state, before translation.

Signed-off-by: LIU Zhiwei<zhiwei_liu@c-sky.com>
---
  target/riscv/cpu_helper.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

Could perhaps be sorted to patch 2, then riscv_cpu_synchronize_from_tb and restore_state_to_opc could assert that the pc is properly extended.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]