• Jeenu Viswambharan's avatar
    Report errata workaround status to console · 10bcd761
    Jeenu Viswambharan authored
    The errata reporting policy is as follows:
    
      - If an errata workaround is enabled:
    
        - If it applies (i.e. the CPU is affected by the errata), an INFO
          message is printed, confirming that the errata workaround has been
          applied.
    
        - If it does not apply, a VERBOSE message is printed, confirming
          that the errata workaround has been skipped.
    
      - If an errata workaround is not enabled, but would have applied had
        it been, a WARN message is printed, alerting that errata workaround
        is missing.
    
    The CPU errata messages are printed by both BL1 (primary CPU only) and
    runtime firmware on debug builds, once for each CPU/errata combination.
    
    Relevant output from Juno r1 console when ARM Trusted Firmware is built
    with PLAT=juno LOG_LEVEL=50 DEBUG=1:
    
      VERBOSE: BL1: cortex_a57: errata workaround for 806969 was not applied
      VERBOSE: BL1: cortex_a57: errata workaround for 813420 was not applied
      INFO:    BL1: cortex_a57: errata workaround for di...
    10bcd761
firmware-design.md 102 KB