linux/arch/arc/mm
Douglas Anderson 3e2c1e213a driver core: Replace dev->dma_coherent with dev_dma_coherent()
In C, bitfields are not necessarily safe to modify from multiple
threads without locking. Switch "dma_coherent" over to the "flags"
field so modifications are safe.

Cc: Christoph Hellwig <hch@lst.de>
Reviewed-by: Rafael J. Wysocki (Intel) <rafael@kernel.org>
Reviewed-by: Danilo Krummrich <dakr@kernel.org>
Acked-by: Vinod Koul <vkoul@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patch.msgid.link/20260406162231.v5.7.If839f6dde98979fce177f70c6c74689a1904ee76@changeid
[ Since all DEV_FLAG_DMA_COHERENT accessors are exposed unconditionally,
  also drop the CONFIG guards around dev_assign_dma_coherent() in
  device_initialize() to ensure a correct default value. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
2026-04-26 23:43:58 +02:00
..
cache.c mm: introduce memdesc_flags_t 2025-09-13 16:55:07 -07:00
dma.c driver core: Replace dev->dma_coherent with dev_dma_coherent() 2026-04-26 23:43:58 +02:00
extable.c ARC: uaccess: remove arc specific out-of-line handles for -Os 2023-08-17 12:40:26 -07:00
fault.c ARC: pt_regs: create seperate type for ecr 2023-08-18 10:30:47 -07:00
highmem.c arc/mm/highmem: Use generic kmap atomic implementation 2020-11-06 23:14:55 +01:00
init.c arch, mm: consolidate empty_zero_page 2026-04-05 13:53:01 -07:00
ioremap.c mm/ioremap: pass pgprot_t to ioremap_prot() instead of unsigned long 2025-03-16 22:06:23 -07:00
Makefile
mmap.c mm: make arch_get_unmapped_area() take vm_flags by default 2024-09-09 16:39:13 -07:00
tlb.c mm: introduce memdesc_flags_t 2025-09-13 16:55:07 -07:00
tlbex.S ARC: Fix typos 2024-04-01 18:40:39 -07:00