qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1838277] [NEW] qemu-system-aarch64: regression: msr vbar_el2, xN not working in EL2
@ 2019-07-29 14:59 Elouan Appéré
  2019-07-29 15:23 ` [Qemu-devel] [Bug 1838277] " Elouan Appéré
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: Elouan Appéré @ 2019-07-29 14:59 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Affects 3.1.0 (latest stable release) and latest commit
(893dc8300c80e3dc32f31e968cf7aa0904da50c3) but did *not* affect 2.11
(qemu from bionic ubuntu LTS).

With the following code and shell commands:

test.s:

.text
mov x0, #0x60000000
msr vbar_el2, x0
dsb sy
isb sy

$ aarch64-none-elf-as test.s -o test.o
$ aarch64-none-elf-objcopy -S -O binary test.o test.bin
$ qemu-system-aarch64 -nographic -machine virt,virtualization=on -cpu cortex-a57 -kernel test.bin -s -S

vbar_el2 is still 0 after the code, instead of being the expected
0x60000000. (see screenshot).

This regression doesn't seem to happen for vbar_el1 &
virtualization=off.

** Affects: qemu
     Importance: Undecided
         Status: New

** Attachment added: "gdb screenshot"
   https://bugs.launchpad.net/bugs/1838277/+attachment/5279820/+files/vbar.png

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

Title:
  qemu-system-aarch64: regression: msr vbar_el2, xN not working in EL2

Status in QEMU:
  New

Bug description:
  Affects 3.1.0 (latest stable release) and latest commit
  (893dc8300c80e3dc32f31e968cf7aa0904da50c3) but did *not* affect 2.11
  (qemu from bionic ubuntu LTS).

  With the following code and shell commands:

  test.s:

  .text
  mov x0, #0x60000000
  msr vbar_el2, x0
  dsb sy
  isb sy

  $ aarch64-none-elf-as test.s -o test.o
  $ aarch64-none-elf-objcopy -S -O binary test.o test.bin
  $ qemu-system-aarch64 -nographic -machine virt,virtualization=on -cpu cortex-a57 -kernel test.bin -s -S

  vbar_el2 is still 0 after the code, instead of being the expected
  0x60000000. (see screenshot).

  This regression doesn't seem to happen for vbar_el1 &
  virtualization=off.

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


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

end of thread, other threads:[~2019-08-16  4:58 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-29 14:59 [Qemu-devel] [Bug 1838277] [NEW] qemu-system-aarch64: regression: msr vbar_el2, xN not working in EL2 Elouan Appéré
2019-07-29 15:23 ` [Qemu-devel] [Bug 1838277] " Elouan Appéré
2019-07-29 15:39 ` Alex Bennée
2019-07-29 15:40 ` Peter Maydell
2019-07-30  9:54 ` Elouan Appéré
2019-07-30 10:24 ` [Qemu-devel] [Bug 1838277] Re: qemu-system-aarch64: regression: TCG sometimes using wrong values for VBAR_EL2 despite it being correctly reported to GDB Peter Maydell
2019-07-30 10:26 ` Peter Maydell
2019-07-30 11:19 ` Elouan Appéré
2019-07-30 11:27 ` Elouan Appéré
2019-07-30 11:31 ` Peter Maydell
2019-07-30 11:49 ` Elouan Appéré
2019-07-30 11:57 ` Elouan Appéré
2019-07-30 12:04 ` Elouan Appéré
2019-07-30 12:17 ` Peter Maydell
2019-07-30 12:26 ` Peter Maydell
2019-07-30 12:26 ` Elouan Appéré
2019-07-30 12:29 ` Elouan Appéré
2019-07-30 12:38 ` Peter Maydell
2019-07-30 12:51 ` Elouan Appéré
2019-07-30 13:15 ` [Qemu-devel] [Bug 1838277] Re: qemu-system-aarch64: regression in 3.1: breakpoint instructions routed to EL1 from EL2 when ELD is EL1 Elouan Appéré
2019-07-30 13:28 ` [Qemu-devel] [Bug 1838277] Re: qemu-system-aarch64: regression in 3.1: breakpoint instructions always routed to EL_D even when current EL is higher Peter Maydell
2019-07-30 15:00 ` Peter Maydell
2019-07-31  9:37 ` Elouan Appéré
2019-08-02 17:54 ` Peter Maydell
2019-08-16  4:46 ` Thomas Huth

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