Per-cpu data cache restructuring
authorAndrew Thoelke <andrew.thoelke@arm.com>
Mon, 2 Jun 2014 10:40:35 +0000 (11:40 +0100)
committerAndrew Thoelke <andrew.thoelke@arm.com>
Mon, 16 Jun 2014 20:30:32 +0000 (21:30 +0100)
commit5e910074245fa180cfbe70d3c8bceeff1eaa026e
tree8547c9ddb62604838baf4b904e1a121335fe0f20
parentdbc64b39c9193f0b582d706bcf0d04e0a7bf4944
Per-cpu data cache restructuring

This patch prepares the per-cpu pointer cache for wider use by:
* renaming the structure to cpu_data and placing in new header
* providing accessors for this CPU, or other CPUs
* splitting the initialization of the TPIDR pointer from the
  initialization of the cpu_data content
* moving the crash stack initialization to a crash stack function
* setting the TPIDR pointer very early during boot

Change-Id: Icef9004ff88f8eb241d48c14be3158087d7e49a3
14 files changed:
bl31/aarch64/bl31_entrypoint.S
bl31/aarch64/cpu_data.S [new file with mode: 0644]
bl31/aarch64/crash_reporting.S
bl31/bl31.mk
bl31/bl31_main.c
bl31/context_mgmt.c
bl31/cpu_data_array.c [new file with mode: 0644]
include/bl31/context.h
include/bl31/context_mgmt.h
include/bl31/cpu_data.h [new file with mode: 0644]
include/bl31/runtime_svc.h
services/std_svc/psci/psci_afflvl_on.c
services/std_svc/psci/psci_afflvl_suspend.c
services/std_svc/psci/psci_entry.S