Home
last modified time | relevance | path

Searched refs:run (Results 1 – 25 of 162) sorted by relevance

1234567

/arch/powerpc/kvm/
Demulate_loadstore.c52 struct kvm_run *run = vcpu->run; in kvmppc_emulate_loadstore() local
73 emulated = kvmppc_handle_load(run, vcpu, rt, 4, 1); in kvmppc_emulate_loadstore()
77 emulated = kvmppc_handle_load(run, vcpu, rt, 1, 1); in kvmppc_emulate_loadstore()
81 emulated = kvmppc_handle_load(run, vcpu, rt, 1, 1); in kvmppc_emulate_loadstore()
86 emulated = kvmppc_handle_store(run, vcpu, in kvmppc_emulate_loadstore()
92 emulated = kvmppc_handle_store(run, vcpu, in kvmppc_emulate_loadstore()
98 emulated = kvmppc_handle_store(run, vcpu, in kvmppc_emulate_loadstore()
105 emulated = kvmppc_handle_loads(run, vcpu, rt, 2, 1); in kvmppc_emulate_loadstore()
109 emulated = kvmppc_handle_load(run, vcpu, rt, 2, 1); in kvmppc_emulate_loadstore()
113 emulated = kvmppc_handle_load(run, vcpu, rt, 2, 1); in kvmppc_emulate_loadstore()
[all …]
Dpowerpc.c89 vcpu->run->exit_reason = KVM_EXIT_INTR; in kvmppc_prepare_to_enter()
276 int kvmppc_emulate_mmio(struct kvm_run *run, struct kvm_vcpu *vcpu) in kvmppc_emulate_mmio() argument
292 run->exit_reason = KVM_EXIT_MMIO; in kvmppc_emulate_mmio()
790 struct kvm_run *run) in kvmppc_complete_mmio_load() argument
794 if (run->mmio.len > sizeof(gpr)) { in kvmppc_complete_mmio_load()
795 printk(KERN_ERR "bad MMIO length: %d\n", run->mmio.len); in kvmppc_complete_mmio_load()
800 switch (run->mmio.len) { in kvmppc_complete_mmio_load()
801 case 8: gpr = *(u64 *)run->mmio.data; break; in kvmppc_complete_mmio_load()
802 case 4: gpr = *(u32 *)run->mmio.data; break; in kvmppc_complete_mmio_load()
803 case 2: gpr = *(u16 *)run->mmio.data; break; in kvmppc_complete_mmio_load()
[all …]
Dbook3s_paired_singles.c183 static int kvmppc_emulate_fpr_load(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvmppc_emulate_fpr_load() argument
202 emulated = kvmppc_handle_load(run, vcpu, KVM_MMIO_REG_FPR | rs, in kvmppc_emulate_fpr_load()
227 static int kvmppc_emulate_fpr_store(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvmppc_emulate_fpr_store() argument
262 emulated = kvmppc_handle_store(run, vcpu, val, len, 1); in kvmppc_emulate_fpr_store()
273 static int kvmppc_emulate_psq_load(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvmppc_emulate_psq_load() argument
293 emulated = kvmppc_handle_load(run, vcpu, KVM_MMIO_REG_FPR | rs, in kvmppc_emulate_psq_load()
298 emulated = kvmppc_handle_load(run, vcpu, KVM_MMIO_REG_FQPR | rs, in kvmppc_emulate_psq_load()
316 static int kvmppc_emulate_psq_store(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvmppc_emulate_psq_store() argument
332 emulated = kvmppc_handle_store(run, vcpu, tmp[0], 4, 1); in kvmppc_emulate_psq_store()
335 emulated = kvmppc_handle_store(run, vcpu, val, 8, 1); in kvmppc_emulate_psq_store()
[all …]
Dbooke.h84 int kvmppc_booke_emulate_op(struct kvm_run *run, struct kvm_vcpu *vcpu,
109 extern int kvmppc_core_emulate_op_e500(struct kvm_run *run,
117 extern int kvmppc_core_emulate_op_e500(struct kvm_run *run,
De500_emulate.c89 static int kvmppc_e500_emul_ehpriv(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvmppc_e500_emul_ehpriv() argument
96 run->exit_reason = KVM_EXIT_DEBUG; in kvmppc_e500_emul_ehpriv()
97 run->debug.arch.address = vcpu->arch.pc; in kvmppc_e500_emul_ehpriv()
98 run->debug.arch.status = 0; in kvmppc_e500_emul_ehpriv()
131 int kvmppc_core_emulate_op_e500(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvmppc_core_emulate_op_e500() argument
188 emulated = kvmppc_e500_emul_ehpriv(run, vcpu, inst, in kvmppc_core_emulate_op_e500()
203 emulated = kvmppc_booke_emulate_op(run, vcpu, inst, advance); in kvmppc_core_emulate_op_e500()
/arch/mips/kvm/
Dtrap_emul.c41 struct kvm_run *run = vcpu->run; in kvm_trap_emul_handle_cop_unusable() local
55 er = kvm_mips_emulate_fpu_exc(cause, opc, run, vcpu); in kvm_trap_emul_handle_cop_unusable()
62 er = kvm_mips_emulate_inst(cause, opc, run, vcpu); in kvm_trap_emul_handle_cop_unusable()
71 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_emul_handle_cop_unusable()
76 run->exit_reason = KVM_EXIT_INTR; in kvm_trap_emul_handle_cop_unusable()
88 struct kvm_run *run = vcpu->run; in kvm_trap_emul_handle_tlb_mod() local
99 er = kvm_mips_handle_tlbmod(cause, opc, run, vcpu); in kvm_trap_emul_handle_tlb_mod()
104 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_emul_handle_tlb_mod()
117 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_emul_handle_tlb_mod()
124 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_emul_handle_tlb_mod()
[all …]
Demulate.c828 vcpu->run->exit_reason = KVM_EXIT_IRQ_WINDOW_OPEN; in kvm_mips_emul_wait()
1055 struct kvm_run *run, in kvm_mips_emulate_CP0() argument
1417 struct kvm_run *run, in kvm_mips_emulate_store() argument
1423 void *data = run->mmio.data; in kvm_mips_emulate_store()
1440 if (bytes > sizeof(run->mmio.data)) { in kvm_mips_emulate_store()
1442 run->mmio.len); in kvm_mips_emulate_store()
1444 run->mmio.phys_addr = in kvm_mips_emulate_store()
1447 if (run->mmio.phys_addr == KVM_INVALID_ADDR) { in kvm_mips_emulate_store()
1451 run->mmio.len = bytes; in kvm_mips_emulate_store()
1452 run->mmio.is_write = 1; in kvm_mips_emulate_store()
[all …]
/arch/s390/kvm/
Ddiag.c29 start = vcpu->run->s.regs.gprs[(vcpu->arch.sie_block->ipa & 0xf0) >> 4]; in diag_release_pages()
30 end = vcpu->run->s.regs.gprs[vcpu->arch.sie_block->ipa & 0xf] + 4096; in diag_release_pages()
80 vcpu->run->s.regs.gprs[rx]); in __diag_page_ref_service()
82 if (vcpu->run->s.regs.gprs[rx] & 7) in __diag_page_ref_service()
84 rc = read_guest(vcpu, vcpu->run->s.regs.gprs[rx], rx, &parm, sizeof(parm)); in __diag_page_ref_service()
101 vcpu->run->s.regs.gprs[ry] = 8; in __diag_page_ref_service()
115 vcpu->run->s.regs.gprs[ry] = 0; in __diag_page_ref_service()
129 vcpu->run->s.regs.gprs[ry] = 0; in __diag_page_ref_service()
135 vcpu->run->s.regs.gprs[ry] = 4; in __diag_page_ref_service()
162 tid = vcpu->run->s.regs.gprs[(vcpu->arch.sie_block->ipa & 0xf0) >> 4]; in __diag_time_slice_end_directed()
[all …]
Dpriv.c219 addr = vcpu->run->s.regs.gprs[reg2] & PAGE_MASK; in handle_iske()
231 vcpu->run->s.regs.gprs[reg1] &= ~0xff; in handle_iske()
232 vcpu->run->s.regs.gprs[reg1] |= key; in handle_iske()
251 addr = vcpu->run->s.regs.gprs[reg2] & PAGE_MASK; in handle_rrbe()
296 key = vcpu->run->s.regs.gprs[reg1] & 0xfe; in handle_sske()
297 start = vcpu->run->s.regs.gprs[reg2] & PAGE_MASK; in handle_sske()
329 vcpu->run->s.regs.gprs[reg1] &= ~0xff00UL; in handle_sske()
330 vcpu->run->s.regs.gprs[reg1] |= (u64) oldkey << 8; in handle_sske()
335 vcpu->run->s.regs.gprs[reg2] &= ~PAGE_MASK; in handle_sske()
337 vcpu->run->s.regs.gprs[reg2] &= ~0xfffff000UL; in handle_sske()
[all …]
/arch/arm/include/asm/
Dkvm_coproc.h31 int kvm_handle_cp10_id(struct kvm_vcpu *vcpu, struct kvm_run *run);
32 int kvm_handle_cp_0_13_access(struct kvm_vcpu *vcpu, struct kvm_run *run);
33 int kvm_handle_cp14_load_store(struct kvm_vcpu *vcpu, struct kvm_run *run);
34 int kvm_handle_cp14_32(struct kvm_vcpu *vcpu, struct kvm_run *run);
35 int kvm_handle_cp14_64(struct kvm_vcpu *vcpu, struct kvm_run *run);
36 int kvm_handle_cp15_32(struct kvm_vcpu *vcpu, struct kvm_run *run);
37 int kvm_handle_cp15_64(struct kvm_vcpu *vcpu, struct kvm_run *run);
Dkvm_mmio.h34 int kvm_handle_mmio_return(struct kvm_vcpu *vcpu, struct kvm_run *run);
35 int io_mem_abort(struct kvm_vcpu *vcpu, struct kvm_run *run,
/arch/arm64/kvm/
Dhandle_exit.c40 static int handle_hvc(struct kvm_vcpu *vcpu, struct kvm_run *run) in handle_hvc() argument
57 static int handle_smc(struct kvm_vcpu *vcpu, struct kvm_run *run) in handle_smc() argument
84 static int kvm_handle_wfx(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_wfx() argument
113 static int kvm_handle_guest_debug(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_guest_debug() argument
118 run->exit_reason = KVM_EXIT_DEBUG; in kvm_handle_guest_debug()
119 run->debug.arch.hsr = hsr; in kvm_handle_guest_debug()
123 run->debug.arch.far = vcpu->arch.fault.far_el2; in kvm_handle_guest_debug()
140 static int kvm_handle_unknown_ec(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_unknown_ec() argument
185 int handle_exit(struct kvm_vcpu *vcpu, struct kvm_run *run, in handle_exit() argument
228 return exit_handler(vcpu, run); in handle_exit()
[all …]
/arch/arm64/include/asm/
Dkvm_coproc.h41 int kvm_handle_cp14_load_store(struct kvm_vcpu *vcpu, struct kvm_run *run);
42 int kvm_handle_cp14_32(struct kvm_vcpu *vcpu, struct kvm_run *run);
43 int kvm_handle_cp14_64(struct kvm_vcpu *vcpu, struct kvm_run *run);
44 int kvm_handle_cp15_32(struct kvm_vcpu *vcpu, struct kvm_run *run);
45 int kvm_handle_cp15_64(struct kvm_vcpu *vcpu, struct kvm_run *run);
46 int kvm_handle_sys_reg(struct kvm_vcpu *vcpu, struct kvm_run *run);
Dkvm_mmio.h36 int kvm_handle_mmio_return(struct kvm_vcpu *vcpu, struct kvm_run *run);
37 int io_mem_abort(struct kvm_vcpu *vcpu, struct kvm_run *run,
/arch/arm/kvm/
Dmmio.c95 int kvm_handle_mmio_return(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_mmio_return() argument
101 if (!run->mmio.is_write) { in kvm_handle_mmio_return()
102 len = run->mmio.len; in kvm_handle_mmio_return()
106 data = kvm_mmio_read_buf(run->mmio.data, len); in kvm_handle_mmio_return()
114 trace_kvm_mmio(KVM_TRACE_MMIO_READ, len, run->mmio.phys_addr, in kvm_handle_mmio_return()
155 int io_mem_abort(struct kvm_vcpu *vcpu, struct kvm_run *run, in io_mem_abort() argument
199 run->mmio.is_write = is_write; in io_mem_abort()
200 run->mmio.phys_addr = fault_ipa; in io_mem_abort()
201 run->mmio.len = len; in io_mem_abort()
206 memcpy(run->mmio.data, data_buf, len); in io_mem_abort()
[all …]
Dhandle_exit.c31 static int handle_hvc(struct kvm_vcpu *vcpu, struct kvm_run *run) in handle_hvc() argument
48 static int handle_smc(struct kvm_vcpu *vcpu, struct kvm_run *run) in handle_smc() argument
74 static int kvm_handle_wfx(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_wfx() argument
91 static int kvm_handle_unknown_ec(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_unknown_ec() argument
129 int handle_exit(struct kvm_vcpu *vcpu, struct kvm_run *run, in handle_exit() argument
168 return exit_handler(vcpu, run); in handle_exit()
175 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in handle_exit()
/arch/arm/mach-gemini/
DKconfig9 Say Y here if you intend to run this kernel on a
16 Say Y here if you intend to run this kernel on a
23 Say Y here if you intend to run this kernel on a
30 Say Y here if you intend to run this kernel on a
/arch/arm/mach-iop32x/
DKconfig13 Say Y here if you want to run your kernel on the GLAN Tank
20 Say Y here if you want to run your kernel on the Intel IQ80321
27 Say Y here if you want to run your kernel on the Intel EP80219
34 Say Y here if you want to run your kernel on the Thecus n2100
40 Say Y here if you want to run your kernel on the Lanner EM7210
/arch/mips/include/asm/
Dkvm_host.h270 int (*vcpu_run)(struct kvm_run *run, struct kvm_vcpu *vcpu);
554 extern int kvm_mips_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu);
593 struct kvm_run *run,
598 struct kvm_run *run,
628 struct kvm_run *run,
633 struct kvm_run *run,
638 struct kvm_run *run,
643 struct kvm_run *run,
648 struct kvm_run *run,
653 struct kvm_run *run,
[all …]
/arch/cris/arch-v10/kernel/
Dtime.c150 IO_STATE( R_TIMER_CTRL, tm1, run) | in timer_interrupt()
153 IO_STATE( R_TIMER_CTRL, tm0, run) | in timer_interrupt()
215 IO_STATE( R_TIMER_CTRL, tm1, run) | in time_init()
218 IO_STATE( R_TIMER_CTRL, tm0, run) | in time_init()
235 IO_STATE(R_TIMER_CTRL, tm1, run) | in time_init()
238 IO_STATE(R_TIMER_CTRL, tm0, run) | in time_init()
/arch/cris/include/arch-v32/mach-fs/mach/hwregs/
Dbif_dma_defs.h115 unsigned int run : 1; member
133 unsigned int run : 1; member
164 unsigned int run : 1; member
182 unsigned int run : 1; member
214 unsigned int run : 1; member
232 unsigned int run : 1; member
263 unsigned int run : 1; member
281 unsigned int run : 1; member
/arch/cris/include/arch-v32/arch/hwregs/
Dbif_dma_defs.h115 unsigned int run : 1; member
133 unsigned int run : 1; member
164 unsigned int run : 1; member
182 unsigned int run : 1; member
214 unsigned int run : 1; member
232 unsigned int run : 1; member
263 unsigned int run : 1; member
281 unsigned int run : 1; member
/arch/arm/mach-aspeed/
DKconfig9 Say Y here if you want to run your kernel on an ASpeed BMC SoC.
18 Say yes if you intend to run on an Aspeed ast2400 or similar
27 Say yes if you intend to run on an Aspeed ast2500 or similar
/arch/arm/mach-footbridge/
DKconfig14 Say Y here if you intend to run this kernel on the CATS.
25 Say Y here if you intend to run this kernel on the Compaq
44 Say Y here if you intend to run this kernel on the EBSA285 card
58 Say Y here if you intend to run this kernel on the EBSA285 card
72 Say Y here if you intend to run this kernel on the Rebel.COM
/arch/arm/mach-iop33x/
DKconfig10 Say Y here if you want to run your kernel on the Intel IQ80331
16 Say Y here if you want to run your kernel on the Intel IQ80332

1234567