Thread (7 messages) 7 messages, 3 authors, 2011-01-07

Re: 2.6.37-rc7: Regression: b43: crashes in hwrng_register()

flat view

From: Mario 'BitKoenig' Holbe <hidden>
Date: 2011-01-06 13:15:42
Also in: lkml

Possibly related (same subject, not in this thread)

Hello Herbert,

On Thu, Jan 06, 2011 at 05:12:41PM +1100, Herbert Xu wrote:
On Wed, Jan 05, 2011 at 02:16:22PM +0100, Mario 'BitKoenig' Holbe wrote:
quoted
attached. I hope I got the gcc call right. However, I prefer the objdump
output anyways, so this one is attached as well.
I see what you mean now.
Please let me know if this patch (still against vanilla) helps.
The patch helps. No crashes, meaningful random data - perfect.
I still have 2 small annotations...

1. Having ECX on the clobber-list is not really necessary.
XSTORE doesn't touch ECX at all.
REP XSTORE would touch it, but for this ECX would be an input anyways.

2. Would you mind doing the same for EDX as you did for EDI?
This doesn't really change anything currently, but will probably help
avoiding a debug-session like ours somewhere in the future :)

A patch that does both is attached - to apply on top of your patch, if
you like. I tested this patch - it passed all my tests: no crashes,
meaningful random data.


Thanks for your help & regards
   Mario
-- 
It is a capital mistake to theorize before one has data.
Insensibly one begins to twist facts to suit theories instead of theories
to suit facts.                   -- Sherlock Holmes by Arthur Conan Doyle

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help