qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v4 17/33] target/nios2: Prevent writes to read-only or reserv


From: Peter Maydell
Subject: Re: [PATCH v4 17/33] target/nios2: Prevent writes to read-only or reserved control fields
Date: Tue, 8 Mar 2022 10:57:05 +0000

On Tue, 8 Mar 2022 at 07:20, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Create an array of masks which detail the writable and readonly
> bits for each control register.  Apply them when writing to
> control registers.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

What's the justification for this extra machinery? Does
existing guest code rely on writes to r/o bits being ignored ?

-- PMM



reply via email to

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