Skip to content

[RHEL 9.1.0 BZ 2015209] A couple dma fixes

Jerry Snitselaar requested to merge jsnitsel/centos-stream-9:bz2105609 into main

Merge Request Required Information

Bugzilla: https://bugzilla.redhat.com/2105609

Upstream Status: kernel/git/torvalds/linux.git

Tested: Some general testing so far. Still working on getting access to thunderbolt device for testing the dma-iommu change for untrusted devices, or getting AMD to test the change. It is a pretty straightforward change though.

Summary of Changes

The patchset pulls in a recent change related to swiotlb and untrusted devices requested by AMD, and 2 other recent dma fixes. One is related to messages from a debug kernel when there are potential dma mapping issues in drivers, and the other fixing the size passed to dma_set_encrypted.

Jerry Snitselaar (3): dma-iommu: Check that swiotlb is active before trying to use it dma-debug: make things less spammy under memory pressure dma-direct: use the correct size for dma_set_encrypted()

Approved Bugzilla Ticket

All submissions to CentOS Stream must reference an approved ticket in Red Hat Bugzilla. Please follow the CentOS Stream contribution documentation for how to file this ticket and have it approved.

Signed-off-by: Jerry Snitselaar jsnitsel@redhat.com

Merge request reports