1. 02 Oct, 2012 26 commits
    • David Howells's avatar
      UAPI: Plumb the UAPI Kbuilds into the user header installation and checking · 10b63956
      David Howells authored
      Plumb the UAPI Kbuilds into the user header installation and checking system.
      As the headers are split the entries will be transferred across from the old
      Kbuild files to the UAPI Kbuild files.
      
      The changes made in this commit are:
      
       (1) Exported generated files (of which there are currently four) are moved to
           uapi/ directories under the appropriate generated/ directory, thus we
           get:
      
      	include/generated/uapi/linux/version.h
      	arch/x86/include/generated/uapi/asm/unistd_32.h
      	arch/x86/include/generated/uapi/asm/unistd_64.h
      	arch/x86/include/generated/uapi/asm/unistd_x32.h
      
           These paths were added to the build as -I flags in a previous patch.
      
       (2) scripts/Makefile.headersinst is now given the UAPI path to install from
           rather than the old path.
      
           It then determines the old path from that and includes that Kbuild also
           if it exists, thus permitting the headers to exist in either directory
           during the changeover.
      
           I also renamed the "install" variable to "installdir" as it refers to a
           directory not the install program.
      
       (3) scripts/headers_install.pl is altered to take a list of source file paths
           instead of just their names so that the makefile can tell it exactly
           where to find each file.
      
           For the moment, files can be obtained from one of four places for each
           output directory:
      
      	.../include/uapi/foo/
      	.../include/generated/uapi/foo/
      	.../include/foo/
      	.../include/generated/foo/
      
           The non-UAPI paths will be dropped later.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Acked-by: default avatarDave Jones <davej@redhat.com>
      10b63956
    • David Howells's avatar
      UAPI: x86: Differentiate the generated UAPI and internal headers · ec28b7f2
      David Howells authored
      Differentiate the generated UAPI and internal headers during generation such
      that the UAPI headers can be installed elsewhere.
      
      A later patch will use this to move the UAPI headers to:
      
      	arch/x86/include/generated/uapi/asm/
      
      to make them easier to handle.
      
      A previous patch added a -I for this path.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Acked-by: default avatarDave Jones <davej@redhat.com>
      ec28b7f2
    • David Howells's avatar
      UAPI: Remove the objhdr-y export list · 40f1d4c2
      David Howells authored
      Remove the objhdr-y export list as it is no longer used.  genhdr-y should be
      used instead.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Acked-by: default avatarDave Jones <davej@redhat.com>
      40f1d4c2
    • David Howells's avatar
      UAPI: Move linux/version.h · d183e6f5
      David Howells authored
      Move include/linux/version.h to the include/generated/ header directory.
      A later patch will move it to include/uapi/generated/.
      
      This allows us to get rid of the objhdr-y list.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Acked-by: default avatarDave Jones <davej@redhat.com>
      d183e6f5
    • David Howells's avatar
      UAPI: Set up uapi/asm/Kbuild.asm · 494b3e1c
      David Howells authored
      Set up uapi/asm/Kbuild.asm.  This requires the mandatory headers to be
      dynamically detected.  The same goes for include/asm/Kbuild.asm.  The problem
      is that the header files will be split or moved one at a time, but each header
      file in Kbuild.asm's list applies to all arch headers of that name
      simultaneously.
      
      The dynamic detection of mandatory files can be undone later.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Acked-by: default avatarDave Jones <davej@redhat.com>
      494b3e1c
    • David Howells's avatar
      UAPI: x86: Fix insn_sanity build failure after UAPI split · c0522b6c
      David Howells authored
      Fix a build failure in the x86 insn_sanity program after the UAPI split.  The
      problem is that insn_sanity.c #includes arch/x86/lib/insn.c - which uses the
      kernel string header.  This leads to conflicts for various definitions against
      the /usr/include/ headers.
      
      linux/string.h can be replaced with the normal userspace string.h if __KERNEL__
      is not specified.
      
        HOSTCC  arch/x86/tools/insn_sanity
      In file included from /data/fs/linux-2.6-hdr/include/linux/string.h:6:0,
                       from /data/fs/linux-2.6-hdr/arch/x86/lib/insn.c:21,
                       from arch/x86/tools/insn_sanity.c:36:
      /data/fs/linux-2.6-hdr/include/linux/types.h:14:26: error: conflicting types for 'fd_set'
      /usr/include/sys/select.h:76:5: note: previous declaration of 'fd_set' was here
      /data/fs/linux-2.6-hdr/include/linux/types.h:15:25: error: conflicting types for 'dev_t'
      /usr/include/sys/types.h:61:17: note: previous declaration of 'dev_t' was here
      /data/fs/linux-2.6-hdr/include/linux/types.h:25:26: error: conflicting types for 'timer_t'
      /usr/include/time.h:104:19: note: previous declaration of 'timer_t' was here
      /data/fs/linux-2.6-hdr/include/linux/types.h:45:26: error: conflicting types for 'loff_t'
      /usr/include/sys/types.h:45:18: note: previous declaration of 'loff_t' was here
      /data/fs/linux-2.6-hdr/include/linux/types.h:112:17: error: conflicting types for 'u_int64_t'
      /usr/include/sys/types.h:204:1: note: previous declaration of 'u_int64_t' was here
      /data/fs/linux-2.6-hdr/include/linux/types.h:113:17: error: conflicting types for 'int64_t'
      /usr/include/sys/types.h:198:1: note: previous declaration of 'int64_t' was here
      /data/fs/linux-2.6-hdr/include/linux/types.h:134:23: error: conflicting types for 'blkcnt_t'
      /usr/include/sys/types.h:236:20: note: previous declaration of 'blkcnt_t' was here
      In file included from /data/fs/linux-2.6-hdr/arch/x86/lib/insn.c:21:0,
                       from arch/x86/tools/insn_sanity.c:36:
      /data/fs/linux-2.6-hdr/include/linux/string.h:38:12: error: expected identifier or '(' before '__extension__'
      /data/fs/linux-2.6-hdr/include/linux/string.h:38:12: error: expected identifier or '(' before ')' token
      /data/fs/linux-2.6-hdr/include/linux/string.h:41:12: error: expected identifier or '(' before '__extension__'
      /data/fs/linux-2.6-hdr/include/linux/string.h:53:15: error: expected identifier or '(' before '__extension__'
      /data/fs/linux-2.6-hdr/include/linux/string.h:61:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'skip_spaces'
      /data/fs/linux-2.6-hdr/include/linux/string.h:65:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
      /data/fs/linux-2.6-hdr/include/linux/string.h:83:15: error: expected identifier or '(' before '__extension__'
      /data/fs/linux-2.6-hdr/include/linux/string.h:83:15: error: expected identifier or '(' before ')' token
      /data/fs/linux-2.6-hdr/include/linux/string.h:86:15: error: expected identifier or '(' before '__extension__'
      /data/fs/linux-2.6-hdr/include/linux/string.h:86:15: error: expected identifier or '(' before ')' token
      /data/fs/linux-2.6-hdr/include/linux/string.h:89:24: error: expected identifier or '(' before '__extension__'
      /data/fs/linux-2.6-hdr/include/linux/string.h:89:24: error: expected identifier or '(' before ')' token
      /data/fs/linux-2.6-hdr/include/linux/string.h:92:24: error: expected identifier or '(' before '__extension__'
      /data/fs/linux-2.6-hdr/include/linux/string.h:92:24: error: expected identifier or '(' before ')' token
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Acked-by: default avatarDave Jones <davej@redhat.com>
      c0522b6c
    • David Howells's avatar
      UAPI: x86: Fix the test_get_len tool · 584c5ef8
      David Howells authored
      Fix the x86 test_get_len tool to have the right include paths in the right
      order (it includes a non-exported kernel header directly), otherwise errors
      like the following occur:
      
      /data/fs/linux-2.6-hdr/include/linux/types.h:18:26: error: conflicting types for 'fd_set'
      /usr/include/sys/select.h:78:5: note: previous declaration of 'fd_set' was here
      
      and
      
      /data/fs/linux-2.6-hdr/include/linux/string.h:42:12: error: expected identifier or '(' before '__extension__'
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Acked-by: default avatarDave Jones <davej@redhat.com>
      584c5ef8
    • David Howells's avatar
      UAPI: (Scripted) Set up UAPI Kbuild files · 4413e16d
      David Howells authored
      Set up empty UAPI Kbuild files to be populated by the header splitter.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Acked-by: default avatarDave Jones <davej@redhat.com>
      4413e16d
    • David Howells's avatar
      UAPI: Partition the header include path sets and add uapi/ header directories · abbf1590
      David Howells authored
      Partition the header include path flags into two sets, one for kernelspace
      builds and one for userspace builds.
      
      Add the following directories to build after the ordinary include directories
      so that #include will pick up the UAPI header directly if the kernel header
      has been moved there.
      
      The userspace set (represented by the USERINCLUDE make variable) contains:
      
      	-I $(srctree)/arch/$(hdr-arch)/include/uapi
      	-I arch/$(hdr-arch)/include/generated/uapi
      	-I $(srctree)/include/uapi
      	-I include/generated/uapi
      	-include $(srctree)/include/linux/kconfig.h
      
      and the kernelspace set (represented by the LINUXINCLUDE make variable)
      contains:
      
      	-I $(srctree)/arch/$(hdr-arch)/include
      	-I arch/$(hdr-arch)/include/generated
      	-I $(srctree)/include
      	-I include		--- if not building in the source tree
      
      plus everything in the USERINCLUDE set.
      
      Then use USERINCLUDE in building the x86 boot code.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Acked-by: default avatarDave Jones <davej@redhat.com>
      abbf1590
    • David Howells's avatar
      UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers · a1ce3928
      David Howells authored
      Convert #include "..." to #include <path/...> in kernel system headers.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Acked-by: default avatarDave Jones <davej@redhat.com>
      a1ce3928
    • David Howells's avatar
      UAPI: (Scripted) Convert #include "..." to #include <path/...> in drivers/gpu/ · 760285e7
      David Howells authored
      Convert #include "..." to #include <path/...> in drivers/gpu/.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Acked-by: default avatarDave Airlie <airlied@redhat.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Acked-by: default avatarDave Jones <davej@redhat.com>
      760285e7
    • David Howells's avatar
      UAPI: (Scripted) Remove redundant DRM UAPI header #inclusions from drivers/gpu/. · 4126d5d6
      David Howells authored
      Remove redundant DRM UAPI header #inclusions from drivers/gpu/.
      
      Remove redundant #inclusions of core DRM UAPI headers (drm.h, drm_mode.h and
      drm_sarea.h).  They are now #included via drmP.h and drm_crtc.h via a preceding
      patch.
      
      Without this patch and the patch to make include the UAPI headers from the core
      headers, after the UAPI split, the DRM C sources cannot find these UAPI headers
      because the DRM code relies on specific -I flags to make #include "..."  work
      on headers in include/drm/ - but that does not work after the UAPI split without
      adding more -I flags.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Acked-by: default avatarDave Airlie <airlied@redhat.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Acked-by: default avatarDave Jones <davej@redhat.com>
      4126d5d6
    • David Howells's avatar
      UAPI: Refer to the DRM UAPI headers with <...> and from certain headers only · 19218e48
      David Howells authored
      Only refer to the DRM UAPI headers (drm.h, drm_mode.h and drm_sarea.h) from
      within drmP.h and drm_crtc.h, and use #include <...> to refer to them so that
      when the UAPI split happens they can still be accessed.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Acked-by: default avatarDave Airlie <airlied@redhat.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Acked-by: default avatarDave Jones <davej@redhat.com>
      19218e48
    • Olof Johansson's avatar
      drivers: bus: omap_l3: fixup merge conflict resolution · 974a847e
      Olof Johansson authored
      This fixes a local merge conflict resolution done wrong locally in
      arm-soc for-next. soc.h was added on a cleanup branch, but the driver
      was moved and the header no longer needed.
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      [ .. and I did the same wrong merge, since git automatically does the
        whole rename detection etc, so applying this patch from Olof  - Linus ]
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      974a847e
    • Linus Torvalds's avatar
      Merge tag 'multiplatform' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 9cd11c0c
      Linus Torvalds authored
      Pull ARM soc multiplatform enablement from Olof Johansson:
       "This is a pretty significant branch.  It's the introduction of the
        first multiplatform support on ARM, and with this (and the later
        branch) merged, it is now possible to build one kernel that contains
        support for highbank, vexpress, mvebu, socfpga, and picoxcell.  More
        platforms will be convered over in the next few releases.
      
        Two critical last things had to be done for this to be practical and
        possible:
         * Today each platform has its own include directory under
           mach-<mach>/include/mach/*, and traditionally that is where a lot
           of driver/platform shared definitions have gone, such as platform
           data structures.  They now need to move out to a common location
           instead, and this branch moves a large number of those out to
           include/linux/platform_data.
         * Each platform used to list the device trees to compile for its
           boards in mach-<mach>/Makefile.boot.
      
        Both of the above changes will mean that there are some merge
        conflicts to come (and some to resolve here).  It's a one-time move
        and once it settles in, we should be good for quite a while.  Sorry
        for the overhead."
      
      Fix conflicts as per Olof.
      
      * tag 'multiplatform' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (51 commits)
        ARM: add v7 multi-platform defconfig
        ARM: msm: Move core.h contents into common.h
        ARM: highbank: call highbank_pm_init from .init_machine
        ARM: dtb: move all dtb targets to common Makefile
        ARM: spear: move platform_data definitions
        ARM: samsung: move platform_data definitions
        ARM: orion: move platform_data definitions
        ARM: vexpress: convert to multi-platform
        ARM: initial multiplatform support
        ARM: mvebu: move armada-370-xp.h in mach dir
        ARM: vexpress: remove dependency on mach/* headers
        ARM: picoxcell: remove dependency on mach/* headers
        ARM: move all dtb targets out of Makefile.boot
        ARM: picoxcell: move debug macros to include/debug
        ARM: socfpga: move debug macros to include/debug
        ARM: mvebu: move debug macros to include/debug
        ARM: vexpress: move debug macros to include/debug
        ARM: highbank: move debug macros to include/debug
        ARM: move debug macros to common location
        ARM: make mach/gpio.h headers optional
        ...
      9cd11c0c
    • Linus Torvalds's avatar
      Merge tag 'docs' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · b9541d94
      Linus Torvalds authored
      Pull ARM soc documentation updates from Olof Johansson:
       "Documentation update for Marvell SoCs, the secret decoder ring to all
        their crazy product names and numbers."
      
      * tag 'docs' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        arm: add documentation describing Marvell families of SoC
      b9541d94
    • Linus Torvalds's avatar
      Merge tag 'dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · e7b5ec99
      Linus Torvalds authored
      Pull ARM soc device tree updates, take 2 from Olof Johansson:
       "This branch contains mostly a set of changes for device tree bindings
        on Samsung Exynos.  It was staged behind the other branches due to
        dependencies on pincontrol and board changes."
      
      Fix up trivial conflict in drivers/clocksource/Makefile due to earlier
      conflict resolution.
      
      * tag 'dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: dts: Add nodes for dw_mmc controllers for Samsung EXYNOS5250 platforms
        ARM: EXYNOS: Add AUXDATA support for MSHC controllers
        ARM: EXYNOS: Add support for MSHC controller clocks
        ARM: dts: Enable on-board keys as wakeup source for exynos4210-origen
        ARM: dts: use uart2 for console on smdkv310 and smdk5250
        ARM: dts: Add basic dts file for Samsung Trats board
        ARM: EXYNOS: Add OF compatibility lookups for EXYNOS4 i2c adapters
        ARM: dts: Specify address and size cells for i2c controllers for EXYNOS4
        ARM: dts: Assume status of all optional nodes as disabled for exynos4
        ARM: EXYNOS: Use exynos4 prefix instead of exynos4210 on exynos4-dt
        ARM: dts: Move parts common to EXYNOS4 from exynos4210.dtsi to exynos4.dtsi
      e7b5ec99
    • Linus Torvalds's avatar
      Merge tag 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 95360fd6
      Linus Torvalds authored
      Pull ARM soc board specific updates from Olof Johansson:
       "Misc board updates:
         - Greg added a handful of boards to KS8695 (since he has stepped up
           to maintain it).
         - Qualcomm has added DT-only board support for a couple of their
           newer SoCs.
         - misc other updates for Samsung and Freescale boards."
      
      Fix up trivial conflict in arch/arm/mach-shmobile/board-armadillo800eva.c
      due to gpio device data being added next to hdmi device data that got moved.
      
      * tag 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: msm: Allow 8960 and 8660 to compile together
        ARM: msm: Allow msm_iomap-8x60 and msm_iomap-8960 to coexist
        ARM: EXYNOS: Add generic PWM lookup support for SMDKV310
        ARM: EXYNOS: Add generic PWM lookup support for SMDK4X12
        ARM: EXYNOS: Use generic pwm driver in Origen board
        ARM: shmobile: armadillo800eva: Add support RTC
        ARM: ks8695: add board support for the OpenGear boards based on the KS8695
        ARM: ks8695: add board support for the SnapGear boards based on the KS8695
        ARM: dts: Add heartbeat gpio-leds support to Origen
        ARM: dts: Use active low flag for gpio-keys on Origen
        ARM: shmobile: marzen: enable thermal sensor
        ARM: shmobile: marzen: fixup regulator id for smsc911x
        ARM: shmobile: marzen: add SDHI0 support
        ARM: mmp: enable debug uart port in defconfig
        ARM: mmp: implement DEBUG_LL port choice
        ARM: S3C64XX: Register audio platform devices for Bells on Cragganmore
        ARM: S3C64XX: Update configuration for WM5102 module on Cragganmore
        ARM: mx27pdk: Add audio support
        ARM: ttc_dkb: add nand support
      95360fd6
    • Linus Torvalds's avatar
      Merge tag 'drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 8f446a7a
      Linus Torvalds authored
      Pull ARM soc driver specific changes from Olof Johansson:
       - A long-coming conversion of various platforms to a common LED
         infrastructure
       - AT91 is moved over to use the newer MCI driver for MMC
       - Pincontrol conversions for samsung platforms
       - DT bindings for gscaler on samsung
       - i2c driver fixes for tegra, acked by i2c maintainer
      
      Fix up conflicts as per Olof.
      
      * tag 'drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (48 commits)
        drivers: bus: omap_l3: use resources instead of hardcoded irqs
        pinctrl: exynos: Fix wakeup IRQ domain registration check
        pinctrl: samsung: Uninline samsung_pinctrl_get_soc_data
        pinctrl: exynos: Correct the detection of wakeup-eint node
        pinctrl: exynos: Mark exynos_irq_demux_eint as inline
        pinctrl: exynos: Handle only unmasked wakeup interrupts
        pinctrl: exynos: Fix typos in gpio/wkup _irq_mask
        pinctrl: exynos: Set pin function to EINT in irq_set_type of GPIO EINTa
        drivers: bus: Move the OMAP interconnect driver to drivers/bus/
        i2c: tegra: dynamically control fast clk
        i2c: tegra: I2_M_NOSTART functionality not supported in Tegra20
        ARM: tegra: clock: remove unused clock entry for i2c
        ARM: tegra: clock: add connection name in i2c clock entry
        i2c: tegra: pass proper name for getting clock
        ARM: tegra: clock: add i2c fast clock entry in clock table
        ARM: EXYNOS: Adds G-Scaler device from Device Tree
        ARM: EXYNOS: Add clock support for G-Scaler
        ARM: EXYNOS: Enable pinctrl driver support for EXYNOS4 device tree enabled platform
        ARM: dts: Add pinctrl node entries for SAMSUNG EXYNOS4210 SoC
        ARM: EXYNOS: skip wakeup interrupt setup if pinctrl driver is used
        ...
      8f446a7a
    • Linus Torvalds's avatar
      Merge tag 'soc2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 84be4ae2
      Linus Torvalds authored
      Pull ARM soc-specific updates, take 2 from Olof Johansson:
       "This branch converts the MXS Freescale platform to use irqdomains and
        sparse IRQ, in preparation for DT probing and multiplatform kernels."
      
      * tag 'soc2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: mxs: remove mach/irqs.h
        ARM: mxs: select SPARSE_IRQ
        ARM: mxs: adopt irq_domain support for icoll driver
        ARM: mxs: select MULTI_IRQ_HANDLER
        ARM: mxs: retrieve timer irq from device tree
        gpio/mxs: adopt irq_domain support for mxs gpio driver
      84be4ae2
    • Linus Torvalds's avatar
      Merge tag 'cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · ac9e7ab3
      Linus Torvalds authored
      Pull ARM soc cleanups, part 2 from Olof Johansson:
       "A shorter cleanup branch submitted separately due to dependencies with
        some of the previous topics.
      
        Major thing here is that the Broadcom bcmring platform is removed.
        It's an SoC that's used on some stationary VoIP platforms, and is in
        desperate need of some cleanup.  Broadcom came back and suggested that
        we just deprecate the platform for now, since they aren't going to
        spend the resources needed on cleaning it up, and there are no users
        of the platform directly from mainline."
      
      Fix some conflicts due to BCM2835 getting added next to the removed
      BCMRING, and removal of tegra files that had been converted to
      devicetree.
      
      * tag 'cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: Orion5x: ts78xx: Add IOMEM for virtual addresses.
        ARM: ux500: use __iomem pointers for MMIO
        ARM: Remove mach-bcmring
        ARM: clps711x: Remove board support for CEIVA
        ARM: clps711x: Fix register definitions
        ARM: clps711x: Fix lowlevel debug-macro
        ARM: clps711x: Added simple clock framework
        pinctrl: tegra: move pinconf-tegra.h content into drivers/pinctrl
        ARM: tegra: delete unused headers
        ARM: tegra: remove useless includes of <mach/*.h>
        ARM: tegra: remove dead code
      ac9e7ab3
    • Linus Torvalds's avatar
      Merge tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 2a2bf85f
      Linus Torvalds authored
      Pull ARM soc device tree updates from Olof Johansson:
       "Device tree conversion and enablement branch.  Mostly a bunch of new
        bindings and setup for various platforms, but the Via/Winchip VT8500
        platform is also converted over from being 100% legacy to now use
        device tree for probing.  More of that will come for 3.8."
      
      Trivial conflicts due to removal of vt8500 files, and one documentation
      file that was added with slightly different contents both here and in
      the USb tree.
      
      * tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (212 commits)
        arm: vt8500: Fixup for missing gpio.h
        ARM: LPC32xx: LED fix in PHY3250 DTS file
        ARM: dt: mmp-dma: add binding file
        arm: vt8500: Update arch-vt8500 to devicetree support.
        arm: vt8500: gpio: Devicetree support for arch-vt8500
        arm: vt8500: doc: Add device tree bindings for arch-vt8500 devices
        arm: vt8500: clk: Add Common Clock Framework support
        video: vt8500: Add devicetree support for vt8500-fb and wm8505-fb
        serial: vt8500: Add devicetree support for vt8500-serial
        rtc: vt8500: Add devicetree support for vt8500-rtc
        arm: vt8500: Add device tree files for VIA/Wondermedia SoC's
        ARM: tegra: Add Avionic Design Tamonten Evaluation Carrier support
        ARM: tegra: Add Avionic Design Medcom-Wide support
        ARM: tegra: Add Avionic Design Plutux support
        ARM: tegra: Add Avionic Design Tamonten support
        ARM: tegra: dts: Add pwm label
        ARM: ux500: Fix SSP register address format
        ARM: ux500: Apply tc3589x's GPIO/IRQ properties to HREF's DT
        ARM: ux500: Remove redundant #gpio-cell properties from Snowball DT
        ARM: ux500: Add all encompassing sound node to the HREF Device Tree
        ...
      2a2bf85f
    • Linus Torvalds's avatar
      Merge tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 11801e9d
      Linus Torvalds authored
      Pull ARM soc-specific updates from Olof Johansson:
       "Most notable here is probably the addition of basic support for the
        BCM2835, an SoC used in some of the Roku 2 players as well as the
        much-hyped Raspberry Pi, cleaned up and contributed by Stephen Warren.
        It's still early days on mainline support, with just the basics
        working.  But it has to start somewhere!
      
        Beyond that there's some conversions of clock infrastructure on tegra
        to common clock, misc updates for several other platforms, and OMAP
        now has its own bus (under drivers/bus) to manage its devices through.
      
        This branch adds two new directories outside of arch/arm:
        drivers/irqchip for new irq controllers, and drivers/bus for the above
        OMAP bus.  It's expected that some of the other platforms will migrate
        parts of their platforms to those directories over time as well."
      
      Fix up trivial conflicts with the clk infrastructure changes.
      
      * tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (62 commits)
        ARM: shmobile: add new __iomem annotation for new code
        ARM: LPC32xx: Support GPI 28
        ARM: LPC32xx: Platform update for devicetree completion of spi-pl022
        ARM: LPC32xx: Board cleanup
        irqchip: fill in empty Kconfig
        ARM: SAMSUNG: Add check for NULL in clock interface
        ARM: EXYNOS: Put PCM, Slimbus, Spdif clocks to off state
        ARM: EXYNOS: Add bus clock for FIMD
        ARM: SAMSUNG: Fix HDMI related warnings
        ARM: S3C24XX: Add .get_rate callback for "camif-upll" clock
        ARM: EXYNOS: Fix incorrect help text
        ARM: EXYNOS: Turn off clocks for NAND, OneNAND and TSI controllers
        ARM: OMAP: AM33xx hwmod: fixup SPI after platform_data move
        MAINTAINERS: add an entry for the BCM2835 ARM sub-architecture
        ARM: bcm2835: instantiate console UART
        ARM: bcm2835: add stub clock driver
        ARM: bcm2835: add system timer
        ARM: bcm2835: add interrupt controller driver
        ARM: add infra-structure for BCM2835 and Raspberry Pi
        ARM: tegra20: add CPU hotplug support
        ...
      11801e9d
    • Linus Torvalds's avatar
      Merge tag 'maintainers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 1a58ddfc
      Linus Torvalds authored
      Pull ARM soc MAINTAINERS updates from Olof Johansson:
       "Maintainers updates for KS8965 adding Greg Ungerer, and removing
        myself and Colin Cross as tegra maintainers, since Stephen Warren has
        been handling it on his own for several releases now."
      
      * tag 'maintainers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: ks8695: add maintainers entry
        MAINTAINERS: tegra: remove Olof/Colin, add device tree files
        MAINTAINERS: add defconfig file to TEGRA section
      1a58ddfc
    • Linus Torvalds's avatar
      Merge tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 61464c83
      Linus Torvalds authored
      Pull ARM soc general cleanups from Olof Johansson:
       "This is a large branch that contains a handful of different cleanups:
      
         - Fixing up the I/O space remapping on PCI on ARM.  This is a series
           from Rob Herring that restructures how all pci devices allocate I/O
           space, and it's part of the work to allow multiplatform kernels.
         - A number of cleanup series for OMAP, moving and removing some
           headers, sparse irq rework and in general preparation for
           multiplatform.
         - Final removal of all non-DT boards for Tegra, it is now
           device-tree-only!
         - Removal of a stale platform, nxp4008.  It's an old mobile chipset
           that is no longer in use, and was very likely never really used
           with a mainline kernel.  We have not been able to find anyone
           interested in keeping it around in the kernel.
         - Removal of the legacy dmaengine driver on tegra
      
        + A handful of other things that I haven't described above."
      
      Fix up some conflicts with the staging tree (and because nxp4008 was
      removed)
      
      * tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (184 commits)
        ARM: OMAP2+: serial: Change MAX_HSUART_PORTS to 6
        ARM: OMAP4: twl-common: Support for additional devices on i2c1 bus
        ARM: mmp: using for_each_set_bit to simplify the code
        ARM: tegra: harmony: fix ldo7 regulator-name
        ARM: OMAP2+: Make omap4-keypad.h local
        ARM: OMAP2+: Make l4_3xxx.h local
        ARM: OMAP2+: Make l4_2xxx.h local
        ARM: OMAP2+: Make l3_3xxx.h local
        ARM: OMAP2+: Make l3_2xxx.h local
        ARM: OMAP1: Move irda.h from plat to mach
        ARM: OMAP2+: Make hdq1w.h local
        ARM: OMAP2+: Make gpmc-smsc911x.h local
        ARM: OMAP2+: Make gpmc-smc91x.h local
        ARM: OMAP1: Move flash.h from plat to mach
        ARM: OMAP2+: Make debug-devices.h local
        ARM: OMAP1: Move board-voiceblue.h from plat to mach
        ARM: OMAP1: Move board-sx1.h from plat to mach
        ARM: OMAP2+: Make omap-wakeupgen.h local
        ARM: OMAP2+: Make omap-secure.h local
        ARM: OMAP2+: Make ctrl_module_wkup_44xx.h local
        ...
      61464c83
    • Linus Torvalds's avatar
      Merge tag 'fixes-non-critical' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 47061eda
      Linus Torvalds authored
      Pull non-critical ARM soc bug fixes from Olof Johansson:
       "These were submitted as bug fixes before v3.6 but not considered
        important enough to be included in it.  Some of them cross over to
        cleanup territory as well, and aren't strictly bugfixes."
      
      * tag 'fixes-non-critical' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (48 commits)
        ARM: nomadik: remove NAND_NO_READRDY use
        ARM: pxa: fix return value check in pxa2xx_drv_pcmcia_probe()
        ARM: SAMSUNG: Add missing variable declaration in s3c64xx_spi1_set_platdata()
        ARM: S3C24XX: removes unnecessary semicolon
        ARM: S3C24xx: delete double assignment
        ARM: EXYNOS: fix address for EXYNOS4 MDMA1
        ARM: EXYNOS: fixed SYSMMU setup definition to mate parameter name
        ARM: ep93xx: Move ts72xx.h out of include/mach
        ARM: ep93xx: use __iomem pointers for MMIO
        ARM: msm: Fix early debug uart mapping on some memory configs
        ARM: msm: io: Change the default static iomappings to be shared
        ARM: msm: io: Remove 7x30 iomap region from 7x00
        ARM: msm: Remove call to missing FPGA init on 8660
        ARM: OMAP4: wakeupgen: remove duplicate AUXCOREBOOT* read/write
        ARM: OMAP4: wakeupgen: Fix the typo in AUXCOREBOOT register save
        dma: tegra: make data used as *of_device_id.data const
        can: mpc5xxx_can: make data used as *of_device_id.data const
        macintosh/mediabay: make data used as *of_device_id.data const
        i2c/mpc: make data used as *of_device_id.data const
        mfd/da9052: make i2c_device_id array const
        ...
      47061eda
  2. 01 Oct, 2012 14 commits
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.samba.org/sfrench/cifs-2.6 · 797b9e5a
      Linus Torvalds authored
      Pull CIFS updates from Steve French:
       "This patchset is the final section of the SMB2.1 support merge for
        cifs.ko.  It also includes improvements to the cifs socket handling
        from Jeff, and also fixes a few cifs bug fixes.  It adds SMB2 support
        for file and inode operations as well as moves some existing cifs code
        to use ops server struct of protocol specific callbacks.
      
        Most of this code is SMB2 specific.  When enabled SMB2.1 does pass
        various functional tests including most of the connectathon test
        suite, For SMB2.1, Connectathon test 4 and some related tests fail due
        to not updating mode bits remotely (cifsacl support where mode bits
        are approximated with the cifs acl is not enable for smb2), and test8
        (symlink) support is not completed for SMB2 yet (note that we will
        likely have a "Unix Extensions" eventually, at least for Samba, so in
        the long run posix locks won't have to be emulated when mounting Linux
        to Linux, but for most NAS and for Windows mounts posix lock emulation
        will still used for SMB2 in a similar fashion as we do for cifs).
      
        SMB2.1 dialect is supported.  Although additional fixes to enable smb2
        (the original smb2.02) dialect and to add various optional features of
        the smb3 dialect are expected to be added in the future as testing
        progresses, currently mounting with the "vers=2.1" is supported (in
        order to mount using SMB2.1 to servers like Samba 4, and Windows 7,
        Windows 2008R2)."
      
      * 'for-linus' of git://git.samba.org/sfrench/cifs-2.6: (82 commits)
        [CIFS] Fix indentation of fs/cifs/Kconfig entries
        [CIFS] Fix SMB2 negotiation support to select only one dialect (based on vers=)
        cifs: obtain file access during backup intent lookup (resend)
        CIFS: Fix possible freed pointer dereference in CIFS_SessSetup
        CIFS: Fix possible freed pointer dereference in SMB2_sess_setup
        CIFS: Make ops->close return void
        cifs: change DOS/NT/POSIX mapping of ERRnoresource
        cifs: remove support for deprecated "forcedirectio" and "strictcache" mount options
        cifs: remove support for CIFS_IOC_CHECKUMOUNT ioctl
        CIFS: Fix possible memory leaks in SMB2 code
        CIFS: Fix endian conversion of IndexNumber
        Trivial endian fixes
        MARK SMB2 support EXPERIMENTAL
        Update cifs version number
        cifs: add FL_CLOSE to fl_flags mask in cifs_read_flock
        cifs: Mangle string used for unc in /proc/mounts
        cifs: cleanups for cifs_mkdir_qinfo
        CIFS: Fix fast lease break after open problem
        CIFS: Add SMB2.1 lease break support
        CIFS: Fix cache coherency for read oplock case
        ...
      797b9e5a
    • Linus Torvalds's avatar
      Get rid of Documentation/feature-removal.txt · 9c0ece06
      Linus Torvalds authored
      This file has turned out to be a pure write-only file that causes merge
      conflicts and has no actual redeeming features.
      
      There is never any reason to add stuff to this idiotic file.  Either
      something isn't getting used, and you should just remove it, or there is
      no excuse for removing it in the first place.  Just stop the idiocy.
      
      It has also been the excuse for just plain bad behavior ("Hey, I don't
      like xyz, so let's mark it for removal" followed by "Hey, look, it been
      in feature-removal.txt for six months now, so we should remove it").
      
      The recent bogus setitimer() ABI change request was just the most recent
      example of pointless and incorrect mental masturbation involving this
      file, and I'm tired of the silly and pointless conflicts in the file.
      
      This removal was discussed during the recent kernel summit, and while
      Steven Rostedt suggested we should just enter the file itself in the
      feature-removal schedule (to see if anybody who edits the file actually
      looks at it), that's cute but non-productive.
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      9c0ece06
    • Olof Johansson's avatar
      Merge branch 'next/dt2' into HEAD · 7b27fa25
      Olof Johansson authored
      Conflicts:
      	arch/arm/mach-exynos/clock-exynos5.c
      7b27fa25
    • Olof Johansson's avatar
      Merge branch 'next/boards' into HEAD · a8e1ceb7
      Olof Johansson authored
      Conflicts:
      	arch/arm/mach-shmobile/board-armadillo800eva.c
      a8e1ceb7
    • Olof Johansson's avatar
      Merge branch 'next/drivers' into HEAD · 8b1a13b0
      Olof Johansson authored
      Conflicts:
      	arch/arm/boot/dts/omap4.dtsi
      	arch/arm/mach-clps711x/common.c
      	arch/arm/mach-omap1/board-h2.c
      	arch/arm/mach-omap1/board-h3.c
      	arch/arm/mach-omap1/leds-h2p2-debug.c
      	arch/arm/mach-omap1/leds.c
      	arch/arm/mach-pnx4008/time.c
      	arch/arm/plat-omap/debug-leds.c
      	drivers/Makefile
      	drivers/bus/omap_l3_noc.c
      8b1a13b0
    • Olof Johansson's avatar
      Merge branch 'next/soc2' into HEAD · 5c008d70
      Olof Johansson authored
      5c008d70
    • Olof Johansson's avatar
      Merge branch 'next/cleanup2' into HEAD · 5d3a0a95
      Olof Johansson authored
      Conflicts:
      	arch/arm/Kconfig
      	arch/arm/Makefile
      	arch/arm/mach-bcmring/arch.c
      	arch/arm/mach-tegra/devices.c
      	arch/arm/mach-tegra/dma.c
      5d3a0a95
    • Olof Johansson's avatar
      Merge branch 'next/dt' into HEAD · 7e95c548
      Olof Johansson authored
      Conflicts:
      	Documentation/devicetree/bindings/usb/platform-uhci.txt
      	arch/arm/mach-vt8500/bv07.c
      	arch/arm/mach-vt8500/devices-vt8500.c
      	arch/arm/mach-vt8500/devices-wm8505.c
      	arch/arm/mach-vt8500/devices.c
      	arch/arm/mach-vt8500/devices.h
      	arch/arm/mach-vt8500/wm8505_7in.c
      7e95c548
    • Olof Johansson's avatar
      Merge branch 'next/soc' into HEAD · 6d55d596
      Olof Johansson authored
      Conflicts:
      	arch/arm/mach-ux500/clock.c
      	arch/arm/mach-ux500/cpu.c
      	drivers/clocksource/Makefile
      6d55d596
    • Olof Johansson's avatar
      Merge branch 'next/maintainers' into HEAD · f7b967bf
      Olof Johansson authored
      f7b967bf
    • Olof Johansson's avatar
      Merge branch 'next/cleanup' into HEAD · ed0a0ed0
      Olof Johansson authored
      Conflicts:
      	drivers/staging/tidspbridge/core/wdt.c
      	drivers/usb/host/Kconfig
      	drivers/w1/masters/omap_hdq.c
      ed0a0ed0
    • Olof Johansson's avatar
      17a505ed
    • Linus Torvalds's avatar
      Merge branch 'x86-smap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 15385dfe
      Linus Torvalds authored
      Pull x86/smap support from Ingo Molnar:
       "This adds support for the SMAP (Supervisor Mode Access Prevention) CPU
        feature on Intel CPUs: a hardware feature that prevents unintended
        user-space data access from kernel privileged code.
      
        It's turned on automatically when possible.
      
        This, in combination with SMEP, makes it even harder to exploit kernel
        bugs such as NULL pointer dereferences."
      
      Fix up trivial conflict in arch/x86/kernel/entry_64.S due to newly added
      includes right next to each other.
      
      * 'x86-smap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86, smep, smap: Make the switching functions one-way
        x86, suspend: On wakeup always initialize cr4 and EFER
        x86-32: Start out eflags and cr4 clean
        x86, smap: Do not abuse the [f][x]rstor_checking() functions for user space
        x86-32, smap: Add STAC/CLAC instructions to 32-bit kernel entry
        x86, smap: Reduce the SMAP overhead for signal handling
        x86, smap: A page fault due to SMAP is an oops
        x86, smap: Turn on Supervisor Mode Access Prevention
        x86, smap: Add STAC and CLAC instructions to control user space access
        x86, uaccess: Merge prototypes for clear_user/__clear_user
        x86, smap: Add a header file with macros for STAC/CLAC
        x86, alternative: Add header guards to <asm/alternative-asm.h>
        x86, alternative: Use .pushsection/.popsection
        x86, smap: Add CR4 bit for SMAP
        x86-32, mm: The WP test should be done on a kernel page
      15385dfe
    • Linus Torvalds's avatar
      Merge tag 'please-pull-ia64-for-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux · a57d985e
      Linus Torvalds authored
      Pull ia64 update from Tony Luck:
       "Usual mish-mash of ia64 fixes for next merge window"
      
      * tag 'please-pull-ia64-for-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux:
        [IA64] xen: Fix return value check in xencomm_vtop()
        [IA64] Must enable interrupts in do_notify_resume_user before calling tracehook_notify_resume()
        [IA64] kexec: Move the dereference below the NULL test
        [IA64] Fix a node distance bug
      a57d985e