1. 17 Feb, 2015 17 commits
    • Baoquan He's avatar
      kexec: remove never used member destination in kimage · 73d7e3ea
      Baoquan He authored
      
      
      struct kimage has a member destination which is used to store the real
      destination address of each page when load segment from user space buffer
      to kernel.  But we never retrieve the value stored in kimage->destination,
      so this member variable in kimage and its assignment operation are
      redundent code.
      
      I guess for_each_kimage_entry just does the work that kimage->destination
      is expected to do.
      
      So in this patch just make a cleanup to remove it.
      Signed-off-by: default avatarBaoquan He <bhe@redhat.com>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Vivek Goyal <vgoyal@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      73d7e3ea
    • Davidlohr Bueso's avatar
      signal: use current->state helpers · 1df01355
      Davidlohr Bueso authored
      
      
      Call __set_current_state() instead of assigning the new state directly.
      These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments, keeping
      track of who changed the state.
      Signed-off-by: default avatarDavidlohr Bueso <dbueso@suse.de>
      Acked-by: default avatarOleg Nesterov <oleg@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      1df01355
    • Fabian Frederick's avatar
      ptrace: remove linux/compat.h inclusion under CONFIG_COMPAT · 1cca3385
      Fabian Frederick authored
      Commit 84c751bd
      
       ("ptrace: add ability to retrieve signals without
      removing from a queue (v4)") includes <linux/compat.h> globally in
      ptrace.c
      
      This patch removes inclusion under if defined CONFIG_COMPAT.
      Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
      Acked-by: default avatarOleg Nesterov <oleg@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      1cca3385
    • Fred Chou's avatar
      fs: fat: use MSDOS_SB macro to get msdos_sb_info · d6bd4282
      Fred Chou authored
      
      
      Use the MSDOS_SB macro to get msdos_sb_info, instead of coding it
      directly.
      Signed-off-by: default avatarFred Chou <fred.chou.nd@gmail.com>
      Acked-by: default avatarOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d6bd4282
    • Fabian Frederick's avatar
      fs/reiserfs/inode.c: replace 0 by NULL for pointers · 714b71a3
      Fabian Frederick authored
      
      
      Fix sparse warning:
      
        fs/reiserfs/inode.c:2769:19: warning: Using plain integer as NULL pointer
      Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      714b71a3
    • Fabian Frederick's avatar
      fs/ufs/super.c: fix potential race condition · ed3ad79f
      Fabian Frederick authored
      
      
      Let locking subsystem decide on mutex management.  As reported by Andrew
      Morton this patch fixes a bug:
      
      : lock_ufs() is assuming that on non-preempt uniprocessor, the calling
      : code will run atomically up to the matching unlock_ufs().
      :
      : But that isn't true. The very first site I looked at (ufs_frag_map)
      : does sb_bread() under lock_ufs().  And sb_bread() will call schedule(),
      : very commonly.
      :
      : The ->mutex_owner stuff is a bit hacky but should work OK.
      Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
      Cc: Evgeniy Dushistov <dushistov@mail.ru>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ed3ad79f
    • Fabian Frederick's avatar
      fs/ufs/super.c: remove unnecessary casting · 61da3ae2
      Fabian Frederick authored
      
      
      Fix the following coccinelle warning:
      
        fs/ufs/super.c:1418:7-28: WARNING: casting value returned by memory allocation function to (struct ufs_inode_info *) is useless.
      Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
      Cc: Evgeniy Dushistov <dushistov@mail.ru>
      Cc: Joe Perches <joe@perches.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      61da3ae2
    • Fabian Frederick's avatar
      fs/coda/dir.c: forward declaration clean-up · b625032b
      Fabian Frederick authored
      
      
      - Move operation structures to avoid forward declarations.
      
      - Fix some checkpatch warnings:
      
      WARNING: Missing a blank line after declarations
      +		struct inode *host_inode = file_inode(host_file);
      +		mutex_lock(&host_inode->i_mutex);
      
      ERROR: that open brace { should be on the previous line
      +const struct dentry_operations coda_dentry_operations =
      +{
      
      ERROR: that open brace { should be on the previous line
      +const struct inode_operations coda_dir_inode_operations =
      +{
      Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
      Cc: Jan Harkes <jaharkes@cs.cmu.edu>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      b625032b
    • Fabian Frederick's avatar
      fs/befs/linuxvfs.c: remove unnecessary casting · 111d639d
      Fabian Frederick authored
      
      
      Fix the following coccinelle warning:
      
        fs/befs/linuxvfs.c:278:14-36: WARNING: casting value returned by memory allocation function to (struct befs_inode_info *) is useless.
      
      [akpm@linux-foundation.org: avoid 80-col ugliness]
      Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      111d639d
    • Linus Torvalds's avatar
      Merge tag '64bit-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · cc4f9c2a
      Linus Torvalds authored
      Pull ARM SoC 64-bit changes and additions from Olof Johansson:
       "The 64-bit set of updates this release cycle adds support for three
        new platforms:
      
         - Samsunc Exynos 7
         - Freescale LS2085a
         - Mediatek MT8173
      
        For all these, the changes mostly consititude additions of DT
        contents, but also some Kconfig entries to allow dependency/selection
        of drivers per-platform, etc"
      
      * tag '64bit-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        arm64: Kconfig: clean up two no-op Kconfig options from CONFIG_ARCH_TEGRA*
        arm64: Fix sort of platform Kconfig entries
        arm64: Add support for FSL's LS2085A SoC in Kconfig and defconfig
        arm64: Add DTS support for FSL's LS2085A SoC
        arm64: mediatek: Add MT8173 SoC Kconfig and defconfig
        arm64: dts: Add mediatek MT8173 SoC and evaluation board dts and Makefile
        Document: DT: Add bindings for mediatek MT8173 SoC Platform
        arm64: Add Tegra132 support
        arm64: Enable ARMv8 based exynos7 SoC support
        arm64: dts: Add nodes for mmc, i2c, rtc, watchdog, adc on exynos7
        arm64: dts: Add PMU DT node for exynos7 SoC
        arm64: dts: Add initial pinctrl support to exynos7
        arm64: dts: Add initial device tree support for exynos7
      cc4f9c2a
    • Linus Torvalds's avatar
      Merge tag 'defconfig-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 03a40e29
      Linus Torvalds authored
      Pull ARM SoC defconfig changes from Olof Johansson:
       "Most of these changes are to enable new drivers that have been merged,
        or various additions to make defconfigs more useful.  There's also a
        set of patches trimming down omap2plus kernel size a bit since it is
        quite large"
      
      * tag 'defconfig-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (39 commits)
        ARM: config: add DEVTMPFS option by default to keystone config
        ARM: multi_v7_defconfig: Enable Exynos5420 Multi-Cluster PM support
        ARM: shmobile: Select CONFIG_REGULATOR in defconfig once again
        ARM: exynos_defconfig: Enable CONFIG_FHANDLE
        ARM: exynos_defconfig: Enable PMIC and MUIC drivers for Gears and Trats2
        ARM: exynos_defconfig: Enable CONFIG_LOCKUP_DETECTOR
        ARM: config: enable ARCH_HIP01
        ARM: omap2plus_defconfig: Enable OHCI & EHCI HCD support
        ARM: omap2plus_defconfig: Enable misc options for BeagleBoard-X15 platform
        ARM: imx_v6_v7_defconfig: enable more USB functions
        ARM: imx_v6_v7_defconfig: Select CONFIG_FB_MXS
        ARM: omap2plus_defconfig: Enable pcf857x
        ARM: omap2plus_defconfig: Add NOR flash support
        ARM: omap2plus_defconfig: Enable support for davinci_emac
        ARM: multi_v7_defconfig: Enable MiPHY28lp - ST's Generic (SATA, PCIe & USB3) PHY
        ARM: efm32: update defconfig
        ARM: at91: sama5: enable atmel-isi and ov2640 in defconfig
        ARM: multi_v7_defconfig: Enable Hip01 platform
        ARM: config: multi_v7: Update it for Keystone defconfig
        ARM: shmobile: Enable kzm9g board in multiplatform defconfig
        ...
      03a40e29
    • Linus Torvalds's avatar
      Merge tag 'drivers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 18656782
      Linus Torvalds authored
      Pull ARM SoC driver updates from Olof Johansson:
       "These are changes for drivers that are intimately tied to some SoC and
        for some reason could not get merged through the respective subsystem
        maintainer tree.
      
        This time around, much of this is for at91, with the bulk of it being
        syscon and udc drivers.
      
        Also, there's:
         - coupled cpuidle support for Samsung Exynos4210
         - Renesas 73A0 common-clk work
         - of/platform changes to tear down DMA mappings on device destruction
         - a few updates to the TI Keystone knav code"
      
      * tag 'drivers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (26 commits)
        cpuidle: exynos: add coupled cpuidle support for exynos4210
        ARM: EXYNOS: apply S5P_CENTRAL_SEQ_OPTION fix only when necessary
        soc: ti: knav_qmss_queue: change knav_range_setup_acc_irq to static
        soc: ti: knav_qmss_queue: makefile tweak to build as dynamic module
        pcmcia: at91_cf: depend on !ARCH_MULTIPLATFORM
        soc: ti: knav_qmss_queue: export API calls for use by user driver
        of/platform: teardown DMA mappings on device destruction
        usb: gadget: at91_udc: Allocate udc instance
        usb: gadget: at91_udc: Update DT binding documentation
        usb: gadget: at91_udc: Rework for multi-platform kernel support
        usb: gadget: at91_udc: Simplify probe and remove functions
        usb: gadget: at91_udc: Remove non-DT handling code
        usb: gadget: at91_udc: Document DT clocks and clock-names property
        usb: gadget: at91_udc: Drop uclk clock
        usb: gadget: at91_udc: Fix clock names
        mfd: syscon: Add Atmel SMC binding doc
        mfd: syscon: Add atmel-smc registers definition
        mfd: syscon: Add Atmel Matrix bus DT binding documentation
        mfd: syscon: Add atmel-matrix registers definition
        clk: shmobile: fix sparse NULL pointer warning
        ...
      18656782
    • Linus Torvalds's avatar
      Merge tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · a233bb74
      Linus Torvalds authored
      Pull ARM SoC DT updates from Olof Johansson:
       "DT changes continue to be the bulk of our merge window contents.
      
        We continue to have a large set of changes across the board as new
        platforms and drivers are added.
      
        Some of the new platforms are:
         - Alphascale ASM9260
         - Marvell Armada 388
         - CSR Atlas7
         - TI Davinci DM816x
         - Hisilicon HiP01
         - ST STiH418
      
        There have also been some sweeping changes, including relicensing of
        DTS contents from GPL to GPLv2+/X11 so that the same files can be
        reused in other non-GPL projects more easily.  There's also been
        changes to the DT Makefile to make it a little less conflict-ridden
        and churny down the road"
      
      * tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (330 commits)
        ARM: dts: Add PPMU node for exynos4412-trats2
        ARM: dts: Add PPMU node for exynos3250-monk and exynos3250-rinato
        ARM: dts: Add PPMU dt node for exynos4 and exynos4210
        ARM: dts: Add PPMU dt node for exynos3250
        ARM: dts: add mipi dsi device node for exynos4415
        ARM: dts: add fimd device node for exynos4415
        ARM: dts: Add syscon phandle to the video-phy node for Exynos4
        ARM: dts: Add sound nodes for exynos4412-trats2
        ARM: dts: Fix CLK_MOUT_CAMn parent clocks assignment for exynos4412-trats2
        ARM: dts: Fix CLK_UART_ISP_SCLK clock assignment in exynos4x12.dtsi
        ARM: dts: Add max77693 charger node for exynos4412-trats2
        ARM: dts: Switch max77686 regulators to GPIO control for exynos4412-trats2
        ARM: dts: Add suspend configuration for max77686 regulators for exynos4412-trats2
        ARM: dts: Add Maxim 77693 fuel gauge node for exynos4412-trats2
        ARM: dts: am57xx-beagle-x15: Fix USB2 mode
        ARM: dts: am57xx-beagle-x15: Add extcon nodes for USB
        ARM: dts: dra72-evm: Add extcon nodes for USB
        ARM: dts: dra7-evm: Add extcon nodes for USB
        ARM: dts: rockchip: move the hdmi ddc-i2c-bus property to the actual boards
        ARM: dts: rockchip: enable vops and hdmi output on rk3288-firefly and -evb
        ...
      a233bb74
    • Linus Torvalds's avatar
      Merge tag 'soc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 878ba61a
      Linus Torvalds authored
      Pull ARM SoC platform changes from Olof Johansson:
       "New and updated SoC support.  Also included are some cleanups where
        the platform maintainers hadn't separated cleanups from new developent
        in separate branches.
      
        Some of the larger things worth pointing out:
      
         - A large set of changes from Alexandre Belloni and Nicolas Ferre
           preparing at91 platforms for multiplatform and cleaning up quite a
           bit in the process.
      
         - Removal of CSR's "Marco" SoC platform that never made it out to the
           market.  We love seeing these since it means the vendor published
           support before product was out, which is exactly what we want!
      
        New platforms this release are:
      
         - Conexant Digicolor (CX92755 SoC)
         - Hisilicon HiP01 SoC
         - CSR/sirf Atlas7 SoC
         - ST STiH418 SoC
         - Common code changes for Nvidia Tegra132 (64-bit SoC)
      
        We're seeing more and more platforms having a harder time labelling
        changes as cleanups vs new development -- which is a good sign that
        we've come quite far on the cleanup effort.  So over time we might
        start combining the cleanup and new-development branches more"
      
      * tag 'soc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (124 commits)
        ARM: at91/trivial: unify functions and machine names
        ARM: at91: remove at91_dt_initialize and machine init_early()
        ARM: at91: change board files into SoC files
        ARM: at91: remove at91_boot_soc
        ARM: at91: move alternative initial mapping to board-dt-sama5.c
        ARM: at91: merge all SOC_AT91SAM9xxx
        ARM: at91: at91rm9200: set idle and restart from rm9200_dt_device_init()
        ARM: digicolor: select syscon and timer
        ARM: zynq: Simplify SLCR initialization
        ARM: zynq: PM: Fixed simple typo.
        ARM: zynq: Setup default gpio number for Xilinx Zynq
        ARM: digicolor: add low level debug support
        ARM: initial support for Conexant Digicolor CX92755 SoC
        ARM: OMAP2+: Add dm816x hwmod support
        ARM: OMAP2+: Add clock domain support for dm816x
        ARM: OMAP2+: Add board-generic.c entry for ti81xx
        ARM: at91: pm: remove warning to remove SOC_AT91SAM9263 usage
        ARM: at91: remove unused mach/system_rev.h
        ARM: at91: stop using HAVE_AT91_DBGUx
        ARM: at91: fix ordering of SRAM and PM initialization
        ...
      878ba61a
    • Linus Torvalds's avatar
      Merge tag 'cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · ea7531ac
      Linus Torvalds authored
      Pull ARM SoC cleanups from Olof Johansson:
       "This is a good healthy set of various code removals.  Total net delta
        is 8100 lines removed.
      
        Among the larger cleanups are:
      
         - Removal of old Samsung S3C DMA infrastructure by Arnd
         - Removal of the non-DT version of the 'lager' board by Magnus Damm
         - General stale code removal on OMAP and Davinci by Rickard Strandqvist
         - Removal of non-DT support on am3517 platforms by Tony Lindgren
      
        ... plus several other cleanups of various platforms across the board"
      
      * tag 'cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (47 commits)
        ARM: sirf: drop redundant function and marco declaration
        arm: omap: specify PMUs are for ARMv7 CPUs
        arm: shmobile: specify PMUs are for ARMv7 CPUs
        arm: iop: specify PMUs are for XScale CPUs
        arm: pxa: specify PMUs are for XScale CPUs
        arm: realview: specify PMU types
        ARM: SAMSUNG: remove unused DMA infrastructure
        ARM: OMAP3: Add back Kconfig option MACH_OMAP3517EVM for ASoC
        ARM: davinci: Remove CDCE949 driver
        ARM: at91: remove useless at91rm9200_set_type()
        ARM: at91: remove useless at91rm9200_dt_initialize()
        ARM: at91: move debug-macro.S into the common space
        ARM: at91: remove useless at91_sysirq_mask_rtx
        ARM: at91: remove useless config MACH_AT91SAM9_DT
        ARM: at91: remove useless config MACH_AT91RM9200_DT
        ARM: at91: remove unused mach/memory.h
        ARM: at91: remove useless header file includes
        ARM: at91: remove unneeded header file
        rtc: at91/Kconfig: remove useless options
        ARM: at91/Documentation: add a README for Atmel SoCs
        ...
      ea7531ac
    • Linus Torvalds's avatar
      Merge tag 'fixes-non-critical-for-linus' of... · 4025fa97
      Linus Torvalds authored
      Merge tag 'fixes-non-critical-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
      
      Pull ARM SoC non-critical fixes from Olof Johansson:
       "Here's a small collection of fixes accrued during the last release
        that weren't considered severe enough to merge during the -rc series.
      
        A few of these are around resurrecting TI81xx support that's been
        broken for quite a while, the rest are smaller fixes -- most for PXA
        but a few across the board.
      
        There are also some updates to MAINTAINERS here, in particular for
        Broadcom platforms"
      
      * tag 'fixes-non-critical-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (23 commits)
        MAINTAINERS: fix git repositories for Broadcom SoCs
        ARM: pxa: fix broken isa interrupts for zeus and viper
        ARM: DRA7: hwmod: Fix boot crash with DEBUG_LL enabled on UART3
        ARM: OMAP: DRA7: hwmod: Make gpmc software supervised as the smart idle is broken
        ARM: AM43xx: hwmod: set DSS submodule parent hwmods
        ARM: OMAP2+: hwmod: print error if wait_target_ready() failed
        MAINTAINERS: add maintainer for OMAP hwmod data
        ARM: OMAP2+: Disable omap3 PM init for ti81xx
        ARM: OMAP2+: Fix reboot for 81xx
        ARM: OMAP2+: Fix dm814 and dm816 for clocks and timer init
        ARM: OMAP2+: Fix ti81xx class type
        ARM: OMAP2+: Fix ti81xx devtype
        ARM: OMAP2+: Fix error handling for omap2_clk_enable_init_clocks
        MAINTAINERS: add a git entry for BMIPS-based BCM7xxx SoCs
        MAINTAINERS: add a git entry for BCM7xxx ARM-based SoCs
        MAINTAINERS: update Broadcom Cygnus SoC git tree
        MAINTAINERS: move BCM63xx ARM-based SoCs git tree
        hx4700: regulator: declare full constraints
        ARM: pxa: add regulator_has_full_constraints to spitz board file
        ARM: pxa: add regulator_has_full_constraints to poodle board file
        ...
      4025fa97
    • Linus Torvalds's avatar
      Merge branch 'akpm' (patches from Andrew) · c397f8fa
      Linus Torvalds authored
      Merge fifth set of updates from Andrew Morton:
      
       - A few things which were awaiting merges from linux-next:
           - rtc
           - ocfs2
           - misc others
      
       - Willy's "dax" feature: direct fs access to memory (mainly NV-DIMMs)
         which isn't backed by pageframes.
      
      * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (37 commits)
        rtc: add driver for DS1685 family of real time clocks
        MAINTAINERS: add entry for Maxim PMICs on Samsung boards
        lib/Kconfig: use bool instead of boolean
        powerpc: drop _PAGE_FILE and pte_file()-related helpers
        ocfs2: set append dio as a ro compat feature
        ocfs2: wait for orphan recovery first once append O_DIRECT write crash
        ocfs2: complete the rest request through buffer io
        ocfs2: do not fallback to buffer I/O write if appending
        ocfs2: allocate blocks in ocfs2_direct_IO_get_blocks
        ocfs2: implement ocfs2_direct_IO_write
        ocfs2: add orphan recovery types in ocfs2_recover_orphans
        ocfs2: add functions to add and remove inode in orphan dir
        ocfs2: prepare some interfaces used in append direct io
        MAINTAINERS: fix spelling mistake & remove trailing WS
        dax: does not work correctly with virtual aliasing caches
        brd: rename XIP to DAX
        ext4: add DAX functionality
        dax: add dax_zero_page_range
        ext2: get rid of most mentions of XIP in ext2
        ext2: remove ext2_aops_xip
        ...
      c397f8fa
  2. 16 Feb, 2015 23 commits