Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:umwait_init

Proto:static int __init umwait_init(void)

Type:int

Parameter:Nothing

214  If Not boot_cpu_has(UMONITOR/UMWAIT/TPAUSE Instructions ) Then Return -ENODEV
222  rdmsrl(MSR_IA32_UMWAIT_CONTROL, Cache the original IA32_UMWAIT_CONTROL MSR value which is configured by* hardware or BIOS before kernel boot.)
224  ret = puhp_setup_state - Setup hotplug state callbacks with calling the callbacks*@state: The state for which the calls are installed*@name: Name of the callback (will be used in debug output)*@startup: startup callback function*@teardown: teardown callback
226  If ret < 0 Then
231  Return ret
234  register_syscore_ops( & umwait_syscore_ops)
240  dev = dev_root
241  Return sysfs_create_group( & kobj, & umwait_attr_group)