lkml.org 
[lkml]   [2021]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[GIT PULL] (swiotlb) stable/for-linus-5.12
Hey Linus,

Please git pull the following branch:

git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb.git stable/for-linus-5.12

which has two memory encryption related patches (SWIOTLB is enabled by
default for AMD-SEV):

1) Adding support for alignment so that NVME can properly work,
2) Keep track of requested DMA buffers length, as underlaying hardware devices
can trip SWIOTLB to bounce too much and crash the kernel.

And a tiny fix to use proper APIs in drivers.

Please note you will see the tree a bit fresh - that is due to me squashing
in a fix earlier this week, which caused a conflict later, and me fixing up
the conflict caused the authorship to shift to me which I just fixed up now.

Argh!


drivers/mmc/host/sdhci.c | 9 +-
drivers/nvme/host/pci.c | 1 +
include/linux/device.h | 1 +
include/linux/dma-mapping.h | 16 +++
include/linux/swiotlb.h | 1 +
kernel/dma/swiotlb.c | 310 +++++++++++++++++++++++++++-----------------
6 files changed, 215 insertions(+), 123 deletions(-)


Christoph Hellwig (8):
sdhci: stop poking into swiotlb internals
swiotlb: add a IO_TLB_SIZE define
swiotlb: factor out an io_tlb_offset helper
swiotlb: factor out a nr_slots helper
swiotlb: clean up swiotlb_tbl_unmap_single
swiotlb: refactor swiotlb_tbl_map_single
swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single
swiotlb: respect min_align_mask

Jianxiong Gao (2):
driver core: add a min_align_mask field to struct device_dma_parameters
nvme-pci: set min_align_mask

Martin Radev (1):
swiotlb: Validate bounce size in the sync/unmap path

\
 
 \ /
  Last update: 2021-02-26 17:02    [W:0.202 / U:1.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site