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] Remove no-XSAVE code paths (dead code) #1402

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 19, 2023

  1. [PAL/Linux-SGX] Remove no-XSAVE code paths (dead code)

    Commit "[PAL/Linux-SGX] Enforce AES-NI, XSAVE and RDRAND" enforced the
    XSAVE CPU feature. The Linux-SGX PAL still had some code that used
    no-XSAVE code paths, falling back to older FXSAVE. With that commit,
    such code became dead code.
    
    Also, this commit adds an additional enforcement: the OS must also
    enable the XSAVE feature, which is reflected in CPUID.1:ECX.OSXSAVE.
    
    Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
    dimakuv committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    80df8c3 View commit details
    Browse the repository at this point in the history