Re: [PATCH 0/5] Add the pci_get_base_class() helper and use it

2023-09-28 Thread Bjorn Helgaas
On Fri, Aug 25, 2023 at 02:27:09PM +0800, Sui Jingfeng wrote: > From: Sui Jingfeng > > There is no function that can be used to get all PCI(e) devices in a > system by matching against its the PCI base class code only, while keep > the sub-class code and the programming interface ignored. Therefo

Re: [PATCH 0/5] Add the pci_get_base_class() helper and use it

2023-09-19 Thread suijingfeng
; dri- de...@lists.freedesktop.org; amd-...@lists.freedesktop.org; linux- p...@vger.kernel.org Subject: [PATCH 0/5] Add the pci_get_base_class() helper and use it From: Sui Jingfeng There is no function that can be used to get all PCI(e) devices in a system by matching against its the PCI base

RE: [PATCH 0/5] Add the pci_get_base_class() helper and use it

2023-08-25 Thread Deucher, Alexander
sts.freedesktop.org; amd-...@lists.freedesktop.org; linux- > p...@vger.kernel.org > Subject: [PATCH 0/5] Add the pci_get_base_class() helper and use it > > From: Sui Jingfeng > > There is no function that can be used to get all PCI(e) devices in a system by > matching against

[PATCH 0/5] Add the pci_get_base_class() helper and use it

2023-08-24 Thread Sui Jingfeng
From: Sui Jingfeng There is no function that can be used to get all PCI(e) devices in a system by matching against its the PCI base class code only, while keep the sub-class code and the programming interface ignored. Therefore, add the pci_get_base_class() function to suit the need. For example