qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alistair Francis <alistair@alistair23.me>
To: qemu-devel@nongnu.org
Subject: [Bug 1859291] Re: RISC-V incorrect exception generated
Date: Tue, 17 Mar 2020 20:25:00 -0000	[thread overview]
Message-ID: <158447670062.19125.14663813414097024456.malone@chaenomeles.canonical.com> (raw)
In-Reply-To: 157875755996.2711.225801499083245592.malonedeb@soybean.canonical.com

I don't see the problem still.

When an ecall is generated the riscv_cpu_do_interrupt() function will
translate it to the correct call. We run Linux user space inside QEMU,
so this is generally working. Can you please attach source code and
binaries (or link to it) to reproduce the issue. You also need to
include the command line arguments you are using.

The main question is what is different to what you are running and Linux
user space?

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

Title:
  RISC-V incorrect exception generated

Status in QEMU:
  New

Bug description:
  When using 'ecall' from supervisor mode, user exception is raised
  instead of supervisor exception. The problem is located under
  'target/riscv/insn_trans/trans_priviledged.inc.c' in function 'static
  bool trans_ecall(DisasContext *ctx, arg_ecall *a)'. Best regards,
  Serge Teodori

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


  parent reply	other threads:[~2020-03-17 20:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-11 15:45 [Bug 1859291] [NEW] RISC-V incorrect exception generated Teodori Serge
2020-02-01  1:24 ` Alistair Francis
2020-02-01  1:31 ` [Bug 1859291] " Alistair Francis
2020-02-03 13:32 ` Teodori Serge
2020-02-03 13:34 ` Teodori Serge
2020-03-17 20:25 ` Alistair Francis [this message]
2021-05-02 18:22 ` Thomas Huth
2021-07-02  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=158447670062.19125.14663813414097024456.malone@chaenomeles.canonical.com \
    --to=alistair@alistair23.me \
    --cc=1859291@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).