[RFC PATCH 0/5] ARM: introducing DT topology

Catalin Marinas catalin.marinas at arm.com
Thu Jan 19 07:18:32 EST 2012


On Wed, Jan 18, 2012 at 06:04:53PM +0000, Russell King - ARM Linux wrote:
> On Wed, Jan 18, 2012 at 05:50:28PM +0000, Lorenzo Pieralisi wrote:
> > > This sounds like you're saying that the contents of MPIDR might be buggy
> > > sometime in the future?  Do we actually know of any situations where the
> > > information in there is currently wrong (outside of the development lab)?
> > > If not, it's not something we should cater for until it's actually happened,
> > > and then the pain should be felt by those silly enough to allow the chip
> > > to go out the door.
> > 
> > I share your view Russell. Having said that: MPIDR is IMPLEMENTATION DEFINED.
> 
> I'll assume you mean that it's left to the implementation to set MPIDR
> appropriately, and you're expecting implementations to make mistakes
> with it.

I think what Lorenzo means is that MPIDR is indeed a mandated register
with certain bits specified by the ARM ARM. However, the affinity bits
are left to the implementation. The ARM ARM makes recommendations and
gives some examples but they are not mandatory. An implementer is under
no legal obligation to follow the examples. It is not that unlikely that
someone in the future may use a different cluster/processor counting
scheme than ours. Also in the context of virtualisation, the lower
affinity field may be used for virtual CPUs counting).

-- 
Catalin



More information about the linux-arm-kernel mailing list