arm64: add spintable support
There was a hacky and one-off spintable support in tegra132. Make this support generic for all arm64 chips. BUG=chrome-os-partner:32082 BRANCH=None TEST=Ran with and without secure monitor booting smp into the kernel. Change-Id: If12083a9afc3b2be663d36cfeed10f9b74bae3c8 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/218654 Reviewed-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
parent
b390dc70b6
commit
024dc3f3e5
8 changed files with 254 additions and 17 deletions
|
|
@ -76,6 +76,7 @@
|
|||
#define CBMEM_ID_RAM_OOPS 0x05430095
|
||||
#define CBMEM_ID_SMM_SAVE_SPACE 0x07e9acee
|
||||
#define CBMEM_ID_MEMINFO 0x494D454D
|
||||
#define CBMEM_ID_SPINTABLE 0x59175917
|
||||
#define CBMEM_ID_NONE 0x00000000
|
||||
|
||||
#ifndef __ASSEMBLER__
|
||||
|
|
@ -115,7 +116,8 @@ struct cbmem_id_to_name {
|
|||
{ CBMEM_ID_REFCODE_CACHE, "REFCODE $ " }, \
|
||||
{ CBMEM_ID_POWER_STATE, "POWER STATE" }, \
|
||||
{ CBMEM_ID_RAM_OOPS, "RAMOOPS " }, \
|
||||
{ CBMEM_ID_MEMINFO, "MEM INFO " },
|
||||
{ CBMEM_ID_MEMINFO, "MEM INFO " }, \
|
||||
{ CBMEM_ID_SPINTABLE, "SPIN TABLE " },
|
||||
|
||||
struct cbmem_entry;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue