qemu-s390x
[Top][All Lists]
Advanced

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

Re: getting the console output for s390 cdrom-test?


From: Thomas Huth
Subject: Re: getting the console output for s390 cdrom-test?
Date: Fri, 12 Feb 2021 15:10:40 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

On 12/02/2021 13.05, Peter Maydell wrote:
On Fri, 12 Feb 2021 at 11:45, Thomas Huth <thuth@redhat.com> wrote:
I guess Cornelia simply meant a:

  asm volatile("nop":::"memory");

That will force the compiler not to reorder, but it doesn't
seem to me that it would really force the memory accesses to
appear to the other host CPU thread that's running the device
emulation. So either it's insufficient in the s390 memory model,
or our s390 emulation isn't being sufficiently rigorous about
implementing the memory model...

AFAIK s390x has a very strict memory ordering model... so maybe this is a problem with emulating a strict CPU on a less strict host CPU, indeed? ... CC:-ing Christian and Richard, maybe they have some additional ideas here...

 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]