android_kernel_motorola_sm6375/drivers/pci
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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
..
controller Merge tag 'ASB-2025-12-01_11-5.4' of https://android.googlesource.com/kernel/common into android13-5.4-lahaina 2025-12-04 19:21:35 +02:00
endpoint PCI: endpoint: Fix configfs group removal on driver teardown 2025-08-28 16:21:31 +02:00
hotplug PCI: pnv_php: Work around switches with broken presence detection 2025-08-28 16:21:29 +02:00
pcie Merge tag 'ASB-2025-05-05_11-5.4' of https://android.googlesource.com/kernel/common into android13-5.4-lahaina 2025-05-18 08:00:20 +00:00
switch BACKPORT: compat_ioctl: move more drivers to compat_ptr_ioctl 2026-05-08 21:46:20 +02:00
access.c
ats.c
bus.c
ecam.c
host-bridge.c
iov.c This is the 5.4.301 stable release 2025-10-30 07:52:10 +00:00
irq.c
Kconfig
Makefile
mmap.c
msi.c
of.c
p2pdma.c PCI/P2PDMA: Fix incorrect pointer usage in devm_kfree() call 2025-12-03 12:45:10 +01:00
pci-acpi.c Revert "PCI/ACPI: Fix runtime PM ref imbalance on Hot-Plug Capable ports" 2025-09-02 14:38:47 +00:00
pci-bridge-emul.c
pci-bridge-emul.h
pci-driver.c Merge tag 'ASB-2025-12-01_11-5.4' of https://android.googlesource.com/kernel/common into android13-5.4-lahaina 2025-12-04 19:21:35 +02:00
pci-label.c
pci-mid.c
pci-pf-stub.c
pci-stub.c
pci-sysfs.c PCI: Add 'reset_subordinate' to reset hierarchy below bridge 2024-12-14 19:44:54 +01:00
pci.c Revert "PCI/ACPI: Fix runtime PM ref imbalance on Hot-Plug Capable ports" 2025-09-02 14:38:47 +00:00
pci.h Merge tag 'ASB-2025-02-05_11-5.4' of https://android.googlesource.com/kernel/common into android13-5.4-lahaina 2025-02-06 22:53:05 +02:00
probe.c Revert "PCI/ACPI: Fix runtime PM ref imbalance on Hot-Plug Capable ports" 2025-09-02 14:38:47 +00:00
proc.c
quirks.c 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
remove.c
rom.c
search.c
setup-bus.c PCI: Fix old_size lower bound in calculate_iosize() too 2025-06-04 14:32:33 +02:00
setup-irq.c
setup-res.c
slot.c PCI: Fix use-after-free of slot->bus on hot remove 2024-12-14 19:44:36 +01:00
syscall.c
vc.c
vpd.c
xen-pcifront.c