Commit 1fe094a
committed
selftests/sgx: Remove incomplete ABI sanitization code in test enclave
JIRA: https://issues.redhat.com/browse/RHEL-22826
Upstream Status: merged into the linux.git
commit 886c5be
Author: Jo Van Bulck <jo.vanbulck@cs.kuleuven.be>
Date: Thu Oct 5 17:38:54 2023 +0200
selftests/sgx: Remove incomplete ABI sanitization code in test enclave
As the selftest enclave is *not* intended for production, simplify the
code by not initializing CPU configuration registers as expected by the
ABI on enclave entry or cleansing caller-save registers on enclave exit.
Signed-off-by: Jo Van Bulck <jo.vanbulck@cs.kuleuven.be>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Link: https://lore.kernel.org/all/da0cfb1e-e347-f7f2-ac72-aec0ee0d867d@intel.com/
Link: https://lore.kernel.org/all/20231005153854.25566-14-jo.vanbulck%40cs.kuleuven.be
Signed-off-by: Vladis Dronov <vdronov@redhat.com>1 parent 033547d commit 1fe094a
1 file changed
+3
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 67 | | |
78 | 68 | | |
79 | 69 | | |
| |||
0 commit comments