Kyle Roarty has submitted this change. (
https://gem5-review.googlesource.com/c/public/gem5/+/30154 )
Change subject: sim-se: Ignore unimplemented system call
......................................................................
sim-se: Ignore unimplemented system call
System call sched_setaffinity causes crashes when running programs
that use ROCm. Ignoring the system call allows for the programs
to run to completion.
Change-Id: I27c767ef81091789e228d47f2bb5f6fa18f11539
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30154
Reviewed-by: Brandon Potter <[email protected]>
Reviewed-by: Matt Sinclair <[email protected]>
Maintainer: Brandon Potter <[email protected]>
Tested-by: kokoro <[email protected]>
---
M src/arch/x86/linux/process.cc
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Brandon Potter: Looks good to me, approved; Looks good to me, approved
Matt Sinclair: Looks good to me, approved
kokoro: Regressions pass
diff --git a/src/arch/x86/linux/process.cc b/src/arch/x86/linux/process.cc
index 2c594e7..3a86b76 100644
--- a/src/arch/x86/linux/process.cc
+++ b/src/arch/x86/linux/process.cc
@@ -460,7 +460,7 @@
{ 200, "tkill" },
{ 201, "time", timeFunc<X86Linux64> },
{ 202, "futex", futexFunc<X86Linux64> },
- { 203, "sched_setaffinity" },
+ { 203, "sched_setaffinity", ignoreFunc },
{ 204, "sched_getaffinity", ignoreFunc },
{ 205, "set_thread_area" },
{ 206, "io_setup" },
@@ -837,7 +837,7 @@
{ 238, "tkill" },
{ 239, "sendfile64" },
{ 240, "futex" },
- { 241, "sched_setaffinity" },
+ { 241, "sched_setaffinity", ignoreFunc },
{ 242, "sched_getaffinity", ignoreFunc },
{ 243, "set_thread_area", setThreadArea32Func },
{ 244, "get_thread_area" },
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/30154
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I27c767ef81091789e228d47f2bb5f6fa18f11539
Gerrit-Change-Number: 30154
Gerrit-PatchSet: 2
Gerrit-Owner: Kyle Roarty <[email protected]>
Gerrit-Reviewer: Anthony Gutierrez <[email protected]>
Gerrit-Reviewer: Bradford Beckmann <[email protected]>
Gerrit-Reviewer: Brandon Potter <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: Kyle Roarty <[email protected]>
Gerrit-Reviewer: Matt Sinclair <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s