[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Linux Sparc FPU register corruption



On Jun 9, 2015, at 3:02 PM, David Miller <davem@davemloft.net> wrote:
> Anyways, please put proper memory barriers into your testcase and
> let's see if the problem still triggers.

Okay, I edited my test case changing the asm to "membar #Sync; stda %%f0, [%0] 0xf0; membar #Sync". That should be entirely over-doing it, right? Problem still occurs within seconds.

And, don't forget Problem #2 -- which didn't even involve weird ASIs at all (at least, not in the test task itself).

On Jun 9, 2015, at 4:45 PM, David Miller <davem@davemloft.net> wrote:
> Just FYI, I commented out the usleep() in your test program and have
> been running your:
> 
> seq 64 | xargs -n1 -P64 /bin/sh -c 'while ./a.out; do : ; done'
> 
> test, and it's been running flawlessly for 2 hours on my T4.
> 
> This is with Linus's current tree.
> 
> I'll fire up my T3 later and try to reproduce it there.

Gah! Thanks for testing it on your setup!...but that's really unfortunate that you can't reproduce the problem!

What distro are you running? Maybe I should try the same thing you're using...

Anyone else reading this able to reproduce problems with my test program (or not?)

Reply to: