futex_ldxr_stxr.c: fully reproducible in dynamically linked simulation

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-06-25 12:00:11 +00:00
parent d4a17ec6ea
commit abf274ab7a
3 changed files with 22 additions and 14 deletions

View File

@@ -22969,6 +22969,10 @@ Examples:
* link:userland/arch/aarch64/inline_asm/wfe_ldxr_stxr.cpp[]
* link:userland/arch/aarch64/inline_asm/wfe_ldxr_str.cpp[]
* link:userland/arch/aarch64/inline_asm/futex_ldxr_stxr.c[]: tests that ldxr and stxr do not interact with futexes. This was leading to problems in <<gem5-syscall-emulation-mode>> at one point: https://gem5.atlassian.net/browse/GEM5-537
+
Correct outcome: <<gem5-simulate-limit-reached>>.
+
Incorrect behaviour due to: https://gem5.atlassian.net/browse/GEM5-537[]: Exits successfully. */
SEV is not the only thing that can wake up a WFE, it is only an explicit software way to do it.