Home
last modified time | relevance | path

Searched refs:aa64dfr0 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/arm64/kvm/hyp/include/hyp/
H A Ddebug-sr.h94 u64 aa64dfr0; in __debug_save_state() local
97 aa64dfr0 = read_sysreg(id_aa64dfr0_el1); in __debug_save_state()
98 brps = (aa64dfr0 >> 12) & 0xf; in __debug_save_state()
99 wrps = (aa64dfr0 >> 20) & 0xf; in __debug_save_state()
112 u64 aa64dfr0; in __debug_restore_state() local
115 aa64dfr0 = read_sysreg(id_aa64dfr0_el1); in __debug_restore_state()
117 brps = (aa64dfr0 >> 12) & 0xf; in __debug_restore_state()
118 wrps = (aa64dfr0 >> 20) & 0xf; in __debug_restore_state()
/openbmc/linux/tools/testing/selftests/kvm/aarch64/
H A Ddebug-exceptions.c536 void test_guest_debug_exceptions_all(uint64_t aa64dfr0) in test_guest_debug_exceptions_all() argument
542 brp_num = FIELD_GET(ARM64_FEATURE_MASK(ID_AA64DFR0_BRPS), aa64dfr0) + 1; in test_guest_debug_exceptions_all()
546 wrp_num = FIELD_GET(ARM64_FEATURE_MASK(ID_AA64DFR0_WRPS), aa64dfr0) + 1; in test_guest_debug_exceptions_all()
549 ctx_brp_num = FIELD_GET(ARM64_FEATURE_MASK(ID_AA64DFR0_CTX_CMPS), aa64dfr0) + 1; in test_guest_debug_exceptions_all()
583 uint64_t aa64dfr0; in main() local
586 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(SYS_ID_AA64DFR0_EL1), &aa64dfr0); in main()
587 __TEST_REQUIRE(debug_version(aa64dfr0) >= 6, in main()
603 test_guest_debug_exceptions_all(aa64dfr0); in main()
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-trbe.h22 u64 aa64dfr0 = read_sysreg_s(SYS_ID_AA64DFR0_EL1); in is_trbe_available() local
23 unsigned int trbe = cpuid_feature_extract_unsigned_field(aa64dfr0, in is_trbe_available()