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:47
Last Modify:2020-03-16 21:36:56 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Ignores subdevice/subvendor but as far as I can figure out* they're useless anyways

Proto:bool __init early_is_amd_nb(unsigned int device)

Type:bool

Parameter:

TypeParameterName
unsigned intdevice
329  misc_ids = amd_nb_misc_ids
331  vendor = device & 0xffff
333  If x86_vendor != X86_VENDOR_AMD && x86_vendor != X86_VENDOR_HYGON Then Return false
337  If x86_vendor == X86_VENDOR_HYGON Then misc_ids = hygon_nb_misc_ids
340  device >>= 16
341  When vendor cycle If vendor == vendor && device == Vendor and device ID or PCI_ANY_ID Then
343  Return true
344  Return false
Caller
NameDescribe
early_gart_iommu_checkWith kexec/kdump, if the first kernel doesn't shut down the GART and the* second kernel allocates a different GART region, there might be two* overlapping GART regions present:* - the first still used by the GART initialized in the first kernel.
gart_iommu_hole_init