Jayanth Dodderi Chidanand | 9461a89 | 2022-01-17 18:57:17 +0000 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2022, Arm Limited. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | # This file lists all the checks related to the Architectural Feature |
| 8 | # Enablement flags, based on the Architectural version. |
| 9 | |
| 10 | # Enable the features which are mandatory from ARCH version 8.1 and upwards. |
| 11 | ifeq "8.1" "$(word 1, $(sort 8.1 $(ARM_ARCH_MAJOR).$(ARM_ARCH_MINOR)))" |
| 12 | ENABLE_FEAT_PAN = 1 |
| 13 | ENABLE_FEAT_VHE = 1 |
| 14 | endif |
| 15 | |
Manish Pandey | d419e22 | 2023-02-13 12:39:17 +0000 | [diff] [blame] | 16 | # Enable the features which are mandatory from ARCH version 8.2 and upwards. |
| 17 | ifeq "8.2" "$(word 1, $(sort 8.2 $(ARM_ARCH_MAJOR).$(ARM_ARCH_MINOR)))" |
| 18 | ENABLE_FEAT_RAS = 1 |
| 19 | endif |
| 20 | |
Jayanth Dodderi Chidanand | 9461a89 | 2022-01-17 18:57:17 +0000 | [diff] [blame] | 21 | # Enable the features which are mandatory from ARCH version 8.4 and upwards. |
| 22 | ifeq "8.4" "$(word 1, $(sort 8.4 $(ARM_ARCH_MAJOR).$(ARM_ARCH_MINOR)))" |
| 23 | ENABLE_FEAT_DIT = 1 |
| 24 | ENABLE_FEAT_SEL2 = 1 |
| 25 | endif |
| 26 | |
| 27 | # Enable the features which are mandatory from ARCH version 8.5 and upwards. |
| 28 | ifeq "8.5" "$(word 1, $(sort 8.5 $(ARM_ARCH_MAJOR).$(ARM_ARCH_MINOR)))" |
| 29 | ENABLE_FEAT_SB = 1 |
| 30 | endif |
| 31 | |
| 32 | # Enable the features which are mandatory from ARCH version 8.6 and upwards. |
| 33 | ifeq "8.6" "$(word 1, $(sort 8.6 $(ARM_ARCH_MAJOR).$(ARM_ARCH_MINOR)))" |
| 34 | ENABLE_FEAT_FGT = 1 |
| 35 | ENABLE_FEAT_ECV = 1 |
| 36 | endif |
| 37 | |
| 38 | # Enable the features which are mandatory from ARCH version 8.7 and upwards. |
| 39 | ifeq "8.7" "$(word 1, $(sort 8.7 $(ARM_ARCH_MAJOR).$(ARM_ARCH_MINOR)))" |
| 40 | ENABLE_FEAT_HCX = 1 |
| 41 | endif |