Re: [PATCH] PCI: Add ACS quirk for Wangxun NICs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> 2023年2月8日 01:38,Simon Horman <simon.horman@xxxxxxxxxxxx> 写道:
> 
> On Tue, Feb 07, 2023 at 06:24:19PM +0800, Mengyuan Lou wrote:
>> 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 device, but the hardware does not advertise
>> ACS capability.
>> 
>> Add an ACS quirk for these devices so the functions can be in
>> independent IOMMU groups.
>> 
>> Signed-off-by: Mengyuan Lou <mengyuanlou@xxxxxxxxxxxxx>
> 
> ...
> 
>> diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
>> index b362d90eb9b0..bc8f484cdcf3 100644
>> --- a/include/linux/pci_ids.h
>> +++ b/include/linux/pci_ids.h
>> @@ -3012,6 +3012,8 @@
>> #define PCI_DEVICE_ID_INTEL_VMD_9A0B 0x9a0b
>> #define PCI_DEVICE_ID_INTEL_S21152BB 0xb152
>> 
>> +#define PCI_VENDOR_ID_WANGXUN 0x8088
>> +
> 
> nit: this is already present in drivers/net/ethernet/wangxun/libwx/wx_type.h
>     perhaps it can be removed from there as a follow-up ?
It will be removed in a later patch.

> 
>> #define PCI_VENDOR_ID_SCALEMP 0x8686
>> #define PCI_DEVICE_ID_SCALEMP_VSMP_CTL 0x1010
>> 
>> -- 
>> 2.39.1
>> 
> 

Best Regards,
Mengyuanlou



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux