]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/sgx: Use ENCLS mnemonic in <kernel/cpu/sgx/encls.h>
authorUros Bizjak <ubizjak@gmail.com>
Mon, 16 Jun 2025 08:56:30 +0000 (10:56 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 25 Aug 2025 15:28:43 +0000 (17:28 +0200)
commit13bdfb53aa04eeb8022af87288c5bc0a5d13a834
tree34debae3bfa5496be28fea3fcfa11c845d1b99cd
parent045f6a6e4dbaa0ecdee43bc2362676ff62ba5456
x86/sgx: Use ENCLS mnemonic in <kernel/cpu/sgx/encls.h>

Current minimum required version of binutils is 2.30, which supports ENCLS
instruction mnemonic.

Replace the byte-wise specification of ENCLS with this proper mnemonic.

No functional change intended.

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Link: https://lore.kernel.org/20250616085716.158942-1-ubizjak@gmail.com
arch/x86/kernel/cpu/sgx/encls.h