linux/arch/s390/include/asm
Christoph Hellwig 452e06af1f dma-mapping: consolidate dma_set_mask
Almost everyone implements dma_set_mask the same way, although some time
that's hidden in ->set_dma_mask methods.

This patch consolidates those into a common implementation that either
calls ->set_dma_mask if present or otherwise uses the default
implementation.  Some architectures used to only call ->set_dma_mask
after the initial checks, and those instance have been fixed to do the
full work.  h8300 implemented dma_set_mask bogusly as a no-ops and has
been fixed.

Unfortunately some architectures overload unrelated semantics like changing
the dma_ops into it so we still need to allow for an architecture override
for now.

[jcmvbkbc@gmail.com: fix xtensa]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Chris Metcalf <cmetcalf@ezchip.com>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-09-10 13:29:01 -07:00
..
Kbuild mm: clean up per architecture MM hook header files 2015-07-17 16:39:53 -07:00
airq.h
appldata.h
asm-offsets.h
atomic.h atomic: Collapse all atomic_{set,clear}_mask definitions 2015-07-27 14:06:24 +02:00
barrier.h locking, arch: use WRITE_ONCE()/READ_ONCE() in smp_store_release()/smp_load_acquire() 2015-08-03 10:59:30 +02:00
bitops.h
bug.h
bugs.h
cache.h
cacheflush.h
ccwdev.h
ccwgroup.h
checksum.h
chpid.h
cio.h
clp.h
cmb.h
cmpxchg.h
compat.h
cpcmd.h
cpu.h s390/smp: cleanup core vs. cpu in the SCLP interface 2015-06-25 09:39:24 +02:00
cpu_mf.h
cpufeature.h s390/module: enable generic CPU feature modalias using s390 ELF hwcaps 2015-07-22 09:58:02 +02:00
cputime.h
crw.h
css_chars.h
ctl_reg.h s390/kernel: lazy restore fpu registers 2015-07-22 09:58:01 +02:00
current.h
debug.h
delay.h
device.h
diag.h
dis.h
div64.h
dma-mapping.h dma-mapping: consolidate dma_set_mask 2015-09-10 13:29:01 -07:00
dma.h
eadm.h
ebcdic.h
elf.h
emergency-restart.h
etr.h KVM: s390: host STP toleration for VMs 2015-08-04 14:38:37 +02:00
exec.h
extmem.h
facility.h
fb.h
fcx.h
fpu-internal.h s390/kernel: remove save_fpu_regs() parameter and use __LC_CURRENT instead 2015-08-03 10:04:37 +02:00
ftrace.h
futex.h
hardirq.h
hugetlb.h s390/hugetlb: add hugepages_supported define 2015-07-17 16:39:52 -07:00
hw_irq.h
idals.h
idle.h
io.h s390/io: Add pci_iomap_wc() and pci_iomap_wc_range() 2015-08-28 08:04:48 +02:00
ipl.h s390/kdump: fix nosmt kernel parameter 2015-06-25 09:39:26 +02:00
irq.h
irq_regs.h
irqflags.h
isc.h
itcw.h
jump_label.h locking/static_keys: Add a new static_key interface 2015-08-03 11:34:15 +02:00
kdebug.h
kexec.h
kmap_types.h
kprobes.h
kvm_host.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2015-08-31 15:11:53 -07:00
kvm_para.h
linkage.h s390/kernel: move EX_TABLE macros to linkage.h header file 2015-07-22 09:57:59 +02:00
livepatch.h
local.h
local64.h
lowcore.h
mathemu.h
mman.h
mmu.h
mmu_context.h
mmzone.h s390/numa: add core infrastructure 2015-08-03 18:40:25 +02:00
module.h
mutex.h
nmi.h
numa.h s390/numa: add emulation support 2015-08-04 14:06:53 +02:00
os_info.h
page.h revert "s390/mm: make hugepages_supported a boot time decision" 2015-07-17 16:39:52 -07:00
pci.h s390/numa: add core infrastructure 2015-08-03 18:40:25 +02:00
pci_clp.h
pci_debug.h
pci_dma.h
pci_insn.h
pci_io.h
percpu.h
perf_event.h s390/oprofile: fix compile error 2015-07-01 09:34:39 +02:00
pgalloc.h
pgtable.h s390/mm: add NUMA balancing primitives 2015-08-03 10:05:58 +02:00
processor.h s390/sclp: convert early sclp console code to C 2015-07-29 09:11:39 +02:00
ptrace.h
qdio.h
reset.h
runtime_instr.h
rwsem.h
schid.h
sclp.h s390/sclp: convert early sclp console code to C 2015-07-29 09:11:39 +02:00
scsw.h
seccomp.h
sections.h
segment.h
serial.h
setup.h
sfp-machine.h
sfp-util.h
shmparam.h
signal.h
sigp.h
smp.h s390/kdump: fix compile for !SMP 2015-06-29 10:13:11 +02:00
sparsemem.h
spinlock.h
spinlock_types.h
string.h
switch_to.h s390/kernel: remove save_fpu_regs() parameter and use __LC_CURRENT instead 2015-08-03 10:04:37 +02:00
syscall.h
sysinfo.h
termios.h
thread_info.h
timex.h
tlb.h
tlbflush.h
topology.h s390/numa: add core infrastructure 2015-08-03 18:40:25 +02:00
types.h
uaccess.h
unaligned.h
unistd.h s390/numa: remove superfluous ARCH_WANT defines 2015-08-26 17:20:42 +02:00
uprobes.h
user.h
vdso.h
vga.h
vtime.h
vtimer.h
vx-insn.h s390/vx: add vector instruction support for older binutils versions 2015-07-22 09:58:01 +02:00
xor.h