Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\amd_nb.c Create Date:2022-07-28 08:43:52
Last Modify:2020-03-16 21:36:56 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:amd_cache_gart

Proto:static void amd_cache_gart(void)

Type:void

Parameter:Nothing

436  If Not amd_nb_has_feature(AMD_NB_GART) Then Return
439  flush_words = kmalloc_array - allocate memory for an array.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc).
440  If Not flush_words Then
441  flags &= ~AMD_NB_GART
442  pr_notice("Cannot initialize GART flush words, GART support disabled\n")
443  Return
446  When i != num cycle pci_read_config_dword(misc, 0x9c, & flush_words[i])
Caller
NameDescribe
init_amd_nbs