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.c773 debug = vcpu->arch.dbg_reg; in kvmppc_vcpu_run()
776 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()
1660 *val = get_reg_val(id, vcpu->arch.dbg_reg.iac1); in kvmppc_get_one_reg()
1663 *val = get_reg_val(id, vcpu->arch.dbg_reg.iac2); in kvmppc_get_one_reg()
1667 *val = get_reg_val(id, vcpu->arch.dbg_reg.iac3); in kvmppc_get_one_reg()
1670 *val = get_reg_val(id, vcpu->arch.dbg_reg.iac4); in kvmppc_get_one_reg()
[all …]
/arch/arm64/kvm/
Dsys_regs.c409 u64 *dbg_reg) in reg_to_dbg() argument
415 val |= ((*dbg_reg >> 32) << 32); in reg_to_dbg()
418 *dbg_reg = val; in reg_to_dbg()
424 u64 *dbg_reg) in dbg_to_reg() argument
426 p->regval = *dbg_reg; in dbg_to_reg()
435 u64 *dbg_reg = &vcpu->arch.vcpu_debug_state.dbg_bvr[rd->reg]; in trap_bvr() local
438 reg_to_dbg(vcpu, p, dbg_reg); in trap_bvr()
440 dbg_to_reg(vcpu, p, dbg_reg); in trap_bvr()
442 trace_trap_reg(__func__, rd->reg, p->is_write, *dbg_reg); in trap_bvr()
477 u64 *dbg_reg = &vcpu->arch.vcpu_debug_state.dbg_bcr[rd->reg]; in trap_bcr() local
[all …]
/arch/powerpc/include/asm/
Dkvm_host.h701 struct debug_reg dbg_reg; member