linux-yocto/drivers/accel/qaic
Youssef Samir a21971b4be accel/qaic: Mask out SR-IOV PCI resources
[ Upstream commit 8685520474 ]

During the initialization of the qaic device, pci_select_bars() is
used to fetch a bitmask of the BARs exposed by the device. On devices
that have Virtual Functions capabilities, the bitmask includes SR-IOV
BARs.

Use a mask to filter out SR-IOV BARs if they exist.

Signed-off-by: Youssef Samir <quic_yabdulra@quicinc.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250117170943.2643280-6-quic_jhugo@quicinc.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-04 14:42:15 +02:00
..
Kconfig accel/qaic: Add qaic driver to the build system 2023-04-06 08:23:03 +02:00
Makefile Revert "accel/qaic: Add mhi_qaic_cntl" 2023-04-13 12:08:08 +02:00
mhi_controller.c accel/qaic: Implement quirk for SOC_HW_VERSION 2024-01-10 17:16:47 +01:00
mhi_controller.h
qaic_control.c accel/qaic: Fix the for loop used to walk SG table 2024-11-01 01:58:21 +01:00
qaic_data.c accel/qaic: Fix integer overflow in qaic_validate_req() 2025-03-28 21:59:54 +01:00
qaic_drv.c accel/qaic: Mask out SR-IOV PCI resources 2025-06-04 14:42:15 +02:00
qaic.h