|
@@ -142,9 +142,11 @@ static void __init cps_prepare_cpus(unsigned int max_cpus)
|
|
|
|
|
|
/* Warn the user if the CCA prevents multi-core */
|
|
|
ncores = mips_cm_numcores();
|
|
|
- if (cca_unsuitable && ncores > 1) {
|
|
|
- pr_warn("Using only one core due to unsuitable CCA 0x%x\n",
|
|
|
- cca);
|
|
|
+ if ((cca_unsuitable || cpu_has_dc_aliases) && ncores > 1) {
|
|
|
+ pr_warn("Using only one core due to %s%s%s\n",
|
|
|
+ cca_unsuitable ? "unsuitable CCA" : "",
|
|
|
+ (cca_unsuitable && cpu_has_dc_aliases) ? " & " : "",
|
|
|
+ cpu_has_dc_aliases ? "dcache aliasing" : "");
|
|
|
|
|
|
for_each_present_cpu(c) {
|
|
|
if (cpu_data[c].core)
|