Re: [PPC64] Allow emulation of mfpvr on ppc64 kernel

From: Ingo Oeser
Date: Thu Mar 10 2005 - 17:31:17 EST

David Gibson wrote:
> Andrew, please apply.
> Allow userspace programs on ppc64 to use the (privileged) mfpvr
> instruction to determine the processor type. At the moment it
> emulates the instruction to provide the real PVR value, though it
> could be made to lie in future if for some reason we wish to restrict
> what CPU features userspace uses.

Why not putting the required information into the AUX table
when executing your ELF programs? I loved this feature in the
ix86 arch.


Ingo Oeser

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at