Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MdeModulePkg/PciBusDxe: Remove assert when PCI enum is disabled #5862

Conversation

makubacki
Copy link
Member

Description

When setting PcdPciDisableBusEnumeration to TRUE, an assert is hit in StartPciDevices() due to the root bridge not existing. This is expected when skipping enumeration so change the assert to only trigger if enumeration is not disabled.

  • Breaking change?
  • Impacts security?
  • Includes tests?

How This Was Tested

  • CI
  • QEMU platform boot

Integration Instructions

  • N/A

@makubacki makubacki requested review from niruiyu and lgao4 July 3, 2024 00:18
@makubacki makubacki self-assigned this Jul 3, 2024
When setting PcdPciDisableBusEnumeration to TRUE, an assert is hit in
StartPciDevices() due to the root bridge not existing. This is
expected when skipping enumeration so change the assert to only
trigger if enumeration is not disabled.

Signed-off-by: Michael Kubacki <[email protected]>
@makubacki makubacki force-pushed the mdemodulepkg_ignore_pci_assert_when_enum_disabled branch from 3fdcbb5 to bf45e3f Compare July 10, 2024 02:46
@makubacki makubacki closed this Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants