On Fri, Dec 31, 2010 at 8:36 PM, Robert Millan <firstname.lastname@example.org> wrote:
> 2010/12/28 Warner Losh <email@example.com>:
>> I reviewed the patch, and I liked it. Couldn't find anything wrong with it
>> when I first looked at it. Would be nice if things were more flexible, but
>> since generalizing from a sample size of one can be hard, I totally agree.
> Great. So will someone commit this? :-)
I will look at committing this.
BTW, The netlogic(RMI) contributed code had a different implementation
for this. The User Reserved Instruction exception had a fast path for
RDHWR which used k0/k1 and returned the value without taking the full
trap. I hadn't looked at adding that either (mostly because I did
not see an immediate requirement).
Another emulation missing in the kernel is for floating point...