Re: [Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-27 Thread David Gibson
On Tue, Nov 27, 2018 at 08:30:15AM +0100, Cédric Le Goater wrote: > On 11/27/18 1:11 AM, David Gibson wrote: > > On Mon, Nov 26, 2018 at 10:39:44AM +0100, Cédric Le Goater wrote: > >> On 11/26/18 6:44 AM, David Gibson wrote: > >>> On Fri, Nov 23, 2018 at 11:28:24AM +0100, Cédric Le Goater wrote: >

Re: [Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-27 Thread Cédric Le Goater
On 11/27/18 2:54 AM, David Gibson wrote: > On Fri, Nov 23, 2018 at 09:06:07AM +0100, Cédric Le Goater wrote: >> On 11/23/18 4:50 AM, David Gibson wrote: >>> On Thu, Nov 22, 2018 at 08:53:00AM +0100, Cédric Le Goater wrote: On 11/22/18 5:11 AM, David Gibson wrote: > On Fri, Nov 16, 2018 at

Re: [Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-26 Thread Cédric Le Goater
On 11/27/18 1:11 AM, David Gibson wrote: > On Mon, Nov 26, 2018 at 10:39:44AM +0100, Cédric Le Goater wrote: >> On 11/26/18 6:44 AM, David Gibson wrote: >>> On Fri, Nov 23, 2018 at 11:28:24AM +0100, Cédric Le Goater wrote: On 11/23/18 2:10 AM, David Gibson wrote: > On Thu, Nov 22, 2018 at

Re: [Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-26 Thread David Gibson
On Fri, Nov 23, 2018 at 09:06:07AM +0100, Cédric Le Goater wrote: > On 11/23/18 4:50 AM, David Gibson wrote: > > On Thu, Nov 22, 2018 at 08:53:00AM +0100, Cédric Le Goater wrote: > >> On 11/22/18 5:11 AM, David Gibson wrote: > >>> On Fri, Nov 16, 2018 at 11:56:57AM +0100, Cédric Le Goater > wrote:

Re: [Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-26 Thread David Gibson
On Mon, Nov 26, 2018 at 10:39:44AM +0100, Cédric Le Goater wrote: > On 11/26/18 6:44 AM, David Gibson wrote: > > On Fri, Nov 23, 2018 at 11:28:24AM +0100, Cédric Le Goater wrote: > >> On 11/23/18 2:10 AM, David Gibson wrote: > >>> On Thu, Nov 22, 2018 at 05:50:07PM +1100, Benjamin Herrenschmidt

Re: [Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-26 Thread Cédric Le Goater
On 11/26/18 6:44 AM, David Gibson wrote: > On Fri, Nov 23, 2018 at 11:28:24AM +0100, Cédric Le Goater wrote: >> On 11/23/18 2:10 AM, David Gibson wrote: >>> On Thu, Nov 22, 2018 at 05:50:07PM +1100, Benjamin Herrenschmidt wrote: On Thu, 2018-11-22 at 15:44 +1100, David Gibson wrote: >

Re: [Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-25 Thread David Gibson
On Fri, Nov 23, 2018 at 11:28:24AM +0100, Cédric Le Goater wrote: > On 11/23/18 2:10 AM, David Gibson wrote: > > On Thu, Nov 22, 2018 at 05:50:07PM +1100, Benjamin Herrenschmidt wrote: > >> On Thu, 2018-11-22 at 15:44 +1100, David Gibson wrote: > >>> > >>> Sorry, didn't think of this in my first

Re: [Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-23 Thread Cédric Le Goater
On 11/23/18 2:10 AM, David Gibson wrote: > On Thu, Nov 22, 2018 at 05:50:07PM +1100, Benjamin Herrenschmidt wrote: >> On Thu, 2018-11-22 at 15:44 +1100, David Gibson wrote: >>> >>> Sorry, didn't think of this in my first reply. >>> >>> 1) Does the hardware ever actually write back to the EAS? I

Re: [Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-23 Thread Cédric Le Goater
On 11/23/18 4:50 AM, David Gibson wrote: > On Thu, Nov 22, 2018 at 08:53:00AM +0100, Cédric Le Goater wrote: >> On 11/22/18 5:11 AM, David Gibson wrote: >>> On Fri, Nov 16, 2018 at 11:56:57AM +0100, Cédric Le Goater wrote: The XiveRouter models the second sub-engine of the overall XIVE

Re: [Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-22 Thread David Gibson
On Thu, Nov 22, 2018 at 08:53:00AM +0100, Cédric Le Goater wrote: > On 11/22/18 5:11 AM, David Gibson wrote: > > On Fri, Nov 16, 2018 at 11:56:57AM +0100, Cédric Le Goater wrote: > >> The XiveRouter models the second sub-engine of the overall XIVE > >> architecture : the Interrupt Virtualization

Re: [Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-22 Thread David Gibson
On Thu, Nov 22, 2018 at 05:50:07PM +1100, Benjamin Herrenschmidt wrote: > On Thu, 2018-11-22 at 15:44 +1100, David Gibson wrote: > > > > Sorry, didn't think of this in my first reply. > > > > 1) Does the hardware ever actually write back to the EAS? I know it > > does for the END, but it's not

Re: [Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-22 Thread David Gibson
On Thu, Nov 22, 2018 at 08:59:32AM +0100, Cédric Le Goater wrote: > On 11/22/18 7:50 AM, Benjamin Herrenschmidt wrote: > > On Thu, 2018-11-22 at 15:44 +1100, David Gibson wrote: > >> > >> Sorry, didn't think of this in my first reply. > >> > >> 1) Does the hardware ever actually write back to the

Re: [Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-22 Thread Cédric Le Goater
On 11/22/18 7:50 AM, Benjamin Herrenschmidt wrote: > On Thu, 2018-11-22 at 15:44 +1100, David Gibson wrote: >> >> Sorry, didn't think of this in my first reply. >> >> 1) Does the hardware ever actually write back to the EAS? I know it >> does for the END, but it's not clear why it would need to

Re: [Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-21 Thread Cédric Le Goater
On 11/22/18 5:11 AM, David Gibson wrote: > On Fri, Nov 16, 2018 at 11:56:57AM +0100, Cédric Le Goater wrote: >> The XiveRouter models the second sub-engine of the overall XIVE >> architecture : the Interrupt Virtualization Routing Engine (IVRE). >> >> The IVRE handles event notifications of the

Re: [Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-21 Thread Benjamin Herrenschmidt
On Thu, 2018-11-22 at 15:44 +1100, David Gibson wrote: > > Sorry, didn't think of this in my first reply. > > 1) Does the hardware ever actually write back to the EAS? I know it > does for the END, but it's not clear why it would need to for the > EAS. If not, we don't need the setter. Nope,

Re: [Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-21 Thread David Gibson
On Fri, Nov 16, 2018 at 11:56:57AM +0100, Cédric Le Goater wrote: > The XiveRouter models the second sub-engine of the overall XIVE > architecture : the Interrupt Virtualization Routing Engine (IVRE). > > The IVRE handles event notifications of the IVSE through MMIO stores > and performs the

Re: [Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-21 Thread David Gibson
On Fri, Nov 16, 2018 at 11:56:57AM +0100, Cédric Le Goater wrote: > The XiveRouter models the second sub-engine of the overall XIVE > architecture : the Interrupt Virtualization Routing Engine (IVRE). > > The IVRE handles event notifications of the IVSE through MMIO stores > and performs the

[Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-16 Thread Cédric Le Goater
The XiveRouter models the second sub-engine of the overall XIVE architecture : the Interrupt Virtualization Routing Engine (IVRE). The IVRE handles event notifications of the IVSE through MMIO stores and performs the interrupt routing process. For this purpose, it uses a set of table stored in