Searched refs:ARM64_FEATURE_MASK (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/arch/arm64/kvm/hyp/include/nvhe/ |
D | fixed_config.h | 38 ARM64_FEATURE_MASK(ID_AA64PFR0_FP) | \ 39 ARM64_FEATURE_MASK(ID_AA64PFR0_ASIMD) | \ 40 ARM64_FEATURE_MASK(ID_AA64PFR0_DIT) \ 52 FIELD_PREP(ARM64_FEATURE_MASK(ID_AA64PFR0_EL0), ID_AA64PFR0_ELx_64BIT_ONLY) | \ 53 FIELD_PREP(ARM64_FEATURE_MASK(ID_AA64PFR0_EL1), ID_AA64PFR0_ELx_64BIT_ONLY) | \ 54 FIELD_PREP(ARM64_FEATURE_MASK(ID_AA64PFR0_EL2), ID_AA64PFR0_ELx_64BIT_ONLY) | \ 55 FIELD_PREP(ARM64_FEATURE_MASK(ID_AA64PFR0_EL3), ID_AA64PFR0_ELx_64BIT_ONLY) | \ 56 FIELD_PREP(ARM64_FEATURE_MASK(ID_AA64PFR0_RAS), ID_AA64PFR0_RAS_V1) \ 65 ARM64_FEATURE_MASK(ID_AA64PFR1_BT) | \ 66 ARM64_FEATURE_MASK(ID_AA64PFR1_SSBS) \ [all …]
|
/linux-5.19.10/arch/arm64/kvm/hyp/nvhe/ |
D | pkvm.c | 23 BUILD_BUG_ON(FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR0_EL0), in pvm_init_traps_aa64pfr0() 25 BUILD_BUG_ON(FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR0_EL1), in pvm_init_traps_aa64pfr0() 32 BUILD_BUG_ON(!FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR0_FP), in pvm_init_traps_aa64pfr0() 34 BUILD_BUG_ON(!FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR0_ASIMD), in pvm_init_traps_aa64pfr0() 38 if (FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR0_RAS), feature_ids) < in pvm_init_traps_aa64pfr0() 45 if (!FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR0_AMU), feature_ids)) { in pvm_init_traps_aa64pfr0() 51 if (!FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR0_SVE), feature_ids)) in pvm_init_traps_aa64pfr0() 69 if (!FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR1_MTE), feature_ids)) { in pvm_init_traps_aa64pfr1() 89 if (!FIELD_GET(ARM64_FEATURE_MASK(ID_AA64DFR0_PMUVER), feature_ids)) { in pvm_init_traps_aa64dfr0() 96 if (!FIELD_GET(ARM64_FEATURE_MASK(ID_AA64DFR0_DEBUGVER), feature_ids)) in pvm_init_traps_aa64dfr0() [all …]
|
D | sys_regs.c | 97 set_mask |= FIELD_PREP(ARM64_FEATURE_MASK(ID_AA64PFR0_CSV2), in get_pvm_id_aa64pfr0() 99 set_mask |= FIELD_PREP(ARM64_FEATURE_MASK(ID_AA64PFR0_CSV3), in get_pvm_id_aa64pfr0() 111 allow_mask &= ~ARM64_FEATURE_MASK(ID_AA64PFR1_MTE); in get_pvm_id_aa64pfr1() 176 allow_mask &= ~(ARM64_FEATURE_MASK(ID_AA64ISAR1_APA) | in get_pvm_id_aa64isar1() 177 ARM64_FEATURE_MASK(ID_AA64ISAR1_API) | in get_pvm_id_aa64isar1() 178 ARM64_FEATURE_MASK(ID_AA64ISAR1_GPA) | in get_pvm_id_aa64isar1() 179 ARM64_FEATURE_MASK(ID_AA64ISAR1_GPI)); in get_pvm_id_aa64isar1() 189 allow_mask &= ~(ARM64_FEATURE_MASK(ID_AA64ISAR2_APA3) | in get_pvm_id_aa64isar2() 190 ARM64_FEATURE_MASK(ID_AA64ISAR2_GPA3)); in get_pvm_id_aa64isar2() 286 BUILD_BUG_ON(FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR0_EL1), in pvm_access_id_aarch32()
|
/linux-5.19.10/arch/arm64/kvm/ |
D | sys_regs.c | 1120 val &= ~ARM64_FEATURE_MASK(ID_AA64PFR0_SVE); in read_id_reg() 1121 val &= ~ARM64_FEATURE_MASK(ID_AA64PFR0_AMU); in read_id_reg() 1122 val &= ~ARM64_FEATURE_MASK(ID_AA64PFR0_CSV2); in read_id_reg() 1123 val |= FIELD_PREP(ARM64_FEATURE_MASK(ID_AA64PFR0_CSV2), (u64)vcpu->kvm->arch.pfr0_csv2); in read_id_reg() 1124 val &= ~ARM64_FEATURE_MASK(ID_AA64PFR0_CSV3); in read_id_reg() 1125 val |= FIELD_PREP(ARM64_FEATURE_MASK(ID_AA64PFR0_CSV3), (u64)vcpu->kvm->arch.pfr0_csv3); in read_id_reg() 1127 val &= ~ARM64_FEATURE_MASK(ID_AA64PFR0_GIC); in read_id_reg() 1128 val |= FIELD_PREP(ARM64_FEATURE_MASK(ID_AA64PFR0_GIC), 1); in read_id_reg() 1133 val &= ~ARM64_FEATURE_MASK(ID_AA64PFR1_MTE); in read_id_reg() 1135 val &= ~ARM64_FEATURE_MASK(ID_AA64PFR1_SME); in read_id_reg() [all …]
|
/linux-5.19.10/tools/arch/arm64/include/asm/ |
D | sysreg.h | 1176 #define ARM64_FEATURE_MASK(x) (GENMASK_ULL(x##_SHIFT + ARM64_FEATURE_FIELD_BITS - 1, x##_SHIFT)) macro
|
/linux-5.19.10/arch/arm64/include/asm/ |
D | sysreg.h | 1218 #define ARM64_FEATURE_MASK(x) (GENMASK_ULL(x##_SHIFT + ARM64_FEATURE_FIELD_BITS - 1, x##_SHIFT)) macro
|