aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJo Van Bulck <[email protected]>2023-10-05 17:38:44 +0200
committerDave Hansen <[email protected]>2023-12-08 10:05:26 -0800
commit853a57a43ebdb8c024160c1a0990bae85f4bcc2f (patch)
tree45199e7dec950e2e11139ee1913b73053e26fc37 /scripts/gdb/linux/utils.py
parentb84fc2e0139ba4b23b8039bd7cfd242894fe8f8b (diff)
selftests/sgx: Include memory clobber for inline asm in test enclave
Add the "memory" clobber to the EMODPE and EACCEPT asm blocks to tell the compiler the assembly code accesses to the secinfo struct. This ensures the compiler treats the asm block as a memory barrier and the write to secinfo will be visible to ENCLU. Fixes: 20404a808593 ("selftests/sgx: Add test for EPCM permission changes") Signed-off-by: Jo Van Bulck <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Reviewed-by: Kai Huang <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Link: https://lore.kernel.org/all/20231005153854.25566-4-jo.vanbulck%40cs.kuleuven.be
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions