Hi Chenyu.

Yes this direction look good to me. Regarding the arch_llc_mask(),
how about the following per Srikar's description

const struct cpumask *arch_llc_mask(int cpu)
{
     /* Power9, CACHE domain is the LLC*/    if (shared_caches)
         return cpu_l2_cache_mask(cpu);

    /* P7, P8, P10, P11, SMT domain is the LLC*/    return cpu_smt_mask(cpu);
}

thanks,
Chenyu


Yes. this is what i was thinking too. I have the patch, let me send it across shortly. It is fixing the boot panic for me in SPLPAR. Hopefully
it should work for others too.

I will send it as reply to main thread so one doesn't miss it out.

Reply via email to