]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Add ACS quirk for Wangxun NICs
authorMengyuan Lou <mengyuanlou@net-swift.com>
Tue, 7 Feb 2023 10:24:19 +0000 (18:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 15:44:15 +0000 (16:44 +0100)
commit41dc20b7735c1098ce697bd12d0156fd5bb02d09
treed391933d2f40b566154be5d1f8e65ff1788adf1d
parent5b912b89cfeaa4f3fd0172009bc8542cacd66f86
PCI: Add ACS quirk for Wangxun NICs

[ Upstream commit a2b9b123ccac913e9f9b80337d687a2fe786a634 ]

Wangxun has verified there is no peer-to-peer between functions for the
below selection of SFxxx, RP1000 and RP2000 NICS.  They may be
multi-function devices, but the hardware does not advertise ACS capability.

Add an ACS quirk for these devices so the functions can be in independent
IOMMU groups.

Link: https://lore.kernel.org/r/20230207102419.44326-1-mengyuanlou@net-swift.com
Signed-off-by: Mengyuan Lou <mengyuanlou@net-swift.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pci/quirks.c
include/linux/pci_ids.h