Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:uv_tsc_check_sync

Proto:static void __init uv_tsc_check_sync(void)

Type:void

Parameter:Nothing

157  mmr = uv_early_read_mmr(TSC sync valid, set by BIOS )
158  mmr_shift = If If WARNING: UVx_HUB_IS_SUPPORTED defines are deprecated and will be removed Then 0 Else is_uv2_hub() Then UV2/3k have different bits Else UVH_TSC_SYNC_SHIFT
161  If mmr_shift Then sync_state = mmr >> mmr_shift & 0011
163  Else sync_state = 0
167  Case sync_state == 0011
168  state = "in sync"
169  valid = true
170  Break
172  Case sync_state == 0010
173  state = "unstable"
174  valid = false
175  Break
176  Default
177  state = "unknown: assuming valid"
178  valid = true
179  Break
181  pr_info("UV: TSC sync state from BIOS:0%d(%s)\n", sync_state, state)
184  If valid Then mark_tsc_async_resets("UV BIOS")
186  Else mark_tsc_unstable("UV BIOS")
Caller
NameDescribe
uv_acpi_madt_oem_check