25 Apr, 2016

3 commits


10 Dec, 2015

1 commit


15 Jun, 2015

1 commit

  • Each time the CPU switches its frequency, the clock nodes in
    DTS are walked through to find proper clock source. This is
    very time-consuming, for example, it is up to 500+ us on T4240.
    Besides, switching time varies from clock to clock.
    To optimize this, each input clock of CPU is buffered, so that
    it can be picked up instantly when needed.

    Since for each CPU each input clock is stored in a pointer
    which takes 4 or 8 bytes memory and normally there are several
    input clocks per CPU, that will not take much memory as well.

    Signed-off-by: Tang Yuantian
    Acked-by: Viresh Kumar
    Signed-off-by: Rafael J. Wysocki

    Tang Yuantian
     

11 Apr, 2015

1 commit

  • The qoriq-cpufreq driver contains a hack for powerpc to include
    asm/smp.h on uniprocessor builds so it can get the hardware CPU
    number. On ARM, it does not require this hack, but instead gets
    a compile error:

    In file included from drivers/cpufreq/qoriq-cpufreq.c:24:0:
    arch/arm/include/asm/smp.h:18:3: error: #error " included in non-SMP build"
    arch/arm/include/asm/smp.h:21:0: warning: "raw_smp_processor_id" redefined

    This adds an #ifdef to mirror the one in its get_cpu_physical_id()
    function.

    Signed-off-by: Arnd Bergmann
    Fixes: 2f249358eedaf ("cpufreq: qoriq: rename the driver")
    Cc: Tang Yuantian
    Signed-off-by: Rafael J. Wysocki

    Arnd Bergmann
     

19 Mar, 2015

1 commit