• Andrew Thoelke's avatar
    Eliminate psci_suspend_context array · 13ac44a5
    Andrew Thoelke authored
    psci_suspend_context is an array of cache-line aligned structures
    containing the single power_state integer per cpu. This array is
    the only structure indexed by the aff_map_node.data integer.
    
    This patch saves 2KB of BL3-1 memory by placing the CPU
    power_state value directly in the aff_map_node structure. As a
    result, this value is now never cached and the cache clean when
    writing the value is no longer required.
    
    Fixes ARM-software/tf-issues#195
    
    Change-Id: Ib4c70c8f79eed295ea541e7827977a588a19ef9b
    13ac44a5
psci_private.h 4.94 KB