Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PAL/Linux-SGX] Add AEX-Notify enabling code #2034

Open
wants to merge 1 commit into
base: dimakuv/aex-notify-part2
Choose a base branch
from

Commits on Oct 16, 2024

  1. [PAL/Linux-SGX] Add AEX-Notify enabling code

    This is a preparatory commit for AEX-Notify support. This commit:
    - Introduces the `sgx.experimental_enable_aex_notify` manifest option.
    - Adds architectural flags/bits for SECS, TCS, SSA data structures.
    - Adds a Gramine startup check whether AEX-Notify hardware feature is
      supported by the platform.
    - Adds dynamic enablement/disablement of AEX-Notify feature per enclave
      thread (enable on thread creation, disable on thread termination).
      Currently per-thread enablement is commented out, as otherwise Gramine
      would segfault (as in-enclave code doesn't yet implement AEX-Notify).
    
    Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
    dimakuv committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    1f34f81 View commit details
    Browse the repository at this point in the history