Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:init_amd_k8

Proto:static void init_amd_k8(struct cpuinfo_x86 *c)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
730  level = CPUID functions returning a single datum
731  If level >= 0x0f48 && level < 0x0f50 || level >= 0x0f58 Then set_cpu_cap(c, REP microcode works well )
739  If x86_model < 0x14 && cpu_has(c, LAHF/SAHF in long mode ) Then
740  clear_cpu_cap(c, LAHF/SAHF in long mode )
741  If Not rdmsrl_amd_safe(0xc001100d, & value) Then
742  value &= ~BIT_64(32)
743  wrmsrl_amd_safe(0xc001100d, value)
747  If Not x86_model_id[0] Then strcpy(x86_model_id, "Hammer")
760  set_cpu_bug(c, SWAPGS without input dep on GS )
Caller
NameDescribe
init_amd