Skip to content

Commit

Permalink
xen/arm32: Add missing MIDR values for Cortex-A17 and A12
Browse files Browse the repository at this point in the history
Cortex-A17 and A12 MIDR will be used in a follow-up patch for hardening
the branch predictor.

This is part of XSA-254.

Signed-off-by: Julien Grall <[email protected]>
Reviewed-by: Stefano Stabellini <[email protected]>
  • Loading branch information
Julien Grall authored and sstabellini committed Feb 2, 2018
1 parent 3bd8fd7 commit 340367b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xen/include/asm-arm/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,17 @@

#define ARM_CPU_IMP_ARM 0x41

#define ARM_CPU_PART_CORTEX_A12 0xC0D
#define ARM_CPU_PART_CORTEX_A17 0xC0E
#define ARM_CPU_PART_CORTEX_A15 0xC0F
#define ARM_CPU_PART_CORTEX_A53 0xD03
#define ARM_CPU_PART_CORTEX_A57 0xD07
#define ARM_CPU_PART_CORTEX_A72 0xD08
#define ARM_CPU_PART_CORTEX_A73 0xD09
#define ARM_CPU_PART_CORTEX_A75 0xD0A

#define MIDR_CORTEX_A12 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A12)
#define MIDR_CORTEX_A17 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A17)
#define MIDR_CORTEX_A15 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A15)
#define MIDR_CORTEX_A53 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A53)
#define MIDR_CORTEX_A57 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A57)
Expand Down

0 comments on commit 340367b

Please sign in to comment.