Skip to content
  • Marek Behún's avatar
    arm: a37xx: pci: Don't spam about PIO Response Status · 157bc52b
    Marek Behún authored and Stefan Roese's avatar Stefan Roese committed
    
    
    Use dev_dbg() instead of dev_err() in pcie_advk_check_pio_status().
    
    For example CRS is not an error status, it just says that the request
    should be retried.
    
    Without this, U-Boot spams the terminal with
      pcie_advk pcie@d0070000: Non-posted PIO Response Status: UR, 0xc80 @ 0x100000
      pcie_advk pcie@d0070000: Non-posted PIO Response Status: UR, 0xc80 @ 0x108000
      pcie_advk pcie@d0070000: Non-posted PIO Response Status: UR, 0xc80 @ 0x110000
      pcie_advk pcie@d0070000: Non-posted PIO Response Status: UR, 0xc80 @ 0x120000
      pcie_advk pcie@d0070000: Non-posted PIO Response Status: UR, 0xc80 @ 0x128000
      pcie_advk pcie@d0070000: Non-posted PIO Response Status: UR, 0xc80 @ 0x130000
      ...
    when a device is not connected to a PCIe switch (Unsupported Request
    from the switch).
    
    Signed-off-by: default avatarMarek Behún <marek.behun@nic.cz>
    Reviewed-by: default avatarPali Rohár <pali@kernel.org>
    Reviewed-by: default avatarStefan Roese <sr@denx.de>
    157bc52b