04 Oct, 2016

1 commit

  • This patch enables the MIPS CPS driver for MIPSr6 CPUs.

    Signed-off-by: Matt Redfearn
    Reviewed-by: Paul Burton
    Reviewed-by: Daniel Lezcano
    Cc: Rafael J. Wysocki
    Cc: linux-mips@linux-mips.org
    Cc: linux-pm@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/14228/
    Signed-off-by: Ralf Baechle

    Matt Redfearn
     

24 Oct, 2014

1 commit

  • The MIPS_CPS_PM and MIPS_CPS_CPUIDLE implementation should depend
    on the MIPS_CPS symbol to avoid the following build problem

    arch/mips/kernel/pm-cps.c: In function 'cps_pm_enter_state':
    arch/mips/kernel/pm-cps.c:164:26: error: 'cpu_coherent_mask' undeclared
    (first use in this function)
    cpumask_clear_cpu(cpu, &cpu_coherent_mask);
    ^
    Signed-off-by: Markos Chandras
    Cc: Paul Burton
    Cc: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/7798/
    Signed-off-by: Ralf Baechle

    Markos Chandras
     

28 May, 2014

1 commit

  • This patch adds a cpuidle driver for systems based around the MIPS
    Coherent Processing System (CPS) architecture. It supports four idle
    states:

    - The standard MIPS wait instruction.

    - The non-coherent wait, clock gated & power gated states exposed by
    the recently added pm-cps layer.

    The pm-cps layer is used to enter all the deep idle states. Since cores
    in the clock or power gated states cannot service interrupts, the
    gic_send_ipi_single function is modified to send a power up command for
    the appropriate core to the CPC in cases where the target CPU has marked
    itself potentially incoherent.

    Signed-off-by: Paul Burton

    Paul Burton