Thread (25 messages) 25 messages, 3 authors, 2021-06-16

Re: [PATCH v10 09/12] swiotlb: Add restricted DMA pool initialization

From: Christoph Hellwig <hch@lst.de>
Date: 2021-06-15 13:40:56
Also in: intel-gfx, linux-iommu, linux-pci, linuxppc-dev, lkml, xen-devel

On Tue, Jun 15, 2021 at 09:27:08PM +0800, Claire Chang wrote:
Add the initialization function to create restricted DMA pools from
matching reserved-memory nodes.

Regardless of swiotlb setting, the restricted DMA pool is preferred if
available.

The restricted DMA pools provide a basic level of protection against the
DMA overwriting buffer contents at unexpected times. However, to protect
against general data leakage and system memory corruption, the system
needs to provide a way to lock down the memory access, e.g., MPU.

Signed-off-by: Claire Chang <redacted>
Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help