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:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:early_init_amd

Proto:static void early_init_amd(struct cpuinfo_x86 *c)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
630  early_init_amd_mc(c)
633  If CPU family == 6 Then set_cpu_cap(c, "" Athlon )
637  If CPU family >= 0xf Then set_cpu_cap(c, "" Opteron, Athlon64 )
640  dmsr with exception handling (AMD64 MSRs. Not complete. See the architecture manual for a more* complete list., & microcode, & dummy)
646  If x86_power & 1 << 8 Then
647  set_cpu_cap(c, TSC ticks at a constant rate )
648  set_cpu_cap(c, TSC does not stop in C states )
652  If x86_power & BIT(12) Then set_cpu_cap(c, AMD Accumulated Power Mechanism )
656  set_cpu_cap(c, "" syscall in IA32 userspace )
690  set_cpu_cap(c, Prefer VMMCALL to VMCALL )
693  If CPU family == 0x16 && x86_model <= 0xf Then Set @bit in a MSR @msr.* Retval:* < 0: An error was encountered.* = 0: Bit was already set.* > 0: Hardware accepted the MSR write.
702  If cpu_has_amd_erratum(c, amd_erratum_400) Then set_cpu_bug(c, CPU is among the affected by Erratum 400 )
705  early_detect_mem_encrypt(c)
708  If CPU family == 0x15 && x86_model >= 0x10 && x86_model <= 0x6f && Not cpu_has(c, Topology extensions CPUID leafs ) Then
713  rdmsrl(0xc0011005, value)
714  If value & BIT_64(54) Then
716  pr_info_once(FW_INFO"CPU: Re-enabling disabled Topology Extensions Support.\n")
721  amd_get_topology_early(c)
Caller
NameDescribe
init_amd