On 6 September 2011 14:47, David Gilbert <[email protected]> wrote:
> On 6 September 2011 14:38, Mans Rullgard <[email protected]> wrote:
>
>> I have an old kernel patch somewhere that allows userspace to read the
>> ID register
>> by emulating the relevant MRC in the illegal instruction trap handler.  
>> Perhaps
>> this is something worth reviving.  With this approach, interpreting the ID 
>> value
>> would still be left as an exercise for the application.
>
> Would it be better for the kernel just to pass it in the AUXV somewhere?
> It's fine for the user space to interpret it - I'm thinking of ifunc
> to be able to decide
> based on a libraries idea that it knows what's better for a particular core.

A third possibility would be to stick it in somewhere in sysfs.

-- 
Mans Rullgard
Multimedia
[email protected]

_______________________________________________
linaro-dev mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to