[GIT PULL] dma-mapping updates for Linux 6.4

From: Christoph Hellwig
Date: Fri Apr 28 2023 - 02:10:36 EST


The following changes since commit 0eee5ae1025699ea93d44fdb6ef2365505082103:

swiotlb: fix slot alignment checks (2023-03-22 09:03:17 +0100)

are available in the Git repository at:

git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-6.4-2023-04-28

for you to fetch changes up to ec274aff21b6a94c7973384ca80a503c1bc3b173:

swiotlb: Omit total_used and used_hiwater if !CONFIG_DEBUG_FS (2023-04-20 14:51:41 +0200)

----------------------------------------------------------------
dma-mapping updates for Linux 6.4

- fix a PageHighMem check in dma-coherent initialization (Doug Berger)
- clean up the coherency defaul initialiation (Jiaxun Yang)
- add cacheline to user/kernel dma-debug space dump messages
(Desnes Nunes, Geert Uytterhoeve)
- swiotlb statistics improvements (Michael Kelley)
- misc cleanups (Petr Tesarik)

----------------------------------------------------------------
Desnes Nunes (2):
dma-debug: small dma_debug_entry's comment and variable name updates
dma-debug: add cacheline to user/kernel space dump messages

Doug Berger (1):
swiotlb: relocate PageHighMem test away from rmem_swiotlb_setup

Geert Uytterhoeven (1):
dma-debug: Use %pa to format phys_addr_t

Jiaxun Yang (3):
dma-mapping: provide a fallback dma_default_coherent
dma-mapping: provide CONFIG_ARCH_DMA_DEFAULT_COHERENT
of: address: always use dma_default_coherent for default coherency

Michael Kelley (2):
swiotlb: fix debugfs reporting of reserved memory pools
swiotlb: track and report io_tlb_used high water marks in debugfs

Petr Tesarik (2):
dma-direct: cleanup parameters to dma_direct_optimal_gfp_mask
swiotlb: Omit total_used and used_hiwater if !CONFIG_DEBUG_FS

arch/powerpc/Kconfig | 2 +-
arch/riscv/Kconfig | 2 +-
drivers/of/Kconfig | 4 --
drivers/of/address.c | 2 +-
include/linux/dma-map-ops.h | 2 +
include/linux/swiotlb.h | 9 +++
kernel/dma/Kconfig | 7 +++
kernel/dma/debug.c | 131 +++++++++++++++++++++++---------------------
kernel/dma/direct.c | 15 +++--
kernel/dma/mapping.c | 6 +-
kernel/dma/swiotlb.c | 97 ++++++++++++++++++++++++++++----
11 files changed, 189 insertions(+), 88 deletions(-)