Comment 1 for bug 1679358

Revision history for this message
Peter Maydell (pmaydell) wrote : Re: [Qemu-devel] [Bug 1679358] [NEW] ARM: SCTLR fields not being preserved

On 3 April 2017 at 23:17, Yifan <email address hidden> wrote:
> There are fields in SCTLR that are RAO/SBOP or WI or in the case of the
> RR field, accessible only in secure mode. Currently it seems that qemu
> just propagates any write to SCTLR to the register and this screwed up
> in a bootloader that I am debugging.

Yes, we're a bit loose in QEMU on the handling of reserved bits.

Note that most of the SCTLR bits like this are RAO/SBOP or RAZ/SBZP,
so the guest should not be writing wrong values to them.

thanks
-- PMM