Home
last modified time | relevance | path

Searched refs:arch (Results 1 – 25 of 2731) sorted by relevance

12345678910>>...110

/linux/arch/arm64/kernel/
A D.built-in.a.cmd1arch/arm64/kernel/built-in.a; /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolch…
/linux/arch/powerpc/kvm/
A Dbooke_emulate.c26 vcpu->arch.regs.nip = vcpu->arch.shared->srr0; in kvmppc_emul_rfi()
32 vcpu->arch.regs.nip = vcpu->arch.dsrr0; in kvmppc_emul_rfdi()
38 vcpu->arch.regs.nip = vcpu->arch.csrr0; in kvmppc_emul_rfci()
90 vcpu->arch.shared->msr = (vcpu->arch.shared->msr & ~MSR_EE) in kvmppc_booke_emulate_op()
96 vcpu->arch.shared->msr = (vcpu->arch.shared->msr & ~MSR_EE) in kvmppc_booke_emulate_op()
133 vcpu->arch.csrr0 = spr_val; in kvmppc_booke_emulate_mtspr()
136 vcpu->arch.csrr1 = spr_val; in kvmppc_booke_emulate_mtspr()
139 vcpu->arch.dsrr0 = spr_val; in kvmppc_booke_emulate_mtspr()
142 vcpu->arch.dsrr1 = spr_val; in kvmppc_booke_emulate_mtspr()
298 vcpu->arch.ivpr = spr_val; in kvmppc_booke_emulate_mtspr()
[all …]
A Dbook3s_hv_tm.c29 vcpu->arch.tfiar = tfiar; in emulate_tx_failure()
31 vcpu->arch.texasr = (vcpu->arch.texasr & 0x3ffffff) | texasr; in emulate_tx_failure()
56 vcpu->arch.regs.nip -= 4; in kvmhv_p9_tm_emulation()
79 vcpu->arch.cfar = vcpu->arch.regs.nip; in kvmhv_p9_tm_emulation()
80 vcpu->arch.regs.nip = vcpu->arch.shregs.srr0; in kvmhv_p9_tm_emulation()
103 bescr = vcpu->arch.bescr; in kvmhv_p9_tm_emulation()
113 vcpu->arch.cfar = vcpu->arch.regs.nip; in kvmhv_p9_tm_emulation()
114 vcpu->arch.regs.nip = vcpu->arch.ebbrr; in kvmhv_p9_tm_emulation()
156 vcpu->arch.regs.ccr = (vcpu->arch.regs.ccr & 0x0fffffff) | in kvmhv_p9_tm_emulation()
203 vcpu->arch.regs.ccr = (vcpu->arch.regs.ccr & 0x0fffffff) | in kvmhv_p9_tm_emulation()
[all …]
A Dbook3s_hv.c409 vcpu->arch.regs.nip, vcpu->arch.shregs.msr, vcpu->arch.trap); in kvmppc_dump_regs()
415 vcpu->arch.regs.ctr, vcpu->arch.regs.link); in kvmppc_dump_regs()
423 vcpu->arch.regs.ccr, vcpu->arch.regs.xer, vcpu->arch.shregs.dsisr); in kvmppc_dump_regs()
661 vcpu->arch.dtl_ptr = vcpu->arch.dtl.pinned_addr; in kvmppc_update_vpas()
1596 vcpu->arch.fault_dar, vcpu->arch.fault_dsisr); in kvmppc_handle_exit_hv()
1624 vcpu->arch.fault_dsisr = vcpu->arch.shregs.msr & in kvmppc_handle_exit_hv()
2705 vcpu->arch.shared = &vcpu->arch.shregs; in kvmppc_core_vcpu_create_hv()
2746 vcpu->arch.hfscr_permitted = vcpu->arch.hfscr; in kvmppc_core_vcpu_create_hv()
3957 vcpu->arch.regs.msr = vcpu->arch.shregs.msr; in kvmhv_p9_guest_entry()
3972 vcpu->arch.shregs.msr = vcpu->arch.regs.msr; in kvmhv_p9_guest_entry()
[all …]
A Dbook3s_hv_p9_entry.c15 vcpu->arch.cur_activity = next; in __start_timing()
16 vcpu->arch.cur_tb_start = tb; in __start_timing()
28 curr = vcpu->arch.cur_activity; in __accumulate_time()
29 vcpu->arch.cur_activity = next; in __accumulate_time()
31 vcpu->arch.cur_tb_start = tb; in __accumulate_time()
121 lpid = kvm->arch.lpid; in switch_mmu_to_guest_hpt()
128 mtslb(vcpu->arch.slb[i].orige, vcpu->arch.slb[i].origv); in switch_mmu_to_guest_hpt()
181 vcpu->arch.slb_max = nr; in save_clear_guest_mmu()
215 vcpu->arch.ceded = 0; in kvmhv_vcpu_entry_p9()
452 vcpu->arch.purr = purr; in kvmhv_vcpu_entry_p9()
[all …]
A Dbooke.c95 vcpu->arch.shared->msr); in kvmppc_dump_vcpu()
97 vcpu->arch.regs.ctr); in kvmppc_dump_vcpu()
189 vcpu->arch.shadow_msr |= vcpu->arch.shared->msr & MSR_FP; in kvmppc_vcpu_sync_fpu()
233 vcpu->arch.shadow_msr |= vcpu->arch.shared->msr & MSR_DE; in kvmppc_vcpu_sync_debug()
527 vcpu->arch.regs.nip = vcpu->arch.ivpr | in kvmppc_booke_irqprio_deliver()
676 if ((vcpu->arch.tcr & TCR_DIE) && (vcpu->arch.tsr & TSR_DIS)) in update_timer_ints()
681 if ((vcpu->arch.tcr & TCR_WIE) && (vcpu->arch.tsr & TSR_WIS)) in update_timer_ints()
846 __func__, vcpu->arch.regs.nip, vcpu->arch.last_inst); in emulation_exit()
894 vcpu->arch.dbsr = 0; in kvmppc_handle_debug()
896 run->debug.arch.address = vcpu->arch.regs.nip; in kvmppc_handle_debug()
[all …]
A Dtiming.c27 mutex_lock(&vcpu->arch.exit_timing_lock); in kvmppc_init_timing_stats()
29 vcpu->arch.last_exit_type = 0xDEAD; in kvmppc_init_timing_stats()
31 vcpu->arch.timing_count_type[i] = 0; in kvmppc_init_timing_stats()
32 vcpu->arch.timing_max_duration[i] = 0; in kvmppc_init_timing_stats()
34 vcpu->arch.timing_sum_duration[i] = 0; in kvmppc_init_timing_stats()
37 vcpu->arch.timing_last_exit = 0; in kvmppc_init_timing_stats()
38 vcpu->arch.timing_exit.tv64 = 0; in kvmppc_init_timing_stats()
39 vcpu->arch.timing_last_enter.tv64 = 0; in kvmppc_init_timing_stats()
50 vcpu->arch.timing_count_type[type]++; in add_exit_timing()
88 vcpu->arch.timing_last_exit = vcpu->arch.timing_exit.tv64; in kvmppc_update_timing_stats()
[all …]
A Demulate_loadstore.c87 vcpu->arch.mmio_vsx_offset = 0; in kvmppc_emulate_loadstore()
89 vcpu->arch.mmio_sp64_extend = 0; in kvmppc_emulate_loadstore()
90 vcpu->arch.mmio_sign_extend = 0; in kvmppc_emulate_loadstore()
92 vcpu->arch.mmio_vmx_offset = 0; in kvmppc_emulate_loadstore()
96 vcpu->arch.regs.msr = vcpu->arch.shared->msr; in kvmppc_emulate_loadstore()
147 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
150 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
153 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
156 vcpu->arch.mmio_copy_type = in kvmppc_emulate_loadstore()
161 vcpu->arch.mmio_vmx_offset = in kvmppc_emulate_loadstore()
[all …]
A Dbook3s_emulate.c92 vcpu->arch.ppr_tm = vcpu->arch.ppr; in kvmppc_copyto_vcpu_tm()
93 vcpu->arch.dscr_tm = vcpu->arch.dscr; in kvmppc_copyto_vcpu_tm()
94 vcpu->arch.amr_tm = vcpu->arch.amr; in kvmppc_copyto_vcpu_tm()
95 vcpu->arch.ctr_tm = vcpu->arch.regs.ctr; in kvmppc_copyto_vcpu_tm()
96 vcpu->arch.tar_tm = vcpu->arch.tar; in kvmppc_copyto_vcpu_tm()
98 vcpu->arch.cr_tm = vcpu->arch.regs.ccr; in kvmppc_copyto_vcpu_tm()
111 vcpu->arch.ppr = vcpu->arch.ppr_tm; in kvmppc_copyfrom_vcpu_tm()
112 vcpu->arch.dscr = vcpu->arch.dscr_tm; in kvmppc_copyfrom_vcpu_tm()
113 vcpu->arch.amr = vcpu->arch.amr_tm; in kvmppc_copyfrom_vcpu_tm()
115 vcpu->arch.tar = vcpu->arch.tar_tm; in kvmppc_copyfrom_vcpu_tm()
[all …]
A Dbook3s_pr.c301 vcpu->arch.purr += get_tb() - vcpu->arch.entry_tb; in kvmppc_copy_from_svcpu()
302 vcpu->arch.spurr += get_tb() - vcpu->arch.entry_tb; in kvmppc_copy_from_svcpu()
305 vcpu->arch.ic += mfspr(SPRN_IC) - vcpu->arch.entry_ic; in kvmppc_copy_from_svcpu()
556 vcpu->arch.pvr = pvr; in kvmppc_set_pvr_pr()
1044 vcpu->arch.fscr = fscr; in kvmppc_set_fscr()
1049 vcpu->arch.fscr = fscr; in kvmppc_set_fscr()
1739 vcpu->arch.shadow_vcpu = in kvmppc_core_vcpu_create_pr()
1768 vcpu->arch.pvr = 0x84202; in kvmppc_core_vcpu_create_pr()
1769 vcpu->arch.intr_msr = 0; in kvmppc_core_vcpu_create_pr()
1772 vcpu->arch.slb_nr = 64; in kvmppc_core_vcpu_create_pr()
[all …]
A Dbook3s_hv_tm_builtin.c22 u32 instr = vcpu->arch.emul_inst; in kvmhv_p9_tm_emulation_early()
46 vcpu->arch.cfar = vcpu->arch.regs.nip - 4; in kvmhv_p9_tm_emulation_early()
47 vcpu->arch.regs.nip = vcpu->arch.shregs.srr0; in kvmhv_p9_tm_emulation_early()
52 msr = vcpu->arch.shregs.msr; in kvmhv_p9_tm_emulation_early()
68 vcpu->arch.shregs.msr = msr; in kvmhv_p9_tm_emulation_early()
69 vcpu->arch.cfar = vcpu->arch.regs.nip - 4; in kvmhv_p9_tm_emulation_early()
77 msr = vcpu->arch.shregs.msr; in kvmhv_p9_tm_emulation_early()
90 msr = vcpu->arch.shregs.msr; in kvmhv_p9_tm_emulation_early()
101 vcpu->arch.regs.ccr = (vcpu->arch.regs.ccr & 0x0fffffff) | in kvmhv_p9_tm_emulation_early()
116 vcpu->arch.regs.nip = vcpu->arch.tfhar; in kvmhv_emulate_tm_rollback()
[all …]
A De500_emulate.c75 int cpir = cvcpu->arch.shared->pir; in kvmppc_e500_emul_msgsnd()
94 vcpu->run->debug.arch.address = vcpu->arch.regs.nip; in kvmppc_e500_emul_ehpriv()
95 vcpu->run->debug.arch.status = 0; in kvmppc_e500_emul_ehpriv()
273 vcpu->arch.pwrmgtcr0 = spr_val; in kvmppc_core_emulate_mtspr_e500()
360 *spr_val = vcpu->arch.decar; in kvmppc_core_emulate_mfspr_e500()
363 *spr_val = vcpu->arch.tlbcfg[0]; in kvmppc_core_emulate_mfspr_e500()
366 *spr_val = vcpu->arch.tlbcfg[1]; in kvmppc_core_emulate_mfspr_e500()
371 *spr_val = vcpu->arch.tlbps[0]; in kvmppc_core_emulate_mfspr_e500()
376 *spr_val = vcpu->arch.tlbps[1]; in kvmppc_core_emulate_mfspr_e500()
399 *spr_val = vcpu->arch.mmucfg; in kvmppc_core_emulate_mfspr_e500()
[all …]
A De500mc.c102 vcpu->arch.pid = pid; in kvmppc_set_pid()
123 vcpu->arch.epsc = vcpu->arch.eplc; in kvmppc_core_vcpu_load_e500mc()
124 mtspr(SPRN_EPLC, vcpu->arch.eplc); in kvmppc_core_vcpu_load_e500mc()
125 mtspr(SPRN_EPSC, vcpu->arch.epsc); in kvmppc_core_vcpu_load_e500mc()
138 mtspr(SPRN_GEPR, vcpu->arch.epr); in kvmppc_core_vcpu_load_e500mc()
162 vcpu->arch.epr = mfspr(SPRN_GEPR); in kvmppc_core_vcpu_put_e500mc()
206 vcpu->arch.pvr = mfspr(SPRN_PVR); in kvmppc_core_vcpu_setup()
313 vcpu->arch.oldpir = 0xffffffff; in kvmppc_core_vcpu_create_e500mc()
320 if (!vcpu->arch.shared) { in kvmppc_core_vcpu_create_e500mc()
356 kvm->arch.lpid = lpid; in kvmppc_core_init_vm_e500mc()
[all …]
A Dbook3s_hv_nested.c40 hr->purr = vcpu->arch.purr; in kvmhv_save_hv_regs()
42 hr->ic = vcpu->arch.ic; in kvmhv_save_hv_regs()
50 hr->pidr = vcpu->arch.pid; in kvmhv_save_hv_regs()
52 hr->ppr = vcpu->arch.ppr; in kvmhv_save_hv_regs()
110 hr->ic = vcpu->arch.ic; in save_hv_return_state()
152 vcpu->arch.ic = hr->ic; in restore_hv_regs()
176 vcpu->arch.ic = hr->ic; in kvmhv_restore_hv_return_state()
196 vcpu->arch.trap = 0; in kvmhv_nested_mmio_needed()
354 vcpu->arch.regs.msr = vcpu->arch.shregs.msr; in kvmhv_enter_nested_guest()
369 vcpu->arch.shregs.msr = (vcpu->arch.regs.msr | MSR_ME) & ~MSR_HV; in kvmhv_enter_nested_guest()
[all …]
/linux/arch/mips/kvm/
A Demulate.c45 struct kvm_vcpu_arch *arch = &vcpu->arch; in kvm_compute_return_epc() local
1005 vcpu->arch.pc, vcpu->arch.host_cp0_badvaddr, in kvm_mips_emulate_store()
1015 vcpu->arch.pc, vcpu->arch.host_cp0_badvaddr, in kvm_mips_emulate_store()
1024 vcpu->arch.pc, vcpu->arch.host_cp0_badvaddr, in kvm_mips_emulate_store()
1033 vcpu->arch.pc, vcpu->arch.host_cp0_badvaddr, in kvm_mips_emulate_store()
1063 vcpu->arch.pc, vcpu->arch.host_cp0_badvaddr, in kvm_mips_emulate_store()
1093 vcpu->arch.pc, vcpu->arch.host_cp0_badvaddr, in kvm_mips_emulate_store()
1141 vcpu->arch.pc, vcpu->arch.host_cp0_badvaddr, in kvm_mips_emulate_store()
1188 vcpu->arch.pc, vcpu->arch.host_cp0_badvaddr, in kvm_mips_emulate_store()
1292 vcpu->arch.io_pc = vcpu->arch.pc; in kvm_mips_emulate_load()
[all …]
/linux/arch/arm64/kvm/
A D.built-in.a.cmd1arch/arm64/kvm/built-in.a; /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchain…
A Ddebug.c91 vcpu->arch.mdcr_el2 |= (MDCR_EL2_TPM | in kvm_arm_setup_mdcr_el2()
101 vcpu->arch.mdcr_el2 |= MDCR_EL2_TDE; in kvm_arm_setup_mdcr_el2()
111 vcpu->arch.mdcr_el2 |= MDCR_EL2_TDA; in kvm_arm_setup_mdcr_el2()
136 vcpu->arch.debug_ptr = &vcpu->arch.vcpu_debug_state; in kvm_arm_reset_debug_ptr()
216 vcpu->arch.debug_ptr = &vcpu->arch.external_debug_state; in kvm_arm_setup_debug()
220 &vcpu->arch.debug_ptr->dbg_bcr[0], in kvm_arm_setup_debug()
221 &vcpu->arch.debug_ptr->dbg_bvr[0]); in kvm_arm_setup_debug()
224 &vcpu->arch.debug_ptr->dbg_wcr[0], in kvm_arm_setup_debug()
230 vcpu->arch.debug_ptr != &vcpu->arch.vcpu_debug_state); in kvm_arm_setup_debug()
258 &vcpu->arch.debug_ptr->dbg_bcr[0], in kvm_arm_clear_debug()
[all …]
/linux/arch/s390/kvm/
A Dguestdbg.c132 vcpu->arch.guestdbg.cr0 = vcpu->arch.sie_block->gcr[0]; in kvm_s390_backup_guest_per_regs()
133 vcpu->arch.guestdbg.cr9 = vcpu->arch.sie_block->gcr[9]; in kvm_s390_backup_guest_per_regs()
134 vcpu->arch.guestdbg.cr10 = vcpu->arch.sie_block->gcr[10]; in kvm_s390_backup_guest_per_regs()
135 vcpu->arch.guestdbg.cr11 = vcpu->arch.sie_block->gcr[11]; in kvm_s390_backup_guest_per_regs()
140 vcpu->arch.sie_block->gcr[0] = vcpu->arch.guestdbg.cr0; in kvm_s390_restore_guest_per_regs()
141 vcpu->arch.sie_block->gcr[9] = vcpu->arch.guestdbg.cr9; in kvm_s390_restore_guest_per_regs()
142 vcpu->arch.sie_block->gcr[10] = vcpu->arch.guestdbg.cr10; in kvm_s390_restore_guest_per_regs()
143 vcpu->arch.sie_block->gcr[11] = vcpu->arch.guestdbg.cr11; in kvm_s390_restore_guest_per_regs()
211 if (dbg->arch.nr_hw_bp <= 0 || !dbg->arch.hw_bp) in kvm_s390_import_bp_data()
298 vcpu->arch.guestdbg.nr_hw_wp = 0; in kvm_s390_clear_bp_data()
[all …]
A Dkvm-s390.c305 kvm->arch.epoch = vcpu->arch.sie_block->epoch; in kvm_clock_sync()
306 kvm->arch.epdx = vcpu->arch.sie_block->epdx; in kvm_clock_sync()
2652 kvm->arch.crypto.crycb = &kvm->arch.sie_page2->crycb; in kvm_s390_crypto_init()
2729 kvm->arch.model.fac_list = kvm->arch.sie_page2->fac_list; in kvm_arch_init_vm()
3117 vcpu->arch.sie_block->epoch = vcpu->kvm->arch.epoch; in kvm_arch_vcpu_postcreate()
3118 vcpu->arch.sie_block->epdx = vcpu->kvm->arch.epdx; in kvm_arch_vcpu_postcreate()
3122 vcpu->arch.gmap = vcpu->kvm->arch.gmap; in kvm_arch_vcpu_postcreate()
3128 vcpu->arch.enabled_gmap = vcpu->arch.gmap; in kvm_arch_vcpu_postcreate()
3940 vcpu->arch.sie_block->epoch = kvm->arch.epoch; in kvm_s390_set_tod_clock()
3941 vcpu->arch.sie_block->epdx = kvm->arch.epdx; in kvm_s390_set_tod_clock()
[all …]
/linux/arch/powerpc/kernel/
A Dasm-offsets.c366 OFFSET(VCPU_TAR, kvm_vcpu, arch.tar); in main()
414 OFFSET(KVM_LPID, kvm, arch.lpid); in main()
419 OFFSET(KVM_SDR1, kvm, arch.sdr1); in main()
425 OFFSET(KVM_RADIX, kvm, arch.radix); in main()
439 OFFSET(VCPU_IC, kvm_vcpu, arch.ic); in main()
441 OFFSET(VCPU_AMR, kvm_vcpu, arch.amr); in main()
462 OFFSET(VCPU_PMC, kvm_vcpu, arch.pmc); in main()
466 OFFSET(VCPU_SLB, kvm_vcpu, arch.slb); in main()
475 OFFSET(VCPU_PPR, kvm_vcpu, arch.ppr); in main()
674 arch.xive_saved_state)); in main()
[all …]
/linux/arch/arm64/kvm/hyp/nvhe/
A D.kvm_nvhe.tmp.o.cmd1arch/arm64/kvm/hyp/nvhe/hyp.lds arch/arm64/kvm/hyp/nvhe/timer-sr.nvhe.o arch/arm64/kvm/hyp/nvhe/sy…
/linux/arch/powerpc/include/asm/
A Dkvm_book3s_64.h608 vcpu->arch.amr = vcpu->arch.amr_tm; in copy_from_checkpoint()
609 vcpu->arch.ppr = vcpu->arch.ppr_tm; in copy_from_checkpoint()
610 vcpu->arch.dscr = vcpu->arch.dscr_tm; in copy_from_checkpoint()
611 vcpu->arch.tar = vcpu->arch.tar_tm; in copy_from_checkpoint()
614 vcpu->arch.fp = vcpu->arch.fp_tm; in copy_from_checkpoint()
615 vcpu->arch.vr = vcpu->arch.vr_tm; in copy_from_checkpoint()
625 vcpu->arch.amr_tm = vcpu->arch.amr; in copy_to_checkpoint()
626 vcpu->arch.ppr_tm = vcpu->arch.ppr; in copy_to_checkpoint()
628 vcpu->arch.tar_tm = vcpu->arch.tar; in copy_to_checkpoint()
631 vcpu->arch.fp_tm = vcpu->arch.fp; in copy_to_checkpoint()
[all …]
/linux/tools/testing/selftests/kvm/x86_64/
A Ddebug_regs.c132 run->debug.arch.dr6 == target_dr6, in main()
137 run->debug.arch.dr6, target_dr6); in main()
155 run->debug.arch.dr6 == target_dr6, in main()
160 run->debug.arch.dr6, target_dr6); in main()
176 debug.arch.debugreg[7] = 0x00000400; in main()
181 run->debug.arch.pc == target_rip && in main()
182 run->debug.arch.dr6 == target_dr6, in main()
186 run->debug.arch.pc, target_rip, run->debug.arch.dr6, in main()
193 debug.arch.debugreg[7] = 0x400 | DR7_GD; in main()
200 run->debug.arch.dr6 == target_dr6, in main()
[all …]
/linux/arch/arm64/lib/
A D.lib.a.cmd1arch/arm64/lib/lib.a; /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aar…
/linux/scripts/
A Dcheckstack.pl42 my $arch = shift;
43 if ($arch eq "") {
44 $arch = `uname -m`;
45 chomp($arch);
61 } elsif ($arch eq 'arm') {
65 } elsif ($arch =~ /^x86(_64)?$/ || $arch =~ /^i[3456]86$/) {
71 } elsif ($arch eq 'ia64') {
74 } elsif ($arch eq 'm68k') {
90 } elsif ($arch eq 'parisc' || $arch eq 'parisc64') {
92 } elsif ($arch eq 'powerpc' || $arch =~ /^ppc(64)?(le)?$/ ) {
[all …]

Completed in 98 milliseconds

12345678910>>...110