24 Jun, 2013

2 commits

  • When building a kernel without CONFIG_PM, we get a link
    error from referencing mxs_pm_init in the machine
    descriptor. This defines a macro to NULL for that case.

    Signed-off-by: Arnd Bergmann
    Acked-by: Shawn Guo

    Arnd Bergmann
     
  • Like other ARM specific drivers, this one requires ARM_CPU_SUSPEND,
    as shown by this linker error:

    drivers/built-in.o: In function `calxeda_pwrdown_idle':
    drivers/cpuidle/cpuidle-calxeda.c:84: undefined reference to `cpu_suspend'
    drivers/cpuidle/cpuidle-calxeda.c:86: undefined reference to `cpu_resume'

    Signed-off-by: Arnd Bergmann
    Acked-by: Rafael J. Wysocki
    Acked-by: Rob Herring
    Acked-by: Daniel Lezcano
    Cc: linux-pm@vger.kernel.org

    Arnd Bergmann
     

20 Jun, 2013

3 commits


19 Jun, 2013

5 commits

  • The CLOCKSOURCE_OF_DECLARE functions now take a device_node pointer
    as their argument, as of the clksrc/cleanup branch in arm-soc.
    This patch adapts the bcm_kona_timer driver to the new interface.

    Signed-off-by: Arnd Bergmann
    Acked-by: Christian Daudt
    Cc: John Stultz

    Arnd Bergmann
     
  • When building a kernel using 'make -s', I expect to see an empty output,
    except for build warnings and errors. The build_OID_registry code
    always prints one line when run, which is not helpful to most people
    building the kernels, and which makes it harder to automatically
    check for build warnings.

    Let's just remove the one line output.

    Signed-off-by: Arnd Bergmann
    Cc: David Howells
    Cc: Rusty Russell

    Arnd Bergmann
     
  • The omap2 nand device driver calls into the the elm code, which can
    be a loadable module, and in that case it cannot be built-in itself.
    I can see no reason why the omap2 driver cannot also be a module,
    so let's make the option "tristate" in Kconfig to fix this allmodconfig
    build error:

    ERROR: "elm_config" [drivers/mtd/nand/omap2.ko] undefined!
    ERROR: "elm_decode_bch_error_page" [drivers/mtd/nand/omap2.ko] undefined!

    Signed-off-by: Arnd Bergmann
    Acked-by: Tony Lindgren
    Cc: David Woodhouse
    Cc: Artem Bityutskiy
    Cc: Afzal Mohammed
    Cc: Russell King
    Cc: linux-mtd@lists.infradead.org

    Arnd Bergmann
     
  • ARM cannot handle udelay for more than 2 miliseconds, so we
    should use mdelay instead for those.

    Signed-off-by: Arnd Bergmann
    Acked-by: GOTO Masanori
    Cc: YOKOTA Hiroshi
    Cc: "James E.J. Bottomley"
    Cc: linux-scsi@vger.kernel.org

    Arnd Bergmann
     
  • The MODULE_LICENSE macro invocation must use either "GPL" or "GPL v2",
    but not "GPLv2" in order to be detected by the module loader.

    This fixes the allmodconfig build error:

    FATAL: modpost: GPL-incompatible module bcm2835-rng.ko uses GPL-only symbol 'platform_driver_unregister'

    Signed-off-by: Arnd Bergmann
    Acked-by: Lubomir Rintel
    Cc: Dom Cobley
    Cc: Stephen Warren
    Cc: Matt Mackall
    Cc: linux-rpi-kernel@lists.infradead.org
    Cc: Herbert Xu

    Arnd Bergmann
     

18 Jun, 2013

4 commits


15 Jun, 2013

3 commits

  • …vidb/linux-msm into next/fixes-non-critical

    From David Brown:
    Some minor fixes for MSM for 3.11

    I don't expect these to be necessary for stable, since the fixes are
    to recently added code. The strncpy fix is only in debug code that
    isn't normally compiled or used (and is being removed in upcoming
    patches).

    * tag 'msm-fix-for-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/davidb/linux-msm:
    gpio: msm-v1: Remove errant __devinit to fix compile
    mfd: ssbi: Add MODULE_DEVICE_TABLE
    ARM: dts: msm: Fix bad register addresses
    arch: arm: mach-msm: using strlcpy instead of strncpy

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

    Olof Johansson
     
  • …/git/nsekhar/linux-davinci into next/fixes-non-critical

    From Sekhar Nori:
    This pull request contains a trival change
    to drop a stale maintainer name and address.

    * tag 'davinci-for-v3.11/board' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
    ARM: davinci: remove stale SFFSDR maintainer name

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

    Olof Johansson
     
  • …/scm/linux/kernel/git/tmlind/linux-omap into next/fixes-non-critical

    From Tony Lindgren:
    Non-critical fixes for omaps for v3.11 merge window.

    * tag 'omap-for-v3.11/fixes-non-critical-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
    ARM: OMAP2+: omap-usb-host: Fix memory leaks
    ARM: OMAP2+: Fix serial init for device tree based booting
    arm/omap: use const char properly
    ARM: OMAP2+: devices: Do not print error when dss_hdmi hwmod lookup fails
    ARM: OMAP2+: devices: Do not print error when DMIC hwmod lookup fails
    ARM: OMAP2+: devices: Do not print error when McPDM hwmod lookup fails
    ARM: OMAP: add vdds_sdi supply for omapdss_sdi.0
    ARM: OMAP: add vdds_dsi supply for omapdss_dpi.0
    ARM: OMAP: fix dsi regulator names
    + Linux 3.10-rc5

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

    Olof Johansson
     

13 Jun, 2013

5 commits


12 Jun, 2013

8 commits


11 Jun, 2013

1 commit


09 Jun, 2013

9 commits

  • …rfprima2-kernel into next/fixes-non-critical

    From Barry Song, SiRF fixes for v3.10 (that we're punting to 3.11):

    - Replace include linux/module.h with linux/export.h
    - fix a checkpatch issue
    - use of_platform_populate instead of of_platform_bus_probe

    * tag 'sirf-arm-soc-v3.10-fixes' of git://gitorious.org/sirfprima2-kernel/sirfprima2-kernel:
    arm: prima2: use of_platform_populate instead of of_platform_bus_probe
    ARM: prima2: fix a checkpatch issue
    ARM: prima2: Replace include linux/module.h with linux/export.h
    + Linux 3.10-rc4

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

    Olof Johansson
     
  • Linus Torvalds
     
  • This patch fixes warnings due to missing lock on write error path.

    WARNING: at fs/hpfs/hpfs_fn.h:353 hpfs_truncate+0x75/0x80 [hpfs]()
    Hardware name: empty
    Pid: 26563, comm: dd Tainted: P O 3.9.4 #12
    Call Trace:
    hpfs_truncate+0x75/0x80 [hpfs]
    hpfs_write_begin+0x84/0x90 [hpfs]
    _hpfs_bmap+0x10/0x10 [hpfs]
    generic_file_buffered_write+0x121/0x2c0
    __generic_file_aio_write+0x1c7/0x3f0
    generic_file_aio_write+0x7c/0x100
    do_sync_write+0x98/0xd0
    hpfs_file_write+0xd/0x50 [hpfs]
    vfs_write+0xa2/0x160
    sys_write+0x51/0xa0
    page_fault+0x22/0x30
    system_call_fastpath+0x1a/0x1f

    Signed-off-by: Mikulas Patocka
    Cc: stable@kernel.org # 2.6.39+
    Signed-off-by: Linus Torvalds

    Mikulas Patocka
     
  • Pull timer fixes from Thomas Gleixner:

    - Trivial: unused variable removal

    - Posix-timers: Add the clock ID to the new proc interface to make it
    useful. The interface is new and should be functional when we reach
    the final 3.10 release.

    - Cure a false positive warning in the tick code introduced by the
    overhaul in 3.10

    - Fix for a persistent clock detection regression introduced in this
    cycle

    * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    timekeeping: Correct run-time detection of persistent_clock.
    ntp: Remove unused variable flags in __hardpps
    posix-timers: Show clock ID in proc file
    tick: Cure broadcast false positive pending bit warning

    Linus Torvalds
     
  • Pull irqdomain bug fixes from Grant Likely:
    "This branch contains a set of straight forward bug fixes to the
    irqdomain code and to a couple of drivers that make use of it."

    * tag 'irqdomain-for-linus' of git://git.secretlab.ca/git/linux:
    irqchip: Return -EPERM for reserved IRQs
    irqdomain: document the simple domain first_irq
    kernel/irq/irqdomain.c: before use 'irq_data', need check it whether valid.
    irqdomain: export irq_domain_add_simple

    Linus Torvalds
     
  • The irqdomain core will report a log message for any attempted map call
    that fails unless the error code is -EPERM. This patch changes the
    Versatile irq controller drivers to use -EPERM because it is normal for
    a subset of the IRQ inputs to be marked as reserved on the various
    Versatile platforms.

    Signed-off-by: Grant Likely

    Grant Likely
     
  • The first_irq needs to be zero to get a linear domain and that
    comes with special semantics. We want to simplify this going
    forward but some documentation never hurts.

    Signed-off-by: Linus Walleij
    Signed-off-by: Grant Likely

    Linus Walleij
     
  • Since irq_data may be NULL, if so, we WARN_ON(), and continue, 'hwirq'
    which related with 'irq_data' has to initialize later, or it will cause
    issue.

    Signed-off-by: Chen Gang
    Signed-off-by: Grant Likely

    Chen Gang
     
  • All other irq_domain_add_* functions are exported already, and apparently
    this one got left out by mistake, which causes build errors for ARM
    allmodconfig kernels:

    ERROR: "irq_domain_add_simple" [drivers/gpio/gpio-rcar.ko] undefined!
    ERROR: "irq_domain_add_simple" [drivers/gpio/gpio-em.ko] undefined!

    Signed-off-by: Arnd Bergmann
    Acked-by: Simon Horman
    Signed-off-by: Grant Likely

    Arnd Bergmann