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

Name:map_gru_high

Proto:static __init void map_gru_high(int max_pnode)

Type:void

Parameter:

TypeParameterName
intmax_pnode
839  shift = s_uv4_hub
840  mask = s_uv4_hub
843  v = uv_read_local_mmr(s_uv4_hub)
844  If Not RW Then
845  pr_info("UV: GRU disabled\n")
846  Return
850  If is_uv3_hub() && RW Then
851  map_gru_distributed(v)
852  Return
855  base = (v & mask) >> shift
856  map_high("GRU", base, shift, shift, max_pnode, map_wb)
857  gru_start_paddr = base << shift
858  gru_end_paddr = gru_start_paddr + (1UL << shift) * (max_pnode + 1)
Caller
NameDescribe
uv_system_init_hub