PCI debug logging cannot work with PCI-enabled NS16550 #14763
Labels
area: PCI
Peripheral Component Interconnect
area: UART
Universal Asynchronous Receiver-Transmitter
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Describe the bug
#14554 shows a problem when
CONFIG_UART_NS16550_PCI
,CONFIG_PCI_ENUMERATION
andCONFIG_PCI_LOG_DBG
are all enabled. The UART driver has not been initialized yet butpci_dev_scan()
is trying to printing debug messages. Exception was raised and nothing got printed to the console.To Reproduce
Steps to reproduce the behavior:
CONFIG_LOG=y
CONFIG_PCI=y
CONFIG_PCI_ENUMERATION=y
CONFIG_PCI_LOG_DBG=y
CONFIG_SHELL=y
Expected behavior
The shell should come up.
Impact
Low, as one should use MMIO address anyway.
The text was updated successfully, but these errors were encountered: