Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\fpu\xstate.c Create Date:2022-07-28 07:50:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Enable the extended processor state save/restore feature.* Called once per CPU onlining.

Proto:void fpu__init_cpu_xstate(void)

Type:void

Parameter:Nothing

216  If Not boot_cpu_has(XSAVE/XRSTOR/XSETBV/XGETBV instructions ) || Not Mask of xstate features supported by the CPU and the kernel: Then Return
223  WARN_ONCE((Mask of xstate features supported by the CPU and the kernel: & Supervisor features ), "x86/fpu: XSAVES supervisor states are not yet implemented.\n")
226  Mask of xstate features supported by the CPU and the kernel: &= ~Supervisor features
228  Set in this cpu's CR4.
229  xsetbv(XCR_XFEATURE_ENABLED_MASK, Mask of xstate features supported by the CPU and the kernel:)
Caller
NameDescribe
fpu__init_system_xstateEnable and initialize the xsave feature.* Called once per system bootup.
fpu__init_cpuEnable all supported FPU features. Called when a CPU is brought online: