Searched refs:reset_state (Results 1 – 6 of 6) sorted by relevance
227 struct vcpu_reset_state reset_state; in kvm_reset_vcpu() local239 reset_state = vcpu->arch.reset_state; in kvm_reset_vcpu()240 vcpu->arch.reset_state.reset = false; in kvm_reset_vcpu()284 if (reset_state.reset) in kvm_reset_vcpu()285 kvm_reset_vcpu_psci(vcpu, &reset_state); in kvm_reset_vcpu()
46 struct vcpu_reset_state *reset_state; in kvm_psci_vcpu_on() local75 reset_state = &vcpu->arch.reset_state; in kvm_psci_vcpu_on()77 reset_state->pc = smccc_get_arg2(source_vcpu); in kvm_psci_vcpu_on()80 reset_state->be = kvm_vcpu_is_be(source_vcpu); in kvm_psci_vcpu_on()86 reset_state->r0 = smccc_get_arg3(source_vcpu); in kvm_psci_vcpu_on()88 reset_state->reset = true; in kvm_psci_vcpu_on()
454 struct vcpu_reset_state *reset_state = &hyp_vcpu->vcpu.arch.reset_state; in pkvm_vcpu_init_psci() local458 reset_state->reset = false; in pkvm_vcpu_init_psci()465 reset_state->reset = true; in pkvm_vcpu_init_psci()470 reset_state->pc = READ_ONCE(host_vcpu->arch.ctxt.regs.pc); in pkvm_vcpu_init_psci()471 reset_state->r0 = READ_ONCE(host_vcpu->arch.ctxt.regs.regs[0]); in pkvm_vcpu_init_psci()472 reset_state->reset = true; in pkvm_vcpu_init_psci()999 struct vcpu_reset_state *reset_state = &hyp_vcpu->vcpu.arch.reset_state; in pkvm_reset_vcpu() local1002 WARN_ON(!reset_state->reset); in pkvm_reset_vcpu()1009 kvm_reset_vcpu_psci(&hyp_vcpu->vcpu, reset_state); in pkvm_reset_vcpu()1033 reset_state->reset = false; in pkvm_reset_vcpu()[all …]
555 struct vcpu_reset_state *reset_state) in kvm_reset_vcpu_psci() argument557 unsigned long target_pc = reset_state->pc; in kvm_reset_vcpu_psci()566 if (reset_state->be) in kvm_reset_vcpu_psci()570 vcpu_set_reg(vcpu, 0, reset_state->r0); in kvm_reset_vcpu_psci()
543 struct vcpu_reset_state reset_state; member
815 int reset_state = (EEH_PE_RESET | EEH_PE_CFG_BLOCKED); in eeh_pe_reset_full() local831 eeh_pe_state_mark(pe, reset_state); in eeh_pe_reset_full()870 eeh_pe_state_clear(pe, reset_state, true); in eeh_pe_reset_full()