Probing for native availability of isel from userspace
Benjamin Herrenschmidt
benh at kernel.crashing.org
Mon Sep 24 19:41:55 EST 2012
On Mon, 2012-09-24 at 10:06 +0200, Gabriel Paubert wrote:
> > Which we do. mfpvr is available as a fallback (essentially because if we
> > don't do it somebody's going to parse /proc/cpuinfo which is arguably
> > worse :-)
>
> Fine. But I believe that mfpvr emulation came first, which is the point
> I object to (see the mess that the fact that CPUID is available to
> applications made to x86 when SSE registers were added).
Heh, possibly, I don't remember... I added the cputable, I think we
added mfpvr because we didn't have anything, then I added cputable which
got us the HW caps, but some old stuff still relied on mfpvr so we
couldn't completely remove it.
> Bottom line, the mappin between PVR and capabilities offered to
> applications should happen in one place, and this place is the kernel.
Yes, we all agree here.
> >
> > We should definitely advertise the availability of isel.
>
> Agreed.
If somebody has 5mn, patch welcome :-)
Cheers,
Ben.
More information about the Linuxppc-dev
mailing list