Home
last modified time | relevance | path

Searched refs:dbg_reg (Results 1 – 4 of 4) sorted by relevance

/arch/powerpc/kvm/
Dbooke_emulate.c153 vcpu->arch.dbg_reg.iac1 = spr_val; in kvmppc_booke_emulate_mtspr()
164 vcpu->arch.dbg_reg.iac2 = spr_val; in kvmppc_booke_emulate_mtspr()
176 vcpu->arch.dbg_reg.iac3 = spr_val; in kvmppc_booke_emulate_mtspr()
187 vcpu->arch.dbg_reg.iac4 = spr_val; in kvmppc_booke_emulate_mtspr()
199 vcpu->arch.dbg_reg.dac1 = spr_val; in kvmppc_booke_emulate_mtspr()
210 vcpu->arch.dbg_reg.dac2 = spr_val; in kvmppc_booke_emulate_mtspr()
225 vcpu->arch.dbg_reg.dbcr0 = spr_val; in kvmppc_booke_emulate_mtspr()
236 vcpu->arch.dbg_reg.dbcr1 = spr_val; in kvmppc_booke_emulate_mtspr()
247 vcpu->arch.dbg_reg.dbcr2 = spr_val; in kvmppc_booke_emulate_mtspr()
373 current->thread.debug = vcpu->arch.dbg_reg; in kvmppc_booke_emulate_mtspr()
[all …]
Dbooke.c772 debug = vcpu->arch.dbg_reg; in kvmppc_vcpu_run()
775 current->thread.debug = vcpu->arch.dbg_reg; in kvmppc_vcpu_run()
839 struct debug_reg *dbg_reg = &(vcpu->arch.dbg_reg); in kvmppc_handle_debug() local
854 (vcpu->arch.dbg_reg.dbcr0 & DBCR0_IDM)) in kvmppc_handle_debug()
880 run->debug.arch.address = dbg_reg->dac1; in kvmppc_handle_debug()
882 run->debug.arch.address = dbg_reg->dac2; in kvmppc_handle_debug()
1644 *val = get_reg_val(id, vcpu->arch.dbg_reg.iac1); in kvmppc_get_one_reg()
1647 *val = get_reg_val(id, vcpu->arch.dbg_reg.iac2); in kvmppc_get_one_reg()
1651 *val = get_reg_val(id, vcpu->arch.dbg_reg.iac3); in kvmppc_get_one_reg()
1654 *val = get_reg_val(id, vcpu->arch.dbg_reg.iac4); in kvmppc_get_one_reg()
[all …]
/arch/arm64/kvm/
Dsys_regs.c373 u64 *dbg_reg) in reg_to_dbg() argument
379 val = *dbg_reg; in reg_to_dbg()
382 *dbg_reg = val; in reg_to_dbg()
390 u64 *dbg_reg) in dbg_to_reg() argument
395 p->regval = (*dbg_reg & mask) >> shift; in dbg_to_reg()
402 u64 *dbg_reg = &vcpu->arch.vcpu_debug_state.dbg_bvr[rd->CRm]; in trap_bvr() local
405 reg_to_dbg(vcpu, p, rd, dbg_reg); in trap_bvr()
407 dbg_to_reg(vcpu, p, rd, dbg_reg); in trap_bvr()
409 trace_trap_reg(__func__, rd->CRm, p->is_write, *dbg_reg); in trap_bvr()
444 u64 *dbg_reg = &vcpu->arch.vcpu_debug_state.dbg_bcr[rd->CRm]; in trap_bcr() local
[all …]
/arch/powerpc/include/asm/
Dkvm_host.h710 struct debug_reg dbg_reg; member