Re: [edk2-devel] [PATCH v2] IntelSiliconPkg/IntelVTdDxe: Support Multi PCI Root Bus

2021-10-19 Thread Sheng Wei
Hi Ray, Thank you for sharing the solution. I am worrying on this issue now. I have found some produce did not support this lib. I will update the patch. BR Sheng Wei > -Original Message- > From: Ni, Ray > Sent: 2021年10月20日 8:29 > To: Sheng, W ; devel@edk2.groups.io > Cc: Kowalewski, Rob

Re: [edk2-devel] [PATCH v2] IntelSiliconPkg/IntelVTdDxe: Support Multi PCI Root Bus

2021-10-19 Thread Ni, Ray
Can you rely on the PciRootBridgeIo protocol instances instead of this library? It will make the driver usable in platforms that don't produce the PciHostBridgeLib. Thanks, Rya > -Original Message- > From: Sheng, W > Sent: Monday, October 18, 2021 4:43 PM > To: devel@edk2.groups.io > C

[edk2-devel] [PATCH v2] IntelSiliconPkg/IntelVTdDxe: Support Multi PCI Root Bus

2021-10-18 Thread Sheng Wei
Some system may has multi PCI root bus. It needs to use function PciHostBridgeGetRootBridges () to get the root bus count. Then, scan each root bus to get all devices. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3695 Signed-off-by: Robert Kowalewski Signed-off-by: Sheng Wei Cc: Jenny