arm-trusted-firmware/lib/psci
Jeenu Viswambharan 10bcd76157 Report errata workaround status to console
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 disable_ldnp_overread was applied
  WARNING: BL1: cortex_a57: errata workaround for 826974 was missing!
  WARNING: BL1: cortex_a57: errata workaround for 826977 was missing!
  WARNING: BL1: cortex_a57: errata workaround for 828024 was missing!
  WARNING: BL1: cortex_a57: errata workaround for 829520 was missing!
  WARNING: BL1: cortex_a57: errata workaround for 833471 was missing!
  ...
  VERBOSE: BL31: cortex_a57: errata workaround for 806969 was not applied
  VERBOSE: BL31: cortex_a57: errata workaround for 813420 was not applied
  INFO:    BL31: cortex_a57: errata workaround for disable_ldnp_overread was applied
  WARNING: BL31: cortex_a57: errata workaround for 826974 was missing!
  WARNING: BL31: cortex_a57: errata workaround for 826977 was missing!
  WARNING: BL31: cortex_a57: errata workaround for 828024 was missing!
  WARNING: BL31: cortex_a57: errata workaround for 829520 was missing!
  WARNING: BL31: cortex_a57: errata workaround for 833471 was missing!
  ...
  VERBOSE: BL31: cortex_a53: errata workaround for 826319 was not applied
  INFO:    BL31: cortex_a53: errata workaround for disable_non_temporal_hint was applied

Also update documentation.

Change-Id: Iccf059d3348adb876ca121cdf5207bdbbacf2aba
Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>
2017-01-30 14:53:19 +00:00
..
aarch32 Add provision to extend CPU operations at more levels 2016-12-15 15:41:40 +00:00
aarch64 Add provision to extend CPU operations at more levels 2016-12-15 15:41:40 +00:00
psci_common.c AArch32: Add support to PSCI lib 2016-08-10 14:43:48 +01:00
psci_lib.mk Report errata workaround status to console 2017-01-30 14:53:19 +00:00
psci_main.c Add PMF instrumentation points in TF 2016-10-12 15:36:49 +01:00
psci_off.c Add two timestamps to measure PSCI cache flush overhead 2016-12-14 09:53:14 +00:00
psci_on.c Introduce PSCI Library Interface 2016-07-19 10:19:01 +01:00
psci_private.h PSCI: Add support for PSCI NODE_HW_STATE API 2016-09-15 11:17:55 +01:00
psci_setup.c Report errata workaround status to console 2017-01-30 14:53:19 +00:00
psci_stat.c Validate psci_find_target_suspend_lvl() result 2016-07-25 12:57:42 +01:00
psci_suspend.c Add two timestamps to measure PSCI cache flush overhead 2016-12-14 09:53:14 +00:00
psci_system_off.c Introduce `el3_runtime` and `PSCI` libraries 2016-07-18 17:52:15 +01:00