Fork me on GitHub
侧边栏
摘要: DMA(Direct Memory Access)的strict和non-strict模式是内存访问的两种不同方式,主要涉及数据一致性和性能之间的权衡。让我为您详细解释这两种模式的区别: Strict 模式(严格模式): 特性 Strict 模式 Non-Strict 模式 数据一致性 高 较低 性 阅读全文
posted @ 2024-10-14 22:31 yooooooo 阅读(81) 评论(0) 推荐(0)
摘要: 概述 前两周有人询问DMA下的cache操作和dma-coherent。以前零碎看过代码。临时找,还没有找到。 这两天整理了调用流程,也找到了dma-coherent的用法。Linux的文档里没有详细说明dma-coherent的用法。根据代码,如果dma的设备树里有dma-coherent,Lin 阅读全文
posted @ 2024-10-14 14:16 yooooooo 阅读(276) 评论(0) 推荐(0)