WSL2-Linux-Kernel/drivers
Radhey Shyam Pandey aac6c0f907 dmaengine: xilinx_dma: Set DMA mask for coherent APIs
The xilinx dma driver uses the consistent allocations, so for correct
operation also set the DMA mask for coherent APIs. It fixes the below
kernel crash with dmatest client when DMA IP is configured with 64-bit
address width and linux is booted from high (>4GB) memory.

Call trace:
[  489.531257]  dma_alloc_from_pool+0x8c/0x1c0
[  489.535431]  dma_direct_alloc+0x284/0x330
[  489.539432]  dma_alloc_attrs+0x80/0xf0
[  489.543174]  dma_pool_alloc+0x160/0x2c0
[  489.547003]  xilinx_cdma_prep_memcpy+0xa4/0x180
[  489.551524]  dmatest_func+0x3cc/0x114c
[  489.555266]  kthread+0x124/0x130
[  489.558486]  ret_from_fork+0x10/0x3c
[  489.562051] ---[ end trace 248625b2d596a90a ]---

Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Reviewed-by: Harini Katakam <harini.katakam@xilinx.com>
Link: https://lore.kernel.org/r/1629363528-30347-1-git-send-email-radhey.shyam.pandey@xilinx.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2021-08-29 19:14:19 +05:30
..
accessibility
acpi Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
amba
android
ata libata-5.14-2021-07-30 2021-07-30 10:56:47 -07:00
atm
auxdisplay
base Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
bcma
block block-5.14-2021-08-07 2021-08-07 10:26:21 -07:00
bluetooth
bus Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
cdrom
char
clk A collection of clk driver fixes and one core clk API fix 2021-08-03 09:26:09 -07:00
clocksource
comedi
connector
counter
cpufreq
cpuidle cpuidle: teo: Rename two local variables in teo_select() 2021-08-03 15:18:57 +02:00
crypto
cxl
dax
dca
devfreq
dio
dma dmaengine: xilinx_dma: Set DMA mask for coherent APIs 2021-08-29 19:14:19 +05:30
dma-buf
edac
eisa
extcon
firewire
firmware Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
fpga Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
fsi
gnss
gpio gpio: tqmx86: really make IRQ optional 2021-08-02 17:17:27 +02:00
gpu Merge tag 'amd-drm-fixes-5.14-2021-08-05' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes 2021-08-06 11:22:09 +10:00
greybus
hid Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
hsi
hv Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
hwmon
hwspinlock
hwtracing
i2c Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
i3c
idle
iio
infiniband RDMA/iw_cxgb4: Fix refcount underflow while destroying cqs. 2021-08-05 22:33:00 -03:00
input
interconnect interconnect: Fix undersized devress_alloc allocation 2021-08-02 12:25:00 +03:00
iommu
ipack
irqchip
isdn
leds
lightnvm
macintosh
mailbox
mcb
md block-5.14-2021-08-07 2021-08-07 10:26:21 -07:00
media Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
memory
memstick
message
mfd
misc Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
mmc Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
most
mtd
mux
net Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
nfc nfc: nfcsim: fix use after free during module unload 2021-07-28 10:20:16 +01:00
ntb
nubus
nvdimm
nvme
nvmem
of
opp
parisc
parport
pci
pcmcia Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
perf
phy
pinctrl
platform Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
sbus
scsi Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
sh
siox
slimbus
soc Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
soundwire
spi Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
spmi
ssb
staging Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
target Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
tc
tee
thermal
thunderbolt Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
tty Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
uio
usb Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
vdpa
vfio
vhost
video
virt virt: acrn: Do hcall_destroy_vm() before resource release 2021-07-27 16:48:45 +02:00
virtio
visorbus
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile