linux-xiaomi-chiron/arch
Martin Oliveira e02373fddb sparc/iommu: return error codes from .map_sg() ops
The .map_sg() op now expects an error code instead of zero on failure.

Returning an errno from __sbus_iommu_map_sg() results in
sbus_iommu_map_sg_gflush() and sbus_iommu_map_sg_pflush() returning an
errno, as those functions are wrappers around __sbus_iommu_map_sg().

Signed-off-by: Martin Oliveira <martin.oliveira@eideticom.com>
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Niklas Schnelle <schnelle@linux.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2021-08-09 17:13:06 +02:00
..
alpha alpha: return error code from alpha_pci_map_sg() 2021-08-09 17:13:05 +02:00
arc Kbuild updates for v5.14 2021-07-10 11:01:38 -07:00
arm ARM/dma-mapping: don't set failed sg dma_address to DMA_MAPPING_ERROR 2021-08-09 17:13:05 +02:00
arm64 ARM: SoC fixes for v5.14, part 2 2021-08-06 11:41:12 -07:00
csky Kbuild updates for v5.14 2021-07-10 11:01:38 -07:00
h8300 libata-5.14-2021-07-30 2021-07-30 10:56:47 -07:00
hexagon Kbuild updates for v5.14 2021-07-10 11:01:38 -07:00
ia64 ia64/sba_iommu: return error code from sba_map_sg_attrs() 2021-08-09 17:13:05 +02:00
m68k libata-5.14-2021-07-30 2021-07-30 10:56:47 -07:00
microblaze Kbuild updates for v5.14 2021-07-10 11:01:38 -07:00
mips MIPS/jazzdma: return error code from jazz_dma_map_sg() 2021-08-09 17:13:05 +02:00
nds32 nds32: fix up stack guard gap 2021-07-21 15:51:37 +02:00
nios2 Kbuild updates for v5.14 2021-07-10 11:01:38 -07:00
openrisc Kbuild updates for v5.14 2021-07-10 11:01:38 -07:00
parisc libata-5.14-2021-07-30 2021-07-30 10:56:47 -07:00
powerpc powerpc/iommu: don't set failed sg dma_address to DMA_MAPPING_ERROR 2021-08-09 17:13:05 +02:00
riscv RISC-V Fixes for 5.14-rc5 2021-08-07 10:15:04 -07:00
s390 s390/pci: don't set failed sg dma_address to DMA_MAPPING_ERROR 2021-08-09 17:13:06 +02:00
sh libata-5.14-2021-07-30 2021-07-30 10:56:47 -07:00
sparc sparc/iommu: return error codes from .map_sg() ops 2021-08-09 17:13:06 +02:00
um Kbuild updates for v5.14 2021-07-10 11:01:38 -07:00
x86 A set of perf fixes: 2021-08-08 11:46:13 -07:00
xtensa libata-5.14-2021-07-30 2021-07-30 10:56:47 -07:00
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Kconfig Kconfig: Introduce ARCH_WANTS_NO_INSTR and CC_HAS_NO_PROFILE_FN_ATTR 2021-06-22 11:07:18 -07:00