Home
last modified time | relevance | path

Searched refs:supported_cpus (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/drivers/perf/
Darm_pmu_platform.c51 ret = irq_get_percpu_devid_partition(irq, &pmu->supported_cpus); in pmu_parse_percpu_irq()
55 for_each_cpu(cpu, &pmu->supported_cpus) in pmu_parse_percpu_irq()
114 cpumask_setall(&pmu->supported_cpus); in pmu_parse_irqs()
151 cpumask_set_cpu(cpu, &pmu->supported_cpus); in pmu_parse_irqs()
162 for_each_cpu(cpu, &armpmu->supported_cpus) { in armpmu_request_irqs()
180 for_each_cpu(cpu, &armpmu->supported_cpus) { in armpmu_free_irqs()
219 cpumask_setall(&pmu->supported_cpus); in arm_pmu_device_probe()
Darm_pmu.c335 if (!cpumask_test_cpu(smp_processor_id(), &armpmu->supported_cpus)) in armpmu_add()
510 !cpumask_test_cpu(event->cpu, &armpmu->supported_cpus)) in armpmu_event_init()
530 if (!cpumask_test_cpu(smp_processor_id(), &armpmu->supported_cpus)) in armpmu_enable()
542 if (!cpumask_test_cpu(smp_processor_id(), &armpmu->supported_cpus)) in armpmu_disable()
559 ret = cpumask_test_cpu(cpu, &armpmu->supported_cpus); in armpmu_filter_match()
570 return cpumap_print_to_pagebuf(true, buf, &armpmu->supported_cpus); in cpus_show()
711 if (!cpumask_test_cpu(cpu, &pmu->supported_cpus)) in arm_perf_starting_cpu()
730 if (!cpumask_test_cpu(cpu, &pmu->supported_cpus)) in arm_perf_teardown_cpu()
790 if (!cpumask_test_cpu(smp_processor_id(), &armpmu->supported_cpus)) in cpu_pm_pmu_notify()
Darm_spe_pmu.c73 cpumask_t supported_cpus; member
259 return cpumap_print_to_pagebuf(true, buf, &spe_pmu->supported_cpus); in cpumask_show()
700 !cpumask_test_cpu(event->cpu, &spe_pmu->supported_cpus)) in arm_spe_pmu_event_init()
824 if (!cpumask_test_cpu(cpu, &spe_pmu->supported_cpus)) in arm_spe_pmu_add()
1065 cpumask_pr_args(&spe_pmu->supported_cpus), in __arm_spe_pmu_dev_probe()
1109 if (!cpumask_test_cpu(cpu, &spe_pmu->supported_cpus)) in arm_spe_pmu_cpu_startup()
1121 if (!cpumask_test_cpu(cpu, &spe_pmu->supported_cpus)) in arm_spe_pmu_cpu_teardown()
1131 cpumask_t *mask = &spe_pmu->supported_cpus; in arm_spe_pmu_dev_init()
1177 if (irq_get_percpu_devid_partition(irq, &spe_pmu->supported_cpus)) { in arm_spe_pmu_irq_probe()
Darm_pmu_acpi.c228 for_each_cpu(cpu, &pmu->supported_cpus) { in pmu_irq_matches()
277 cpumask_set_cpu(cpu, &pmu->supported_cpus); in arm_pmu_acpi_cpu_starting()
/linux-6.1.9/drivers/hwtracing/coresight/
Dcoresight-trbe.c142 cpumask_t supported_cpus; member
1104 if (!cpumask_test_cpu(cpu, &drvdata->supported_cpus)) in is_perf_trbe()
1259 cpumask_clear_cpu(cpu, &drvdata->supported_cpus); in arm_trbe_register_coresight_cpu()
1324 cpumask_clear_cpu(cpu, &drvdata->supported_cpus); in arm_trbe_probe_cpu()
1351 for_each_cpu(cpu, &drvdata->supported_cpus) { in arm_trbe_probe_coresight()
1355 if (cpumask_test_cpu(cpu, &drvdata->supported_cpus)) in arm_trbe_probe_coresight()
1357 if (cpumask_test_cpu(cpu, &drvdata->supported_cpus)) in arm_trbe_probe_coresight()
1367 for_each_cpu(cpu, &drvdata->supported_cpus) in arm_trbe_remove_coresight()
1384 if (cpumask_test_cpu(cpu, &drvdata->supported_cpus)) { in arm_trbe_cpu_startup()
1392 if (cpumask_test_cpu(cpu, &drvdata->supported_cpus)) in arm_trbe_cpu_startup()
[all …]
/linux-6.1.9/include/linux/perf/
Darm_pmu.h85 cpumask_t supported_cpus; member
/linux-6.1.9/drivers/cpufreq/
Dpowernow-k8.c1172 unsigned int i, supported_cpus = 0; in powernowk8_init() local
1187 supported_cpus++; in powernowk8_init()
1190 if (supported_cpus != num_online_cpus()) { in powernowk8_init()
1201 num_online_nodes(), boot_cpu_data.x86_model_id, supported_cpus); in powernowk8_init()
/linux-6.1.9/arch/arm64/kvm/
Darm.c153 if (!zalloc_cpumask_var(&kvm->arch.supported_cpus, GFP_KERNEL)) { in kvm_arch_init_vm()
157 cpumask_copy(kvm->arch.supported_cpus, cpu_possible_mask); in kvm_arch_init_vm()
186 free_cpumask_var(kvm->arch.supported_cpus); in kvm_arch_destroy_vm()
425 if (!cpumask_test_cpu(smp_processor_id(), vcpu->kvm->arch.supported_cpus)) in kvm_arch_vcpu_load()
Dpmu-emul.c991 cpumask_copy(kvm->arch.supported_cpus, &arm_pmu->supported_cpus); in kvm_arm_pmu_v3_set_pmu()
/linux-6.1.9/arch/arm64/include/asm/
Dkvm_host.h162 cpumask_var_t supported_cpus; member
/linux-6.1.9/arch/x86/events/intel/
Dcore.c4519 if (!cpumask_empty(&pmu->supported_cpus)) in init_hybrid_pmu()
4536 cpumask_set_cpu(cpu, &pmu->supported_cpus); in init_hybrid_pmu()
4671 cpumask_clear_cpu(cpu, &hybrid_pmu(cpuc->pmu)->supported_cpus); in intel_pmu_cpu_dead()
4713 return cpumask_test_cpu(cpu, &pmu->supported_cpus); in intel_pmu_filter_match()
5531 int cpu = cpumask_first(&pmu->supported_cpus); in hybrid_find_supported_cpu()
5587 return cpumap_print_to_pagebuf(true, buf, &pmu->supported_cpus); in intel_hybrid_get_attr_cpus()
/linux-6.1.9/arch/x86/events/
Dcore.c2353 if (cpumask_empty(&h_pmu->supported_cpus)) in allocate_fake_cpuc()
2355 cpu = cpumask_first(&h_pmu->supported_cpus); in allocate_fake_cpuc()
2470 if (!cpumask_test_cpu(event->cpu, &pmu->supported_cpus)) in x86_pmu_event_init()
Dperf_event.h655 cpumask_t supported_cpus; member
/linux-6.1.9/arch/arm64/kernel/
Dperf_event.c1189 ret = smp_call_function_any(&cpu_pmu->supported_cpus, in armv8pmu_probe_pmu()
/linux-6.1.9/arch/arm/kernel/
Dperf_event_v7.c1195 return smp_call_function_any(&arm_pmu->supported_cpus, in armv7_probe_num_events()