linux-stable/drivers
Yishai Hadas 6d4c7bd6dc RDMA/mlx5: Relax DEVX access upon modify commands
[ Upstream commit be551ee157 ]

Relax DEVX access upon modify commands to be UVERBS_ACCESS_READ.

The kernel doesn't need to protect what firmware protects, or what
causes no damage to anyone but the user.

As firmware needs to protect itself from parallel access to the same
object, don't block parallel modify/query commands on the same object in
the kernel side.

This change will allow user space application to run parallel updates to
different entries in the same bulk object.

Tested-by: Tamar Mashiah <tmashiah@nvidia.com>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Reviewed-by: Michael Guralnik <michaelgur@nvidia.com>
Link: https://lore.kernel.org/r/7407d5ed35dc427c1097699e12b49c01e1073406.1706433934.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:20:25 -04:00
..
accessibility
acpi ACPI: APEI: set memory failure flags as MF_ACTION_REQUIRED on synchronous events 2024-02-05 20:12:47 +00:00
amba
android binder: signal epoll threads of self-work 2024-02-23 09:12:39 +01:00
ata ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x parts 2024-03-01 13:26:39 +01:00
atm atm: idt77252: fix a memleak in open_card_ubr0 2024-02-16 19:06:26 +01:00
auxdisplay
base x86/rfds: Mitigate Register File Data Sampling (RFDS) 2024-03-15 10:48:21 -04:00
bcma
block virtio-blk: Ensure no requests in virtqueues before deleting vqs. 2024-03-01 13:26:30 +01:00
bluetooth Bluetooth: hci_qca: Set BDA quirk bit if fwnode exists in DT 2024-03-06 14:45:08 +00:00
bus bus: moxtet: Add spi device table 2024-02-23 09:12:48 +01:00
cdrom
char hwrng: core - Fix page fault dead lock on mmap-ed hwrng 2024-01-31 16:16:58 -08:00
clk clk: tegra20: fix gcc-7 constant overflow warning 2024-03-06 14:45:05 +00:00
clocksource
comedi
connector
counter
cpufreq cpufreq: intel_pstate: fix pstate limits enforcement for adjust_perf call back 2024-03-06 14:45:06 +00:00
cpuidle
crypto crypto: virtio/akcipher - Fix stack overflow on memcpy 2024-03-01 13:26:32 +01:00
cxl cxl/pci: Fix disabling memory if DVSEC CXL Range does not match a CFMWS window 2024-03-01 13:26:31 +01:00
dax
dca
devfreq PM / devfreq: Synchronize devfreq_monitor_[start/stop] 2024-02-05 20:12:47 +00:00
dio
dma dmaengine: fsl-qdma: init irq after reg initialization 2024-03-06 14:45:10 +00:00
dma-buf
edac
eisa
extcon
firewire firewire: core: send bus reset promptly on gap count error 2024-03-01 13:26:30 +01:00
firmware x86/efistub: Give up if memory attribute protocol returns an error 2024-03-06 14:45:20 +00:00
fpga
fsi
gnss
gpio gpio: fix resource unwinding order in error path 2024-03-06 14:45:19 +00:00
gpu drm/amd/display: Fix MST Null Ptr for RV 2024-03-15 10:48:21 -04:00
greybus
hid HID: multitouch: Add required quirk for Synaptics 0xcddc device 2024-03-26 18:20:25 -04:00
hsi
hte
hv
hwmon hwmon: (coretemp) Enlarge per package core count limit 2024-03-01 13:26:29 +01:00
hwspinlock
hwtracing
i2c i2c: imx: when being a target, mark the last read as processed 2024-03-01 13:26:38 +01:00
i3c i3c: master: cdns: Update maximum prescaler value for i2c clock 2024-02-05 20:12:58 +00:00
idle
iio iio: imu: bno055: serdev requires REGMAP 2024-02-23 09:12:41 +01:00
infiniband RDMA/mlx5: Relax DEVX access upon modify commands 2024-03-26 18:20:25 -04:00
input Input: xpad - add constants for GIP interface numbers 2024-03-06 14:45:05 +00:00
interconnect Revert "interconnect: Teach lockdep about icc_bw_lock order" 2024-03-06 14:45:19 +00:00
iommu iommu/arm-smmu-qcom: Limit the SMR groups to 128 2024-03-06 14:45:06 +00:00
ipack
irqchip irqchip/sifive-plic: Enable interrupt if needed before EOI 2024-03-01 13:26:32 +01:00
isdn
leds leds: trigger: panic: Don't register panic notifier if creating the trigger failed 2024-02-05 20:12:57 +00:00
macintosh
mailbox mailbox: arm_mhuv2: Fix a bug for mhuv2_sender_interrupt 2024-02-05 20:12:58 +00:00
mcb
md md/raid10: prevent soft lockup while flush writes 2024-03-26 18:20:22 -04:00
media media: rkisp1: Fix IRQ handling due to shared interrupts 2024-03-26 18:20:24 -04:00
memory
memstick
message
mfd mfd: ti_am335x_tscadc: Fix TI SoC dependencies 2024-02-05 20:12:58 +00:00
misc misc: open-dice: Fix spurious lockdep warning 2024-03-01 13:26:27 +01:00
mmc mmc: sdhci-xenon: fix PHY init clock stability 2024-03-06 14:45:11 +00:00
most
mtd mtd: spinand: gigadevice: Fix the get ecc status issue 2024-03-06 14:45:06 +00:00
mux
net nfp: flower: add hardware offload check for post ct entry 2024-03-15 10:48:19 -04:00
nfc
ntb
nubus
nvdimm
nvme nvmet-fc: take ref count on tgtport before delete assoc 2024-03-01 13:26:28 +01:00
nvmem
of of: property: fw_devlink: Fix stupid bug in remote-endpoint parsing 2024-03-06 14:45:09 +00:00
opp OPP: Pass rounded rate to _set_opp() 2024-01-31 16:16:58 -08:00
parisc parisc/power: Fix power soft-off button emulation on qemu 2024-01-31 16:16:59 -08:00
parport
pci PCI: layerscape: Add workaround for lost link capabilities during reset 2024-03-06 14:45:05 +00:00
pcmcia
peci
perf perf/arm-cmn: Workaround AmpereOneX errata AC04_MESH_1 (incorrect child count) 2024-03-26 18:20:24 -04:00
phy phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use dashes 2024-03-06 14:45:19 +00:00
pinctrl
platform platform/x86: thinkpad_acpi: Only update profile if successfully converted 2024-03-01 13:26:37 +01:00
pnp PNP: ACPI: fix fortify warning 2024-02-05 20:12:47 +00:00
power power: supply: bq27xxx-i2c: Do not free non existing IRQ 2024-03-06 14:45:09 +00:00
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: pwm-regulator: Add validity checks in continuous .get_voltage 2024-03-01 13:26:26 +01:00
remoteproc
reset
rpmsg rpmsg: virtio: Free driver_override when rpmsg_remove() 2024-01-31 16:16:59 -08:00
rtc rtc: Extend timeout for waiting for UIP to clear to 1s 2024-01-31 16:17:01 -08:00
s390 s390/cio: fix invalid -EBUSY on ccw_device_start 2024-03-01 13:26:31 +01:00
sbus
scsi scsi: sd: usb_storage: uas: Access media prior to querying device properties 2024-03-06 14:45:04 +00:00
sh
siox
slimbus
soc soc: microchip: Fix POLARFIRE_SOC_SYS_CTRL input prompt 2024-03-26 18:20:25 -04:00
soundwire
spi spi: sh-msiof: avoid integer overflow in constants 2024-03-01 13:26:27 +01:00
spmi spmi: mediatek: Fix UAF on device remove 2024-02-05 20:12:58 +00:00
ssb
staging staging: iio: ad5933: fix type mismatch regression 2024-02-23 09:12:40 +01:00
target scsi: target: pscsi: Fix bio_put() for error case 2024-03-01 13:26:31 +01:00
tc
tee
thermal thermal: intel: hfi: Add syscore callbacks for system-wide PM 2024-01-31 16:17:09 -08:00
thunderbolt
tty serial: amba-pl011: Fix DMA transmission in RS485 mode 2024-03-01 13:26:33 +01:00
ufs scsi: ufs: core: Remove the ufshcd_release() in ufshcd_err_handling_prepare() 2024-03-01 13:26:30 +01:00
uio
usb xhci: handle isoc Babble and Buffer Overrun events properly 2024-03-15 10:48:20 -04:00
vdpa vdpa: Fix an error handling path in eni_vdpa_probe() 2024-01-25 15:27:47 -08:00
vfio iommufd/iova_bitmap: Consider page offset for the pages to be pinned 2024-03-01 13:26:35 +01:00
vhost vhost: use kzalloc() instead of kmalloc() followed by memset() 2024-02-16 19:06:31 +01:00
video fbcon: always restore the old font data in fbcon_do_set_font() 2024-03-06 14:45:09 +00:00
virt
virtio
vlynq
w1
watchdog watchdog: it87_wdt: Keep WDTCTRL bit 3 unmodified for IT8784/IT8786 2024-02-05 20:12:56 +00:00
xen xen/events: close evtchn after mapping cleanup 2024-03-06 14:45:20 +00:00
zorro
Kconfig
Makefile