Home
last modified time | relevance | path

Searched refs:arch (Results 76 – 100 of 2268) sorted by relevance

12345678910>>...91

/openbmc/linux/arch/arm/kernel/
H A Dmodule-plts.c49 &mod->arch.core : &mod->arch.init; in get_module_plt()
223 mod->arch.core.plt = s; in module_frob_arch_sections()
225 mod->arch.init.plt = s; in module_frob_arch_sections()
230 if (!mod->arch.core.plt || !mod->arch.init.plt) { in module_frob_arch_sections()
267 mod->arch.core.plt_count = 0; in module_frob_arch_sections()
268 mod->arch.core.plt_ent = NULL; in module_frob_arch_sections()
275 mod->arch.init.plt_count = 0; in module_frob_arch_sections()
276 mod->arch.init.plt_ent = NULL; in module_frob_arch_sections()
279 mod->arch.core.plt->sh_size, mod->arch.init.plt->sh_size); in module_frob_arch_sections()
290 ret = mod && (loc - (u32)mod->arch.core.plt_ent < mod->arch.core.plt_count * PLT_ENT_SIZE || in in_module_plt()
[all …]
/openbmc/linux/tools/perf/arch/mips/annotate/
H A Dinstructions.c4 struct ins_ops *mips__associate_ins_ops(struct arch *arch, const char *name) in mips__associate_ins_ops() argument
31 arch__associate_ins_ops(arch, name, ops); in mips__associate_ins_ops()
37 int mips__annotate_init(struct arch *arch, char *cpuid __maybe_unused) in mips__annotate_init() argument
39 if (!arch->initialized) { in mips__annotate_init()
40 arch->associate_instruction_ops = mips__associate_ins_ops; in mips__annotate_init()
41 arch->initialized = true; in mips__annotate_init()
42 arch->objdump.comment_char = '#'; in mips__annotate_init()
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/
H A Dpowerpc-purgatory-Makefile-remove-unknown-flags.patch16 purgatory/arch/ppc/Makefile | 2 +-
19 diff --git a/purgatory/arch/ppc/Makefile b/purgatory/arch/ppc/Makefile
21 --- a/purgatory/arch/ppc/Makefile
22 +++ b/purgatory/arch/ppc/Makefile
23 @@ -7,7 +7,7 @@ ppc_PURGATORY_SRCS += purgatory/arch/ppc/misc.S
24 ppc_PURGATORY_SRCS += purgatory/arch/ppc/purgatory-ppc.c
25 ppc_PURGATORY_SRCS += purgatory/arch/ppc/console-ppc.c
30 dist += purgatory/arch/ppc/Makefile $(ppc_PURGATORY_SRCS) \
31 purgatory/arch/ppc/purgatory-ppc.h purgatory/arch/ppc/ppc_asm.h
/openbmc/linux/arch/s390/kernel/
H A Dmodule.c89 vfree(mod->arch.syminfo); in module_arch_freeing_init()
90 mod->arch.syminfo = NULL; in module_arch_freeing_init()
168 me->arch.nsyms)); in module_frob_arch_sections()
169 if (!me->arch.syminfo) in module_frob_arch_sections()
186 me->arch.got_size = me->arch.plt_size = 0; in module_frob_arch_sections()
203 if (me->arch.plt_size) { in module_frob_arch_sections()
331 me->arch.got_offset + in apply_rela()
356 me->arch.got_offset - loc; in apply_rela()
395 val = me->arch.plt_offset - me->arch.got_offset + in apply_rela()
403 me->arch.plt_offset + in apply_rela()
[all …]
/openbmc/linux/tools/perf/arch/powerpc/annotate/
H A Dinstructions.c4 static struct ins_ops *powerpc__associate_instruction_ops(struct arch *arch, const char *name) in powerpc__associate_instruction_ops() argument
48 arch__associate_ins_ops(arch, name, ops); in powerpc__associate_instruction_ops()
52 static int powerpc__annotate_init(struct arch *arch, char *cpuid __maybe_unused) in powerpc__annotate_init() argument
54 if (!arch->initialized) { in powerpc__annotate_init()
55 arch->initialized = true; in powerpc__annotate_init()
56 arch->associate_instruction_ops = powerpc__associate_instruction_ops; in powerpc__annotate_init()
57 arch->objdump.comment_char = '#'; in powerpc__annotate_init()
/openbmc/linux/tools/perf/arch/loongarch/annotate/
H A Dinstructions.c8 static int loongarch_call__parse(struct arch *arch, struct ins_operands *ops, struct map_symbol *ms) in loongarch_call__parse() argument
25 if (arch->objdump.skip_functions_char && in loongarch_call__parse()
26 strchr(name, arch->objdump.skip_functions_char)) in loongarch_call__parse()
54 static int loongarch_jump__parse(struct arch *arch, struct ins_operands *ops, struct map_symbol *ms) in loongarch_jump__parse() argument
64 ops->raw_comment = strchr(ops->raw, arch->objdump.comment_char); in loongarch_jump__parse()
101 struct ins_ops *loongarch__associate_ins_ops(struct arch *arch, const char *name) in loongarch__associate_ins_ops() argument
120 arch__associate_ins_ops(arch, name, ops); in loongarch__associate_ins_ops()
126 int loongarch__annotate_init(struct arch *arch, char *cpuid __maybe_unused) in loongarch__annotate_init() argument
128 if (!arch->initialized) { in loongarch__annotate_init()
130 arch->initialized = true; in loongarch__annotate_init()
[all …]
/openbmc/u-boot/tools/buildman/
H A Dtoolchain.py22 def __init__(self, arch): argument
83 if arch:
84 self.arch = arch
254 arch=None): argument
357 def Select(self, arch): argument
367 if arch == tag:
374 return self.toolchains[arch]
477 return arch, links
555 if arch:
556 if arch.group(1) != '2.0' and arch.group(1) != '64':
[all …]
/openbmc/linux/arch/powerpc/kvm/
H A Demulate.c31 pr_debug("mtDEC: %lx\n", vcpu->arch.dec); in kvmppc_emulate_dec()
41 if (vcpu->arch.dec == 0) in kvmppc_emulate_dec()
51 dec_time = vcpu->arch.dec; in kvmppc_emulate_dec()
58 hrtimer_start(&vcpu->arch.dec_timer, in kvmppc_emulate_dec()
60 vcpu->arch.dec_jiffies = get_tb(); in kvmppc_emulate_dec()
65 u64 jd = tb - vcpu->arch.dec_jiffies; in kvmppc_get_dec()
68 if (vcpu->arch.dec < jd) in kvmppc_get_dec()
72 return vcpu->arch.dec - jd; in kvmppc_get_dec()
94 vcpu->arch.dec = (u32) spr_val; in kvmppc_emulate_mtspr()
141 spr_val = vcpu->arch.pvr; in kvmppc_emulate_mfspr()
[all …]
H A Dbook3s_paired_singles.c296 vcpu->arch.qpr[rs] = tmp[1]; in kvmppc_emulate_psq_load()
497 u32 *qpr = vcpu->arch.qpr; in kvmppc_ps_three_in()
545 u32 *qpr = vcpu->arch.qpr; in kvmppc_ps_two_in()
595 u32 *qpr = vcpu->arch.qpr; in kvmppc_ps_one_in()
761 vcpu->arch.qpr[ax_rd] = vcpu->arch.qpr[ax_rb]; in kvmppc_emulate_paired_single()
771 vcpu->arch.qpr[ax_rd] = vcpu->arch.qpr[ax_rb]; in kvmppc_emulate_paired_single()
781 vcpu->arch.qpr[ax_rd] = vcpu->arch.qpr[ax_rb]; in kvmppc_emulate_paired_single()
788 vcpu->arch.qpr[ax_rd] = vcpu->arch.qpr[ax_rb]; in kvmppc_emulate_paired_single()
801 vcpu->arch.qpr[ax_rd] = vcpu->arch.qpr[ax_rb]; in kvmppc_emulate_paired_single()
817 vcpu->arch.qpr[ax_rd] = vcpu->arch.qpr[ax_rb]; in kvmppc_emulate_paired_single()
[all …]
H A Dbook3s_64_mmu_hv.c121 kvm->arch.hpt = *info; in kvmppc_set_hpt()
134 if (kvm->arch.mmu_ready) { in kvmppc_alloc_reset_hpt()
135 kvm->arch.mmu_ready = 0; in kvmppc_alloc_reset_hpt()
139 kvm->arch.mmu_ready = 1; in kvmppc_alloc_reset_hpt()
162 if (kvm->arch.hpt.virt) { in kvmppc_alloc_reset_hpt()
327 return &vcpu->arch.slb[i]; in kvmppc_mmu_book3s_hv_find_slbe()
696 if (!kvm->arch.mmu_ready) in kvmppc_book3s_hv_page_fault()
1409 hpt_tmp = kvm->arch.hpt; in resize_hpt_pivot()
1576 kvm->arch.mmu_ready = 0; in kvm_vm_ioctl_resize_hpt_commit()
1599 kvm->arch.mmu_ready = 1; in kvm_vm_ioctl_resize_hpt_commit()
[all …]
/openbmc/u-boot/arch/arm/mach-davinci/
H A Dtimer.c46 gd->arch.timer_rate_hz = CONFIG_SYS_HZ_CLOCK / TIM_CLK_DIV; in timer_init()
47 gd->arch.timer_reset_value = 0; in timer_init()
60 if (now < gd->arch.tbl) in get_ticks()
61 gd->arch.tbu++; in get_ticks()
62 gd->arch.tbl = now; in get_ticks()
64 return (((unsigned long long)gd->arch.tbu) << 32) | gd->arch.tbl; in get_ticks()
71 timer_diff = get_ticks() - gd->arch.timer_reset_value; in get_timer()
74 (gd->arch.timer_rate_hz / CONFIG_SYS_HZ)) - base; in get_timer()
81 endtime = lldiv((unsigned long long)usec * gd->arch.timer_rate_hz, in __udelay()
95 return gd->arch.timer_rate_hz; in get_tbclk()
/openbmc/linux/arch/arm64/kvm/
H A Dfpsimd.c19 struct task_struct *p = vcpu->arch.parent_task; in kvm_vcpu_unshare_task_fp()
52 vcpu->arch.host_fpsimd_state = kern_hyp_va(fpsimd); in kvm_arch_vcpu_run_map_fp()
62 vcpu->arch.parent_task = current; in kvm_arch_vcpu_run_map_fp()
89 vcpu->arch.fp_state = FP_STATE_HOST_OWNED; in kvm_arch_vcpu_load_fp()
113 vcpu->arch.fp_state = FP_STATE_FREE; in kvm_arch_vcpu_load_fp()
129 vcpu->arch.fp_state = FP_STATE_FREE; in kvm_arch_vcpu_ctxflush_fp()
151 fp_state.st = &vcpu->arch.ctxt.fp_regs; in kvm_arch_vcpu_ctxsync_fp()
152 fp_state.sve_state = vcpu->arch.sve_state; in kvm_arch_vcpu_ctxsync_fp()
153 fp_state.sve_vl = vcpu->arch.sve_max_vl; in kvm_arch_vcpu_ctxsync_fp()
155 fp_state.svcr = &vcpu->arch.svcr; in kvm_arch_vcpu_ctxsync_fp()
[all …]
/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_timer.c85 struct kvm_vcpu_timer *t = &vcpu->arch.timer; in kvm_riscv_vcpu_update_hrtimer()
104 struct kvm_vcpu_timer *t = &vcpu->arch.timer; in kvm_riscv_vcpu_timer_next_event()
130 struct kvm_vcpu_timer *t = &vcpu->arch.timer; in kvm_riscv_vcpu_timer_pending()
142 struct kvm_vcpu_timer *t = &vcpu->arch.timer; in kvm_riscv_vcpu_timer_blocking()
162 struct kvm_vcpu_timer *t = &vcpu->arch.timer; in kvm_riscv_vcpu_get_reg_timer()
202 struct kvm_vcpu_timer *t = &vcpu->arch.timer; in kvm_riscv_vcpu_set_reg_timer()
246 struct kvm_vcpu_timer *t = &vcpu->arch.timer; in kvm_riscv_vcpu_timer_init()
274 vcpu->arch.timer.init_done = false; in kvm_riscv_vcpu_timer_deinit()
281 struct kvm_vcpu_timer *t = &vcpu->arch.timer; in kvm_riscv_vcpu_timer_reset()
301 struct kvm_vcpu_timer *t = &vcpu->arch.timer; in kvm_riscv_vcpu_timer_restore()
[all …]
/openbmc/linux/arch/s390/kvm/
H A Dpriv.c38 vcpu->arch.sie_block->ecb3 |= ECB3_RI; in handle_ri()
64 vcpu->arch.sie_block->ecb |= ECB_GS; in handle_gs()
66 vcpu->arch.gs_enabled = 1; in handle_gs()
222 if (vcpu->arch.skey_enabled) in kvm_s390_skey_check_enable()
232 if (!vcpu->kvm->arch.use_skf) in kvm_s390_skey_check_enable()
236 vcpu->arch.skey_enabled = true; in kvm_s390_skey_check_enable()
247 if (vcpu->kvm->arch.use_skf) { in try_handle_skey()
915 !vcpu->kvm->arch.user_stsi)) in handle_stsi()
965 if (vcpu->kvm->arch.user_stsi) { in handle_stsi()
1254 gmap = vcpu->arch.gmap; in handle_essa()
[all …]
H A Dinterrupt.c52 read_lock(&vcpu->kvm->arch.sca_lock); in sca_ext_call_pending()
53 if (vcpu->kvm->arch.use_esca) { in sca_ext_call_pending()
82 if (vcpu->kvm->arch.use_esca) { in sca_inject_ext_call()
127 if (vcpu->kvm->arch.use_esca) { in sca_clear_ext_call()
1926 fi = &kvm->arch.float_int; in __inject_io()
2291 fi = &kvm->arch.float_int; in get_all_floating_irqs()
2752 if (dev->kvm->arch.flic) in flic_create()
2754 dev->kvm->arch.flic = dev; in flic_create()
2760 dev->kvm->arch.flic = NULL; in flic_destroy()
3148 gi = &kvm->arch.gisa_int; in process_gib_alert_list()
[all …]
/openbmc/qemu/scripts/
H A Dgensyscalls.sh42 arch=$1
46 -D_UAPI_ASM_$(upper ${arch})_BITSPERLONG_H \
47 -D__ASM_$(upper ${arch})_BITSPERLONG_H \
49 -I${linux}/arch/${arch}/include/uapi/ \
52 "${linux}/arch/${arch}/include/uapi/asm/unistd.h"
74 arch=$1
77 guard="$(upper LINUX_USER_$(qemu_arch $arch)_$(basename "$file"))"
87 read_includes $arch $bits | filter_defines | rename_defines | \
/openbmc/linux/tools/perf/
H A Dcheck-headers.sh161 check arch/x86/lib/memcpy_64.S '-I "^EXPORT_SYMBOL" -I "^#include <asm/export.h>" -I"^SYM_FU…
162 check arch/x86/lib/memset_64.S '-I "^EXPORT_SYMBOL" -I "^#include <asm/export.h>" -I"^SYM_FU…
163 check arch/x86/include/asm/amd-ibs.h '-I "^#include [<\"]\(asm/\)*msr-index.h"'
164 check arch/arm64/include/asm/cputype.h '-I "^#include [<\"]\(asm/\)*sysreg.h"'
173 check_2 tools/perf/arch/x86/entry/syscalls/syscall_64.tbl arch/x86/entry/syscalls/syscall_64.tbl
174 check_2 tools/perf/arch/powerpc/entry/syscalls/syscall.tbl arch/powerpc/kernel/syscalls/syscall.tbl
175 check_2 tools/perf/arch/s390/entry/syscalls/syscall.tbl arch/s390/kernel/syscalls/syscall.tbl
176 check_2 tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl arch/mips/kernel/syscalls/syscall_n64.t…
/openbmc/linux/arch/loongarch/kernel/
H A Dmodule-sections.c115 mod->arch.got.shndx = i; in module_frob_arch_sections()
117 mod->arch.plt.shndx = i; in module_frob_arch_sections()
119 mod->arch.plt_idx.shndx = i; in module_frob_arch_sections()
124 if (!mod->arch.got.shndx) { in module_frob_arch_sections()
128 if (!mod->arch.plt.shndx) { in module_frob_arch_sections()
132 if (!mod->arch.plt_idx.shndx) { in module_frob_arch_sections()
158 mod->arch.got.num_entries = 0; in module_frob_arch_sections()
159 mod->arch.got.max_entries = num_gots; in module_frob_arch_sections()
166 mod->arch.plt.num_entries = 0; in module_frob_arch_sections()
167 mod->arch.plt.max_entries = num_plts; in module_frob_arch_sections()
[all …]
/openbmc/linux/tools/perf/arch/x86/annotate/
H A Dinstructions.c119 static bool amd__ins_is_fused(struct arch *arch, const char *ins1, in amd__ins_is_fused() argument
142 static bool intel__ins_is_fused(struct arch *arch, const char *ins1, in intel__ins_is_fused() argument
145 if (arch->family != 6 || arch->model < 0x1e || strstr(ins2, "jmp")) in intel__ins_is_fused()
148 if (arch->model == 0x1e) { in intel__ins_is_fused()
170 static int x86__cpuid_parse(struct arch *arch, char *cpuid) in x86__cpuid_parse() argument
180 arch->family = family; in x86__cpuid_parse()
181 arch->model = model; in x86__cpuid_parse()
191 static int x86__annotate_init(struct arch *arch, char *cpuid) in x86__annotate_init() argument
195 if (arch->initialized) in x86__annotate_init()
199 if (x86__cpuid_parse(arch, cpuid)) in x86__annotate_init()
[all …]
/openbmc/u-boot/arch/arm/mach-imx/
H A Dspeed.c23 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC2_CLK); in get_clocks()
25 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC3_CLK); in get_clocks()
27 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC4_CLK); in get_clocks()
29 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC_CLK); in get_clocks()
33 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC2_CLK); in get_clocks()
35 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC3_CLK); in get_clocks()
37 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC4_CLK); in get_clocks()
39 gd->arch.sdhc_clk = mxc_get_clock(MXC_ESDHC_CLK); in get_clocks()
/openbmc/linux/tools/perf/arch/csky/annotate/
H A Dinstructions.c6 static struct ins_ops *csky__associate_ins_ops(struct arch *arch, in csky__associate_ins_ops() argument
37 arch__associate_ins_ops(arch, name, ops); in csky__associate_ins_ops()
41 static int csky__annotate_init(struct arch *arch, char *cpuid __maybe_unused) in csky__annotate_init() argument
43 arch->initialized = true; in csky__annotate_init()
44 arch->objdump.comment_char = '/'; in csky__annotate_init()
45 arch->associate_instruction_ops = csky__associate_ins_ops; in csky__annotate_init()
/openbmc/linux/arch/mips/kvm/
H A Dvz.c889 curr_pc = vcpu->arch.pc; in kvm_vz_gpsi_cop0()
933 val = vcpu->arch.maar[ in kvm_vz_gpsi_cop0()
1081 struct kvm_vcpu_arch *arch = &vcpu->arch; in kvm_vz_gpsi_cache() local
1088 curr_pc = vcpu->arch.pc; in kvm_vz_gpsi_cache()
1134 curr_pc, vcpu->arch.gprs[31], cache, op, base, arch->gprs[base], in kvm_vz_gpsi_cache()
1137 vcpu->arch.pc = curr_pc; in kvm_vz_gpsi_cache()
1156 curr_pc = vcpu->arch.pc; in kvm_vz_gpsi_lwc2()
1216 struct kvm_vcpu_arch *arch = &vcpu->arch; in kvm_trap_vz_handle_gpsi() local
1263 arch->gprs[rt] = in kvm_trap_vz_handle_gpsi()
1298 struct kvm_vcpu_arch *arch = &vcpu->arch; in kvm_trap_vz_handle_gsfc() local
[all …]
/openbmc/linux/tools/perf/util/
H A Denv.c260 if (!strncmp(arch, "x86_64", 6) || !strncmp(arch, "aarch64", 7) || in perf_env__init_kernel_mode()
261 !strncmp(arch, "arm64", 5) || !strncmp(arch, "mips64", 6) || in perf_env__init_kernel_mode()
263 !strncmp(arch, "s390x", 5) || !strncmp(arch, "sparc64", 7)) in perf_env__init_kernel_mode()
389 if (env->arch) in perf_env__read_arch()
431 if (arch[0] == 'i' && arch[2] == '8' && arch[3] == '6') in normalize_arch()
433 if (!strcmp(arch, "sun4u") || !strncmp(arch, "sparc", 5)) in normalize_arch()
435 if (!strncmp(arch, "aarch64", 7) || !strncmp(arch, "arm64", 5)) in normalize_arch()
437 if (!strncmp(arch, "arm", 3) || !strcmp(arch, "sa110")) in normalize_arch()
443 if (!strncmp(arch, "powerpc", 7) || !strncmp(arch, "ppc", 3)) in normalize_arch()
447 if (!strncmp(arch, "sh", 2) && isdigit(arch[2])) in normalize_arch()
[all …]
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dpkvm.c71 vcpu->arch.hcr_el2 |= hcr_set; in pvm_init_traps_aa64pfr0()
72 vcpu->arch.hcr_el2 &= ~hcr_clear; in pvm_init_traps_aa64pfr0()
73 vcpu->arch.cptr_el2 |= cptr_set; in pvm_init_traps_aa64pfr0()
92 vcpu->arch.hcr_el2 |= hcr_set; in pvm_init_traps_aa64pfr1()
139 vcpu->arch.mdcr_el2 |= mdcr_set; in pvm_init_traps_aa64dfr0()
141 vcpu->arch.cptr_el2 |= cptr_set; in pvm_init_traps_aa64dfr0()
171 vcpu->arch.hcr_el2 |= hcr_set; in pvm_init_traps_aa64mmfr1()
306 hyp_vm->kvm.arch.vtcr = host_mmu.arch.vtcr; in init_pkvm_hyp_vm()
330 hyp_vcpu->vcpu.arch.hw_mmu = &hyp_vm->kvm.arch.mmu; in init_pkvm_hyp_vcpu()
331 hyp_vcpu->vcpu.arch.cflags = READ_ONCE(host_vcpu->arch.cflags); in init_pkvm_hyp_vcpu()
[all …]
/openbmc/linux/arch/arm64/kvm/vgic/
H A Dvgic-init.c54 struct vgic_dist *dist = &kvm->arch.vgic; in kvm_vgic_early_init()
94 mutex_lock(&kvm->arch.config_lock); in kvm_vgic_create()
117 kvm->arch.vgic.in_kernel = true; in kvm_vgic_create()
118 kvm->arch.vgic.vgic_model = type; in kvm_vgic_create()
128 mutex_unlock(&kvm->arch.config_lock); in kvm_vgic_create()
409 mutex_lock(&kvm->arch.config_lock); in kvm_vgic_destroy()
413 mutex_unlock(&kvm->arch.config_lock); in kvm_vgic_destroy()
437 mutex_lock(&kvm->arch.config_lock); in vgic_lazy_init()
467 mutex_lock(&kvm->arch.config_lock); in kvm_vgic_map_resources()
487 mutex_unlock(&kvm->arch.config_lock); in kvm_vgic_map_resources()
[all …]

12345678910>>...91