Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Use global flush state to avoid races with multiple flushers.

Proto:static void flush_gart(void)

Type:void

Parameter:Nothing

144  spin_lock_irqsave( & Allocation bitmap for the remapping area: , flags)
145  If global flush state. set for each gart wrap Then
146  amd_flush_garts()
147  global flush state. set for each gart wrap = false
149  spin_unlock_irqrestore( & Allocation bitmap for the remapping area: , flags)
Caller
NameDescribe
gart_map_pageMap a single area into the IOMMU
dma_map_sg_nonforceFallback for dma_map_sg in case of overflow
gart_map_sgDMA map all entries in a scatterlist.* Merge chunks that have page aligned sizes into a continuous mapping.
gart_alloc_coherentallocate and map a coherent mapping
init_amd_gattPrivate Northbridge GATT initialization in case we cannot use the* AGP driver for some reason.
gart_iommu_init