-
由 Chang S. Bae 提交于
mainline inclusion from mainline-v5.16-rc1 commit 2ae996e0 category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I590ZC CVE: NA Intel-SIG: commit 2ae996e0 x86/fpu: Calculate the default sizes independently. -------------------------------- When dynamically enabled states are supported the maximum and default sizes for the kernel buffers and user space interfaces are not longer identical. Put the necessary calculations in place which only take the default enabled features into account. Signed-off-by: NChang S. Bae <chang.seok.bae@intel.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de> Signed-off-by: NBorislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20211021225527.10184-22-chang.seok.bae@intel.comSigned-off-by: NLin Wang <lin.x.wang@intel.com>
970156da