qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: Bug 1679358 <1679358@bugs.launchpad.net>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [Bug 1679358] [NEW] ARM: SCTLR fields not being preserved
Date: Tue, 4 Apr 2017 09:32:56 +0100	[thread overview]
Message-ID: <CAFEAcA_R4MWGRtEzNdDfyaPQKE8iKKp6-yc0bJ7fy6EnN3ELZg@mail.gmail.com> (raw)
In-Reply-To: <20170403221712.26304.98856.malonedeb@chaenomeles.canonical.com>

On 3 April 2017 at 23:17, Yifan <yifanlu94@gmail.com> 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

  reply	other threads:[~2017-04-04  8:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-03 22:17 [Qemu-devel] [Bug 1679358] [NEW] ARM: SCTLR fields not being preserved Yifan
2017-04-04  8:32 ` Peter Maydell [this message]
2017-04-04 14:59 ` [Qemu-devel] [Bug 1679358] " Yifan
2017-04-04 15:14 ` Peter Maydell
2017-11-06 19:18 ` Peter Maydell
2021-05-08  5:29 ` [Bug 1679358] Re: ARM: RES0/RES1 SCTLR fields not read-only Thomas Huth
2021-07-08  4:17 ` Launchpad Bug Tracker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFEAcA_R4MWGRtEzNdDfyaPQKE8iKKp6-yc0bJ7fy6EnN3ELZg@mail.gmail.com \
    --to=peter.maydell@linaro.org \
    --cc=1679358@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).