All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabien Chouteau <chouteau@adacore.com>
To: Jean-Christophe Dubois <jcd@tribudubois.net>
Cc: Qemu-devel <qemu-devel-bounces+jcd=tribudubois.net@nongnu.org>,
	mark.cave-ayland@ilande.co.uk, qemu-devel@nongnu.org,
	KONRAD Frederic <frederic.konrad@adacore.com>
Subject: Re: [Qemu-devel] [PATCH] LEON3 IRQMP: Fix IRQ software ack
Date: Mon, 15 Jan 2018 12:09:19 +0100	[thread overview]
Message-ID: <44e1abb6-88e7-95a0-ff27-fed969eb3a9c@adacore.com> (raw)
In-Reply-To: <04ce75e9cdb6e001830c720196208e7f@tribudubois.net>

On 12/01/2018 15:10, Jean-Christophe Dubois wrote:
> Le 2018-01-12 11:55, Fabien Chouteau a écrit :
>> On 11/01/2018 13:35, Jean-Christophe Dubois wrote:
>>> Thanks Fabien,
>>>
>>> Now, as a side question, could you tell me which reference LEON3 platform is implemented by Qemu in leon3_generic?
>>>
>>
>> I think it was the based on the FPGA version of Leon3 I was using at the
>> time. The name leon3_generic comes from my will to make it a
>> configurable board where users could define the number and the location
>> of the different peripherals, I never had time to work on this.
> 
> I see. I am not sure how to bring configurability to Qemu. There is the possibility to describe the hw PTF with DTC/DTB or something similar. I think some people were working on it for the ARM Qemu platform (but I am not sure what happened to this initiative).
> 
> Now in the meantime, would it make sense to move leon3_generic to a tsim compatible platform?
> 

I don't think so, leon3_generic is compatible with a real hardware which
is also interesting for comparison.

> This would allow to validate the same software on the 2 simulators (obviously it would not be compatible with your specific FPGA version for now).
>

The Leon3 AMBA bus provides a way to discover the peripherals and their
address, so any system should be capable of supporting different
peripheral layouts.

Here's an example of AMBA discovery code from a very old project of mine
(don't judge me on this :) :
https://github.com/Fabien-Chouteau/kabitbol/blob/master/src/amba.c

There was a couple of patches submitted some times ago to add Leon3 AMBA
support in QEMU, I think it's time to bring them back...

  reply	other threads:[~2018-01-15 11:09 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-10 20:43 [Qemu-devel] [PATCH] LEON3 IRQMP: Fix IRQ software ack Jean-Christophe Dubois
2018-01-11 11:48 ` Fabien Chouteau
2018-01-11 12:35   ` Jean-Christophe Dubois
2018-01-12 10:55     ` Fabien Chouteau
2018-01-12 14:10       ` Jean-Christophe Dubois
2018-01-15 11:09         ` Fabien Chouteau [this message]
2018-01-15 13:45           ` Jean-Christophe Dubois
2018-01-15 17:27             ` Jean-Christophe Dubois
2018-01-16 10:31               ` Fabien Chouteau
2018-01-17  0:08               ` Alistair Francis
2018-01-15 18:16   ` Mark Cave-Ayland
2018-01-16 10:21     ` Fabien Chouteau
2018-01-16 19:35       ` Mark Cave-Ayland
2018-01-24 19:51   ` Mark Cave-Ayland
2018-01-25 14:50     ` Fabien Chouteau

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=44e1abb6-88e7-95a0-ff27-fed969eb3a9c@adacore.com \
    --to=chouteau@adacore.com \
    --cc=frederic.konrad@adacore.com \
    --cc=jcd@tribudubois.net \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=qemu-devel-bounces+jcd=tribudubois.net@nongnu.org \
    --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 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.