qemu-ppc
[Top][All Lists]
Advanced

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

Re: [Qemu-ppc] [PATCH 3/3] ppc/pnv: add a PowerNVCPUCore object


From: David Gibson
Subject: Re: [Qemu-ppc] [PATCH 3/3] ppc/pnv: add a PowerNVCPUCore object
Date: Tue, 30 Aug 2016 02:28:20 -0400
User-agent: Mutt/1.7.0 (2016-08-17)

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

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