On 6 September 2011 14:47, David Gilbert <david.gilb...@linaro.org> wrote: > On 6 September 2011 14:38, Mans Rullgard <mans.rullg...@linaro.org> 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 mans.rullg...@linaro.org _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev