On 10/1/2026 9:28 AM, Yonggang Luo wrote:
> On Thu, Oct 1, 2026 at 11:55 PM Anton Johansson via qemu development
> <[email protected]> wrote:
>>
>> Moves initialization of satp and mxl fields to a class initialization
>> function that checks target_riscv64().
>>
>> Note: I'm aware the current iteration of this patch is rather hacky, I
>> don't like the introduction of runtime_misa_mxl_max, but I'm keeping
>> this in to get the series out there and collect feedback.
>>
>> Signed-off-by: Anton Johansson <[email protected]>
>> ---
>>  target/riscv/cpu.h |  1 +
>>  target/riscv/cpu.c | 90 
>> +++++++++++++++++++++++++++++++++++-------------------
>>  2 files changed, 59 insertions(+), 32 deletions(-)
>>
> 
> This patch is how I handle these, just for reference, not a review.

Yonggang approach looks cleaner, I would favor this one.

Regards,
Pierrick

Reply via email to