qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH RFC] spapr: disintricate core-id from DT semanti


From: David Gibson
Subject: Re: [Qemu-devel] [PATCH RFC] spapr: disintricate core-id from DT semantics
Date: Thu, 28 Jul 2016 09:33:03 +1000
User-agent: Mutt/1.6.2 (2016-07-01)

On Wed, Jul 27, 2016 at 12:06:17PM +0200, Greg Kurz wrote:
> Le Mon, 25 Jul 2016 16:01:31 +1000,
> David Gibson <address@hidden> a écrit :
> 
> > On Fri, Jul 22, 2016 at 01:10:36PM +0200, Greg Kurz wrote:
> > > The goal of this patch is to have a stable core-id which does not depend
> > > on any DT related semantics, which involve non-obvious computations on
> > > modern PowerPC server cpus.
> > > 
> > > With this patch, the DT core id is computed on-demand as:
> > > 
> > >        (core-id / smp_threads) * smt
> > > 
> > > where smt is the number of threads per core in the host.
> > > 
> > > This formula should be consolidated in a helper since it is needed in
> > > several places.  
> > 
> > It's a little odd you node this but don't do so.
> > 
> 
> I was too busy packing for holidays already :) and I think the consolidation
> work can be addressed in followup patches.

Heh, fair enough.

> Cheers from Brittany, under the rain.

Have fun.  Eat some chocolate pancakes for me.

-- 
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

Attachment: signature.asc
Description: PGP signature


reply via email to

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