1. The patch is too big. Can you split it to multiple smaller patches? > +STATIC > +UINT64 > +PciSegmentLibGetConfigBase ( > + IN UINT64 Address > + ) > +{ > + UINT8 Bus; > + UINT8 Device; > + UINT8 Function; > + > + EXTRACT_PCIE_ADDRESS (Address, Bus, Device, Function); > + if ((Bus == 1) || (Bus == 2) || (Bus == 3) || (Bus == 4)) { > + return PCI_SEG_CONFIG_BASE; > + } > + > + return PCI_SEG_CONFIG_BASE; 1. Both paths return the same PCI_SEG_CONFIG_BASE. Then why do you check the Bus number? -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118913): https://edk2.groups.io/g/devel/message/118913 Mute This Topic: https://groups.io/mt/105572700/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-