qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1679358] [NEW] ARM: SCTLR fields not being preserved
@ 2017-04-03 22:17 Yifan
  2017-04-04  8:32 ` Peter Maydell
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Yifan @ 2017-04-03 22:17 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

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.

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1679358

Title:
  ARM: SCTLR fields not being preserved

Status in QEMU:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1679358/+subscriptions

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [Bug 1679358] [NEW] ARM: SCTLR fields not being preserved
  2017-04-03 22:17 [Qemu-devel] [Bug 1679358] [NEW] ARM: SCTLR fields not being preserved Yifan
@ 2017-04-04  8:32 ` Peter Maydell
  2017-04-04 14:59 ` [Qemu-devel] [Bug 1679358] " Yifan
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Peter Maydell @ 2017-04-04  8:32 UTC (permalink / raw)
  To: Bug 1679358; +Cc: QEMU Developers

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] [Bug 1679358] Re: ARM: SCTLR fields not being preserved
  2017-04-03 22:17 [Qemu-devel] [Bug 1679358] [NEW] ARM: SCTLR fields not being preserved Yifan
  2017-04-04  8:32 ` Peter Maydell
@ 2017-04-04 14:59 ` Yifan
  2017-04-04 15:14 ` Peter Maydell
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Yifan @ 2017-04-04 14:59 UTC (permalink / raw)
  To: qemu-devel

So there won't be a fix in the future? I'm working with debugging a
proprietary bootloader that I do not have the source code for. I wonder
if this becomes an issue for any other platform targets.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1679358

Title:
  ARM: SCTLR fields not being preserved

Status in QEMU:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1679358/+subscriptions

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] [Bug 1679358] Re: ARM: SCTLR fields not being preserved
  2017-04-03 22:17 [Qemu-devel] [Bug 1679358] [NEW] ARM: SCTLR fields not being preserved Yifan
  2017-04-04  8:32 ` Peter Maydell
  2017-04-04 14:59 ` [Qemu-devel] [Bug 1679358] " Yifan
@ 2017-04-04 15:14 ` Peter Maydell
  2017-11-06 19:18 ` Peter Maydell
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Peter Maydell @ 2017-04-04 15:14 UTC (permalink / raw)
  To: qemu-devel

Well, I wouldn't object to a patch to fix it (it would have to correctly
handle the various different versions of the CPU architecture we
implement, etc), but I'm not planning on writing one today myself.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1679358

Title:
  ARM: SCTLR fields not being preserved

Status in QEMU:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1679358/+subscriptions

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] [Bug 1679358] Re: ARM: SCTLR fields not being preserved
  2017-04-03 22:17 [Qemu-devel] [Bug 1679358] [NEW] ARM: SCTLR fields not being preserved Yifan
                   ` (2 preceding siblings ...)
  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
  5 siblings, 0 replies; 7+ messages in thread
From: Peter Maydell @ 2017-11-06 19:18 UTC (permalink / raw)
  To: qemu-devel

** Tags added: arm

** Summary changed:

- ARM: SCTLR fields not being preserved
+ ARM: RES0/RES1 SCTLR fields not read-only

** Changed in: qemu
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1679358

Title:
  ARM: RES0/RES1 SCTLR fields not read-only

Status in QEMU:
  Confirmed

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1679358/+subscriptions

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 1679358] Re: ARM: RES0/RES1 SCTLR fields not read-only
  2017-04-03 22:17 [Qemu-devel] [Bug 1679358] [NEW] ARM: SCTLR fields not being preserved Yifan
                   ` (3 preceding siblings ...)
  2017-11-06 19:18 ` Peter Maydell
@ 2021-05-08  5:29 ` Thomas Huth
  2021-07-08  4:17 ` Launchpad Bug Tracker
  5 siblings, 0 replies; 7+ messages in thread
From: Thomas Huth @ 2021-05-08  5:29 UTC (permalink / raw)
  To: qemu-devel

The QEMU project is currently moving its bug tracking to another system.
For this we need to know which bugs are still valid and which could be
closed already. Thus we are setting the bug state to "Incomplete" now.

If the bug has already been fixed in the latest upstream version of QEMU,
then please close this ticket as "Fix released".

If it is not fixed yet and you think that this bug report here is still
valid, then you have two options:

1) If you already have an account on gitlab.com, please open a new ticket
for this problem in our new tracker here:

    https://gitlab.com/qemu-project/qemu/-/issues

and then close this ticket here on Launchpad (or let it expire auto-
matically after 60 days). Please mention the URL of this bug ticket on
Launchpad in the new ticket on GitLab.

2) If you don't have an account on gitlab.com and don't intend to get
one, but still would like to keep this ticket opened, then please switch
the state back to "New" within the next 60 days (otherwise it will get
closed as "Expired"). We will then eventually migrate the ticket auto-
matically to the new system (but you won't be the reporter of the bug
in the new system and thus won't get notified on changes anymore).

Thank you and sorry for the inconvenience.


** Changed in: qemu
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1679358

Title:
  ARM: RES0/RES1 SCTLR fields not read-only

Status in QEMU:
  Incomplete

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1679358/+subscriptions


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 1679358] Re: ARM: RES0/RES1 SCTLR fields not read-only
  2017-04-03 22:17 [Qemu-devel] [Bug 1679358] [NEW] ARM: SCTLR fields not being preserved Yifan
                   ` (4 preceding siblings ...)
  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
  5 siblings, 0 replies; 7+ messages in thread
From: Launchpad Bug Tracker @ 2021-07-08  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1679358

Title:
  ARM: RES0/RES1 SCTLR fields not read-only

Status in QEMU:
  Expired

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1679358/+subscriptions


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-07-08  4:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-03 22:17 [Qemu-devel] [Bug 1679358] [NEW] ARM: SCTLR fields not being preserved Yifan
2017-04-04  8:32 ` Peter Maydell
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

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).