On Tue, Aug 30, 2016 at 04:15:35PM +1000, Benjamin Herrenschmidt wrote:
> On Mon, 2016-08-29 at 10:30 -0400, David Gibson wrote:
> > 
> > Possibly.  In fact, I'm planning to eliminate cpu->cpu_dt_id at some
> > point, in favour of having the machine type construct the id when it
> > actually builds the dt.  It's not really a cpu level construct.
> 
> On PowerNV it is as it's equal to the PIR, the HW interrupt server,
> etc...

No.. the PIR itself is a cpu level construct (and we already have a
place for that in the cpu state).  The DT id as such isn't, although
it happens to have the same value.  The fact it has the same value is
itself a machine type property.

[Aside: removing dt_id from the cpu will require disentangling it from
the kvm vcpu id]

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