1. 28 7月, 2015 2 次提交
    • R
      ARM: kill off set_irq_flags usage · e8d36d5d
      Rob Herring 提交于
      set_irq_flags is ARM specific with custom flags which have genirq
      equivalents. Convert drivers to use the genirq interfaces directly, so we
      can kill off set_irq_flags. The translation of flags is as follows:
      
      IRQF_VALID -> !IRQ_NOREQUEST
      IRQF_PROBE -> !IRQ_NOPROBE
      IRQF_NOAUTOEN -> IRQ_NOAUTOEN
      
      For IRQs managed by an irqdomain, the irqdomain core code handles clearing
      and setting IRQ_NOREQUEST already, so there is no need to do this in
      .map() functions and we can simply remove the set_irq_flags calls. Some
      users also modify IRQ_NOPROBE and this has been maintained although it
      is not clear that is really needed. There appears to be a great deal of
      blind copy and paste of this code.
      Signed-off-by: NRob Herring <robh@kernel.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Sekhar Nori <nsekhar@ti.com>
      Cc: Kevin Hilman <khilman@deeprootsystems.com>
      Cc: Jason Cooper <jason@lakedaemon.net>
      Cc: Andrew Lunn <andrew@lunn.ch>
      Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Cc: Gregory Clement <gregory.clement@free-electrons.com>
      Acked-by: NHans Ulli Kroll <ulli.kroll@googlemail.com>
      Acked-by: NShawn Guo <shawnguo@kernel.org>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Imre Kaloz <kaloz@openwrt.org>
      Acked-by: NKrzysztof Halasa <khalasa@piap.pl>
      Cc: Greg Ungerer <gerg@uclinux.org>
      Cc: Roland Stigge <stigge@antcom.de>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Daniel Mack <daniel@zonque.org>
      Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
      Cc: Robert Jarzmik <robert.jarzmik@free.fr>
      Cc: Simtec Linux Team <linux@simtec.co.uk>
      Cc: Kukjin Kim <kgene@kernel.org>
      Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
      Acked-by: NWan ZongShun <mcuos.com@gmail.com>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-omap@vger.kernel.org
      Cc: linux-samsung-soc@vger.kernel.org
      Tested-by: NKevin Hilman <khilman@linaro.org>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      e8d36d5d
    • N
      ARM: appropriate __init annotation for const data · 19c233b7
      Nicolas Pitre 提交于
      Init data marked const should be annotated with __initconst for
      correctness and not __initdata.  In some cases the array gathering
      references to that data has to be marked const as well. This fixes
      LTO builds that otherwise fail with section mismatch errors.
      Signed-off-by: NNicolas Pitre <nico@linaro.org>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      19c233b7
  2. 27 7月, 2015 1 次提交
  3. 23 7月, 2015 1 次提交
    • O
      Merge tag 'omap-for-v4.3/legacy-v2-signed' of... · 9521f492
      Olof Johansson 提交于
      Merge tag 'omap-for-v4.3/legacy-v2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/cleanup
      
      Merge "drop few more legacy boards for v4.3" from Tony Lindgren:
      
      Drop more omap3 legacy board-*.c files for v4.3. This time we're
      dropping the board files for omap3logic and omap3pandora.
      
      The reason for dropping these now rather than later is that now
      we can simply revert the patches in case of unexpected issues as
      we are not dropping any platform data at this point.
      
      This leaves us with only the following board-*.c files:
      
      BOARD                   REASON NEEDED
      board-ldp.c             Still used in RMKs boot test system
      board-rx51-*.c          Needs /proc/atags support for user space
      
      Once we have the n900 legacy user space issues sorted out for
      /proc/atags and system_rev, we can drop the remaining two
      board-*.c files. And then one merge window after that we can
      drop the legacy booting support assuming no unexpected issues
      are found.
      
      * tag 'omap-for-v4.3/legacy-v2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: OMAP2+: Remove legacy booting support for Pandora
        ARM: OMAP2+: Remove legacy booting support for LogicPD Torpedo
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      9521f492
  4. 18 7月, 2015 4 次提交
    • O
      Merge tag 'ep93xx-cleanup' of... · cd392752
      Olof Johansson 提交于
      Merge tag 'ep93xx-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator into next/cleanup
      
      Merge "EP93xx cleanups for v4.3" from Linus Walleij:
      
      EP93xx cleanup and completing developments. This switches
      EP93xx to generic time and brings in a few out-of-tree small
      patches that were stalled for ages.
      
      It also removes the need for memory config options and instead moves over to
      using PATCH_PHYS_VIRT.
      
      * tag 'ep93xx-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator:
        ARM: ep93xx: simone: enable DMA on the SPI host
        ARM: ep93xx: vision_ep9307: add audio support
        ARM: ep93xx: vision_ep9307: enable DMA for SPI
        ARM: ep93xx: toss the device ID into the entropy pool
        ARM: ep93xx: remove memory configuration options
        ARM: ep93xx: update comment on timer usage
        ARM: ep93xx: switch clockevent to timer 3
        ARM: ep93xx: use non-raw accessors for timer
        ARM: ep93xx: switch to GENERIC_CLOCKEVENTS
        ARM: ep93xx: move timer to its own file
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      cd392752
    • O
      Merge tag 'arm-soc/for-4.3/soc' of http://github.com/broadcom/stblinux into next/cleanup · 6339189e
      Olof Johansson 提交于
      Merge "Broadcom SoC changes for 4.3 (part 1)" from Florian Fainelli:
      
      This pull request contains two fixes for the Broadcom BCM63xx SMP code:
      
      - Sudeep removes an invalid use of cpu_logical_map() which turned to be a no-op
        since we always boot from physical CPU 0 = logical CPU 0
      
      - Florian removes the custom secondary_startup function and replaces it with
        the generic one
      
      * tag 'arm-soc/for-4.3/soc' of http://github.com/broadcom/stblinux:
        ARM: BCM63xx: Remove custom secondary_startup function
        ARM: BCM63xx: fix parameter to of_get_cpu_node in bcm63138_smp_boot_secondary
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      6339189e
    • O
      Merge tag 'mvebu-cleanup-4.3-1' of git://git.infradead.org/linux-mvebu into next/cleanup · 3bf7b20a
      Olof Johansson 提交于
      Merge "ARM: mvebu: cleanup changes for v4.3" from Gregory Clement:
      
      mvebu cleanup changes for v4.3 (part #1)
      
      - Use vsprintf %pM extension on orion5x board to format mac address
      - Add missing newline at end of messages on pr_warn when CPU Idle on
        Armada 38x is disabled
      
      * tag 'mvebu-cleanup-4.3-1' of git://git.infradead.org/linux-mvebu:
        ARM: orion5x: Use vsprintf %pM extension
        ARM: mvebu: add missing newline at end of messages
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      3bf7b20a
    • O
      Merge branch 'ARM/clkevt/set-state-4.3' of... · 52e43a11
      Olof Johansson 提交于
      Merge branch 'ARM/clkevt/set-state-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/linux into next/cleanup
      
      Merge "ARM: clockevents: Migrate to 'set-state' callbacks" from Viresh Kumar:
      
      This series migrates ARM clockevent drivers (present in arch/arm/
      directory), to the new set-state interface. This would enable these
      drivers to use new states (like: ONESHOT_STOPPED, etc.) of a clockevent
      device (if required), as the set-mode interface is marked obsolete now
      and wouldn't be expanded to handle new states.
      
      * 'ARM/clkevt/set-state-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/linux:
        ARM/orion/time: Migrate to new 'set-state' interface
        ARM/iop/time: Migrate to new 'set-state' interface
        ARM/w90x900/time: Migrate to new 'set-state' interface
        ARM/SPEAr/time: Migrate to new 'set-state' interface
        ARM/omap2/timer: Migrate to new 'set-state' interface
        ARM/omap1/timer32: Migrate to new 'set-state' interface
        ARM/omap1/time: Migrate to new 'set-state' interface
        ARM/netx/time: Migrate to new 'set-state' interface
        ARM/mmp/time: Migrate to new 'set-state' interface
        ARM/lpc32xx/timer: Migrate to new 'set-state' interface
        ARM/ks8695/time: Migrate to new 'set-state' interface
        ARM/ixp4xx/timer: Migrate to new 'set-state' interface
        ARM/imx/epit: Migrate to new 'set-state' interface
        ARM/gemini/time: Migrate to new 'set-state' interface
        ARM/dc21285-timer: Migrate to new 'set-state' interface
        ARM/davinci/time: Migrate to new 'set-state' interface
        ARM/cns3xxx/timer: Migrate to new 'set-state' interface
        ARM/smp_twd: Migrate to new 'set-state' interface
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      52e43a11
  5. 17 7月, 2015 24 次提交
  6. 16 7月, 2015 1 次提交
    • T
      ARM: OMAP2+: Remove legacy booting support for Pandora · 7fcf7e06
      Tony Lindgren 提交于
      We've been moving all omap2+ based systems to boot in device tree only
      mode for a few years now. Only omap3 has legacy booting support
      remaining. Most omap3 boards already have related arch/arm/boot/*.dts*
      files for booting with device tree.
      
      This board has support for device tree based booting, and we've been
      printing warnings about the legacy booting being deprecated for a
      few merge cycles now. Let's attempt to remove the legacy booting
      for it.
      
      The reason for removing the legacy booting support now rather than
      later is we can simply revert this patch if necessary if we run
      into some unexpected issues that are not trivial to fix for the
      device tree based booting.
      
      Cc: Grazvydas Ignotas <notasas@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      7fcf7e06
  7. 14 7月, 2015 3 次提交
    • O
      Merge tag 'renesas-pm-domain-for-v4.3' of... · b3f81739
      Olof Johansson 提交于
      Merge tag 'renesas-pm-domain-for-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/cleanup
      
      Merge "Renesas ARM Based SoC PM Domain Updates for v4.3" from Simon Horman:
      
      * Make rcar_sysc_ch const for r8a779[09] SoCs
      * Get rid of on_off_fn() function pointer
      * Use BIT() macro instead of open coding
      * Make struct rcar_sysc_ch * parameters const
      * Break infinite loop
      * Shrink rcar_sysc_ch size
      * Improve documentation
      
      * tag 'renesas-pm-domain-for-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
        ARM: shmobile: r8a7790: Make struct rcar_sysc_ch const
        ARM: shmobile: r8a7779: Make struct rcar_sysc_ch const
        ARM: shmobile: R-Car: Get rid of on_off_fn() function pointer
        ARM: shmobile: R-Car: Use BIT() macro instead of open coding
        ARM: shmobile: R-Car: Make struct rcar_sysc_ch * parameters const
        ARM: shmobile: R-Car: Break infinite loop
        ARM: shmobile: R-Car: Shrink rcar_sysc_ch size
        ARM: shmobile: R-Car: Improve documentation
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      b3f81739
    • O
      Merge tag 'renesas-cleanup-for-v4.3' of... · 63f34693
      Olof Johansson 提交于
      Merge tag 'renesas-cleanup-for-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/cleanup
      
      Merge "Renesas ARM Based SoC Cleanup for v4.3" from Simon Horman:
      
      * Remove non-multiplatform code from timer
      * Remove CONFIG_ARCH_SHMOBILE_MULTI check in setup-rcar-gen2.c
        as it is always true
      * Remove legacy (non-multiplatform) support for both sh73a0/kzm9g and
        r8a7740/armadillo800eva
      * Move to_rmobile_pd from header to source file where it is used
      * Use BIT() macro instead of open coding in r-mobile PM code
      * r8a7779: Remove usage of GENPD_FLAG_PM_CLK flag which has no effect
      
      * tag 'renesas-cleanup-for-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
        ARM: shmobile: timer: r8a73a4 and r8a7790 are multi-platform only
        ARM: shmobile: R-Car Gen2: CONFIG_ARCH_SHMOBILE_MULTI is always set
        ARM: shmobile: Remove obsolete zboot support
        ARM: shmobile: R-Mobile: Remove legacy PM Domain code
        ARM: shmobile: Remove unused dma-register.h
        ARM: shmobile: Remove legacy SoC code for R-Mobile A1
        ARM: shmobile: Drop r8a7740-armadillo800eva.dtb for legacy builds
        ARM: shmobile: Remove legacy armadillo800eva_defconfig
        ARM: shmobile: Remove legacy board code for Armadillo-800 EVA
        ARM: shmobile: Remove legacy SoC code for SH-Mobile AG5
        ARM: shmobile: Drop sh73a0-kzm9g.dtb for legacy builds
        ARM: shmobile: Remove legacy kzm9g_defconfig
        ARM: shmobile: Remove legacy board code for KZM-A9-GT
        ARM: shmobile: r8a7779: Remove GENPD_FLAG_PM_CLK flag
        ARM: shmobile: R-Mobile: Use BIT() macro instead of open coding
        ARM: shmobile: R-Mobile: Move to_rmobile_pd from header to source file
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      63f34693
    • W
      ARM: shmobile: apmu: silence build warnings · 151dd346
      Wolfram Sang 提交于
      With shmobile_defconfig but SMP=n && SUSPEND=n, I get:
      
      arch/arm/mach-shmobile/platsmp-apmu.c:49:12: warning: 'apmu_power_off' defined but not used [-Wunused-function]
      arch/arm/mach-shmobile/platsmp-apmu.c:70:12: warning: 'apmu_wrap' defined but not used [-Wunused-function]
      
      Annotate those functions like the functions around it.
      Signed-off-by: NWolfram Sang <wsa+renesas@sang-engineering.com>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      151dd346
  8. 13 7月, 2015 4 次提交
    • T
      ARM: OMAP2+: Remove legacy booting support for LogicPD Torpedo · d0796c4c
      Tony Lindgren 提交于
      We've been moving all omap2+ based systems to boot in device tree only
      mode for a few years now. Only omap3 has legacy booting support
      remaining. Most omap3 boards already have related arch/arm/boot/*.dts*
      files for booting with device tree.
      
      This board has support for device tree based booting, and we've been
      printing warnings about the legacy booting being deprecated for a
      few merge cycles now. Let's attempt to remove the legacy booting
      for it.
      
      The reason for removing the legacy booting support now rather than
      later is we can simply revert this patch if necessary if we run
      into some unexpected issues that are not trivial to fix for the
      device tree based booting.
      
      Cc: Tim Nordell <tim.nordell@logicpd.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      d0796c4c
    • L
      Linux 4.2-rc2 · bc0195aa
      Linus Torvalds 提交于
      bc0195aa
    • L
      Revert "drm/i915: Use crtc_state->active in primary check_plane func" · 01e2d062
      Linus Torvalds 提交于
      This reverts commit dec4f799.
      
      Jörg Otte reports a NULL pointder dereference due to this commit, as
      'crtc_state' very much can be NULL:
      
              crtc_state = state->base.state ?
                      intel_atomic_get_crtc_state(state->base.state, intel_crtc) : NULL;
      
      So the change to test 'crtc_state->base.active' cannot possibly be
      correct as-is.
      
      There may be some other minimal fix (like just checking crtc_state for
      NULL), but I'm just reverting it now for the rc2 release, and people
      like Daniel Vetter who actually know this code will figure out what the
      right solution is in the longer term.
      Reported-and-bisected-by: NJörg Otte <jrg.otte@gmail.com>
      Cc: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
      Cc: Jani Nikula <jani.nikula@linux.intel.com>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      CC: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      01e2d062
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · c83727a6
      Linus Torvalds 提交于
      Pull VFS fixes from Al Viro:
       "Fixes for this cycle regression in overlayfs and a couple of
        long-standing (== all the way back to 2.6.12, at least) bugs"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        freeing unlinked file indefinitely delayed
        fix a braino in ovl_d_select_inode()
        9p: don't leave a half-initialized inode sitting around
      c83727a6