mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
x86/fpu/apx: Enable APX state support
With securing APX against conflicting MPX, it is now ready to be enabled. Include APX in the enabled xfeature set. Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Sohil Mehta <sohil.mehta@intel.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Oleg Nesterov <oleg@redhat.com> Link: https://lore.kernel.org/r/20250416021720.12305-5-chang.seok.bae@intel.com
This commit is contained in:
parent
ea68e39190
commit
50c5b071e2
|
|
@ -32,7 +32,8 @@
|
|||
XFEATURE_MASK_PKRU | \
|
||||
XFEATURE_MASK_BNDREGS | \
|
||||
XFEATURE_MASK_BNDCSR | \
|
||||
XFEATURE_MASK_XTILE)
|
||||
XFEATURE_MASK_XTILE | \
|
||||
XFEATURE_MASK_APX)
|
||||
|
||||
/*
|
||||
* Features which are restored when returning to user space.
|
||||
|
|
|
|||
|
|
@ -371,7 +371,8 @@ static __init void os_xrstor_booting(struct xregs_state *xstate)
|
|||
XFEATURE_MASK_BNDCSR | \
|
||||
XFEATURE_MASK_PASID | \
|
||||
XFEATURE_MASK_CET_USER | \
|
||||
XFEATURE_MASK_XTILE)
|
||||
XFEATURE_MASK_XTILE | \
|
||||
XFEATURE_MASK_APX)
|
||||
|
||||
/*
|
||||
* setup the xstate image representing the init state
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user