Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262718AbVCKAkA (ORCPT ); Thu, 10 Mar 2005 19:40:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262878AbVCKAhs (ORCPT ); Thu, 10 Mar 2005 19:37:48 -0500 Received: from ozlabs.org ([203.10.76.45]:2526 "EHLO ozlabs.org") by vger.kernel.org with ESMTP id S262806AbVCKAgW (ORCPT ); Thu, 10 Mar 2005 19:36:22 -0500 Date: Fri, 11 Mar 2005 11:11:20 +1100 From: David Gibson To: Ingo Oeser Cc: Andrew Morton , Anton Blanchard , Paul Mackerras , linuxppc64-dev@lists.linuxppc.org, linux-kernel@vger.kernel.org Subject: Re: [PPC64] Allow emulation of mfpvr on ppc64 kernel Message-ID: <20050311001120.GA6512@localhost.localdomain> Mail-Followup-To: David Gibson , Ingo Oeser , Andrew Morton , Anton Blanchard , Paul Mackerras , linuxppc64-dev@lists.linuxppc.org, linux-kernel@vger.kernel.org References: <20050310021848.GD30435@localhost.localdomain> <200503102317.04027.ioe-lkml@axxeo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200503102317.04027.ioe-lkml@axxeo.de> User-Agent: Mutt/1.5.6+20040523i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1066 Lines: 26 On Thu, Mar 10, 2005 at 11:17:03PM +0100, Ingo Oeser wrote: > 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. Because this is easy and is the way we already do it on ppc32..? -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist. NOT _the_ _other_ _way_ | _around_! http://www.ozlabs.org/people/dgibson - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/