• Soby Mathew's avatar
    Invalidate the dcache after initializing cpu-ops · 09997346
    Soby Mathew authored
    This patch fixes a crash due to corruption of cpu_ops
    data structure. During the secondary CPU boot, after the
    cpu_ops has been initialized in the per cpu-data, the
    dcache lines need to invalidated so that the update in
    memory can be seen later on when the dcaches are turned ON.
    Also, after initializing the psci per cpu data, the dcache
    lines are flushed so that they are written back to memory
    and dirty dcache lines are avoided.
    
    Fixes ARM-Software/tf-issues#271
    
    Change-Id: Ia90f55e9882690ead61226eea5a5a9146d35f313
    09997346
psci_setup.c 13.4 KB