Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:init_zhaoxin_cap

Proto:static void init_zhaoxin_cap(struct cpuinfo_x86 *c)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
31  If CPUID functions returning a single datum >= 0xC0000001 Then
32  tmp = cpuid_edx(0xC0000001)
35  If (tmp & (ACE_PRESENT | ACE_ENABLED)) == ACE_PRESENT Then
40  pr_info("CPU: Enabled ACE h/w crypto\n")
44  If (tmp & (RNG_PRESENT | RNG_ENABLED)) == RNG_PRESENT Then
49  pr_info("CPU: Enabled h/w RNG\n")
56  x86_capability[CPUID_C000_0001_EDX] = cpuid_edx(0xC0000001)
59  If CPU family >= 0x6 Then set_cpu_cap(c, REP microcode works well )
62  cpu_detect_cache_sizes(c)
Caller
NameDescribe
init_zhaoxin