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 TTY / Serial patches for 5.14-rc1 2021-07-05 14:08:24 -07:00
acpi Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
amba bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
android
ata libata-5.14-2021-07-30 2021-07-30 10:56:47 -07:00
atm Networking changes for 5.14. 2021-06-30 15:51:09 -07:00
auxdisplay
base Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
bcma bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
block block-5.14-2021-08-07 2021-08-07 10:26:21 -07:00
bluetooth TTY / Serial patches for 5.14-rc1 2021-07-05 14:08:24 -07:00
bus Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
cdrom block: remove REQ_OP_SCSI_{IN,OUT} 2021-06-30 15:34:19 -06:00
char tpm_ftpm_tee: Free and unregister TEE shared memory during kexec 2021-07-21 07:55:50 +02:00
clk A collection of clk driver fixes and one core clk API fix 2021-08-03 09:26:09 -07:00
clocksource This round has a diffstat dominated by Qualcomm clk drivers. Honestly though 2021-07-01 13:26:16 -07:00
comedi Staging / IIO driver patches for 5.14-rc1 2021-07-05 14:01:53 -07:00
connector
counter
cpufreq cpufreq: Fix fall-through warning for Clang 2021-07-13 11:53:07 -05:00
cpuidle cpuidle: teo: Rename two local variables in teo_select() 2021-08-03 15:18:57 +02:00
crypto ARM: SoC changes for 5.14 2021-07-10 09:22:44 -07:00
cxl bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
dax bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
dca
devfreq
dio
dma dmaengine: xilinx_dma: Set DMA mask for coherent APIs 2021-08-29 19:14:19 +05:30
dma-buf Short summary of fixes pull: 2021-07-13 15:15:17 +02:00
edac EDAC/igen6: fix core dependency AGAIN 2021-07-15 11:59:59 -07:00
eisa
extcon Char / Misc driver updates for 5.14-rc1 2021-07-05 13:42:16 -07:00
firewire bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
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 Char / Misc driver updates for 5.14-rc1 2021-07-05 13:42:16 -07:00
hwspinlock
hwtracing bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
i2c Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
i3c bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
idle
iio Staging / IIO driver patches for 5.14-rc1 2021-07-05 14:01:53 -07:00
infiniband RDMA/iw_cxgb4: Fix refcount underflow while destroying cqs. 2021-08-05 22:33:00 -03:00
input bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
interconnect interconnect: Fix undersized devress_alloc allocation 2021-08-02 12:25:00 +03:00
iommu fallthrough fixes for Clang for 5.14-rc2 2021-07-15 13:57:31 -07:00
ipack bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
irqchip irqchip fixes for 5.14, take #1 2021-07-09 15:35:13 +02:00
isdn TTY / Serial patches for 5.14-rc1 2021-07-05 14:08:24 -07:00
leds This contains quite a lot of fixes, with more fixes in my inbox that 2021-07-03 11:57:42 -07:00
lightnvm
macintosh bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
mailbox mbox: add polarfire soc system controller mailbox 2021-06-26 12:06:48 -05:00
mcb bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
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 bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
message
mfd bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
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 mtd: cfi_util: Fix unreachable code issue 2021-07-12 11:15:28 -05:00
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 bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
nubus bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
nvdimm bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
nvme block-5.14-2021-07-24 2021-07-24 12:57:06 -07:00
nvmem Char / Misc driver updates for 5.14-rc1 2021-07-05 13:42:16 -07:00
of Devicetree updates for v5.14: 2021-07-03 10:54:08 -07:00
opp
parisc kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
parport
pci bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
pcmcia Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
perf
phy USB / Thunderbolt patches for 5.14-rc1 2021-07-05 14:16:22 -07:00
pinctrl This is the bulk of pin control changes for the v5.14 kernel: 2021-07-01 16:57:14 -07:00
platform Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
pnp bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
power power: supply: Fix fall-through warnings for Clang 2021-07-13 14:50:47 -05:00
powercap
pps
ps3
ptp ptp: Relocate lookup cookie to correct block. 2021-07-08 12:33:10 -07:00
pwm pwm: ep93xx: Ensure configuring period and duty_cycle isn't wrongly skipped 2021-07-08 16:09:30 +02:00
rapidio bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
ras
regulator regulator: Fixes for v5.14 2021-07-21 12:37:49 -07:00
remoteproc remoteproc updates for v5.14 2021-07-07 10:50:03 -07:00
reset ARM: Drivers for 5.14 2021-07-10 09:46:20 -07:00
rpmsg bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
rtc RTC for 5.14 2021-07-10 16:19:10 -07:00
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 bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
siox bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
slimbus bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
soc Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
soundwire Char / Misc driver updates for 5.14-rc1 2021-07-05 13:42:16 -07:00
spi Linux 5.14-rc5 2021-08-09 10:08:37 +05:30
spmi bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
ssb bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
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 tee: Correct inappropriate usage of TEE_SHM_DMA_BUF flag 2021-07-21 07:55:50 +02:00
thermal - Add rk3568 sensor support (Finley Xiao) 2021-07-10 11:43:25 -07:00
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 bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
vfio bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
vhost vdpa: support packed virtqueue for set/get_vq_state() 2021-07-08 07:49:01 -04:00
video drm fixes for 5.14-rc2 2021-07-16 11:14:54 -07:00
virt virt: acrn: Do hcall_destroy_vm() before resource release 2021-07-27 16:48:45 +02:00
virtio bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
visorbus
vlynq bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
vme bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
w1
watchdog linux-watchdog 5.14-rc1 tag 2021-07-07 12:57:46 -07:00
xen bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
zorro bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
Kconfig
Makefile hyperv-next for 5.14 2021-06-29 11:21:35 -07:00