Lines Matching full:cluster

44 static void power_up_other_cluster(unsigned int cluster)  in power_up_other_cluster()  argument
49 mips_cm_lock_other(cluster, CM_GCR_Cx_OTHER_CORE_CM, 0, in power_up_other_cluster()
60 mips_cm_lock_other(cluster, 0, 0, CM_GCR_Cx_OTHER_BLOCK_GLOBAL); in power_up_other_cluster()
67 mips_cm_lock_other(cluster, CM_GCR_Cx_OTHER_CORE_CM, 0, in power_up_other_cluster()
80 pr_warn("Waiting for cluster %u CM to power up... STAT_CONF=0x%x\n", in power_up_other_cluster()
81 cluster, stat); in power_up_other_cluster()
89 static unsigned __init core_vpe_count(unsigned int cluster, unsigned core) in core_vpe_count() argument
91 return min(smp_max_threads, mips_cps_numvps(cluster, core)); in core_vpe_count()
236 /* Use the number of VPEs in cluster 0 core 0 for smp_num_siblings */ in cps_smp_setup()
288 /* The calibration has to be done on the primary CPU of the cluster */ in calibrate_delay_is_known()
342 /* Allocate cluster boot configuration structs */ in cps_prepare_cpus()
471 static void boot_core(unsigned int cluster, unsigned int core, in boot_core() argument
478 cluster_cfg = &mips_cps_cluster_bootcfg[cluster]; in boot_core()
479 ncores = mips_cps_numcores(cluster); in boot_core()
481 if ((cluster != cpu_cluster(&current_cpu_data)) && in boot_core()
483 power_up_other_cluster(cluster); in boot_core()
485 mips_cm_lock_other(cluster, core, 0, in boot_core()
488 /* Ensure cluster GCRs are where we expect */ in boot_core()
509 if (cluster != cpu_cluster(&current_cpu_data)) { in boot_core()
510 mips_cm_lock_other(cluster, core, 0, in boot_core()
527 mips_cm_lock_other(cluster, core, 0, CM_GCR_Cx_OTHER_BLOCK_LOCAL); in boot_core()
600 * the cluster do (eg. if they're all removed via hotplug. in boot_core()
603 mips_cm_lock_other(cluster, 0, 0, CM_GCR_Cx_OTHER_BLOCK_GLOBAL); in boot_core()
611 unsigned int cluster = cpu_cluster(&current_cpu_data); in remote_vpe_boot() local
614 &mips_cps_cluster_bootcfg[cluster]; in remote_vpe_boot()
622 unsigned int cluster = cpu_cluster(&cpu_data[cpu]); in cps_boot_secondary() local
626 &mips_cps_cluster_bootcfg[cluster]; in cps_boot_secondary()
642 boot_core(cluster, core, vpe_id); in cps_boot_secondary()
647 mips_cm_lock_other(cluster, core, vpe_id, in cps_boot_secondary()
858 unsigned int cluster = cpu_cluster(&cpu_data[cpu]); in cps_cleanup_dead_cpu() local
866 cluster_cfg = &mips_cps_cluster_bootcfg[cluster]; in cps_cleanup_dead_cpu()