"r4k_on_each_cpu" issue on MIPS1004K CPS

Home Forums MIPS Insider "r4k_on_each_cpu" issue on MIPS1004K CPS

This topic contains 0 replies, has 1 voice, and was last updated by  HungWen 2 years, 6 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #64071


    Hi All,
    Our platform adopts MIPS1004Kc CPS with 2 core (2 VPEs/core), so I selected CONFIG_MIPS_CPS and CONFIG_MIPS_MT_SMP option for Linux-3.18. But I got one issue about r4k_on_each_cpu. If I defined CONFIG_MIPS_MT_SMP, “r4k_on_each_cpu” does not call smp_call_function for other cores to do something. Like r4k_on_each_cpu(local_r4k___flush_cache_all, NULL).

    Is this behavior right?Or should I only select CONFIG_MIPS_CPS for 1004K CPS with 4 VPEs?

    static inline void r4k_on_each_cpu(void (*func) (void *info), void *info)
    #ifndef CONFIG_MIPS_MT_SMP
    smp_call_function(func, info, 1);

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.