Home
last modified time | relevance | path

Searched full:arch (Results 1 – 25 of 3344) sorted by relevance

12345678910>>...134

/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbooke_emulate.c26 vcpu->arch.regs.nip = vcpu->arch.shared->srr0; in kvmppc_emul_rfi()
27 kvmppc_set_msr(vcpu, vcpu->arch.shared->srr1); in kvmppc_emul_rfi()
32 vcpu->arch.regs.nip = vcpu->arch.dsrr0; in kvmppc_emul_rfdi()
33 kvmppc_set_msr(vcpu, vcpu->arch.dsrr1); in kvmppc_emul_rfdi()
38 vcpu->arch.regs.nip = vcpu->arch.csrr0; in kvmppc_emul_rfci()
39 kvmppc_set_msr(vcpu, vcpu->arch.csrr1); in kvmppc_emul_rfci()
80 kvmppc_set_gpr(vcpu, rt, vcpu->arch.shared->msr); in kvmppc_booke_emulate_op()
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()
127 vcpu->arch.shared->dar = spr_val; in kvmppc_booke_emulate_mtspr()
[all …]
Dbooke.c68 printk("pc: %08lx msr: %08llx\n", vcpu->arch.regs.nip, in kvmppc_dump_vcpu()
69 vcpu->arch.shared->msr); in kvmppc_dump_vcpu()
70 printk("lr: %08lx ctr: %08lx\n", vcpu->arch.regs.link, in kvmppc_dump_vcpu()
71 vcpu->arch.regs.ctr); in kvmppc_dump_vcpu()
72 printk("srr0: %08llx srr1: %08llx\n", vcpu->arch.shared->srr0, in kvmppc_dump_vcpu()
73 vcpu->arch.shared->srr1); in kvmppc_dump_vcpu()
75 printk("exceptions: %08lx\n", vcpu->arch.pending_exceptions); in kvmppc_dump_vcpu()
93 vcpu->arch.shadow_msr &= ~MSR_SPE; in kvmppc_vcpu_disable_spe()
103 vcpu->arch.shadow_msr |= MSR_SPE; in kvmppc_vcpu_enable_spe()
109 if (vcpu->arch.shared->msr & MSR_SPE) { in kvmppc_vcpu_sync_spe()
[all …]
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()
33 vcpu->arch.timing_min_duration[i] = 0xFFFFFFFF; in kvmppc_init_timing_stats()
34 vcpu->arch.timing_sum_duration[i] = 0; in kvmppc_init_timing_stats()
35 vcpu->arch.timing_sum_quad_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()
[all …]
Dbook3s_hv.c14 * This file is derived from arch/powerpc/kvm/book3s.c,
134 return kvm->arch.nested_enable && kvm_is_radix(kvm); in nesting_enabled()
241 cpu = READ_ONCE(vcpu->arch.thread_cpu); in kvmppc_fast_vcpu_kick_hv()
277 * Updates to busy_stolen are protected by arch.tbacct_lock;
307 struct kvmppc_vcore *vc = vcpu->arch.vcore; in kvmppc_core_vcpu_load_hv()
319 spin_lock_irqsave(&vcpu->arch.tbacct_lock, flags); in kvmppc_core_vcpu_load_hv()
320 if (vcpu->arch.state == KVMPPC_VCPU_BUSY_IN_HOST && in kvmppc_core_vcpu_load_hv()
321 vcpu->arch.busy_preempt != TB_NIL) { in kvmppc_core_vcpu_load_hv()
322 vcpu->arch.busy_stolen += mftb() - vcpu->arch.busy_preempt; in kvmppc_core_vcpu_load_hv()
323 vcpu->arch.busy_preempt = TB_NIL; in kvmppc_core_vcpu_load_hv()
[all …]
Dbook3s_hv_tm.c19 u64 msr = vcpu->arch.shregs.msr; in emulate_tx_failure()
21 tfiar = vcpu->arch.regs.nip & ~0x3ull; in emulate_tx_failure()
23 if (MSR_TM_SUSPENDED(vcpu->arch.shregs.msr)) in emulate_tx_failure()
29 vcpu->arch.tfiar = tfiar; in emulate_tx_failure()
31 vcpu->arch.texasr = (vcpu->arch.texasr & 0x3ffffff) | texasr; in emulate_tx_failure()
37 * instruction image is in vcpu->arch.emul_inst. If the guest was in
44 u32 instr = vcpu->arch.emul_inst; in kvmhv_p9_tm_emulation()
45 u64 msr = vcpu->arch.shregs.msr; in kvmhv_p9_tm_emulation()
63 newmsr = vcpu->arch.shregs.srr1; in kvmhv_p9_tm_emulation()
69 vcpu->arch.shregs.msr = newmsr; in kvmhv_p9_tm_emulation()
[all …]
Demulate_loadstore.c86 vcpu->arch.mmio_vsx_copy_nums = 0; in kvmppc_emulate_loadstore()
87 vcpu->arch.mmio_vsx_offset = 0; in kvmppc_emulate_loadstore()
88 vcpu->arch.mmio_copy_type = KVMPPC_VSX_COPY_NONE; 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()
91 vcpu->arch.mmio_vmx_copy_nums = 0; in kvmppc_emulate_loadstore()
92 vcpu->arch.mmio_vmx_offset = 0; in kvmppc_emulate_loadstore()
93 vcpu->arch.mmio_host_swabbed = 0; in kvmppc_emulate_loadstore()
96 vcpu->arch.regs.msr = vcpu->arch.shared->msr; in kvmppc_emulate_loadstore()
97 if (analyse_instr(&op, &vcpu->arch.regs, ppc_inst(inst)) == 0) { in kvmppc_emulate_loadstore()
[all …]
Dbook3s_emulate.c77 if (vcpu->arch.papr_enabled && (level > PRIV_SUPER)) in spr_allowed()
90 memcpy(&vcpu->arch.gpr_tm[0], &vcpu->arch.regs.gpr[0], in kvmppc_copyto_vcpu_tm()
91 sizeof(vcpu->arch.gpr_tm)); in kvmppc_copyto_vcpu_tm()
92 memcpy(&vcpu->arch.fp_tm, &vcpu->arch.fp, in kvmppc_copyto_vcpu_tm()
94 memcpy(&vcpu->arch.vr_tm, &vcpu->arch.vr, in kvmppc_copyto_vcpu_tm()
96 vcpu->arch.ppr_tm = vcpu->arch.ppr; in kvmppc_copyto_vcpu_tm()
97 vcpu->arch.dscr_tm = vcpu->arch.dscr; in kvmppc_copyto_vcpu_tm()
98 vcpu->arch.amr_tm = vcpu->arch.amr; in kvmppc_copyto_vcpu_tm()
99 vcpu->arch.ctr_tm = vcpu->arch.regs.ctr; in kvmppc_copyto_vcpu_tm()
100 vcpu->arch.tar_tm = vcpu->arch.tar; in kvmppc_copyto_vcpu_tm()
[all …]
De500_emulate.c8 * This file is derived from arch/powerpc/kvm/44x_emulate.c,
53 ulong param = vcpu->arch.regs.gpr[rb]; in kvmppc_e500_emul_msgclr()
59 clear_bit(prio, &vcpu->arch.pending_exceptions); in kvmppc_e500_emul_msgclr()
65 ulong param = vcpu->arch.regs.gpr[rb]; in kvmppc_e500_emul_msgsnd()
75 int cpir = cvcpu->arch.shared->pir; in kvmppc_e500_emul_msgsnd()
77 set_bit(prio, &cvcpu->arch.pending_exceptions); 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()
225 vcpu->arch.shared->mas0 = spr_val; in kvmppc_core_emulate_mtspr_e500()
228 vcpu->arch.shared->mas1 = spr_val; in kvmppc_core_emulate_mtspr_e500()
[all …]
De500mc.c8 * This file is derived from arch/powerpc/kvm/e500.c,
102 vcpu->arch.pid = pid; in kvmppc_set_pid()
119 mtspr(SPRN_EPCR, vcpu->arch.shadow_epcr); in kvmppc_core_vcpu_load_e500mc()
121 mtspr(SPRN_MSRP, vcpu->arch.shadow_msrp); in kvmppc_core_vcpu_load_e500mc()
122 vcpu->arch.eplc = EPC_EGS | (get_lpid(vcpu) << EPC_ELPID_SHIFT); in kvmppc_core_vcpu_load_e500mc()
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()
127 mtspr(SPRN_GIVPR, vcpu->arch.ivpr); in kvmppc_core_vcpu_load_e500mc()
128 mtspr(SPRN_GIVOR2, vcpu->arch.ivor[BOOKE_IRQPRIO_DATA_STORAGE]); in kvmppc_core_vcpu_load_e500mc()
[all …]
Dbook3s_hv_tm_builtin.c22 u32 instr = vcpu->arch.emul_inst; in kvmhv_p9_tm_emulation_early()
40 newmsr = vcpu->arch.shregs.srr1; in kvmhv_p9_tm_emulation_early()
45 vcpu->arch.shregs.msr = newmsr; 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()
51 /* check for PR=1 and arch 2.06 bit set in PCR */ in kvmhv_p9_tm_emulation_early()
52 msr = vcpu->arch.shregs.msr; in kvmhv_p9_tm_emulation_early()
53 if ((msr & MSR_PR) && (vcpu->arch.vcore->pcr & PCR_ARCH_206)) in kvmhv_p9_tm_emulation_early()
56 if (!(vcpu->arch.hfscr & HFSCR_EBB) || in kvmhv_p9_tm_emulation_early()
68 vcpu->arch.shregs.msr = msr; in kvmhv_p9_tm_emulation_early()
[all …]
Dbook3s_pr.c15 * This file is derived from arch/powerpc/kvm/44x.c,
82 if (vcpu->arch.hflags & BOOK3S_HFLAG_SPLIT_HACK) in kvmppc_fixup_split_real()
89 vcpu->arch.hflags |= BOOK3S_HFLAG_SPLIT_HACK; in kvmppc_fixup_split_real()
95 if (vcpu->arch.hflags & BOOK3S_HFLAG_SPLIT_HACK) { in kvmppc_unfixup_split_real()
102 vcpu->arch.hflags &= ~BOOK3S_HFLAG_SPLIT_HACK; in kvmppc_unfixup_split_real()
114 new_msr = vcpu->arch.intr_msr; in kvmppc_inject_interrupt_pr()
148 current->thread.kvm_shadow_vcpu = vcpu->arch.shadow_vcpu; in kvmppc_core_vcpu_load_pr()
189 svcpu->gpr[0] = vcpu->arch.regs.gpr[0]; in kvmppc_copy_to_svcpu()
190 svcpu->gpr[1] = vcpu->arch.regs.gpr[1]; in kvmppc_copy_to_svcpu()
191 svcpu->gpr[2] = vcpu->arch.regs.gpr[2]; in kvmppc_copy_to_svcpu()
[all …]
Dbook3s_hv_nested.c30 struct kvmppc_vcore *vc = vcpu->arch.vcore; in kvmhv_save_hv_regs()
34 hr->hfscr = vcpu->arch.hfscr; in kvmhv_save_hv_regs()
36 hr->dawr0 = vcpu->arch.dawr; in kvmhv_save_hv_regs()
37 hr->dawrx0 = vcpu->arch.dawrx; in kvmhv_save_hv_regs()
38 hr->ciabr = vcpu->arch.ciabr; in kvmhv_save_hv_regs()
39 hr->purr = vcpu->arch.purr; in kvmhv_save_hv_regs()
40 hr->spurr = vcpu->arch.spurr; in kvmhv_save_hv_regs()
41 hr->ic = vcpu->arch.ic; in kvmhv_save_hv_regs()
43 hr->srr0 = vcpu->arch.shregs.srr0; in kvmhv_save_hv_regs()
44 hr->srr1 = vcpu->arch.shregs.srr1; in kvmhv_save_hv_regs()
[all …]
De500_mmu.c12 * This file is based on arch/powerpc/kvm/44x_tlb.c,
71 esel += gtlb0_set_base(vcpu_e500, vcpu->arch.shared->mas2); in get_tlb_esel()
134 tlbsel = (vcpu->arch.shared->mas4 >> 28) & 0x1; in kvmppc_e500_deliver_tlb_miss()
136 tsized = (vcpu->arch.shared->mas4 >> 7) & 0x1f; in kvmppc_e500_deliver_tlb_miss()
138 vcpu->arch.shared->mas0 = MAS0_TLBSEL(tlbsel) | MAS0_ESEL(victim) in kvmppc_e500_deliver_tlb_miss()
140 vcpu->arch.shared->mas1 = MAS1_VALID | (as ? MAS1_TS : 0) in kvmppc_e500_deliver_tlb_miss()
143 vcpu->arch.shared->mas2 = (eaddr & MAS2_EPN) in kvmppc_e500_deliver_tlb_miss()
144 | (vcpu->arch.shared->mas4 & MAS2_ATTRIB_MASK); in kvmppc_e500_deliver_tlb_miss()
145 vcpu->arch.shared->mas7_3 &= MAS3_U0 | MAS3_U1 | MAS3_U2 | MAS3_U3; in kvmppc_e500_deliver_tlb_miss()
146 vcpu->arch.shared->mas6 = (vcpu->arch.shared->mas6 & MAS6_SPID1) in kvmppc_e500_deliver_tlb_miss()
[all …]
Dpowerpc.c51 return !!(v->arch.pending_exceptions) || kvm_request_pending(v); in kvm_arch_vcpu_runnable()
143 struct kvm_vcpu_arch_shared *shared = vcpu->arch.shared; in kvmppc_swab_shared()
185 if (vcpu->arch.intr_msr & MSR_LE) in kvmppc_kvm_pv()
187 if (shared_big_endian != vcpu->arch.shared_big_endian) in kvmppc_kvm_pv()
189 vcpu->arch.shared_big_endian = shared_big_endian; in kvmppc_kvm_pv()
198 vcpu->arch.disable_kernel_nx = true; in kvmppc_kvm_pv()
202 vcpu->arch.magic_page_pa = param1 & ~0xfffULL; in kvmppc_kvm_pv()
203 vcpu->arch.magic_page_ea = param2 & ~0xfffULL; in kvmppc_kvm_pv()
210 if ((vcpu->arch.magic_page_pa & 0xf000) != in kvmppc_kvm_pv()
211 ((ulong)vcpu->arch.shared & 0xf000)) { in kvmppc_kvm_pv()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dasm-offsets.c455 OFFSET(VCPU_HOST_STACK, kvm_vcpu, arch.host_stack); in main()
456 OFFSET(VCPU_HOST_PID, kvm_vcpu, arch.host_pid); in main()
457 OFFSET(VCPU_GUEST_PID, kvm_vcpu, arch.pid); in main()
458 OFFSET(VCPU_GPRS, kvm_vcpu, arch.regs.gpr); in main()
459 OFFSET(VCPU_VRSAVE, kvm_vcpu, arch.vrsave); in main()
460 OFFSET(VCPU_FPRS, kvm_vcpu, arch.fp.fpr); in main()
462 OFFSET(VCPU_VRS, kvm_vcpu, arch.vr.vr); in main()
464 OFFSET(VCPU_XER, kvm_vcpu, arch.regs.xer); in main()
465 OFFSET(VCPU_CTR, kvm_vcpu, arch.regs.ctr); in main()
466 OFFSET(VCPU_LR, kvm_vcpu, arch.regs.link); in main()
[all …]
/kernel/linux/linux-5.10/arch/s390/kvm/
Dguestdbg.c62 u64 *cr9 = &vcpu->arch.sie_block->gcr[9]; in enable_all_hw_bp()
63 u64 *cr10 = &vcpu->arch.sie_block->gcr[10]; in enable_all_hw_bp()
64 u64 *cr11 = &vcpu->arch.sie_block->gcr[11]; in enable_all_hw_bp()
67 if (vcpu->arch.guestdbg.nr_hw_bp <= 0 || in enable_all_hw_bp()
68 vcpu->arch.guestdbg.hw_bp_info == NULL) in enable_all_hw_bp()
79 for (i = 0; i < vcpu->arch.guestdbg.nr_hw_bp; i++) { in enable_all_hw_bp()
80 start = vcpu->arch.guestdbg.hw_bp_info[i].addr; in enable_all_hw_bp()
81 len = vcpu->arch.guestdbg.hw_bp_info[i].len; in enable_all_hw_bp()
102 u64 *cr9 = &vcpu->arch.sie_block->gcr[9]; in enable_all_hw_wp()
103 u64 *cr10 = &vcpu->arch.sie_block->gcr[10]; in enable_all_hw_wp()
[all …]
Dkvm-s390.c285 kvm_clock_sync_scb(vcpu->arch.sie_block, *delta); in kvm_clock_sync()
287 kvm->arch.epoch = vcpu->arch.sie_block->epoch; in kvm_clock_sync()
288 kvm->arch.epdx = vcpu->arch.sie_block->epdx; in kvm_clock_sync()
290 if (vcpu->arch.cputm_enabled) in kvm_clock_sync()
291 vcpu->arch.cputm_start += *delta; in kvm_clock_sync()
292 if (vcpu->arch.vsie_block) in kvm_clock_sync()
293 kvm_clock_sync_scb(vcpu->arch.vsie_block, in kvm_clock_sync()
597 struct gmap *gmap = kvm->arch.gmap; in kvm_arch_sync_dirty_log()
680 kvm->arch.use_irqchip = 1; in kvm_vm_ioctl_enable_cap()
685 kvm->arch.user_sigp = 1; in kvm_vm_ioctl_enable_cap()
[all …]
Dpv.c32 free_pages(vcpu->arch.pv.stor_base, in kvm_s390_pv_destroy_cpu()
35 free_page(sida_origin(vcpu->arch.sie_block)); in kvm_s390_pv_destroy_cpu()
36 vcpu->arch.sie_block->pv_handle_cpu = 0; in kvm_s390_pv_destroy_cpu()
37 vcpu->arch.sie_block->pv_handle_config = 0; in kvm_s390_pv_destroy_cpu()
38 memset(&vcpu->arch.pv, 0, sizeof(vcpu->arch.pv)); in kvm_s390_pv_destroy_cpu()
39 vcpu->arch.sie_block->sdf = 0; in kvm_s390_pv_destroy_cpu()
45 vcpu->arch.sie_block->gbea = 1; in kvm_s390_pv_destroy_cpu()
62 vcpu->arch.pv.stor_base = __get_free_pages(GFP_KERNEL, in kvm_s390_pv_create_cpu()
64 if (!vcpu->arch.pv.stor_base) in kvm_s390_pv_create_cpu()
69 uvcb.num = vcpu->arch.sie_block->icpua; in kvm_s390_pv_create_cpu()
[all …]
/kernel/linux/linux-5.10/arch/mips/kvm/
Demulate.c46 struct kvm_vcpu_arch *arch = &vcpu->arch; in kvm_compute_return_epc() local
66 arch->gprs[insn.r_format.rd] = epc + 8; in kvm_compute_return_epc()
69 nextpc = arch->gprs[insn.r_format.rs]; in kvm_compute_return_epc()
85 if ((long)arch->gprs[insn.i_format.rs] < 0) in kvm_compute_return_epc()
94 if ((long)arch->gprs[insn.i_format.rs] >= 0) in kvm_compute_return_epc()
103 arch->gprs[31] = epc + 8; in kvm_compute_return_epc()
104 if ((long)arch->gprs[insn.i_format.rs] < 0) in kvm_compute_return_epc()
113 arch->gprs[31] = epc + 8; in kvm_compute_return_epc()
114 if ((long)arch->gprs[insn.i_format.rs] >= 0) in kvm_compute_return_epc()
142 arch->gprs[31] = instpc + 8; in kvm_compute_return_epc()
[all …]
/kernel/linux/linux-5.10/tools/perf/
Dcheck-headers.sh30 arch/x86/include/asm/disabled-features.h
31 arch/x86/include/asm/required-features.h
32 arch/x86/include/asm/cpufeatures.h
33 arch/x86/include/asm/inat_types.h
34 arch/x86/include/asm/emulate_prefix.h
35 arch/x86/include/asm/irq_vectors.h
36 arch/x86/include/asm/msr-index.h
37 arch/x86/include/uapi/asm/prctl.h
38 arch/x86/lib/x86-opcode-map.txt
39 arch/x86/tools/gen-insn-attr-x86.awk
[all …]
/kernel/linux/linux-5.10/tools/perf/trace/beauty/
Darch_errno_names.sh20 local arch="$1"
23 header="$toolsdir/arch/$arch/include/uapi/asm/errno.h"
33 local arch=$(arch_string "$1")
37 static const char *errno_to_name__$arch(int err)
57 local arch="$1"
58 local asm_errno=$(asm_errno_file "$arch")
64 |IFS=, create_errno_lookup_func "$arch"
71 local arch
73 printf 'const char *arch_syscalls__strerrno(const char *arch, int err)\n'
75 for arch in $archlist; do
[all …]
/kernel/linux/linux-5.10/arch/x86/tools/
DMakefile16 reformatter = $(srctree)/arch/x86/tools/objdump_reformat.awk
17 chkobjdump = $(srctree)/arch/x86/tools/chkobjdump.awk
32 …st.o := -Wall -I$(objtree)/arch/x86/lib/ -I$(srctree)/arch/x86/include/uapi/ -I$(srctree)/arch/x86…
34 …STCFLAGS_insn_sanity.o := -Wall -I$(objtree)/arch/x86/lib/ -I$(srctree)/arch/x86/include/ -I$(srct…
37arch/x86/lib/insn.c $(srctree)/arch/x86/lib/inat.c $(srctree)/arch/x86/include/asm/inat_types.h $(…
39arch/x86/lib/insn.c $(srctree)/arch/x86/lib/inat.c $(srctree)/arch/x86/include/asm/inat_types.h $(…
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/
Ddebug_regs.c97 run->debug.arch.exception == BP_VECTOR && in main()
98 run->debug.arch.pc == CAST_TO_RIP(sw_bp), in main()
100 run->exit_reason, run->debug.arch.exception, in main()
101 run->debug.arch.pc, CAST_TO_RIP(sw_bp)); in main()
108 debug.arch.debugreg[i] = CAST_TO_RIP(hw_bp); in main()
109 debug.arch.debugreg[7] = 0x400 | (1UL << (2*i+1)); in main()
114 run->debug.arch.exception == DB_VECTOR && in main()
115 run->debug.arch.pc == CAST_TO_RIP(hw_bp) && in main()
116 run->debug.arch.dr6 == target_dr6, in main()
119 i, run->exit_reason, run->debug.arch.exception, in main()
[all …]
/kernel/linux/linux-5.10/tools/testing/ktest/examples/
Dcrosstests.conf61 # arch that you want to test. (uncomment RUN and chose your arch)
66 # to run the bisect on the arch.
78 … PATH=/usr/local/gcc-${GCC_VER}-nolibc/${CROSS}/bin:$PATH CROSS_COMPILE=${CROSS}- make ARCH=${ARCH}
91 # The test names will have the arch and cross compiler used. This will be shown in
93 TEST_NAME = ${ARCH} ${CROSS}
97 # Notice that CROSS and ARCH are also options and not variables (again '=' instead
102 ARCH = alpha
107 ARCH = arm
112 ARCH = ia64
117 ARCH = m68k
[all …]
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dmodule-sections.c15 struct mod_section *got_sec = &mod->arch.got; in module_emit_got_entry()
34 struct mod_section *got_plt_sec = &mod->arch.got_plt; in module_emit_plt_entry()
36 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry()
102 mod->arch.plt.shdr = sechdrs + i; in module_frob_arch_sections()
104 mod->arch.got.shdr = sechdrs + i; in module_frob_arch_sections()
106 mod->arch.got_plt.shdr = sechdrs + i; in module_frob_arch_sections()
109 if (!mod->arch.plt.shdr) { in module_frob_arch_sections()
113 if (!mod->arch.got.shdr) { in module_frob_arch_sections()
117 if (!mod->arch.got_plt.shdr) { in module_frob_arch_sections()
138 mod->arch.plt.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
[all …]

12345678910>>...134