qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [PATCH v4 10/20] ppc/xics: Make the ICSState a list


From: Cédric Le Goater
Subject: Re: [Qemu-ppc] [PATCH v4 10/20] ppc/xics: Make the ICSState a list
Date: Mon, 17 Oct 2016 10:13:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

On 10/17/2016 01:53 AM, David Gibson wrote:
> On Fri, Oct 14, 2016 at 09:35:46AM +0200, Cédric Le Goater wrote:
>> On 10/14/2016 07:32 AM, David Gibson wrote:
>>> On Mon, Oct 03, 2016 at 09:24:46AM +0200, Cédric Le Goater wrote:
>>>> From: Benjamin Herrenschmidt <address@hidden>
>>>>
>>>> Instead of an array of fixed sized blocks, use a list, as we will need
>>>> to have sources with variable number of interrupts. SPAPR only uses
>>>> a single entry. Native will create more. If performance becomes an
>>>> issue we can add some hashed lookup but for now this will do fine.
>>>>
>>>> Signed-off-by: Benjamin Herrenschmidt <address@hidden>
>>>> [ move the initialization of list to xics_common_initfn,
>>>>   restore xirr_owner after migration and move restoring to
>>>>   icp_post_load]
>>>> Signed-off-by: Nikunj A Dadhania <address@hidden>
>>>> [ clg: removed the icp_post_load() changes from nikunj patchset v3:
>>>>        http://patchwork.ozlabs.org/patch/646008/ ]
>>>> Signed-off-by: Cédric Le Goater <address@hidden>
>>>
>>> I think this and 11/20 are good enough and sufficiently standalone
>>> that I've merged them into ppc-for-2.8.
>>
>> These are a prereq for the patchset.
> 
> Sorry, I wasn't clear.  I realize they're prerequisites for the rest
> of the patchset.  What I meant is that they don't require the rest of
> the patchset to apply themselves, and they make some sense even
> without the rest of the series.

OK. I think there are a couple more cleanups we could do because the 
initialization is bit difficult to track. The way the ICPs are allocated 
is bit curious. I hope to have sometime for that after xics native is
merged.

I have made some migration tests on power8 tcg and kvm, we should be
fine.

Thanks,

C.
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]