All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Any interest in a QEMU emulation BoF at KVM Forum?
       [not found] <87a67kphih.fsf@linaro.org>
@ 2022-08-31 15:44 ` Mark Burton
  2022-08-31 16:14 ` Edgar E. Iglesias
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 10+ messages in thread
From: Mark Burton @ 2022-08-31 15:44 UTC (permalink / raw)
  To: Alex Bennée, qemu-devel
  Cc: Bill Mills, Philippe Mathieu-Daudé,
	Edgar E.Iglesias, Richard Henderson, Paolo Bonzini,
	Peter Maydell, Michael Rolnik, Taylor Simpson, Song Gao,
	Xiaojuan Yang, Cédric Le Goater, Palmer Dabbelt,
	Alistair Francis, Bin Meng, David Gibson, Markus Armbruster,
	Michael Roth, Luc Michel, Damien Hedde, Alessandro Di Federico,
	ff

[-- Attachment #1: Type: text/plain, Size: 2950 bytes --]

I am VERY interested in these topics from a Qualcomm perspective. I’ll be there from Tuesday morning,  I think a “BoF” would be very helpful …
Cheers
Mark.



On 31/08/2022, 17:20, "Alex Bennée" <alex.bennee@linaro.org> wrote:

WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.

Hi,

Given our slowly growing range of TCG emulations and the evident
interest in keeping up with modern processor architectures is it worth
having an emulation focused BoF at the up-coming KVM Forum?

Some potential topics for discussion I could think of might include:

 * Progress towards heterogeneous vCPU emulation

 We've been making slow progress in removing assumptions from the
 various front-ends about their global nature and adding accel:TCG
 abstractions and support for the translator loop. We can already have
 CPUs from the same architecture family in a model. What else do we need
 to do so we can have those funky ARM+RiscV+Tricore heterogeneous
 models? Is it library or something else?

 * External Device Models

 I know this is a contentious topic given the potential for GPL
 end-runs. However there are also good arguments for enabling the
 testing of open source designs without having forcing the
 implementation of a separate C model to test software. For example if
 we hypothetically modelled a Pi Pico would it make sense to model the
 PIO in C if we could just compile the Verilog for it into a SystemC
 model? Would a plethora of closed device models be the inevitable
 consequence of such an approach? Would it matter if we just
 concentrated on supporting useful open source solutions?

 * Dynamic Machine Models

 While we try and avoid modelling bespoke virtual HW in QEMU
 (virt/goldfish not withstanding ;-) there is obviously a desire in the
 EDA space to allow such experimentation. Is this something we can
 provide so aspiring HW engineers can experiment with system
 architectures without having to form QEMU and learn QOM. There have
 been suggestions about consuming device trees or maybe translating to
 QMP calls and adding support for wiring devices together. Given the
 number of forks that exist is this something that could be better
 supported upstream without degenerating into messy hacks?

 * A sense of time

 Currently we have the fairly limited support for -icount in QEMU. At
 the same time we have no desire to start expanding frontends with
 the details cost models required for a more realistic sense of time to
 be presented. One suggestion is to expand the TCG plugin interface to
 allow for the plugin to control time allowing as much or little logic
 to be pushed there as we like and freeing up frontends from ever having
 to consider it.

Are any of these topics of interest? Are there any other emulation
topics people would like to discuss?

--
Alex Bennée

[-- Attachment #2: Type: text/html, Size: 5382 bytes --]

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

* Re: Any interest in a QEMU emulation BoF at KVM Forum?
       [not found] <87a67kphih.fsf@linaro.org>
  2022-08-31 15:44 ` Any interest in a QEMU emulation BoF at KVM Forum? Mark Burton
@ 2022-08-31 16:14 ` Edgar E. Iglesias
  2022-08-31 17:08 ` Alex Bennée
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 10+ messages in thread
From: Edgar E. Iglesias @ 2022-08-31 16:14 UTC (permalink / raw)
  To: Alex Bennée
  Cc: qemu-devel, Mark Burton, Bill Mills, Philippe Mathieu-Daudé,
	Richard Henderson, Paolo Bonzini, Peter Maydell, Michael Rolnik,
	Taylor Simpson, Song Gao, Xiaojuan Yang, Cédric Le Goater,
	Palmer Dabbelt, Alistair Francis, Bin Meng, David Gibson,
	Markus Armbruster, Michael Roth, Luc Michel, Damien Hedde,
	Alessandro Di Federico

On Wed, Aug 31, 2022 at 03:35:19PM +0100, Alex Bennée wrote:
> Hi,
> 
> Given our slowly growing range of TCG emulations and the evident
> interest in keeping up with modern processor architectures is it worth
> having an emulation focused BoF at the up-coming KVM Forum?


Hi Alex,

Yes, I'd be interested in all topics you mention.

Best regards,
Edgar



> 
> Some potential topics for discussion I could think of might include:
> 
>  * Progress towards heterogeneous vCPU emulation
> 
>  We've been making slow progress in removing assumptions from the
>  various front-ends about their global nature and adding accel:TCG
>  abstractions and support for the translator loop. We can already have
>  CPUs from the same architecture family in a model. What else do we need
>  to do so we can have those funky ARM+RiscV+Tricore heterogeneous
>  models? Is it library or something else?
> 
>  * External Device Models
> 
>  I know this is a contentious topic given the potential for GPL
>  end-runs. However there are also good arguments for enabling the
>  testing of open source designs without having forcing the
>  implementation of a separate C model to test software. For example if
>  we hypothetically modelled a Pi Pico would it make sense to model the
>  PIO in C if we could just compile the Verilog for it into a SystemC
>  model? Would a plethora of closed device models be the inevitable
>  consequence of such an approach? Would it matter if we just
>  concentrated on supporting useful open source solutions?
> 
>  * Dynamic Machine Models
> 
>  While we try and avoid modelling bespoke virtual HW in QEMU
>  (virt/goldfish not withstanding ;-) there is obviously a desire in the
>  EDA space to allow such experimentation. Is this something we can
>  provide so aspiring HW engineers can experiment with system
>  architectures without having to form QEMU and learn QOM. There have
>  been suggestions about consuming device trees or maybe translating to
>  QMP calls and adding support for wiring devices together. Given the
>  number of forks that exist is this something that could be better
>  supported upstream without degenerating into messy hacks?
> 
>  * A sense of time
> 
>  Currently we have the fairly limited support for -icount in QEMU. At
>  the same time we have no desire to start expanding frontends with
>  the details cost models required for a more realistic sense of time to
>  be presented. One suggestion is to expand the TCG plugin interface to
>  allow for the plugin to control time allowing as much or little logic
>  to be pushed there as we like and freeing up frontends from ever having
>  to consider it.
> 
> Are any of these topics of interest? Are there any other emulation
> topics people would like to discuss?
> 
> -- 
> Alex Bennée


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

* Re: Any interest in a QEMU emulation BoF at KVM Forum?
       [not found] <87a67kphih.fsf@linaro.org>
  2022-08-31 15:44 ` Any interest in a QEMU emulation BoF at KVM Forum? Mark Burton
  2022-08-31 16:14 ` Edgar E. Iglesias
@ 2022-08-31 17:08 ` Alex Bennée
  2022-09-01  2:21   ` 回复:Any " 刘志伟
  2022-09-01 15:41 ` Any " Alessandro Di Federico via
  2022-09-13  7:12 ` Alex Bennée
  4 siblings, 1 reply; 10+ messages in thread
From: Alex Bennée @ 2022-08-31 17:08 UTC (permalink / raw)
  To: qemu-devel
  Cc: Mark Burton, Edgar  E. Iglesias, Richard Henderson,
	Paolo Bonzini, Peter Maydell, Song Gao, Xiaojuan Yang,
	Cédric Le Goater, Palmer Dabbelt, Alistair Francis,
	Bin Meng, David Gibson, Markus Armbruster, Michael Roth,
	Luc Michel, Damien Hedde, Alessandro Di Federico


Alex Bennée <alex.bennee@linaro.org> writes:

qemu-devel keeps bouncing the message so replying with a cut down CC list.

> Hi,
>
> Given our slowly growing range of TCG emulations and the evident
> interest in keeping up with modern processor architectures is it worth
> having an emulation focused BoF at the up-coming KVM Forum?
>
> Some potential topics for discussion I could think of might include:
>
>  * Progress towards heterogeneous vCPU emulation
>
>  We've been making slow progress in removing assumptions from the
>  various front-ends about their global nature and adding accel:TCG
>  abstractions and support for the translator loop. We can already have
>  CPUs from the same architecture family in a model. What else do we need
>  to do so we can have those funky ARM+RiscV+Tricore heterogeneous
>  models? Is it library or something else?
>
>  * External Device Models
>
>  I know this is a contentious topic given the potential for GPL
>  end-runs. However there are also good arguments for enabling the
>  testing of open source designs without having forcing the
>  implementation of a separate C model to test software. For example if
>  we hypothetically modelled a Pi Pico would it make sense to model the
>  PIO in C if we could just compile the Verilog for it into a SystemC
>  model? Would a plethora of closed device models be the inevitable
>  consequence of such an approach? Would it matter if we just
>  concentrated on supporting useful open source solutions?
>
>  * Dynamic Machine Models
>
>  While we try and avoid modelling bespoke virtual HW in QEMU
>  (virt/goldfish not withstanding ;-) there is obviously a desire in the
>  EDA space to allow such experimentation. Is this something we can
>  provide so aspiring HW engineers can experiment with system
>  architectures without having to form QEMU and learn QOM. There have
>  been suggestions about consuming device trees or maybe translating to
>  QMP calls and adding support for wiring devices together. Given the
>  number of forks that exist is this something that could be better
>  supported upstream without degenerating into messy hacks?
>
>  * A sense of time
>
>  Currently we have the fairly limited support for -icount in QEMU. At
>  the same time we have no desire to start expanding frontends with
>  the details cost models required for a more realistic sense of time to
>  be presented. One suggestion is to expand the TCG plugin interface to
>  allow for the plugin to control time allowing as much or little logic
>  to be pushed there as we like and freeing up frontends from ever having
>  to consider it.
>
> Are any of these topics of interest? Are there any other emulation
> topics people would like to discuss?


-- 
Alex Bennée


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

* 回复:Any interest in a QEMU emulation BoF at KVM Forum?
  2022-08-31 17:08 ` Alex Bennée
@ 2022-09-01  2:21   ` 刘志伟
  2022-09-01 14:23     ` Alex Bennée
  2022-09-01 14:48     ` Alex Bennée
  0 siblings, 2 replies; 10+ messages in thread
From: 刘志伟 @ 2022-09-01  2:21 UTC (permalink / raw)
  To: Alex Bennée, qemu-devel
  Cc: Mark Burton, Edgar  E. Iglesias, Richard Henderson,
	Paolo Bonzini, Peter Maydell, Song Gao, Xiaojuan Yang,
	Cédric Le Goater, Palmer Dabbelt, Alistair Francis,
	Bin Meng, David Gibson, Markus Armbruster, Michael Roth,
	Luc Michel, Damien Hedde, Alessandro Di Federico

[-- Attachment #1: Type: text/plain, Size: 3916 bytes --]

These topics are interesting. I have two questions.
1. Can we join it on online? If so, could you share the meeting link before the meeting.
2. If it is only offline, could you share the meeting content to the public?
Thanks,
Zhiwei 
------------------------------------------------------------------
发件人:Alex Bennée <alex.bennee@linaro.org>
发送时间:2022年9月1日(星期四) 01:08
收件人:qemu-devel@nongnu.org <qemu-devel@nongnu.org>
抄 送:Mark Burton <mburton@qti.qualcomm.com>; Edgar E. Iglesias <edgar.iglesias@gmail.com>; Richard Henderson <richard.henderson@linaro.org>; Paolo Bonzini <pbonzini@redhat.com>; Peter Maydell <peter.maydell@linaro.org>; Song Gao <gaosong@loongson.cn>; Xiaojuan Yang <yangxiaojuan@loongson.cn>; "Cédric Le Goater" <clg@kaod.org>; Palmer Dabbelt <palmer@dabbelt.com>; Alistair Francis <alistair.francis@wdc.com>; Bin Meng <bin.meng@windriver.com>; David Gibson <david@gibson.dropbear.id.au>; Markus Armbruster <armbru@redhat.com>; Michael Roth <michael.roth@amd.com>; Luc Michel <luc@lmichel.fr>; Damien Hedde <damien.hedde@greensocs.com>; Alessandro Di Federico <ale@rev.ng>
主 题:Re: Any interest in a QEMU emulation BoF at KVM Forum?
Alex Bennée <alex.bennee@linaro.org> writes:
qemu-devel keeps bouncing the message so replying with a cut down CC list.
> Hi,
>
> Given our slowly growing range of TCG emulations and the evident
> interest in keeping up with modern processor architectures is it worth
> having an emulation focused BoF at the up-coming KVM Forum?
>
> Some potential topics for discussion I could think of might include:
>
> * Progress towards heterogeneous vCPU emulation
>
> We've been making slow progress in removing assumptions from the
> various front-ends about their global nature and adding accel:TCG
> abstractions and support for the translator loop. We can already have
> CPUs from the same architecture family in a model. What else do we need
> to do so we can have those funky ARM+RiscV+Tricore heterogeneous
> models? Is it library or something else?
>
> * External Device Models
>
> I know this is a contentious topic given the potential for GPL
> end-runs. However there are also good arguments for enabling the
> testing of open source designs without having forcing the
> implementation of a separate C model to test software. For example if
> we hypothetically modelled a Pi Pico would it make sense to model the
> PIO in C if we could just compile the Verilog for it into a SystemC
> model? Would a plethora of closed device models be the inevitable
> consequence of such an approach? Would it matter if we just
> concentrated on supporting useful open source solutions?
>
> * Dynamic Machine Models
>
> While we try and avoid modelling bespoke virtual HW in QEMU
> (virt/goldfish not withstanding ;-) there is obviously a desire in the
> EDA space to allow such experimentation. Is this something we can
> provide so aspiring HW engineers can experiment with system
> architectures without having to form QEMU and learn QOM. There have
> been suggestions about consuming device trees or maybe translating to
> QMP calls and adding support for wiring devices together. Given the
> number of forks that exist is this something that could be better
> supported upstream without degenerating into messy hacks?
>
> * A sense of time
>
> Currently we have the fairly limited support for -icount in QEMU. At
> the same time we have no desire to start expanding frontends with
> the details cost models required for a more realistic sense of time to
> be presented. One suggestion is to expand the TCG plugin interface to
> allow for the plugin to control time allowing as much or little logic
> to be pushed there as we like and freeing up frontends from ever having
> to consider it.
>
> Are any of these topics of interest? Are there any other emulation
> topics people would like to discuss?
-- 
Alex Bennée

[-- Attachment #2: Type: text/html, Size: 5707 bytes --]

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

* Re: 回复:Any interest in a QEMU emulation BoF at KVM Forum?
  2022-09-01  2:21   ` 回复:Any " 刘志伟
@ 2022-09-01 14:23     ` Alex Bennée
  2022-09-01 14:48     ` Alex Bennée
  1 sibling, 0 replies; 10+ messages in thread
From: Alex Bennée @ 2022-09-01 14:23 UTC (permalink / raw)
  To: 刘志伟
  Cc: qemu-devel, Mark Burton, Edgar  E. Iglesias, Richard Henderson,
	Paolo Bonzini, Peter Maydell, Song Gao, Xiaojuan Yang,
	Cédric Le Goater, Palmer Dabbelt, Alistair Francis,
	Bin Meng, David Gibson, Markus Armbruster, Michael Roth,
	Luc Michel, Damien Hedde, Alessandro Di Federico


"刘志伟" <zhiwei_liu@c-sky.com> writes:

> These topics are interesting.  I have two questions.
>
> 1. Can we join it on online?  If so, could you share the meeting link
> before the meeting.

I will try to find out.

>
> 2. If it is only offline, could you share the meeting content to the
> public?

I'll certainly try and write up some minutes for the list.

>
> Thanks,
> Zhiwei 
>
>  ------------------------------------------------------------------
>  发件人:Alex Bennée <alex.bennee@linaro.org>
>  发送时间:2022年9月1日(星期四) 01:08
>  收件人:qemu-devel@nongnu.org <qemu-devel@nongnu.org>
>  抄 送:Mark Burton <mburton@qti.qualcomm.com>; Edgar E. Iglesias <edgar.iglesias@gmail.com>; Richard
>  Henderson <richard.henderson@linaro.org>; Paolo Bonzini <pbonzini@redhat.com>; Peter Maydell
>  <peter.maydell@linaro.org>; Song Gao <gaosong@loongson.cn>; Xiaojuan Yang <yangxiaojuan@loongson.cn>;
>  "Cédric Le Goater" <clg@kaod.org>; Palmer Dabbelt <palmer@dabbelt.com>; Alistair Francis
>  <alistair.francis@wdc.com>; Bin Meng <bin.meng@windriver.com>; David Gibson <david@gibson.dropbear.id.au>;
>  Markus Armbruster <armbru@redhat.com>; Michael Roth <michael.roth@amd.com>; Luc Michel <luc@lmichel.fr>;
>  Damien Hedde <damien.hedde@greensocs.com>; Alessandro Di Federico <ale@rev.ng>
>  主 题:Re: Any interest in a QEMU emulation BoF at KVM Forum?
>
>  Alex Bennée <alex.bennee@linaro.org> writes:
>
>  qemu-devel keeps bouncing the message so replying with a cut down CC list.
>
>  > Hi,
>  >
>  > Given our slowly growing range of TCG emulations and the evident
>  > interest in keeping up with modern processor architectures is it worth
>  > having an emulation focused BoF at the up-coming KVM Forum?
>  >
>  > Some potential topics for discussion I could think of might include:
>  >
>  >  * Progress towards heterogeneous vCPU emulation
>  >
>  >  We've been making slow progress in removing assumptions from the
>  >  various front-ends about their global nature and adding accel:TCG
>  >  abstractions and support for the translator loop. We can already have
>  >  CPUs from the same architecture family in a model. What else do we need
>  >  to do so we can have those funky ARM+RiscV+Tricore heterogeneous
>  >  models? Is it library or something else?
>  >
>  >  * External Device Models
>  >
>  >  I know this is a contentious topic given the potential for GPL
>  >  end-runs. However there are also good arguments for enabling the
>  >  testing of open source designs without having forcing the
>  >  implementation of a separate C model to test software. For example if
>  >  we hypothetically modelled a Pi Pico would it make sense to model the
>  >  PIO in C if we could just compile the Verilog for it into a SystemC
>  >  model? Would a plethora of closed device models be the inevitable
>  >  consequence of such an approach? Would it matter if we just
>  >  concentrated on supporting useful open source solutions?
>  >
>  >  * Dynamic Machine Models
>  >
>  >  While we try and avoid modelling bespoke virtual HW in QEMU
>  >  (virt/goldfish not withstanding ;-) there is obviously a desire in the
>  >  EDA space to allow such experimentation. Is this something we can
>  >  provide so aspiring HW engineers can experiment with system
>  >  architectures without having to form QEMU and learn QOM. There have
>  >  been suggestions about consuming device trees or maybe translating to
>  >  QMP calls and adding support for wiring devices together. Given the
>  >  number of forks that exist is this something that could be better
>  >  supported upstream without degenerating into messy hacks?
>  >
>  >  * A sense of time
>  >
>  >  Currently we have the fairly limited support for -icount in QEMU. At
>  >  the same time we have no desire to start expanding frontends with
>  >  the details cost models required for a more realistic sense of time to
>  >  be presented. One suggestion is to expand the TCG plugin interface to
>  >  allow for the plugin to control time allowing as much or little logic
>  >  to be pushed there as we like and freeing up frontends from ever having
>  >  to consider it.
>  >
>  > Are any of these topics of interest? Are there any other emulation
>  > topics people would like to discuss?
>
>  -- 
>  Alex Bennée


-- 
Alex Bennée


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

* Re: 回复:Any interest in a QEMU emulation BoF at KVM Forum?
  2022-09-01  2:21   ` 回复:Any " 刘志伟
  2022-09-01 14:23     ` Alex Bennée
@ 2022-09-01 14:48     ` Alex Bennée
  1 sibling, 0 replies; 10+ messages in thread
From: Alex Bennée @ 2022-09-01 14:48 UTC (permalink / raw)
  To: 刘志伟
  Cc: qemu-devel, Mark Burton, Edgar  E. Iglesias, Richard Henderson,
	Paolo Bonzini, Peter Maydell, Song Gao, Xiaojuan Yang,
	Cédric Le Goater, Palmer Dabbelt, Alistair Francis,
	Bin Meng, David Gibson, Markus Armbruster, Michael Roth,
	Luc Michel, Damien Hedde, Alessandro Di Federico


"刘志伟" <zhiwei_liu@c-sky.com> writes:

> These topics are interesting.  I have two questions.
>
> 1. Can we join it on online?  If so, could you share the meeting link before the meeting.
>
> 2. If it is only offline, could you share the meeting content to the
> public?

I've created an etherpad for the day (which ever we end up doing):

  https://etherpad.opendev.org/p/qemu-emulation-bof%40kvmforum2022

-- 
Alex Bennée


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

* Re: Any interest in a QEMU emulation BoF at KVM Forum?
       [not found] <87a67kphih.fsf@linaro.org>
                   ` (2 preceding siblings ...)
  2022-08-31 17:08 ` Alex Bennée
@ 2022-09-01 15:41 ` Alessandro Di Federico via
  2022-09-13  7:12 ` Alex Bennée
  4 siblings, 0 replies; 10+ messages in thread
From: Alessandro Di Federico via @ 2022-09-01 15:41 UTC (permalink / raw)
  To: Alex Bennée
  Cc: qemu-devel, Mark Burton, Bill Mills, Philippe Mathieu-Daudé,
	Edgar E. Iglesias, Richard Henderson, Paolo Bonzini,
	Peter Maydell, Michael Rolnik, Taylor Simpson, Song Gao,
	Xiaojuan Yang, Cédric Le Goater, Palmer Dabbelt,
	Alistair Francis, Bin Meng, David Gibson, Markus Armbruster,
	Michael Roth, Luc Michel, Damien Hedde

I'm very interested too. Thanks for organizing this, Alex!

In particular we're interested in the infrastructure work to enable
having a single build of QEMU using several different TCG frontends,
which is probably preliminary to heterogeneous vCPU emulation.

In fact, I was going to send an RFC about this to qemu-devel, but KVM
Forum + this BoF seemed like a good opportunity to discuss this. I
might share it later, if you're intersted.

Will the BoF pop up in the program or will it be something informal?
According to the schedule, there are BoFs Mon 17.40 and Tue 17.40.

Catch you in Dublin and thanks again for setting this up.

-- 
Alessandro Di Federico
rev.ng Labs


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

* Re: Any interest in a QEMU emulation BoF at KVM Forum?
       [not found] <87a67kphih.fsf@linaro.org>
                   ` (3 preceding siblings ...)
  2022-09-01 15:41 ` Any " Alessandro Di Federico via
@ 2022-09-13  7:12 ` Alex Bennée
  2022-09-13  7:16   ` Cédric Le Goater
  4 siblings, 1 reply; 10+ messages in thread
From: Alex Bennée @ 2022-09-13  7:12 UTC (permalink / raw)
  To: qemu-devel
  Cc: Mark Burton, Bill Mills, Philippe Mathieu-Daudé,
	Edgar E. Iglesias, Richard Henderson, Paolo Bonzini,
	Peter Maydell, Michael Rolnik, Taylor Simpson, Song Gao,
	Xiaojuan Yang, Cédric Le Goater, Palmer Dabbelt,
	Alistair Francis, Bin Meng, David Gibson, Markus Armbruster,
	Michael Roth, Luc Michel, Damien Hedde, Alessandro Di Federico

[-- Attachment #1: Type: text/plain, Size: 3156 bytes --]

The BoF session will be in Lifey A (the big hall) this afternoon. I thought
being able to sit around tables while we discuss things would make things a
bit easier. We can share note taking on the etherpad:

  https://etherpad.opendev.org/p/qemu-emulation-bof%40kvmforum2022

I'll run a HO at: https://meet.google.com/rac-axef-xvv

On Wed, 31 Aug 2022 at 16:19, Alex Bennée <alex.bennee@linaro.org> wrote:

> Hi,
>
> Given our slowly growing range of TCG emulations and the evident
> interest in keeping up with modern processor architectures is it worth
> having an emulation focused BoF at the up-coming KVM Forum?
>
> Some potential topics for discussion I could think of might include:
>
>  * Progress towards heterogeneous vCPU emulation
>
>  We've been making slow progress in removing assumptions from the
>  various front-ends about their global nature and adding accel:TCG
>  abstractions and support for the translator loop. We can already have
>  CPUs from the same architecture family in a model. What else do we need
>  to do so we can have those funky ARM+RiscV+Tricore heterogeneous
>  models? Is it library or something else?
>
>  * External Device Models
>
>  I know this is a contentious topic given the potential for GPL
>  end-runs. However there are also good arguments for enabling the
>  testing of open source designs without having forcing the
>  implementation of a separate C model to test software. For example if
>  we hypothetically modelled a Pi Pico would it make sense to model the
>  PIO in C if we could just compile the Verilog for it into a SystemC
>  model? Would a plethora of closed device models be the inevitable
>  consequence of such an approach? Would it matter if we just
>  concentrated on supporting useful open source solutions?
>
>  * Dynamic Machine Models
>
>  While we try and avoid modelling bespoke virtual HW in QEMU
>  (virt/goldfish not withstanding ;-) there is obviously a desire in the
>  EDA space to allow such experimentation. Is this something we can
>  provide so aspiring HW engineers can experiment with system
>  architectures without having to form QEMU and learn QOM. There have
>  been suggestions about consuming device trees or maybe translating to
>  QMP calls and adding support for wiring devices together. Given the
>  number of forks that exist is this something that could be better
>  supported upstream without degenerating into messy hacks?
>
>  * A sense of time
>
>  Currently we have the fairly limited support for -icount in QEMU. At
>  the same time we have no desire to start expanding frontends with
>  the details cost models required for a more realistic sense of time to
>  be presented. One suggestion is to expand the TCG plugin interface to
>  allow for the plugin to control time allowing as much or little logic
>  to be pushed there as we like and freeing up frontends from ever having
>  to consider it.
>
> Are any of these topics of interest? Are there any other emulation
> topics people would like to discuss?
>
> --
> Alex Bennée
>


-- 
Alex Bennée
KVM/QEMU Hacker for Linaro

[-- Attachment #2: Type: text/html, Size: 3848 bytes --]

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

* Re: Any interest in a QEMU emulation BoF at KVM Forum?
  2022-09-13  7:12 ` Alex Bennée
@ 2022-09-13  7:16   ` Cédric Le Goater
  2022-09-13  8:00     ` Daniel P. Berrangé
  0 siblings, 1 reply; 10+ messages in thread
From: Cédric Le Goater @ 2022-09-13  7:16 UTC (permalink / raw)
  To: Alex Bennée, qemu-devel
  Cc: Mark Burton, Bill Mills, Philippe Mathieu-Daudé,
	Edgar E. Iglesias, Richard Henderson, Paolo Bonzini,
	Peter Maydell, Michael Rolnik, Taylor Simpson, Song Gao,
	Xiaojuan Yang, Palmer Dabbelt, Alistair Francis, Bin Meng,
	David Gibson, Markus Armbruster, Michael Roth, Luc Michel,
	Damien Hedde, Alessandro Di Federico

On 9/13/22 09:12, Alex Bennée wrote:
> The BoF session will be in Lifey A (the big hall) this afternoon. I thought being able to sit around tables while we discuss things would make things a bit easier. We can share note taking on the etherpad:
> 
> https://etherpad.opendev.org/p/qemu-emulation-bof%40kvmforum2022 <https://etherpad.opendev.org/p/qemu-emulation-bof%40kvmforum2022>
> 
> I'll run a HO at: https://meet.google.com/rac-axef-xvv <https://meet.google.com/rac-axef-xvv>

Thanks for that. I will try to join. What time approximately ?

C.


> 
> On Wed, 31 Aug 2022 at 16:19, Alex Bennée <alex.bennee@linaro.org <mailto:alex.bennee@linaro.org>> wrote:
> 
>     Hi,
> 
>     Given our slowly growing range of TCG emulations and the evident
>     interest in keeping up with modern processor architectures is it worth
>     having an emulation focused BoF at the up-coming KVM Forum?
> 
>     Some potential topics for discussion I could think of might include:
> 
>       * Progress towards heterogeneous vCPU emulation
> 
>       We've been making slow progress in removing assumptions from the
>       various front-ends about their global nature and adding accel:TCG
>       abstractions and support for the translator loop. We can already have
>       CPUs from the same architecture family in a model. What else do we need
>       to do so we can have those funky ARM+RiscV+Tricore heterogeneous
>       models? Is it library or something else?
> 
>       * External Device Models
> 
>       I know this is a contentious topic given the potential for GPL
>       end-runs. However there are also good arguments for enabling the
>       testing of open source designs without having forcing the
>       implementation of a separate C model to test software. For example if
>       we hypothetically modelled a Pi Pico would it make sense to model the
>       PIO in C if we could just compile the Verilog for it into a SystemC
>       model? Would a plethora of closed device models be the inevitable
>       consequence of such an approach? Would it matter if we just
>       concentrated on supporting useful open source solutions?
> 
>       * Dynamic Machine Models
> 
>       While we try and avoid modelling bespoke virtual HW in QEMU
>       (virt/goldfish not withstanding ;-) there is obviously a desire in the
>       EDA space to allow such experimentation. Is this something we can
>       provide so aspiring HW engineers can experiment with system
>       architectures without having to form QEMU and learn QOM. There have
>       been suggestions about consuming device trees or maybe translating to
>       QMP calls and adding support for wiring devices together. Given the
>       number of forks that exist is this something that could be better
>       supported upstream without degenerating into messy hacks?
> 
>       * A sense of time
> 
>       Currently we have the fairly limited support for -icount in QEMU. At
>       the same time we have no desire to start expanding frontends with
>       the details cost models required for a more realistic sense of time to
>       be presented. One suggestion is to expand the TCG plugin interface to
>       allow for the plugin to control time allowing as much or little logic
>       to be pushed there as we like and freeing up frontends from ever having
>       to consider it.
> 
>     Are any of these topics of interest? Are there any other emulation
>     topics people would like to discuss?
> 
>     -- 
>     Alex Bennée
> 
> 
> 
> -- 
> Alex Bennée
> KVM/QEMU Hacker for Linaro



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

* Re: Any interest in a QEMU emulation BoF at KVM Forum?
  2022-09-13  7:16   ` Cédric Le Goater
@ 2022-09-13  8:00     ` Daniel P. Berrangé
  0 siblings, 0 replies; 10+ messages in thread
From: Daniel P. Berrangé @ 2022-09-13  8:00 UTC (permalink / raw)
  To: Cédric Le Goater
  Cc: Alex Bennée, qemu-devel, Mark Burton, Bill Mills,
	Philippe Mathieu-Daudé,
	Edgar E. Iglesias, Richard Henderson, Paolo Bonzini,
	Peter Maydell, Michael Rolnik, Taylor Simpson, Song Gao,
	Xiaojuan Yang, Palmer Dabbelt, Alistair Francis, Bin Meng,
	David Gibson, Markus Armbruster, Michael Roth, Luc Michel,
	Damien Hedde, Alessandro Di Federico

On Tue, Sep 13, 2022 at 09:16:07AM +0200, Cédric Le Goater wrote:
> On 9/13/22 09:12, Alex Bennée wrote:
> > The BoF session will be in Lifey A (the big hall) this afternoon. I thought being able to sit around tables while we discuss things would make things a bit easier. We can share note taking on the etherpad:
> > 
> > https://etherpad.opendev.org/p/qemu-emulation-bof%40kvmforum2022 <https://etherpad.opendev.org/p/qemu-emulation-bof%40kvmforum2022>
> > 
> > I'll run a HO at: https://meet.google.com/rac-axef-xvv <https://meet.google.com/rac-axef-xvv>
> 
> Thanks for that. I will try to join. What time approximately ?

The Tuesday BoF slot is 17:40-18:10

  https://events.linuxfoundation.org/kvm-forum/program/schedule/

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



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

end of thread, other threads:[~2022-09-13  8:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87a67kphih.fsf@linaro.org>
2022-08-31 15:44 ` Any interest in a QEMU emulation BoF at KVM Forum? Mark Burton
2022-08-31 16:14 ` Edgar E. Iglesias
2022-08-31 17:08 ` Alex Bennée
2022-09-01  2:21   ` 回复:Any " 刘志伟
2022-09-01 14:23     ` Alex Bennée
2022-09-01 14:48     ` Alex Bennée
2022-09-01 15:41 ` Any " Alessandro Di Federico via
2022-09-13  7:12 ` Alex Bennée
2022-09-13  7:16   ` Cédric Le Goater
2022-09-13  8:00     ` Daniel P. Berrangé

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.