linux-yocto/drivers/accel
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
..
habanalabs accel/habanalabs/gaudi2: unsecure edma max outstanding register 2024-09-12 11:11:29 +02:00
ivpu accel/ivpu: Add missing MODULE_FIRMWARE metadata 2024-10-10 11:57:41 +02:00
qaic accel/qaic: Mask out SR-IOV PCI resources 2025-06-04 14:42:15 +02:00
drm_accel.c accel: Use XArray instead of IDR for minors 2024-09-30 16:25:13 +02:00
Kconfig accel/qaic: Add qaic driver to the build system 2023-04-06 08:23:03 +02:00
Makefile accel/qaic: Add qaic driver to the build system 2023-04-06 08:23:03 +02:00