Files
kernel_common_drivers/include/linux/amlogic/dma_pcie_mapping.h
T
Jianxiong Pan 4155373e45 mm: add dma_pcie_ops for pcie whitelist. [1/1]
PD#SWPL-103303

Problem:
restrict pcie access to fixed area memory.

Solution:
add dma_pcie_ops for pcie whitelist.

Verify:
t3_ar321.

Change-Id: I1a2f8146359e403a706d640eb4674f959c35b839
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-01-07 06:19:05 -08:00

11 lines
265 B
C

/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
*/
extern const struct dma_map_ops aml_pcie_dma_ops;
void pcie_swiotlb_init(struct device *dma_dev);
int aml_dma_atomic_pool_init(struct device *dev);