All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1328996] [NEW] [AArch64] - blr x30 is handled incorrectly
@ 2014-06-11 17:45 Sanjin Sijaric
  2014-06-11 20:54 ` [Qemu-devel] [Bug 1328996] " Peter Maydell
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sanjin Sijaric @ 2014-06-11 17:45 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Whenever x30 is used as the operand for blr, the result will be
incorrect.  There is no restriction on using x30 (LR) with the blr
instruction in the ARMv8 manual.  There are two statically linked 64-bit
executables in files.tar.gz: good and bad.  The executable "good" uses
"blr x9", and the output is what is expected: "func".  The executable
"bad" uses "blr x30" and nothing is printed out.  It prints "func" on
the actual device.

** Affects: qemu
     Importance: Undecided
         Status: New

** Attachment added: "files.tar.gz"
   https://bugs.launchpad.net/bugs/1328996/+attachment/4129793/+files/files.tar.gz

** Summary changed:

- [AArch64] - blr x30 is incorrectly handled
+ [AArch64] - blr x30 is handled incorrectly

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

Title:
  [AArch64] - blr x30 is handled incorrectly

Status in QEMU:
  New

Bug description:
  Whenever x30 is used as the operand for blr, the result will be
  incorrect.  There is no restriction on using x30 (LR) with the blr
  instruction in the ARMv8 manual.  There are two statically linked
  64-bit executables in files.tar.gz: good and bad.  The executable
  "good" uses "blr x9", and the output is what is expected: "func".  The
  executable "bad" uses "blr x30" and nothing is printed out.  It prints
  "func" on the actual device.

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

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

* [Qemu-devel] [Bug 1328996] Re: [AArch64] - blr x30 is handled incorrectly
  2014-06-11 17:45 [Qemu-devel] [Bug 1328996] [NEW] [AArch64] - blr x30 is handled incorrectly Sanjin Sijaric
@ 2014-06-11 20:54 ` Peter Maydell
  2014-06-11 23:11 ` Sanjin Sijaric
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Peter Maydell @ 2014-06-11 20:54 UTC (permalink / raw)
  To: qemu-devel

I think this should already be fixed in master by commit 1b505f93bcf60
(about a month ago). Can you try a newer QEMU build, please?

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

Title:
  [AArch64] - blr x30 is handled incorrectly

Status in QEMU:
  New

Bug description:
  Whenever x30 is used as the operand for blr, the result will be
  incorrect.  There is no restriction on using x30 (LR) with the blr
  instruction in the ARMv8 manual.  There are two statically linked
  64-bit executables in files.tar.gz: good and bad.  The executable
  "good" uses "blr x9", and the output is what is expected: "func".  The
  executable "bad" uses "blr x30" and nothing is printed out.  It prints
  "func" on the actual device.

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

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

* [Qemu-devel] [Bug 1328996] Re: [AArch64] - blr x30 is handled incorrectly
  2014-06-11 17:45 [Qemu-devel] [Bug 1328996] [NEW] [AArch64] - blr x30 is handled incorrectly Sanjin Sijaric
  2014-06-11 20:54 ` [Qemu-devel] [Bug 1328996] " Peter Maydell
@ 2014-06-11 23:11 ` Sanjin Sijaric
  2014-06-11 23:21 ` Sanjin Sijaric
  2016-06-27 21:12 ` T. Huth
  3 siblings, 0 replies; 5+ messages in thread
From: Sanjin Sijaric @ 2014-06-11 23:11 UTC (permalink / raw)
  To: qemu-devel

Thanks, Peter.  I just built the latest development build, and it now
passes.  Sorry for the false alarm.

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

Title:
  [AArch64] - blr x30 is handled incorrectly

Status in QEMU:
  New

Bug description:
  Whenever x30 is used as the operand for blr, the result will be
  incorrect.  There is no restriction on using x30 (LR) with the blr
  instruction in the ARMv8 manual.  There are two statically linked
  64-bit executables in files.tar.gz: good and bad.  The executable
  "good" uses "blr x9", and the output is what is expected: "func".  The
  executable "bad" uses "blr x30" and nothing is printed out.  It prints
  "func" on the actual device.

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

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

* [Qemu-devel] [Bug 1328996] Re: [AArch64] - blr x30 is handled incorrectly
  2014-06-11 17:45 [Qemu-devel] [Bug 1328996] [NEW] [AArch64] - blr x30 is handled incorrectly Sanjin Sijaric
  2014-06-11 20:54 ` [Qemu-devel] [Bug 1328996] " Peter Maydell
  2014-06-11 23:11 ` Sanjin Sijaric
@ 2014-06-11 23:21 ` Sanjin Sijaric
  2016-06-27 21:12 ` T. Huth
  3 siblings, 0 replies; 5+ messages in thread
From: Sanjin Sijaric @ 2014-06-11 23:21 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => Fix Committed

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

Title:
  [AArch64] - blr x30 is handled incorrectly

Status in QEMU:
  Fix Committed

Bug description:
  Whenever x30 is used as the operand for blr, the result will be
  incorrect.  There is no restriction on using x30 (LR) with the blr
  instruction in the ARMv8 manual.  There are two statically linked
  64-bit executables in files.tar.gz: good and bad.  The executable
  "good" uses "blr x9", and the output is what is expected: "func".  The
  executable "bad" uses "blr x30" and nothing is printed out.  It prints
  "func" on the actual device.

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

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

* [Qemu-devel] [Bug 1328996] Re: [AArch64] - blr x30 is handled incorrectly
  2014-06-11 17:45 [Qemu-devel] [Bug 1328996] [NEW] [AArch64] - blr x30 is handled incorrectly Sanjin Sijaric
                   ` (2 preceding siblings ...)
  2014-06-11 23:21 ` Sanjin Sijaric
@ 2016-06-27 21:12 ` T. Huth
  3 siblings, 0 replies; 5+ messages in thread
From: T. Huth @ 2016-06-27 21:12 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: Fix Committed => Fix Released

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

Title:
  [AArch64] - blr x30 is handled incorrectly

Status in QEMU:
  Fix Released

Bug description:
  Whenever x30 is used as the operand for blr, the result will be
  incorrect.  There is no restriction on using x30 (LR) with the blr
  instruction in the ARMv8 manual.  There are two statically linked
  64-bit executables in files.tar.gz: good and bad.  The executable
  "good" uses "blr x9", and the output is what is expected: "func".  The
  executable "bad" uses "blr x30" and nothing is printed out.  It prints
  "func" on the actual device.

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

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

end of thread, other threads:[~2016-06-27 21:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-11 17:45 [Qemu-devel] [Bug 1328996] [NEW] [AArch64] - blr x30 is handled incorrectly Sanjin Sijaric
2014-06-11 20:54 ` [Qemu-devel] [Bug 1328996] " Peter Maydell
2014-06-11 23:11 ` Sanjin Sijaric
2014-06-11 23:21 ` Sanjin Sijaric
2016-06-27 21:12 ` T. Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.