23 Jul, 2014

1 commit

  • In the clocksource driver, we didn't explicitly enable the clock. it makes the
    clk reference counter wrong. We didn't encounter any hang issue because the
    tick's clock input has been open and is shared by some other hardware
    components, but if we don't enable those components in kernel, in the stage of
    disabling unused clk in kernel boot, Linux tick hangs.

    This patch fixes it. it does an explicit prepare and enable to the clock input,
    and increases the usage counter of the clk.

    Signed-off-by: Zhiwu Song
    Signed-off-by: Barry Song
    Signed-off-by: Daniel Lezcano

    Zhiwu Song
     

03 Jun, 2014

1 commit

  • Pull ARM SoC cleanups from Olof Johansson:
    "Cleanups for 3.16. Among these are:

    - a bunch of misc cleanups for Broadcom platforms, mostly
    housekeeping
    - enabling Common Clock Framework on the older s3c24xx Samsung
    chipsets
    - cleanup of the Versatile Express system controller code, moving it
    to syscon
    - power management cleanups for OMAP platforms

    plus a handful of other cleanups across the place"

    * tag 'cleanup-for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (87 commits)
    ARM: kconfig: allow PCI support to be selected with ARCH_MULTIPLATFORM
    clk: samsung: fix build error
    ARM: vexpress: refine dependencies for new code
    clk: samsung: clk-s3c2410-dlck: do not use PNAME macro as it declares __initdata
    cpufreq: exynos: Fix the compile error
    ARM: S3C24XX: move debug-macro.S into the common space
    ARM: S3C24XX: use generic DEBUG_UART_PHY/_VIRT in debug macro
    ARM: S3C24XX: trim down debug uart handling
    ARM: compressed/head.S: remove s3c24xx special case
    ARM: EXYNOS: Remove unnecessary inclusion of cpu.h
    ARM: EXYNOS: Migrate Exynos specific macros from plat to mach
    ARM: EXYNOS: Remove exynos_subsys registration
    ARM: EXYNOS: Remove duplicate lines in Makefile
    ARM: EXYNOS: use v7_exit_coherency_flush macro for cache disabling
    ARM: OMAP4: PRCM: remove references to cm-regbits-44xx.h from PRCM core files
    ARM: OMAP3/4: PRM: add support of late_init call to prm_ll_ops
    ARM: OMAP3/OMAP4: PRM: add prm_features flags and add IO wakeup under it
    ARM: OMAP3/4: PRM: provide io chain reconfig function through irq setup
    ARM: OMAP2+: PRM: remove unnecessary cpu_is_XXX calls from prm_init / exit
    ARM: OMAP2+: PRCM: cleanup some header includes
    ...

    Linus Torvalds
     

23 May, 2014

1 commit

  • irqchip will reject the affinity set to CPUs which is not online
    yet. but in the CPU1 wakeup stage, OS only sets CPU1 to be online
    after local timer is set, so that causes the irq_set_affinity not
    work. this patch moves to irq_force_affinity() for the low level
    boot stage.

    Signed-off-by: Zhiwu Song
    Signed-off-by: Barry Song
    Signed-off-by: Daniel Lezcano

    Zhiwu Song
     

12 May, 2014

1 commit


20 Dec, 2013

1 commit

  • Since CSR SiRF was converted to multi platform in cf82e0e (ARM: sirf:
    enable multiplatform support) the symbol CLOCK_TICK_RATE isn't the
    platform specific definition any more, but a global dummy value. There
    was no harm introduced in cf82e0e because the global value happens to
    match the old platform specific one, still this dummy value isn't
    intended to be used and will hopefully disappear soon, so introduce a
    local #define and use that instead.

    Acked-by: Daniel Lezcano
    Signed-off-by: Uwe Kleine-König

    Uwe Kleine-König
     

24 Jul, 2013

1 commit

  • …/davidb/linux-msm into next/cleanup

    From Stephen Boyd:

    Now that we have a generic arch hook for broadcast we can remove the
    local timer API entirely. Doing so will reduce code in ARM core, reduce
    the architecture dependencies of our timer drivers, and simplify the code
    because we no longer go through an architecture layer that is essentially
    a hotplug notifier.

    * tag 'remove-local-timers' of git://git.kernel.org/pub/scm/linux/kernel/git/davidb/linux-msm:
    ARM: smp: Remove local timer API
    clocksource: time-armada-370-xp: Divorce from local timer API
    clocksource: time-armada-370-xp: Fix sparse warning
    ARM: msm: Divorce msm_timer from local timer API
    ARM: PRIMA2: Divorce timer-marco from local timer API
    ARM: EXYNOS4: Divorce mct from local timer API
    ARM: OMAP2+: Divorce from local timer API
    ARM: smp_twd: Divorce smp_twd from local timer API
    ARM: smp: Remove duplicate dummy timer implementation

    Resolved a large number of conflicts due to __cpuinit cleanups, etc.

    Signed-off-by: Olof Johansson <olof@lixom.net>

    Olof Johansson
     

15 Jul, 2013

1 commit

  • The __cpuinit type of throwaway sections might have made sense
    some time ago when RAM was more constrained, but now the savings
    do not offset the cost and complications. For example, the fix in
    commit 5e427ec2d0 ("x86: Fix bit corruption at CPU resume time")
    is a good example of the nasty type of bugs that can be created
    with improper use of the various __init prefixes.

    After a discussion on LKML[1] it was decided that cpuinit should go
    the way of devinit and be phased out. Once all the users are gone,
    we can then finally remove the macros themselves from linux/init.h.

    This removes all the drivers/clocksource and drivers/irqchip uses of
    the __cpuinit macros from all C files.

    [1] https://lkml.org/lkml/2013/5/20/589

    Cc: John Stultz
    Cc: Thomas Gleixner
    Acked-by: Thomas Gleixner
    Signed-off-by: Paul Gortmaker

    Paul Gortmaker
     

25 Jun, 2013

1 commit


13 Jun, 2013

1 commit


25 Mar, 2013

1 commit