qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: RTOS Pharos <1815721@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1815721] Re: RISC-V PLIC enable interrupt for multicore
Date: Wed, 25 Mar 2020 17:04:44 -0000	[thread overview]
Message-ID: <158515588475.8334.16690140737637770701.malone@wampee.canonical.com> (raw)
In-Reply-To: 155004342499.19242.14077661245921319117.malonedeb@soybean.canonical.com

Thank you for the explanation. I actually built it for "Virt" machine.
I'll try the "sifive_u" when I can.

But I guess your explanation is correct so this bug could be closed from
my part.

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

Title:
  RISC-V PLIC enable interrupt for multicore

Status in QEMU:
  New

Bug description:
  Hello all,

  There is a bug in Qemu related to the enabling of external interrupts
  for multicores (Virt machine).

  After correcting Qemu as described in #1815078
  (https://bugs.launchpad.net/qemu/+bug/1815078), when we try to enable
  interrupts for core 1 at address 0x0C00_2080 we don't seem to be able
  to trigger an external interrupt  (e.g. UART0).

  This works perfectly for core 0, but fore core 1 it does not work at
  all. I assume that given bug #1815078 does not enable any external
  interrupt then this feature has not been tested. I tried to look at
  the qemu source code but with no luck so far.

  I guess the problem is related to function parse_hart_config (in
  sfive_plic.c) that initializes incorrectly the
  plic->addr_config[addrid].hartid, which is later on read in
  sifive_plic_update. But this is a guess.

  Best regards,
  Pharos team

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


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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-13  7:37 [Qemu-devel] [Bug 1815721] [NEW] RISC-V PLIC enable interrupt for multicore RTOS Pharos
2020-03-24  8:14 ` [Bug 1815721] " RTOS Pharos
2020-03-24 10:35   ` Bin Meng
2020-03-24 10:35     ` Bin Meng
2020-03-25 17:04 ` RTOS Pharos [this message]
2020-09-28  7:15 ` Teodori Serge
2020-11-19 20:24 ` Alistair Francis

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=158515588475.8334.16690140737637770701.malone@wampee.canonical.com \
    --to=1815721@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).