[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH 1/7] spapr: Clean up cpu realize/unrealize paths
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [PATCH 1/7] spapr: Clean up cpu realize/unrealize paths |
Date: |
Wed, 13 Jun 2018 18:52:46 +1000 |
User-agent: |
Mutt/1.10.0 (2018-05-17) |
On Wed, Jun 13, 2018 at 10:11:45AM +0200, Cédric Le Goater wrote:
> On 06/13/2018 08:57 AM, David Gibson wrote:
> > spapr_cpu_init() and spapr_cpu_destroy() are only called from the spapr
> > cpu core realize/unrealize paths, and really can only be called from there.
> >
> > Those are all short functions, so fold the pairs together for simplicity.
> > While we're there rename some functions and change some parameter types
> > for brevity and clarity.
> >
> > Signed-off-by: David Gibson <address@hidden>
>
> Reviewed-by: Cédric Le Goater <address@hidden>
>
> Still a call to spapr_cpu_reset(cpu). We should try to get rid of it
> one day.
Yeah, I know. I'm wrestling with that along with some of the pagesize
stuff.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature
[Qemu-ppc] [PATCH 4/7] pnv: Clean up cpu realize path, David Gibson, 2018/06/13
[Qemu-ppc] [PATCH 1/7] spapr: Clean up cpu realize/unrealize paths, David Gibson, 2018/06/13
[Qemu-ppc] [PATCH 5/7] pnv: Add cpu unrealize path, David Gibson, 2018/06/13
[Qemu-ppc] [PATCH 3/7] pnv_core: Allocate cpu thread objects individually, David Gibson, 2018/06/13
[Qemu-ppc] [PATCH 7/7] target/ppc, spapr: Move VPA information to machine_data, David Gibson, 2018/06/13
[Qemu-ppc] [PATCH 6/7] target/ppc: Replace intc pointer with a general machine_data pointer, David Gibson, 2018/06/13