android_kernel_motorola_sm6225/drivers
Mark Zhang 9b710c8097 RDMA/mlx5: Use correct device num_ports when modify DC
[ Upstream commit 746aa3c8cb1a650ff2583497ac646e505831b9b9 ]

Just like other QP types, when modify DC, the port_num should be compared
with dev->num_ports, instead of HCA_CAP.num_ports.  Otherwise Multi-port
vHCA on DC may not work.

Fixes: 776a3906b6 ("IB/mlx5: Add support for DC target QP")
Link: https://lore.kernel.org/r/20230420013906.1244185-1-markzhang@nvidia.com
Signed-off-by: Mark Zhang <markzhang@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-17 11:13:19 +02:00
..
accessibility
acpi ACPI: video: Fix Lenovo Ideapad Z570 DMI match 2023-03-11 16:31:47 +01:00
amba
android
ata ata: libata: Fix sata_down_spd_limit() when no link speed is reported 2023-02-22 12:47:12 +01:00
atm atm: idt77252: fix kmemleak when rmmod idt77252 2023-04-05 11:15:34 +02:00
auxdisplay
base driver core: Fix bus_type.match() error handling in __driver_attach() 2023-01-18 11:30:51 +01:00
bcma
block block: sunvdc: add check for mdesc_grab() returning NULL 2023-03-22 13:27:09 +01:00
bluetooth Revert "Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work" 2023-05-17 11:13:14 +02:00
bus bus: imx-weim: fix branch condition evaluates to a garbage value 2023-04-05 11:15:38 +02:00
cdrom
char ipmi: fix use after free in _ipmi_destroy_user() 2023-01-18 11:30:44 +01:00
clk clk: add missing of_node_put() in "assigned-clocks" property parsing 2023-05-17 11:13:19 +02:00
clocksource clocksource/drivers/sh_cmt: Make sure channel clock supply is enabled 2023-01-18 11:30:06 +01:00
connector
cpufreq cpufreq: amd_freq_sensitivity: Add missing pci_dev_put() 2023-01-18 11:30:06 +01:00
cpuidle cpuidle: dt: Return the correct numbers of parsed idle states 2023-01-18 11:30:04 +01:00
crypto crypto: crypto4xx - Call dma_unmap_page when done 2023-03-11 16:31:38 +01:00
dax
dca
devfreq
dio drivers: dio: fix possible memory leak in dio_init() 2023-01-18 11:30:23 +01:00
dma dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size 2023-03-03 11:40:07 +01:00
dma-buf
edac EDAC/skx: Fix overflows on the DRAM row address mapping arrays 2023-05-17 11:13:09 +02:00
eisa
extcon
firewire firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region 2023-02-22 12:47:11 +01:00
firmware firmware: qcom_scm: Clear download bit during reboot 2023-05-17 11:13:09 +02:00
fmc
fpga fpga: bridge: fix kernel-doc parameter description 2023-05-17 11:13:15 +02:00
fsi fsi: core: Check error number after calling ida_simple_get 2022-10-26 13:19:33 +02:00
gnss
gpio gpio: davinci: Add irq chip flag to skip set wake 2023-04-20 12:04:38 +02:00
gpu drm/msm/adreno: drop bogus pm_runtime_set_active() 2023-05-17 11:13:09 +02:00
hid HID: uhid: Over-ride the default maximum data buffer value with our own 2023-03-22 13:27:12 +01:00
hsi HSI: omap_ssi_core: Fix error handling in ssi_init() 2023-01-18 11:30:30 +01:00
hv Drivers: hv: vmbus: fix possible memory leak in vmbus_device_register() 2022-12-08 11:18:29 +01:00
hwmon hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs 2023-04-05 11:15:35 +02:00
hwspinlock
hwtracing coresight-etm4: Fix for() loop drvdata->nr_addr_cmp range bug 2023-04-20 12:04:41 +02:00
i2c i2c: omap: Fix standard mode false ACK readings 2023-05-17 11:13:07 +02:00
ide
idle intel_idle: Disable IBRS during long idle 2022-11-23 07:53:45 +01:00
iio iio: adc: palmas_gpadc: fix NULL dereference on rmmod 2023-05-17 11:13:06 +02:00
infiniband RDMA/mlx5: Use correct device num_ports when modify DC 2023-05-17 11:13:19 +02:00
input Input: i8042 - add quirk for Fujitsu Lifebook A574/H 2023-04-26 11:21:51 +02:00
iommu iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe() 2023-01-18 11:30:55 +01:00
ipack
irqchip irqchip/irq-bcm7120-l2: Set IRQ_LEVEL for level triggered interrupts 2023-03-11 16:31:39 +01:00
isdn mISDN: hfcmulti: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave() 2023-01-18 11:30:32 +01:00
leds
lightnvm
macintosh macintosh: via-pmu-led: requires ATA to be set 2023-05-17 11:13:18 +02:00
mailbox mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg 2022-10-26 13:19:34 +02:00
mcb mcb: mcb-parse: fix error handing in chameleon_parse_gdd() 2023-01-18 11:30:27 +01:00
md md/raid10: fix memleak of md thread 2023-05-17 11:13:14 +02:00
media media: rc: gpio-ir-recv: Fix support for wake-up 2023-05-17 11:13:10 +02:00
memory memory: of: Fix refcount leak bug in of_get_ddr_timings() 2022-10-26 13:19:28 +02:00
memstick memstick: fix memory leak if card device is never registered 2023-04-26 11:21:52 +02:00
message
mfd mfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read() 2023-03-11 16:31:43 +01:00
misc vmci_host: fix a race condition in vmci_host_poll() causing GPF 2023-05-17 11:13:16 +02:00
mmc mmc: atmel-mci: fix race between stop command and start of next command 2023-03-22 13:27:11 +01:00
mtd spi: cadence-quadspi: fix suspend-resume implementations 2023-05-17 11:13:17 +02:00
mux
net net: amd: Fix link leak when verifying config failed 2023-05-17 11:13:15 +02:00
nfc nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition 2023-03-22 13:27:09 +01:00
ntb
nubus
nvdimm
nvme nvmet: avoid potential UAF in nvmet_req_complete() 2023-03-22 13:27:09 +01:00
nvmem
of of: Fix modalias string generation 2023-05-17 11:13:16 +02:00
opp
oprofile
parisc parisc: led: Fix potential null-ptr-deref in start_task() 2023-01-18 11:30:44 +01:00
parport parport_pc: Avoid FIFO port location truncation 2022-11-25 17:40:23 +01:00
pci PCI: Avoid FLR for AMD FCH AHCI adapters 2023-03-11 16:31:55 +01:00
pcmcia
perf perf: arm_dsu: Fix hotplug callback leak in dsu_pmu_init() 2023-01-18 11:30:02 +01:00
phy phy: rockchip-typec: Fix unsigned comparison with less than zero 2023-03-11 16:32:01 +01:00
pinctrl Revert "pinctrl: amd: Disable and mask interrupts on resume" 2023-04-20 12:04:39 +02:00
platform platform/x86: sony-laptop: Don't turn off 0x153 keyboard backlight during probe 2023-01-18 11:30:52 +01:00
pnp PNP: fix name memory leak in pnp_alloc_dev() 2023-01-18 11:30:05 +01:00
power power: supply: generic-adc-battery: fix unit scaling 2023-05-17 11:13:19 +02:00
powercap powercap: fix possible name leak in powercap_register_zone() 2023-03-11 16:31:36 +01:00
pps
ps3
ptp
pwm pwm: meson: Fix axg ao mux parents 2023-05-17 11:13:07 +02:00
rapidio rapidio: devices: fix missing put_device in mport_cdev_open 2023-01-18 11:30:08 +01:00
ras
regulator regulator: s5m8767: Bounds check id indexing into arrays 2023-03-11 16:31:48 +01:00
remoteproc
reset
rpmsg rpmsg: glink: Avoid infinite loop on intent for missing channel 2023-03-11 16:31:45 +01:00
rtc rtc: pm8xxx: fix set-alarm race 2023-03-11 16:31:48 +01:00
s390 s390/lcs: Fix return type of lcs_start_xmit() 2023-01-18 11:30:35 +01:00
sbus
scsi scsi: megaraid: Fix mega_cmd_done() CMDID_INT_CMDS 2023-05-17 11:13:12 +02:00
sfi
sh
siox siox: fix possible memory leak in siox_device_add() 2022-11-25 17:40:23 +01:00
slimbus slimbus: stream: correct presence rate frequencies 2022-11-25 17:40:25 +01:00
sn
soc ARM: ux500: do not directly dereference __iomem 2023-01-18 11:30:41 +01:00
soundwire
spi spi: fsl-spi: Fix CPM/QE mode Litte Endian 2023-05-17 11:13:16 +02:00
spmi spmi: Add a check for remove callback when removing a SPMI driver 2023-05-17 11:13:17 +02:00
ssb
staging staging: rtl8192e: Fix W_DISABLE# does not work after stop/start 2023-05-17 11:13:17 +02:00
target scsi: target: iscsit: Fix TAS handling during conn cleanup 2023-05-17 11:13:12 +02:00
tc
tee
thermal thermal: intel: powerclamp: Fix cur_state for multi package system 2023-03-11 16:32:02 +01:00
thunderbolt thunderbolt: Use const qualifier for ring_interrupt_index 2023-04-05 11:15:35 +02:00
tty serial: 8250: Add missing wakeup event reporting 2023-05-17 11:13:17 +02:00
uio uio: uio_dmem_genirq: Fix deadlock between irq config and handling 2023-01-18 11:30:25 +01:00
usb usb: chipidea: fix missing goto in ci_hdrc_probe 2023-05-17 11:13:17 +02:00
uwb
vfio vfio: platform: Do not pass return buffer to ACPI _RST method 2023-01-18 11:30:25 +01:00
vhost vhost/vsock: Use kvmalloc/kvfree for larger packets. 2022-10-26 13:19:26 +02:00
video fbdev: au1200fb: Fix potential divide by zero 2023-04-05 11:15:40 +02:00
virt
virtio
visorbus
vlynq
vme vme: Fix error not catched in fake_init() 2023-01-18 11:30:28 +01:00
w1 w1: fix WARNING after calling w1_process() 2023-02-06 07:49:40 +01:00
watchdog watchdog: sbsa_wdog: Make sure the timeout programming is within the limits 2023-04-20 12:04:41 +02:00
xen xen/privcmd: Fix a possible warning in privcmd_ioctl_mmap_resource() 2023-01-18 11:30:07 +01:00
zorro
Kconfig
Makefile