|
562 | 562 |
|
563 | 563 | #define SYS_ICH_VSEIR_EL2 sys_reg(3, 4, 12, 9, 4) |
564 | 564 | #define SYS_ICC_SRE_EL2 sys_reg(3, 4, 12, 9, 5) |
565 | | -#define SYS_ICH_HCR_EL2 sys_reg(3, 4, 12, 11, 0) |
566 | | -#define SYS_ICH_VTR_EL2 sys_reg(3, 4, 12, 11, 1) |
567 | | -#define SYS_ICH_MISR_EL2 sys_reg(3, 4, 12, 11, 2) |
568 | 565 | #define SYS_ICH_EISR_EL2 sys_reg(3, 4, 12, 11, 3) |
569 | 566 | #define SYS_ICH_ELRSR_EL2 sys_reg(3, 4, 12, 11, 5) |
570 | 567 | #define SYS_ICH_VMCR_EL2 sys_reg(3, 4, 12, 11, 7) |
|
985 | 982 | #define SYS_MPIDR_SAFE_VAL (BIT(31)) |
986 | 983 |
|
987 | 984 | /* GIC Hypervisor interface registers */ |
988 | | -/* ICH_MISR_EL2 bit definitions */ |
989 | | -#define ICH_MISR_EOI (1 << 0) |
990 | | -#define ICH_MISR_U (1 << 1) |
991 | | - |
992 | 985 | /* ICH_LR*_EL2 bit definitions */ |
993 | 986 | #define ICH_LR_VIRTUAL_ID_MASK ((1ULL << 32) - 1) |
994 | 987 |
|
|
1003 | 996 | #define ICH_LR_PRIORITY_SHIFT 48 |
1004 | 997 | #define ICH_LR_PRIORITY_MASK (0xffULL << ICH_LR_PRIORITY_SHIFT) |
1005 | 998 |
|
1006 | | -/* ICH_HCR_EL2 bit definitions */ |
1007 | | -#define ICH_HCR_EN (1 << 0) |
1008 | | -#define ICH_HCR_UIE (1 << 1) |
1009 | | -#define ICH_HCR_NPIE (1 << 3) |
1010 | | -#define ICH_HCR_TC (1 << 10) |
1011 | | -#define ICH_HCR_TALL0 (1 << 11) |
1012 | | -#define ICH_HCR_TALL1 (1 << 12) |
1013 | | -#define ICH_HCR_TDIR (1 << 14) |
1014 | | -#define ICH_HCR_EOIcount_SHIFT 27 |
1015 | | -#define ICH_HCR_EOIcount_MASK (0x1f << ICH_HCR_EOIcount_SHIFT) |
1016 | | - |
1017 | 999 | /* ICH_VMCR_EL2 bit definitions */ |
1018 | 1000 | #define ICH_VMCR_ACK_CTL_SHIFT 2 |
1019 | 1001 | #define ICH_VMCR_ACK_CTL_MASK (1 << ICH_VMCR_ACK_CTL_SHIFT) |
|
1034 | 1016 | #define ICH_VMCR_ENG1_SHIFT 1 |
1035 | 1017 | #define ICH_VMCR_ENG1_MASK (1 << ICH_VMCR_ENG1_SHIFT) |
1036 | 1018 |
|
1037 | | -/* ICH_VTR_EL2 bit definitions */ |
1038 | | -#define ICH_VTR_PRI_BITS_SHIFT 29 |
1039 | | -#define ICH_VTR_PRI_BITS_MASK (7 << ICH_VTR_PRI_BITS_SHIFT) |
1040 | | -#define ICH_VTR_ID_BITS_SHIFT 23 |
1041 | | -#define ICH_VTR_ID_BITS_MASK (7 << ICH_VTR_ID_BITS_SHIFT) |
1042 | | -#define ICH_VTR_SEIS_SHIFT 22 |
1043 | | -#define ICH_VTR_SEIS_MASK (1 << ICH_VTR_SEIS_SHIFT) |
1044 | | -#define ICH_VTR_A3V_SHIFT 21 |
1045 | | -#define ICH_VTR_A3V_MASK (1 << ICH_VTR_A3V_SHIFT) |
1046 | | -#define ICH_VTR_TDS_SHIFT 19 |
1047 | | -#define ICH_VTR_TDS_MASK (1 << ICH_VTR_TDS_SHIFT) |
1048 | | - |
1049 | 1019 | /* |
1050 | 1020 | * Permission Indirection Extension (PIE) permission encodings. |
1051 | 1021 | * Encodings with the _O suffix, have overlays applied (Permission Overlay Extension). |
|
0 commit comments