28 Jun, 2016

2 commits

  • All the clocksource drivers's init function are now converted to return
    an error code. CLOCKSOURCE_OF_DECLARE is no longer used as well as the
    clksrc-of table.

    Let's convert back the names:
    - CLOCKSOURCE_OF_DECLARE_RET => CLOCKSOURCE_OF_DECLARE
    - clksrc-of-ret => clksrc-of

    Signed-off-by: Daniel Lezcano

    For exynos_mct and samsung_pwm_timer:
    Acked-by: Krzysztof Kozlowski

    For arch/arc:
    Acked-by: Vineet Gupta

    For mediatek driver:
    Acked-by: Matthias Brugger

    For the Rockchip-part
    Acked-by: Heiko Stuebner

    For STi :
    Acked-by: Patrice Chotard

    For the mps2-timer.c and versatile.c changes:
    Acked-by: Liviu Dudau

    For the OXNAS part :
    Acked-by: Neil Armstrong

    For LPC32xx driver:
    Acked-by: Sylvain Lemieux

    For Broadcom Kona timer change:
    Acked-by: Ray Jui

    For Sun4i and Sun5i:
    Acked-by: Chen-Yu Tsai

    For Meson6:
    Acked-by: Carlo Caione

    For Keystone:
    Acked-by: Santosh Shilimkar

    For NPS:
    Acked-by: Noam Camus

    For bcm2835:
    Acked-by: Eric Anholt

    Daniel Lezcano
     
  • The init functions do not return any error. They behave as the following:

    - panic, thus leading to a kernel crash while another timer may work and
    make the system boot up correctly

    or

    - print an error and let the caller unaware if the state of the system

    Change that by converting the init functions to return an error conforming
    to the CLOCKSOURCE_OF_RET prototype.

    Proper error handling (rollback, errno value) will be changed later case
    by case, thus this change just return back an error or success in the init
    function.

    Signed-off-by: Daniel Lezcano
    Acked-by: Linus Walleij

    Daniel Lezcano
     

10 Aug, 2015

1 commit

  • Migrate u300 driver to the new 'set-state' interface provided by
    clockevents core, the earlier 'set-mode' interface is marked obsolete
    now.

    This also enables us to implement callbacks for new states of clockevent
    devices, for example: ONESHOT_STOPPED.

    Cc: Linus Walleij
    Signed-off-by: Viresh Kumar
    Signed-off-by: Daniel Lezcano
    Acked-by: Linus Walleij

    Viresh Kumar
     

06 Apr, 2014

1 commit

  • Pull ARM changes from Russell King:

    - Perf updates from Will Deacon:
    - Support for Qualcomm Krait processors (run perf on your phone!)
    - Support for Cortex-A12 (run perf stat on your FPGA!)
    - Support for perf_sample_event_took, allowing us to automatically decrease
    the sample rate if we can't handle the PMU interrupts quickly enough
    (run perf record on your FPGA!).

    - Basic uprobes support from David Long:
    This patch series adds basic uprobes support to ARM. It is based on
    patches developed earlier by Rabin Vincent. That approach of adding
    hooks into the kprobes instruction parsing code was not well received.
    This approach separates the ARM instruction parsing code in kprobes out
    into a separate set of functions which can be used by both kprobes and
    uprobes. Both kprobes and uprobes then provide their own semantic action
    tables to process the results of the parsing.

    - ARMv7M (microcontroller) updates from Uwe Kleine-König

    - OMAP DMA updates (recently added Vinod's Ack even though they've been
    sitting in linux-next for a few months) to reduce the reliance of
    omap-dma on the code in arch/arm.

    - SA11x0 changes from Dmitry Eremin-Solenikov and Alexander Shiyan

    - Support for Cortex-A12 CPU

    - Align support for ARMv6 with ARMv7 so they can cooperate better in a
    single zImage.

    - Addition of first AT_HWCAP2 feature bits for ARMv8 crypto support.

    - Removal of IRQ_DISABLED from various ARM files

    - Improved efficiency of virt_to_page() for single zImage

    - Patch from Ulf Hansson to permit runtime PM callbacks to be available for
    AMBA devices for suspend/resume as well.

    - Finally kill asm/system.h on ARM.

    * 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm: (89 commits)
    dmaengine: omap-dma: more consolidation of CCR register setup
    dmaengine: omap-dma: move IRQ handling to omap-dma
    dmaengine: omap-dma: move register read/writes into omap-dma.c
    ARM: omap: dma: get rid of 'p' allocation and clean up
    ARM: omap: move dma channel allocation into plat-omap code
    ARM: omap: dma: get rid of errata global
    ARM: omap: clean up DMA register accesses
    ARM: omap: remove almost-const variables
    ARM: omap: remove references to disable_irq_lch
    dmaengine: omap-dma: cleanup errata 3.3 handling
    dmaengine: omap-dma: provide register read/write functions
    dmaengine: omap-dma: use cached CCR value when enabling DMA
    dmaengine: omap-dma: move barrier to omap_dma_start_desc()
    dmaengine: omap-dma: move clnk_ctrl setting to preparation functions
    dmaengine: omap-dma: improve efficiency loading C.SA/C.EI/C.FI registers
    dmaengine: omap-dma: consolidate clearing channel status register
    dmaengine: omap-dma: move CCR buffering disable errata out of the fast path
    dmaengine: omap-dma: provide register definitions
    dmaengine: omap-dma: consolidate setup of CCR
    dmaengine: omap-dma: consolidate setup of CSDP
    ...

    Linus Torvalds
     

12 Mar, 2014

1 commit