linux/arch
Swathi Sridhar 2107724ae3 ANDROID: GKI: arm64: mm: Support setting removed_dma_ops in arch_setup_dma_ops
Currently the removed_dma_ops are set only once for dev nodes
which are associated with a reserved-memory region (PIL devices)
in device_init and when the probe of these devices fail,
we end up calling dma_deconfigure which sets the dma_ops to NULL.
Eventually when the probe succeeds, since dma_ops was set to
NULL during probe failure, we end up setting dma_ops to
arm64_swiotlb_dma_ops. Hence in arch_setup_dma_ops, if the
dma_ops is NULL, check to see if there is a reserved memory
associated with the dev and if so set dma_ops to removed_dma_ops
such that the right callback functions are invoked.

Bug: 145617272
Signed-off-by: Swathi Sridhar <swatsrid@codeaurora.org>

[surenb: cherry picked from commit:
903192a5412d "mm: Support setting removed_dma_ops in arch_setup_dma_ops"]
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ibc1028391ba90cbdd5c5826022b5015d9e261c09
2020-03-16 18:10:51 +00:00
..
alpha alpha: Fix Eiger NR_IRQS to 128 2019-02-20 10:25:47 +01:00
arc ARC: [plat-axs10x]: Add missing multicast filter number to GMAC node 2020-02-14 16:33:25 -05:00
arm This is the 4.19.109 stable release 2020-03-11 17:10:39 +01:00
arm64 ANDROID: GKI: arm64: mm: Support setting removed_dma_ops in arch_setup_dma_ops 2020-03-16 18:10:51 +00:00
c6x
h8300 h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux- 2019-04-05 22:32:55 +02:00
hexagon hexagon: work around compiler crash 2020-01-17 19:47:17 +01:00
ia64 mm/memory_hotplug: shrink zones when offlining memory 2020-01-29 16:43:27 +01:00
m68k m68k: Call timer_interrupt() with interrupts disabled 2020-01-27 14:51:23 +01:00
microblaze microblaze: Prevent the overflow of the start 2020-02-24 08:34:53 +01:00
mips This is the 4.19.108 stable release 2020-03-05 17:40:55 +01:00
nds32 This is the 4.19.89 stable release 2019-12-13 10:01:10 +01:00
nios2 nios2: ksyms: Add missing symbol exports 2020-01-27 14:50:30 +01:00
openrisc openrisc: Fix broken paths to arch/or32 2019-12-05 09:20:40 +01:00
parisc parisc: Use proper printk format for resource_size_t 2020-02-05 14:43:45 +00:00
powerpc This is the 4.19.109 stable release 2020-03-11 17:10:39 +01:00
riscv riscv: delete temporary files 2020-02-05 14:43:48 +00:00
s390 This is the 4.19.109 stable release 2020-03-11 17:10:39 +01:00
sh pinctrl: sh-pfc: sh7269: Fix CAN function GPIOs 2020-02-24 08:34:44 +01:00
sparc sparc: Add .exit.data section. 2020-02-24 08:34:37 +01:00
um um: Fix off by one error in IRQ enumeration 2020-01-27 14:51:13 +01:00
unicore32
x86 ANDROID: GKI: enable CONFIG_JUMP_LABEL 2020-03-16 15:55:53 +01:00
xtensa This is the 4.19.91 stable release 2019-12-21 11:20:11 +01:00
.gitignore
Kconfig FROMLIST: add support for Clang's Shadow Call Stack (SCS) 2019-11-27 12:37:25 -08:00