|
847 | 847 | #define ID_AA64MMFR0_ASID_SHIFT 4
|
848 | 848 | #define ID_AA64MMFR0_PARANGE_SHIFT 0
|
849 | 849 |
|
850 |
| -#define ID_AA64MMFR0_TGRAN4_NI 0xf |
851 |
| -#define ID_AA64MMFR0_TGRAN4_SUPPORTED 0x0 |
852 |
| -#define ID_AA64MMFR0_TGRAN64_NI 0xf |
853 |
| -#define ID_AA64MMFR0_TGRAN64_SUPPORTED 0x0 |
854 |
| -#define ID_AA64MMFR0_TGRAN16_NI 0x0 |
855 |
| -#define ID_AA64MMFR0_TGRAN16_SUPPORTED 0x1 |
| 850 | +#define ID_AA64MMFR0_TGRAN4_NI 0xf |
| 851 | +#define ID_AA64MMFR0_TGRAN4_SUPPORTED_MIN 0x0 |
| 852 | +#define ID_AA64MMFR0_TGRAN4_SUPPORTED_MAX 0x7 |
| 853 | +#define ID_AA64MMFR0_TGRAN64_NI 0xf |
| 854 | +#define ID_AA64MMFR0_TGRAN64_SUPPORTED_MIN 0x0 |
| 855 | +#define ID_AA64MMFR0_TGRAN64_SUPPORTED_MAX 0x7 |
| 856 | +#define ID_AA64MMFR0_TGRAN16_NI 0x0 |
| 857 | +#define ID_AA64MMFR0_TGRAN16_SUPPORTED_MIN 0x1 |
| 858 | +#define ID_AA64MMFR0_TGRAN16_SUPPORTED_MAX 0xf |
| 859 | + |
856 | 860 | #define ID_AA64MMFR0_PARANGE_32 0x0
|
857 | 861 | #define ID_AA64MMFR0_PARANGE_36 0x1
|
858 | 862 | #define ID_AA64MMFR0_PARANGE_40 0x2
|
|
1035 | 1039 |
|
1036 | 1040 | #if defined(CONFIG_ARM64_4K_PAGES)
|
1037 | 1041 | #define ID_AA64MMFR0_TGRAN_SHIFT ID_AA64MMFR0_TGRAN4_SHIFT
|
| 1042 | +#define ID_AA64MMFR0_TGRAN_SUPPORTED_MIN ID_AA64MMFR0_TGRAN4_SUPPORTED_MIN |
| 1043 | +#define ID_AA64MMFR0_TGRAN_SUPPORTED_MAX ID_AA64MMFR0_TGRAN4_SUPPORTED_MAX |
1038 | 1044 | #define ID_AA64MMFR0_TGRAN_2_SHIFT ID_AA64MMFR0_TGRAN4_2_SHIFT
|
1039 |
| -#define ID_AA64MMFR0_TGRAN_SUPPORTED_MIN ID_AA64MMFR0_TGRAN4_SUPPORTED |
1040 |
| -#define ID_AA64MMFR0_TGRAN_SUPPORTED_MAX 0x7 |
1041 | 1045 | #elif defined(CONFIG_ARM64_16K_PAGES)
|
1042 | 1046 | #define ID_AA64MMFR0_TGRAN_SHIFT ID_AA64MMFR0_TGRAN16_SHIFT
|
| 1047 | +#define ID_AA64MMFR0_TGRAN_SUPPORTED_MIN ID_AA64MMFR0_TGRAN16_SUPPORTED_MIN |
| 1048 | +#define ID_AA64MMFR0_TGRAN_SUPPORTED_MAX ID_AA64MMFR0_TGRAN16_SUPPORTED_MAX |
1043 | 1049 | #define ID_AA64MMFR0_TGRAN_2_SHIFT ID_AA64MMFR0_TGRAN16_2_SHIFT
|
1044 |
| -#define ID_AA64MMFR0_TGRAN_SUPPORTED_MIN ID_AA64MMFR0_TGRAN16_SUPPORTED |
1045 |
| -#define ID_AA64MMFR0_TGRAN_SUPPORTED_MAX 0xF |
1046 | 1050 | #elif defined(CONFIG_ARM64_64K_PAGES)
|
1047 | 1051 | #define ID_AA64MMFR0_TGRAN_SHIFT ID_AA64MMFR0_TGRAN64_SHIFT
|
| 1052 | +#define ID_AA64MMFR0_TGRAN_SUPPORTED_MIN ID_AA64MMFR0_TGRAN64_SUPPORTED_MIN |
| 1053 | +#define ID_AA64MMFR0_TGRAN_SUPPORTED_MAX ID_AA64MMFR0_TGRAN64_SUPPORTED_MAX |
1048 | 1054 | #define ID_AA64MMFR0_TGRAN_2_SHIFT ID_AA64MMFR0_TGRAN64_2_SHIFT
|
1049 |
| -#define ID_AA64MMFR0_TGRAN_SUPPORTED_MIN ID_AA64MMFR0_TGRAN64_SUPPORTED |
1050 |
| -#define ID_AA64MMFR0_TGRAN_SUPPORTED_MAX 0x7 |
1051 | 1055 | #endif
|
1052 | 1056 |
|
1053 | 1057 | #define MVFR2_FPMISC_SHIFT 4
|
|
0 commit comments