Searched hist:"23686 ef25d4ae81bc12fe3994d1905191fcf71f8" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/x86/include/asm/fpu/ |
H A D | xstate.h | diff 23686ef25d4ae81bc12fe3994d1905191fcf71f8 Thu Oct 21 17:55:11 CDT 2021 Thomas Gleixner <tglx@linutronix.de> x86/fpu: Add basic helpers for dynamically enabled features
To allow building up the infrastructure required to support dynamically enabled FPU features, add:
- XFEATURES_MASK_DYNAMIC
This constant will hold xfeatures which can be dynamically enabled.
- fpu_state_size_dynamic()
A static branch for 64-bit and a simple 'return false' for 32-bit.
This helper allows to add dynamic-feature-specific changes to common code which is shared between 32-bit and 64-bit without #ifdeffery.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20211021225527.10184-8-chang.seok.bae@intel.com
|
/openbmc/linux/arch/x86/kernel/fpu/ |
H A D | core.c | diff 23686ef25d4ae81bc12fe3994d1905191fcf71f8 Thu Oct 21 17:55:11 CDT 2021 Thomas Gleixner <tglx@linutronix.de> x86/fpu: Add basic helpers for dynamically enabled features
To allow building up the infrastructure required to support dynamically enabled FPU features, add:
- XFEATURES_MASK_DYNAMIC
This constant will hold xfeatures which can be dynamically enabled.
- fpu_state_size_dynamic()
A static branch for 64-bit and a simple 'return false' for 32-bit.
This helper allows to add dynamic-feature-specific changes to common code which is shared between 32-bit and 64-bit without #ifdeffery.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20211021225527.10184-8-chang.seok.bae@intel.com
|