[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH 11/25] spapr: describe the XIVE interrupt source f
Cédric Le Goater
Re: [Qemu-ppc] [PATCH 11/25] spapr: describe the XIVE interrupt source flags
Sat, 2 Dec 2017 15:50:13 +0100
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
On 12/02/2017 03:48 PM, Benjamin Herrenschmidt wrote:
> On Sat, 2017-12-02 at 15:38 +0100, Cédric Le Goater wrote:
>> Hmm, yes. So, the current design for sPAPR handles all sources
>> under the same XIVE object with a global memory region for all
>> the ESBs.
>> The first RFC had a mechanism to register source objects into
>> the XIVE main one, allocating the IRQs per source and mapping
>> the ESBs in the overall region. A bit like OPAL does. I then
>> simplified for the sake of clarity and merged everything under
>> the same XIVE object.
>> Shall I reintroduce multiples sources support ? and provide a
>> default one for IPIs and virtual devices of the machine.
> That or you need state bits ;-)
yeah. I started with state bits and thought I could hack the PQ
ones but that's wrong.