Skip to contentSkip to conversation

dma-mapping fixes for Linux 6.7

GIT PULL Merged Christoph Hellwig 2 participants 2 messages Nov 10, 2023

lore
Share & tools
lore
#0 lore raw

The following changes since commit 8f6f76a6a29f36d2f3e4510d0bde5046672f6924:

Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm (2023-11-02 20:53:31 -1000)

are available in the Git repository at:

git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-6.7-2023-11-10

for you to fetch changes up to 53c87e846e335e3c18044c397cc35178163d7827:

swiotlb: fix out-of-bounds TLB allocations with CONFIG_SWIOTLB_DYNAMIC (2023-11-08 16:27:05 +0100)

----------------------------------------------------------------
ma-mapping fixes for Linux 6.7

- don't leave pages decrypted for DMA in encrypted memory setups linger around on failure (Petr Tesarik)
- fix an out of bounds access in the new dynamic swiotlb code (Petr Tesarik)
- fix dma_addressing_limited for systems with weird physical memory layouts (Jia He)

----------------------------------------------------------------
Jia He (2):
dma-mapping: move dma_addressing_limited() out of line
dma-mapping: fix dma_addressing_limited() if dma_range_map can't cover all system RAM

Petr Tesarik (2):
swiotlb: do not free decrypted pages if dynamic
swiotlb: fix out-of-bounds TLB allocations with CONFIG_SWIOTLB_DYNAMIC

 include/linux/dma-mapping.h | 19 +++++--------------
 kernel/dma/direct.c         | 40 ++++++++++++++++++++++++++++++++++++++++
 kernel/dma/direct.h         |  1 +
 kernel/dma/mapping.c        | 22 ++++++++++++++++++++++
 kernel/dma/swiotlb.c        | 28 ++++++++++++++++++----------
 5 files changed, 86 insertions(+), 24 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 10 Nov 2023 07:59:59 +0100:

The pull request you sent on Fri, 10 Nov 2023 07:59:59 +0100:

Quoted 1 line

git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-6.7-2023-11-10

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/391ce5b9c46ebf23cd049bb552a899dfc0cfb838

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html