/qemu/target/i386/kvm/ |
H A D | vmsr_energy.c | 88 uint64_t vmsr_read_msr(uint32_t reg, uint32_t cpu_id, uint32_t tid, in vmsr_read_msr() argument 102 buffer[1] = cpu_id; in vmsr_read_msr() 212 for (int cpu_id = 0; ; cpu_id++) { in vmsr_count_cpus_per_package() local 214 "topology/physical_package_id", cpu_id); in vmsr_count_cpus_per_package() 236 int vmsr_get_physical_package_id(int cpu_id) in vmsr_get_physical_package_id() argument 244 "/topology/physical_package_id", cpu_id); in vmsr_get_physical_package_id() 261 unsigned int *cpu_id) in vmsr_read_thread_stat() argument 279 utime, stime, cpu_id) != 3) in vmsr_read_thread_stat()
|
H A D | vmsr_energy.h | 47 unsigned int cpu_id; member 81 unsigned int *cpu_id); 84 uint64_t vmsr_read_msr(uint32_t reg, uint32_t cpu_id, 91 int vmsr_get_physical_package_id(int cpu_id);
|
H A D | kvm.c | 2787 &thd_stat[i].cpu_id); in kvm_msr_energy_thread() 2789 vmsr_get_physical_package_id(thd_stat[i].cpu_id); in kvm_msr_energy_thread() 2802 thd_stat[j].cpu_id, in kvm_msr_energy_thread() 2826 thd_stat[j].cpu_id, in kvm_msr_energy_thread() 2852 &thd_stat[i].cpu_id); in kvm_msr_energy_thread()
|
/qemu/hw/misc/ |
H A D | allwinner-cpucfg.c | 81 static void allwinner_cpucfg_cpu_reset(AwCpuCfgState *s, uint8_t cpu_id) in allwinner_cpucfg_cpu_reset() argument 85 trace_allwinner_cpucfg_cpu_reset(cpu_id, s->entry_addr); in allwinner_cpucfg_cpu_reset() 87 ARMCPU *target_cpu = ARM_CPU(arm_get_cpu_by_id(cpu_id)); in allwinner_cpucfg_cpu_reset() 97 ret = arm_set_cpu_on(cpu_id, s->entry_addr, 0, in allwinner_cpucfg_cpu_reset() 101 __func__, cpu_id, ret); in allwinner_cpucfg_cpu_reset()
|
H A D | trace-events | 4 allwinner_cpucfg_cpu_reset(uint8_t cpu_id, uint32_t reset_addr) "id %u, reset_addr 0x%" PRIx32
|
/qemu/tests/functional/ |
H A D | aspeed.py | 11 cpu_id='0x0', soc='AST2500 rev A1'): argument 28 def do_test_arm_aspeed_buildroot_start(self, image, cpu_id, pattern='Aspeed EVB'): argument 38 self.wait_for_console_pattern('Booting Linux on physical CPU ' + cpu_id)
|
H A D | test_arm_aspeed_witherspoon.py | 21 uboot='2016.07', cpu_id='0x0',
|
H A D | test_arm_aspeed_palmetto.py | 21 uboot='2019.04', cpu_id='0x0',
|
H A D | test_arm_aspeed_romulus.py | 21 uboot='2019.04', cpu_id='0x0',
|
H A D | test_arm_aspeed_bletchley.py | 21 uboot='2019.04', cpu_id='0xf00',
|
/qemu/hw/acpi/ |
H A D | cpu_hotplug.c | 65 int64_t cpu_id; in acpi_set_cpu_present_bit() local 67 cpu_id = cpu->cc->get_arch_id(cpu); in acpi_set_cpu_present_bit() 68 if ((cpu_id / 8) >= ACPI_GPE_PROC_LEN) { in acpi_set_cpu_present_bit() 76 g->sts[cpu_id / 8] |= (1 << (cpu_id % 8)); in acpi_set_cpu_present_bit() 133 Aml *cpu_id = aml_arg(1); in build_legacy_cpu_hotplug_aml() local 157 aml_append(method, aml_store(cpu_id, aml_index(madt, aml_int(2)))); in build_legacy_cpu_hotplug_aml()
|
/qemu/hw/timer/ |
H A D | arm_mptimer.c | 46 int cpu_id = current_cpu ? current_cpu->cpu_index : 0; in get_current_cpu() local 48 if (cpu_id >= s->num_cpu) { in get_current_cpu() 50 s->num_cpu, cpu_id); in get_current_cpu() 53 return cpu_id; in get_current_cpu()
|
/qemu/target/s390x/ |
H A D | cpu_models.h | 49 uint32_t cpu_id; /* CPU id */ member 110 ((uint64_t)model->cpu_id << CPU_ID_SHIFT) | in s390_cpuid_from_cpu_model()
|
H A D | cpu_models.c | 670 cpu->model->cpu_id = max_model->cpu_id; in s390_realize_cpu_model()
|
H A D | cpu.h | 536 uint16_t cpu_id; member
|
/qemu/tools/i386/ |
H A D | qemu-vmsr-helper.c | 143 static uint64_t vmsr_read_msr(uint32_t msr_register, unsigned int cpu_id) in vmsr_read_msr() argument 148 g_autofree char *path = g_strdup_printf(MSR_PATH_TEMPLATE, cpu_id); in vmsr_read_msr()
|
/qemu/target/s390x/kvm/ |
H A D | kvm.c | 2394 model->cpu_id = cpuid_id(prop.cpuid); in kvm_s390_get_host_cpu_model()
|