11 Jun, 2014

1 commit


31 Mar, 2014

3 commits

  • Use devm_ioremap_resource() in order to make the code simpler.

    Signed-off-by: Jingoo Han
    Reviewed-by: Guenter Roeck
    Signed-off-by: Wim Van Sebroeck

    Jingoo Han
     
  • The site-specific OOM messages are unnecessary, because they
    duplicate the MM subsystem generic OOM message. For example,
    k.alloc and v.alloc failures use dump_stack().

    Signed-off-by: Jingoo Han
    Reviewed-by: Jean Delvare [for at32ap700x]
    Acked-by: Lubomir Rintel [for bcm2835]
    Acked-by: Viresh Kumar [for sp805_wdt]
    Acked-by: Mika Westerberg [for ts72xx_wdt]
    Reviewed-by: Guenter Roeck
    Signed-off-by: Wim Van Sebroeck

    Jingoo Han
     
  • None of these files are actually using any __init type directives
    and hence don't need to include . Most are just a
    left over from __devinit and __cpuinit removal, or simply due to
    code getting copied from one driver to the next.

    Signed-off-by: Paul Gortmaker
    Reviewed-by: Guenter Roeck
    Signed-off-by: Wim Van Sebroeck
    Cc: linux-watchdog@vger.kernel.org

    Paul Gortmaker
     

18 Nov, 2013

1 commit

  • Driver core clears the driver data to NULL after device_release
    or on probe failure, so just remove it from here.

    Driver core change:
    "device-core: Ensure drvdata = NULL when no driver is bound"
    (sha1: 0998d0631001288a5974afc0b2a5f568bcdecb4d)

    Signed-off-by: Michal Simek
    Reviewed-by: Guenter Roeck
    Signed-off-by: Wim Van Sebroeck

    Michal Simek
     

12 Jul, 2013

1 commit


20 Dec, 2012

1 commit

  • Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and
    clk_enable, and clk_disable and clk_unprepare. They make the code more
    concise, and ensure that clk_unprepare is called when clk_enable fails.

    A simplified version of the semantic patch that introduces calls to these
    functions is as follows: (http://coccinelle.lip6.fr/)

    //
    @@
    expression e;
    @@

    - clk_prepare(e);
    - clk_enable(e);
    + clk_prepare_enable(e);

    @@
    expression e;
    @@

    - clk_disable(e);
    - clk_unprepare(e);
    + clk_disable_unprepare(e);
    //

    Signed-off-by: Julia Lawall
    Acked-by: Viresh Kumar
    Signed-off-by: Wim Van Sebroeck

    Julia Lawall
     

13 Dec, 2012

1 commit

  • Pull ARM updates from Russell King:
    "Here's the updates for ARM for this merge window, which cover quite a
    variety of areas.

    There's a bunch of patch series from Will tackling various bugs like
    the PROT_NONE handling, ASID allocation, cluster boot protocol and
    ASID TLB tagging updates.

    We move to a build-time sorted exception table rather than doing the
    sorting at run-time, add support for the secure computing filter, and
    some updates to the perf code. We also have sorted out the placement
    of some headers, fixed some build warnings, fixed some hotplug
    problems with the per-cpu TWD code."

    * 'for-linus' of git://git.linaro.org/people/rmk/linux-arm: (73 commits)
    ARM: 7594/1: Add .smp entry for REALVIEW_EB
    ARM: 7599/1: head: Remove boot-time HYP mode check for v5 and below
    ARM: 7598/1: net: bpf_jit_32: fix sp-relative load/stores offsets.
    ARM: 7595/1: syscall: rework ordering in syscall_trace_exit
    ARM: 7596/1: mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep
    ARM: 7597/1: net: bpf_jit_32: fix kzalloc gfp/size mismatch.
    ARM: 7593/1: nommu: do not enable DCACHE_WORD_ACCESS when !CONFIG_MMU
    ARM: 7592/1: nommu: prevent generation of kernel unaligned memory accesses
    ARM: 7591/1: nommu: Enable the strict alignment (CR_A) bit only if ARCH < v6
    ARM: 7590/1: /proc/interrupts: limit the display of IPIs to online CPUs only
    ARM: 7587/1: implement optimized percpu variable access
    ARM: 7589/1: integrator: pass the lm resource to amba
    ARM: 7588/1: amba: create a resource parent registrator
    ARM: 7582/2: rename kvm_seq to vmalloc_seq so to avoid confusion with KVM
    ARM: 7585/1: kernel: fix nr_cpu_ids check in DT logical map init
    ARM: 7584/1: perf: fix link error when CONFIG_HW_PERF_EVENTS is not selected
    ARM: gic: use a private mapping for CPU target interfaces
    ARM: kernel: add logical mappings look-up
    ARM: kernel: add cpu logical map DT init in setup_arch
    ARM: kernel: add device tree init map function
    ...

    Linus Torvalds
     

29 Nov, 2012

3 commits

  • CONFIG_HOTPLUG is going away as an option so __devexit is no
    longer needed.

    Signed-off-by: Bill Pemberton
    Cc: Wim Van Sebroeck
    Cc: Wan ZongShun
    Cc: Ben Dooks
    Cc: Kukjin Kim
    Acked-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Bill Pemberton
     
  • CONFIG_HOTPLUG is going away as an option so __devinit is no longer
    needed.

    Signed-off-by: Bill Pemberton
    Cc: Wim Van Sebroeck
    Cc: Wan ZongShun
    Cc: Ben Dooks
    Cc: Kukjin Kim
    Acked-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Bill Pemberton
     
  • CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
    needed.

    Signed-off-by: Bill Pemberton
    Cc: Wim Van Sebroeck
    Cc: Wan ZongShun
    Cc: Ben Dooks
    Cc: Kukjin Kim
    Acked-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Bill Pemberton
     

08 Nov, 2012

1 commit

  • drivers/watchdog/sp805_wdt.c:288:12: warning: 'sp805_wdt_suspend' defined but not used
    drivers/watchdog/sp805_wdt.c:298:12: warning: 'sp805_wdt_resume' defined but not used

    This is caused by the wrong config symbol being used for these functions.
    Rather than fixing that, mark the functions with __maybe_unused

    Signed-off-by: Russell King

    Russell King
     

21 Jun, 2012

1 commit

  • viresh.kumar@st.com email-id doesn't exist anymore as I have left the
    company. Replace ST's id with viresh.linux@gmail.com.

    It also updates .mailmap file to fix address for 'git shortlog'

    Signed-off-by: Viresh Kumar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Viresh Kumar
     

30 May, 2012

2 commits


28 Mar, 2012

5 commits


17 Mar, 2012

1 commit


07 Jan, 2012

1 commit

  • …git-cur/linux-2.6-arm

    * 'amba-modalias' of git://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm:
    sound: aaci: Enable module alias autogeneration for AMBA drivers
    watchdog: sp805: Enable module alias autogeneration for AMBA drivers
    fbdev: amba: Enable module alias autogeneration for AMBA drivers
    serial: pl011: Enable module alias autogeneration for AMBA drivers
    serial: pl010: Enable module alias autogeneration for AMBA drivers
    spi: pl022: Enable module alias autogeneration for AMBA drivers
    rtc: pl031: Enable module alias autogeneration for AMBA drivers
    rtc: pl030: Enable module alias autogeneration for AMBA drivers
    mmc: mmci: Enable module alias autogeneration for AMBA drivers
    input: ambakmi: Enable module alias autogeneration for AMBA drivers
    gpio: pl061: Enable module alias autogeneration for AMBA drivers
    dmaengine: pl330: Enable module alias autogeneration for AMBA drivers
    dmaengine: pl08x: Enable module alias autogeneration for AMBA drivers
    hwrng: nomadik: Enable module alias autogeneration for AMBA drivers
    ARM: amba: Auto-generate AMBA driver module aliases during modpost
    ARM: amba: Move definition of struct amba_id to mod_devicetable.h

    Linus Torvalds
     

26 Dec, 2011

1 commit

  • The AMBA ID table is marked as __initdata, yet it is referenced by the
    driver struct which is not. This causes a (somewhat unhelpful) section
    mismatch warning:

    WARNING: drivers/watchdog/sp805_wdt.o(.data+0x4c): Section mismatch in
    reference from the variable sp805_wdt_driver to the (unknown
    reference) .init.data:(unknown)

    Fix this by removing the annotation.

    Signed-off-by: Nick Bowler
    Signed-off-by: Wim Van Sebroeck

    Nick Bowler
     

22 Nov, 2011

1 commit


27 Jul, 2011

2 commits

  • There are no reads in these functions, so if MMIO writes are posted,
    the writes in enable/disable may not have completed by the time these
    functions return. If the functions run from different CPUs, it's
    in theory possible for the writes to be interleaved, which would be
    disastrous for this driver.

    At the very least, we need an mmiowb() before releasing the lock, but
    since it seems desirable for the watchdog timer to be actually stopped
    or reset when these functions return, read the lock register to force
    the writes out.

    Signed-off-by: Nick Bowler
    Signed-off-by: Wim Van Sebroeck

    Nick Bowler
     
  • At least on the Versatile Express' V2M, calling wdt_disable followed by
    wdt_enable, for instance by running the following sequence:

    echo V > /dev/watchdog; echo V > /dev/watchdog

    results in an immediate reset. The wdt_disable function writes 0 to the
    load register; while the watchdog interrupts are disabled at this point,
    this special value is defined to trigger an interrupt immediately. It
    appears that in this instance, the reset happens when the interrupts
    are subsequently enabled by wdt_enable.

    Putting in a short delay after writing a new load value in wdt_enable
    solves the issue, but it seems cleaner to simply never write 0 to the
    load register at all: according to the hardware docs, writing 0 to the
    control register suffices to stop the counter, and the write of 0 to
    the load register is questionable anyway since this register resets to
    0xffffffff.

    Signed-off-by: Nick Bowler
    Signed-off-by: Wim Van Sebroeck

    Nick Bowler
     

31 Mar, 2011

1 commit


24 Feb, 2011

1 commit


09 Aug, 2010

1 commit