Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Nick Spence's avatar
    46497056
    mpc83xx: Store and display Arbiter Event Register values · 46497056
    Nick Spence authored
    
    Record the Arbiter Event Register values and optionally display them.
    
    The Arbiter Event Register can record the type and effective address of
    an arbiter error, even through an HRESET. This patch stores the values in
    the global data structure.
    
    Display of the Arbiter Event registers immediately after the RSR value
    can be enabled with defines. The Arbiter values will only be displayed
    if an arbiter event has occured since the last Power On Reset, and either
    of the following defines exist:
     #define CONFIG_DISPLAY_AER_BRIEF - display only the arbiter address and
                                        and type register values
     #define CONFIG_DISPLAY_AER_FULL  - display and interpret the arbiter
                                        event register values
    
    Address Only transactions are one of the trapped events that can register
    as an arbiter event. They occur with some cache manipulation instructions
    if the HID0_ABE (Address Broadcast Enable) is set and the memory region
    has the MEMORY_COHERENCE WIMG bit set. Setting:
     #define CONFIG_MASK_AER_AO - prevents the arbiter from recording address
                                  only events, so that it can still capture
                                  other real problems.
    
    Signed-off-by: default avatarNick Spence <nick.spence@freescale.com>
    Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
    46497056
    History
    mpc83xx: Store and display Arbiter Event Register values
    Nick Spence authored
    
    Record the Arbiter Event Register values and optionally display them.
    
    The Arbiter Event Register can record the type and effective address of
    an arbiter error, even through an HRESET. This patch stores the values in
    the global data structure.
    
    Display of the Arbiter Event registers immediately after the RSR value
    can be enabled with defines. The Arbiter values will only be displayed
    if an arbiter event has occured since the last Power On Reset, and either
    of the following defines exist:
     #define CONFIG_DISPLAY_AER_BRIEF - display only the arbiter address and
                                        and type register values
     #define CONFIG_DISPLAY_AER_FULL  - display and interpret the arbiter
                                        event register values
    
    Address Only transactions are one of the trapped events that can register
    as an arbiter event. They occur with some cache manipulation instructions
    if the HID0_ABE (Address Broadcast Enable) is set and the memory region
    has the MEMORY_COHERENCE WIMG bit set. Setting:
     #define CONFIG_MASK_AER_AO - prevents the arbiter from recording address
                                  only events, so that it can still capture
                                  other real problems.
    
    Signed-off-by: default avatarNick Spence <nick.spence@freescale.com>
    Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>