Platform numbers

Hollis Blanchard hollisb at us.ibm.com
Sat Jul 9 02:01:28 EST 2005


On Jul 8, 2005, at 7:45 AM, Michael Ellerman wrote:
>
> Are the platform numbers in asm-ppc64/processor.h private to Linux? Or 
> do
> firmware/hardware know about them?
>
> For pseries/pmac/maple it looks like we just assign them based on OF
> properties. For iSeries we check in the naca. I don't see where BPA 
> gets
> assigned?
>
> The reason I ask is PLATFORM_MAPLE is currently 0x0500 which means we 
> can't
> (easily) do any bit mask based trickery on platform numbers.

What did you have in mind? The low bit is already used to indicate 
LPAR, which is something we're using for Xen/PPC development (i.e. 
#define PLATFORM_MAPLE_LPAR   0x0501).

-- 
Hollis Blanchard
IBM Linux Technology Center




More information about the Linuxppc64-dev mailing list