Re: [Qemu-devel] [PATCH 02/17] pseries: rework XICS

2013-07-10 Thread Anthony Liguori
Benjamin Herrenschmidt b...@kernel.crashing.org writes: On Tue, 2013-07-09 at 08:58 -0500, Anthony Liguori wrote: There's nothing gross about making the things that are devices devices. But there is no such thing as the XICS ... The XICS is just the combination of ICP's and ICS... so XICS

Re: [Qemu-devel] [PATCH 02/17] pseries: rework XICS

2013-07-09 Thread Anthony Liguori
Benjamin Herrenschmidt b...@kernel.crashing.org writes: On Tue, 2013-07-09 at 13:40 +1000, Alexey Kardashevskiy wrote: No, why? It is a per CPU state of XICS controller, never exists apart from XICS. ICP is. ICS is ... different but can mostly be considered to be the XICS itself.

Re: [Qemu-devel] [PATCH 02/17] pseries: rework XICS

2013-07-09 Thread Alexey Kardashevskiy
On 07/09/2013 11:58 PM, Anthony Liguori wrote: Benjamin Herrenschmidt b...@kernel.crashing.org writes: On Tue, 2013-07-09 at 13:40 +1000, Alexey Kardashevskiy wrote: No, why? It is a per CPU state of XICS controller, never exists apart from XICS. ICP is. ICS is ... different but can

Re: [Qemu-devel] [PATCH 02/17] pseries: rework XICS

2013-07-09 Thread Benjamin Herrenschmidt
On Tue, 2013-07-09 at 08:58 -0500, Anthony Liguori wrote: There's nothing gross about making the things that are devices devices. But there is no such thing as the XICS ... The XICS is just the combination of ICP's and ICS... so XICS *is* the device... Cheers, Ben.

Re: [Qemu-devel] [PATCH 02/17] pseries: rework XICS

2013-07-08 Thread Anthony Liguori
Alexey Kardashevskiy a...@ozlabs.ru writes: On 06/27/2013 09:47 PM, David Gibson wrote: On Thu, Jun 27, 2013 at 04:45:45PM +1000, Alexey Kardashevskiy wrote: Currently XICS interrupt controller is not a QEMU device. As we are going to support in-kernel emulated XICS which is a part of KVM, it

Re: [Qemu-devel] [PATCH 02/17] pseries: rework XICS

2013-07-08 Thread Anthony Liguori
Alexey Kardashevskiy a...@ozlabs.ru writes: Currently XICS interrupt controller is not a QEMU device. As we are going to support in-kernel emulated XICS which is a part of KVM, it make sense not to extend the existing XICS and have multiple KVM stub functions but to create yet another device

Re: [Qemu-devel] [PATCH 02/17] pseries: rework XICS

2013-07-08 Thread Alexey Kardashevskiy
On 07/09/2013 04:22 AM, Anthony Liguori wrote: Alexey Kardashevskiy a...@ozlabs.ru writes: Currently XICS interrupt controller is not a QEMU device. As we are going to support in-kernel emulated XICS which is a part of KVM, it make sense not to extend the existing XICS and have multiple KVM

Re: [Qemu-devel] [PATCH 02/17] pseries: rework XICS

2013-07-08 Thread Benjamin Herrenschmidt
On Tue, 2013-07-09 at 13:40 +1000, Alexey Kardashevskiy wrote: No, why? It is a per CPU state of XICS controller, never exists apart from XICS. ICP is. ICS is ... different but can mostly be considered to be the XICS itself. Anthony, we could be completely anal about it and create a gigantic

Re: [Qemu-devel] [PATCH 02/17] pseries: rework XICS

2013-07-01 Thread David Gibson
On Thu, Jun 27, 2013 at 10:17:19PM +1000, Alexey Kardashevskiy wrote: On 06/27/2013 09:47 PM, David Gibson wrote: On Thu, Jun 27, 2013 at 04:45:45PM +1000, Alexey Kardashevskiy wrote: Currently XICS interrupt controller is not a QEMU device. As we are going to support in-kernel emulated

Re: [Qemu-devel] [PATCH 02/17] pseries: rework XICS

2013-07-01 Thread Alexander Graf
On 02.07.2013, at 02:06, David Gibson wrote: On Thu, Jun 27, 2013 at 10:17:19PM +1000, Alexey Kardashevskiy wrote: On 06/27/2013 09:47 PM, David Gibson wrote: On Thu, Jun 27, 2013 at 04:45:45PM +1000, Alexey Kardashevskiy wrote: Currently XICS interrupt controller is not a QEMU device. As we

Re: [Qemu-devel] [PATCH 02/17] pseries: rework XICS

2013-07-01 Thread Alexey Kardashevskiy
On 07/02/2013 10:21 AM, Alexander Graf wrote: On 02.07.2013, at 02:06, David Gibson wrote: On Thu, Jun 27, 2013 at 10:17:19PM +1000, Alexey Kardashevskiy wrote: On 06/27/2013 09:47 PM, David Gibson wrote: On Thu, Jun 27, 2013 at 04:45:45PM +1000, Alexey Kardashevskiy wrote: Currently XICS

[Qemu-devel] [PATCH 02/17] pseries: rework XICS

2013-06-27 Thread Alexey Kardashevskiy
Currently XICS interrupt controller is not a QEMU device. As we are going to support in-kernel emulated XICS which is a part of KVM, it make sense not to extend the existing XICS and have multiple KVM stub functions but to create yet another device and share pieces between fully emulated XICS and

Re: [Qemu-devel] [PATCH 02/17] pseries: rework XICS

2013-06-27 Thread David Gibson
On Thu, Jun 27, 2013 at 04:45:45PM +1000, Alexey Kardashevskiy wrote: Currently XICS interrupt controller is not a QEMU device. As we are going to support in-kernel emulated XICS which is a part of KVM, it make sense not to extend the existing XICS and have multiple KVM stub functions but to

Re: [Qemu-devel] [PATCH 02/17] pseries: rework XICS

2013-06-27 Thread Alexey Kardashevskiy
On 06/27/2013 09:47 PM, David Gibson wrote: On Thu, Jun 27, 2013 at 04:45:45PM +1000, Alexey Kardashevskiy wrote: Currently XICS interrupt controller is not a QEMU device. As we are going to support in-kernel emulated XICS which is a part of KVM, it make sense not to extend the existing XICS