]> www.infradead.org Git - users/jedix/linux-maple.git/commit
accel/qaic: Add support for MSI-X
authorYoussef Samir <quic_yabdulra@quicinc.com>
Fri, 17 Jan 2025 17:09:40 +0000 (10:09 -0700)
committerJeffrey Hugo <quic_jhugo@quicinc.com>
Fri, 31 Jan 2025 17:07:22 +0000 (10:07 -0700)
commit0600195ec70a57c3937275e6672927ee6b3c6306
tree153393b1e9e3969dc55acbe71616a611db2ef802
parentab73d80836734bb76088be0da4d2dbf0f7914c2d
accel/qaic: Add support for MSI-X

AIC200 device will support MSI-X while AIC100 devices will keep using
MSI. pci_alloc_irq_vectors() will try to allocate MSI-X vectors if it
is supported by the target device, otherwise, it will fallback to MSI.

Add support for MSI-X vectors allocation for AIC200 devices.

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-5-quic_jhugo@quicinc.com
drivers/accel/qaic/qaic_drv.c