linux-xiaomi-chiron/drivers
Linus Torvalds bc1abb9e55 dmascc: use proper 'virt_to_bus()' rather than casting to 'int'
The old dmascc driver depends on the legacy ISA_DMA_API, and blindly
just casts the kernel virtual address to 'int' for set_dma_addr().

That works only incidentally, and because the high bits of the address
will be ignored anyway. And on 64-bit architectures it causes warnings.

Admittedly, 64-bit architectures with ISA are basically dead - I think
the only example of this is alpha, and nobody would ever use the dmascc
driver there.  But hey, the fix is easy enough, the end result is
cleaner, and it's yet another configuration that now builds without
warnings.

If somebody actually uses this driver on an alpha and this fixes it for
you, please email me.  Because that is just incredibly bizarre.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-09-19 10:49:42 -07:00
..
accessibility
acpi
amba
android
ata
atm
auxdisplay
base xen: branch for v5.15-rc2 2021-09-17 08:31:49 -07:00
bcma
block
bluetooth
bus
cdrom
char
clk
clocksource
comedi
connector
counter
cpufreq Power management fixes for 5.15-rc2 2021-09-17 12:05:04 -07:00
cpuidle
crypto
cxl
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fpga
fsi
gnss
gpio
gpu Revert "drm/vc4: hdmi: Remove drm_encoder->crtc usage" 2021-09-19 10:11:53 -07:00
greybus
hid
hsi
hv hyperv-fixes for 5.15-rc2 2021-09-15 17:18:56 -07:00
hwmon
hwspinlock
hwtracing
i2c
i3c
idle
iio
infiniband
input
interconnect
iommu
ipack
irqchip
isdn
leds
macintosh memblock: introduce saner 'memblock_free_ptr()' interface 2021-09-14 13:23:22 -07:00
mailbox
mcb
md
media
memory
memstick
message
mfd
misc
mmc
most
mtd
mux
net dmascc: use proper 'virt_to_bus()' rather than casting to 'int' 2021-09-19 10:49:42 -07:00
nfc
ntb
nubus
nvdimm
nvme nvme fixes for Linux 5.15 2021-09-15 07:53:32 -06:00
nvmem
of of: restricted dma: Fix condition for rmem init 2021-09-17 15:58:09 -05:00
opp
parisc
parport
pci PCI: Add AMD GPU multi-function power dependencies 2021-09-15 16:31:41 -05:00
pcmcia
perf
phy
pinctrl
platform
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc rtc: cmos: Disable irq around direct invocation of cmos_interrupt() 2021-09-14 10:20:19 +02:00
s390 s390/ap: fix kernel doc comments 2021-09-15 14:29:21 +02:00
sbus
scsi
sh
siox
slimbus
soc
soundwire
spi spi: Fix tegra20 build with CONFIG_PM=n 2021-09-18 10:05:06 -07:00
spmi
ssb
staging
target
tc
tee
thermal
thunderbolt
tty
uio
usb
vdpa
vfio
vhost Networking fixes for 5.15-rc2, including fixes from bpf. 2021-09-16 13:05:42 -07:00
video tgafb: clarify dependencies 2021-09-18 11:15:01 -07:00
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen xen: branch for v5.15-rc2 2021-09-17 08:31:49 -07:00
zorro
Kconfig
Makefile