Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:If ART is present detect the numerator:denominator to convert to TSC

Proto:static void __init detect_art(void)

Type:void

Parameter:Nothing

1036  If Maximum supported CPUID level, -1=no CPUID: < ART_CPUID_LEAF Then Return
1043  If boot_cpu_has(Running on a hypervisor ) || Not boot_cpu_has(TSC does not stop in C states ) || Not boot_cpu_has(TSC adjustment MSR 0x3B ) || tsc_async_resets Then Return
1049  cpuid(ART_CPUID_LEAF, & art_to_tsc_denominator, & art_to_tsc_numerator, unused, unused + 1)
1052  If art_to_tsc_denominator < ART_MIN_DENOMINATOR Then Return
1055  rdmsrl(MSR_IA32_TSC_ADJUST, art_to_tsc_offset)
1058  setup_force_cpu_cap(Always running timer (ART) )
Caller
NameDescribe
tsc_init