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()
331 /* Allocate cluster boot configuration structs */ in cps_prepare_cpus()
457 static void boot_core(unsigned int cluster, unsigned int core, in boot_core() argument
464 cluster_cfg = &mips_cps_cluster_bootcfg[cluster]; in boot_core()
465 ncores = mips_cps_numcores(cluster); in boot_core()
467 if ((cluster != cpu_cluster(&current_cpu_data)) && in boot_core()
469 power_up_other_cluster(cluster); in boot_core()
471 mips_cm_lock_other(cluster, core, 0, in boot_core()
474 /* Ensure cluster GCRs are where we expect */ in boot_core()
495 if (cluster != cpu_cluster(&current_cpu_data)) { in boot_core()
496 mips_cm_lock_other(cluster, core, 0, in boot_core()
513 mips_cm_lock_other(cluster, core, 0, CM_GCR_Cx_OTHER_BLOCK_LOCAL); in boot_core()
586 * the cluster do (eg. if they're all removed via hotplug. in boot_core()
589 mips_cm_lock_other(cluster, 0, 0, CM_GCR_Cx_OTHER_BLOCK_GLOBAL); in boot_core()
597 unsigned int cluster = cpu_cluster(&current_cpu_data); in remote_vpe_boot() local
600 &mips_cps_cluster_bootcfg[cluster]; in remote_vpe_boot()
608 unsigned int cluster = cpu_cluster(&cpu_data[cpu]); in cps_boot_secondary() local
612 &mips_cps_cluster_bootcfg[cluster]; in cps_boot_secondary()
628 boot_core(cluster, core, vpe_id); in cps_boot_secondary()
633 mips_cm_lock_other(cluster, core, vpe_id, in cps_boot_secondary()
844 unsigned int cluster = cpu_cluster(&cpu_data[cpu]); in cps_cleanup_dead_cpu() local
852 cluster_cfg = &mips_cps_cluster_bootcfg[cluster]; in cps_cleanup_dead_cpu()