Arnd Bergmann
1ec19d7588
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
...
The .ioctl and .compat_ioctl file operations have the same prototype so
they can both point to the same function, which works great almost all
the time when all the commands are compatible.
One exception is the s390 architecture, where a compat pointer is only
31 bit wide, and converting it into a 64-bit pointer requires calling
compat_ptr(). Most drivers here will never run in s390, but since we now
have a generic helper for it, it's easy enough to use it consistently.
I double-checked all these drivers to ensure that all ioctl arguments
are used as pointers or are ignored, but are not interpreted as integer
values.
Acked-by: Jason Gunthorpe <jgg@mellanox.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: David Sterba <dsterba@suse.com>
Acked-by: Darren Hart (VMware) <dvhart@infradead.org>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Change-Id: I7c19d15ea2d2e48a30e726ca0a5b8ee915e6bbe7
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2026-05-08 21:46:20 +02:00
..
accessibility
acpi
This is the 5.4.302 stable release
2025-12-11 09:41:30 +00:00
amba
android
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
ata
ata: libata-scsi: Fix system suspend for a security locked drive
2025-12-03 12:45:21 +01:00
atm
auxdisplay
base
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
bcma
block
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
bluetooth
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
bus
cdrom
cdrom: fix an incorrect __user annotation on cdrom_sysctl_info
2026-02-01 20:36:52 -08:00
char
UPSTREAM: random: split initialization into early step and later step
2026-05-07 17:24:10 +03:00
clk
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
clocksource
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
connector
counter
cpufreq
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
cpuidle
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
crypto
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
dax
UPSTREAM: dax, pmem: Add a dax operation zero_page_range
2026-05-08 21:46:12 +02:00
dca
devfreq
devfreq: bimc-bwmon: Don't free/reallocate IRQ during suspend/resume
2026-05-07 14:20:06 +00:00
dio
BACKPORT: maccess: rename probe_kernel_{read,write} to copy_{from,to}_kernel_nofault
2026-01-14 18:13:21 -08:00
dma
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
dma-buf
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
edac
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
eisa
extcon
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
firewire
firmware
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
fpga
fsi
gnss
gpio
gpu
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
greybus
hid
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
hsi
hv
hwmon
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
hwspinlock
hwtracing
i2c
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
i3c
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
ide
idle
iio
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
infiniband
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
input
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
interconnect
iommu
ipack
irqchip
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
isdn
isdn: mISDN: hfcsusb: fix memory leak in hfcsusb_probe()
2025-12-03 12:45:19 +01:00
leds
lightnvm
BACKPORT: mm: remove the pgprot argument to __vmalloc
2026-01-14 17:48:09 -08:00
macintosh
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08:00
mailbox
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
mcb
md
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
media
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
memory
memory: samsung: exynos-srom: Fix of_iomap leak in exynos_srom_probe
2025-10-29 14:00:00 +01:00
memstick
memstick: Add timeout to prevent indefinite waiting
2025-12-03 12:45:06 +01:00
message
mfd
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
misc
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
mmc
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
mtd
BACKPORT: bdi: initialize ->ra_pages and ->io_pages in bdi_init
2026-05-08 21:46:13 +02:00
mux
net
Revert "wifi: cfg80211: Increase akm_suites array size in"
2026-05-05 20:02:19 +03:00
nfc
ntb
nubus
nvdimm
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
nvme
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
nvmem
of
opp
oprofile
UPSTREAM: module: Fix up module_notifier return values
2026-01-14 18:12:53 -08:00
parisc
parport
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08:00
pci
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
pcmcia
perf
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
phy
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
pinctrl
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
platform
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
pnp
power
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
powercap
pps
ps3
ptp
pwm
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
rapidio
ras
regulator
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
remoteproc
Merge branch 'android11-5.4-lts' of https://android.googlesource.com/kernel/common into android13-5.4-lahaina
2025-12-11 01:41:51 -08:00
reset
rpmsg
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
rtc
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
s390
s390/ctcm: Fix double-kfree
2025-12-03 12:45:20 +01:00
sbus
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
scsi
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
sfi
sh
siox
slimbus
soc
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
soundwire
spi
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
spmi
ssb
staging
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
target
This is the 5.4.302 stable release
2025-12-11 09:41:30 +00:00
tc
tee
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
thermal
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
thunderbolt
tty
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
uio
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
usb
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
vfio
vhost
video
Merge android11-5.4.302(91d385eb) into msm-5.4
2026-01-30 11:41:11 +05:30
virt
BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl
2026-05-08 21:46:20 +02:00
virtio
visorbus
vlynq
vme
w1
watchdog
xen
xen/events: Update virq_to_irq on migration
2025-10-29 13:59:56 +01:00
zorro
Kconfig
Makefile
OWNERS