1. 18 Feb, 2015 6 commits
    • Arnd Bergmann's avatar
      ARM: prima2: do not select SMP_ON_UP · d76f733d
      Arnd Bergmann authored
      The new Atlas7 platform implicitly selects 'CONFIG_SMP_ON_UP',
      which leads to problems if we enable building the platform without
      MMU, as that combination is not allowed and causes a link error:
      
      arch/arm/kernel/built-in.o: In function `c_show':
      :(.text+0x1872): undefined reference to `smp_on_up'
      :(.text+0x1876): undefined reference to `smp_on_up'
      arch/arm/kernel/built-in.o: In function `arch_irq_work_raise':
      :(.text+0x3d48): undefined reference to `smp_on_up'
      :(.text+0x3d4c): undefined reference to `smp_on_up'
      arch/arm/kernel/built-in.o: In function `smp_setup_processor_id':
      :(.init.text+0x180): undefined reference to `smp_on_up'
      
      This removes the 'select' statement.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Fixes: 4cba0585 ("ARM: sirf: add Atlas7 machine support")
      Acked-by: default avatarBarry Song <Baohua.Song@csr.com>
      Cc: Zhiwu Song <Zhiwu.Song@csr.com>
      d76f733d
    • Arnd Bergmann's avatar
      ARM: at91: fix pm declarations · a91c5824
      Arnd Bergmann authored
      In a recent rearrangement of the at91 pm initialization code, a broken
      set of declarations was added for the !CONFIG_PM-case, leading to
      this link error:
      
      arch/arm/mach-at91/board-dt-sama5.o: In function `at91_rm9200_pm_init':
      arch/arm/mach-at91/generic.h:40: multiple definition of `at91_rm9200_pm_init'
      arch/arm/mach-at91/setup.o:arch/arm/mach-at91/generic.h:40: first defined here
      arch/arm/mach-at91/board-dt-sama5.o: In function `at91_sam9260_pm_init':
      arch/arm/mach-at91/generic.h:41: multiple definition of `at91_sam9260_pm_init'
      arch/arm/mach-at91/setup.o:arch/arm/mach-at91/generic.h:41: first defined here
      arch/arm/mach-at91/board-dt-sama5.o: In function `at91_sam9g45_pm_init':
      arch/arm/mach-at91/generic.h:42: multiple definition of `at91_sam9g45_pm_init'
      arch/arm/mach-at91/setup.o:arch/arm/mach-at91/generic.h:42: first defined here
      
      This adds the missing 'static inline' to the declarations to avoid
      creating a copy of the functions in each file that includes the
      header.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Fixes: 4db0ba22 ("ARM: at91: pm: prepare for multiplatform")
      Acked-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
      a91c5824
    • Arnd Bergmann's avatar
      ARM: davinci: multi-soc kernels require AUTO_ZRELADDR · 99bd667a
      Arnd Bergmann authored
      The davinci DA8xx and DMx families have incompatible zreladdr
      settings, and attempting to build a kernel with both enabled
      results in an error unless AUTO_ZRELADDR is set:
      
      multiple zreladdrs: 0xc0008000 0x80008000
      This needs CONFIG_AUTO_ZRELADDR to be set
      
      This patch changes Kconfig to make the two families mutually
      exclusive when this is unset.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarSekhar Nori <nsekhar@ti.com>
      Cc: Kevin Hilman <khilman@deeprootsystems.com>
      99bd667a
    • Arnd Bergmann's avatar
      ARM: davinci: davinci_cfg_reg cannot be init · 31612d64
      Arnd Bergmann authored
      davinci_cfg_reg gets called from a lot of locations that
      might get called after the init section has been discarded,
      so the function itself must not be marked __init either.
      
      The kernel build currently warns about this with lots of
      messages like:
      
      WARNING: vmlinux.o(.text.unlikely+0x24c): Section mismatch in reference from the function dm365evm_mmc_configure() to the function .init.text:davinci_cfg_reg()
      The function dm365evm_mmc_configure() references
      the function __init davinci_cfg_reg().
      This is often because dm365evm_mmc_configure lacks a __init
      annotation or the annotation of davinci_cfg_reg is wrong.
      
      This removes the extraneous __init_or_module annotation.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarSekhar Nori <nsekhar@ti.com>
      Cc: Kevin Hilman <khilman@deeprootsystems.com>
      31612d64
    • Arnd Bergmann's avatar
      ARM: BCM: put back ARCH_MULTI_V7 dependency for mobile · ff34cae5
      Arnd Bergmann authored
      A recent cleanup rearranged the Kconfig file for mach-bcm and
      accidentally dropped the dependency on ARCH_MULTI_V7, which
      makes it possible to now build the two mobile SoC platforms
      on an ARMv6-only kernel, resulting in a log of Kconfig
      warnings like
      
      warning: ARCH_BCM_MOBILE selects ARM_ERRATA_775420 which has unmet direct dependencies (CPU_V7)
      
      and which of course cannot work on any machine.
      
      This puts back the dependencies as before.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Fixes: 64e74aa7 ("ARM: mach-bcm: ARCH_BCM_MOBILE: remove one level of menu from Kconfig")
      Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Acked-by: default avatarScott Branden <sbranden@broadcom.com>
      ff34cae5
    • Arnd Bergmann's avatar
      ARM: vexpress: use ARM_CPU_SUSPEND if needed · 95fcedb0
      Arnd Bergmann authored
      The vexpress tc2 power management code calls mcpm_loopback, which
      is only available if ARM_CPU_SUSPEND is enabled, otherwise we
      get a link error:
      
      arch/arm/mach-vexpress/built-in.o: In function `tc2_pm_init':
      arch/arm/mach-vexpress/tc2_pm.c:389: undefined reference to `mcpm_loopback'
      
      This explicitly selects ARM_CPU_SUSPEND like other platforms that
      need it.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Fixes: 3592d7e0 ("ARM: 8082/1: TC2: test the MCPM loopback during boot")
      Acked-by: default avatarNicolas Pitre <nico@linaro.org>
      Acked-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
      Cc: Kevin Hilman <khilman@linaro.org>
      Cc: Sudeep Holla <sudeep.holla@arm.com>
      Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      95fcedb0
  2. 17 Feb, 2015 34 commits
    • 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
    • Joshua Kinard's avatar
      rtc: add driver for DS1685 family of real time clocks · aaaf5fbf
      Joshua Kinard authored
      This adds a driver for the Dallas/Maxim DS1685-family of RTC chips.  It
      supports the DS1685/DS1687, DS1688/DS1691, DS1689/DS1693, DS17285/DS17287,
      DS17485/DS17487, and DS17885/DS17887 RTC chips.  These chips are commonly
      found in SGI O2 and SGI Octane systems.  It was originally derived from a
      driver patch submitted by Matthias Fuchs many years ago for use in
      EPPC-405-UC modules, which also used these RTCs.  In addition to the
      time-keeping functions, this RTC also handles the shutdown mechanism of
      the O2 and Octane and acts as a partial NVRAM for the boot PROMS in these
      systems.
      
      Verified on both an SGI O2 and an SGI Octane.
      Signed-off-by: default avatarJoshua Kinard <kumba@gentoo.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      aaaf5fbf
    • Krzysztof Kozlowski's avatar
      MAINTAINERS: add entry for Maxim PMICs on Samsung boards · befeb596
      Krzysztof Kozlowski authored
      Add myself and Chanwoo Choi as supporters to help in reviewing patches
      for Maxim 77686 PMIC and Maxim 14577/77693 MUIC drivers:
       - mfd (all of them),
       - extcon (extcon-max14577.c, extcon-max77693.c),
       - regulator (all of them),
       - clock (clk-max77686.c),
       - RTC (rtc-max77686.c).
      
      Lately I am the author of contributors to them. These drivers are used
      on Exynos-based boards (Trats 2, Gear 1 and Gear 2).
      Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
      Cc: Chanwoo Choi <cw00.choi@samsung.com>
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      Cc: Lee Jones <lee.jones@linaro.org>
      Cc: Liam Girdwood <lgirdwood@gmail.com>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Mike Turquette <mturquette@linaro.org>
      Cc: Stephen Boyd <sboyd@codeaurora.org>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Acked-by: default avatarMark Brown <broonie@kernel.org>
      Acked-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      befeb596
    • Christoph Jaeger's avatar
      lib/Kconfig: use bool instead of boolean · 841c0090
      Christoph Jaeger authored
      Keyword 'boolean' for type definition attributes is considered
      deprecated and, therefore, should not be used anymore.
      
      See http://lkml.kernel.org/r/cover.1418003065.git.cj@linux.com
      See http://lkml.kernel.org/r/1419108071-11607-1-git-send-email-cj@linux.comSigned-off-by: default avatarChristoph Jaeger <cj@linux.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      841c0090
    • Kirill A. Shutemov's avatar
      powerpc: drop _PAGE_FILE and pte_file()-related helpers · 780fc564
      Kirill A. Shutemov authored
      We've replaced remap_file_pages(2) implementation with emulation.  Nobody
      creates non-linear mapping anymore.
      Signed-off-by: default avatarKirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      780fc564
    • Joseph Qi's avatar
      ocfs2: set append dio as a ro compat feature · 160cc266
      Joseph Qi authored
      Intruduce a bit OCFS2_FEATURE_RO_COMPAT_APPEND_DIO and check it in
      write flow. If the bit is not set, fall back to the old way.
      Signed-off-by: default avatarJoseph Qi <joseph.qi@huawei.com>
      Cc: Weiwei Wang <wangww631@huawei.com>
      Cc: Joel Becker <jlbec@evilplan.org>
      Cc: Junxiao Bi <junxiao.bi@oracle.com>
      Cc: Mark Fasheh <mfasheh@suse.com>
      Cc: Xuejiufei <xuejiufei@huawei.com>
      Cc: alex chen <alex.chen@huawei.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      160cc266
    • Joseph Qi's avatar
      ocfs2: wait for orphan recovery first once append O_DIRECT write crash · 4813962b
      Joseph Qi authored
      If one node has crashed with orphan entry leftover, another node which do
      append O_DIRECT write to the same file will override the
      i_dio_orphaned_slot.  Then the old entry won't be cleaned forever.  If
      this case happens, we let it wait for orphan recovery first.
      Signed-off-by: default avatarJoseph Qi <joseph.qi@huawei.com>
      Cc: Weiwei Wang <wangww631@huawei.com>
      Cc: Joel Becker <jlbec@evilplan.org>
      Cc: Junxiao Bi <junxiao.bi@oracle.com>
      Cc: Mark Fasheh <mfasheh@suse.com>
      Cc: Xuejiufei <xuejiufei@huawei.com>
      Cc: alex chen <alex.chen@huawei.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      4813962b
    • Joseph Qi's avatar
      ocfs2: complete the rest request through buffer io · 3a83b342
      Joseph Qi authored
      Complte the rest request thourgh buffer io after direct write performed.
      Signed-off-by: default avatarJoseph Qi <joseph.qi@huawei.com>
      Cc: Weiwei Wang <wangww631@huawei.com>
      Cc: Joel Becker <jlbec@evilplan.org>
      Cc: Junxiao Bi <junxiao.bi@oracle.com>
      Cc: Mark Fasheh <mfasheh@suse.com>
      Cc: Xuejiufei <xuejiufei@huawei.com>
      Cc: alex chen <alex.chen@huawei.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      3a83b342
    • Joseph Qi's avatar
      ocfs2: do not fallback to buffer I/O write if appending · d943d59d
      Joseph Qi authored
      Now we can do direct io and do not fallback to buffered IO any more in
      case of append O_DIRECT write.
      Signed-off-by: default avatarJoseph Qi <joseph.qi@huawei.com>
      Cc: Weiwei Wang <wangww631@huawei.com>
      Cc: Joel Becker <jlbec@evilplan.org>
      Cc: Junxiao Bi <junxiao.bi@oracle.com>
      Cc: Mark Fasheh <mfasheh@suse.com>
      Cc: Xuejiufei <xuejiufei@huawei.com>
      Cc: alex chen <alex.chen@huawei.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d943d59d
    • Joseph Qi's avatar
      ocfs2: allocate blocks in ocfs2_direct_IO_get_blocks · 49255dce
      Joseph Qi authored
      Allow blocks allocation in ocfs2_direct_IO_get_blocks.
      Signed-off-by: default avatarJoseph Qi <joseph.qi@huawei.com>
      Cc: Weiwei Wang <wangww631@huawei.com>
      Cc: Junxiao Bi <junxiao.bi@oracle.com>
      Cc: Joel Becker <jlbec@evilplan.org>
      Cc: Mark Fasheh <mfasheh@suse.com>
      Cc: Xuejiufei <xuejiufei@huawei.com>
      Cc: alex chen <alex.chen@huawei.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      49255dce
    • Joseph Qi's avatar
      ocfs2: implement ocfs2_direct_IO_write · 24c40b32
      Joseph Qi authored
      Implement ocfs2_direct_IO_write.  Add the inode to orphan dir first, and
      then delete it once append O_DIRECT finished.
      
      This is to make sure block allocation and inode size are consistent.
      
      [akpm@linux-foundation.org: fix it for "block: Add discard flag to blkdev_issue_zeroout() function"]
      Signed-off-by: default avatarJoseph Qi <joseph.qi@huawei.com>
      Cc: Weiwei Wang <wangww631@huawei.com>
      Cc: Junxiao Bi <junxiao.bi@oracle.com>
      Cc: Joel Becker <jlbec@evilplan.org>
      Cc: Mark Fasheh <mfasheh@suse.com>
      Cc: Xuejiufei <xuejiufei@huawei.com>
      Cc: alex chen <alex.chen@huawei.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      24c40b32
    • Joseph Qi's avatar
      ocfs2: add orphan recovery types in ocfs2_recover_orphans · ed460cff
      Joseph Qi authored
      Define two orphan recovery types, which indicates if need truncate file or
      not.
      Signed-off-by: default avatarJoseph Qi <joseph.qi@huawei.com>
      Cc: Weiwei Wang <wangww631@huawei.com>
      Cc: Junxiao Bi <junxiao.bi@oracle.com>
      Cc: Joel Becker <jlbec@evilplan.org>
      Cc: Mark Fasheh <mfasheh@suse.com>
      Cc: Xuejiufei <xuejiufei@huawei.com>
      Cc: alex chen <alex.chen@huawei.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ed460cff
    • Joseph Qi's avatar
      ocfs2: add functions to add and remove inode in orphan dir · 06ee5c75
      Joseph Qi authored
      Add functions to add inode to orphan dir and remove inode in orphan dir.
      Here we do not call ocfs2_prepare_orphan_dir and ocfs2_orphan_add
      directly.  Because append O_DIRECT will add inode to orphan two and may
      result in more than one orphan entry for the same inode.
      
      [akpm@linux-foundation.org: avoid dynamic stack allocation]
      Signed-off-by: default avatarJoseph Qi <joseph.qi@huawei.com>
      Cc: Weiwei Wang <wangww631@huawei.com>
      Cc: Junxiao Bi <junxiao.bi@oracle.com>
      Cc: Joel Becker <jlbec@evilplan.org>
      Cc: Mark Fasheh <mfasheh@suse.com>
      Cc: Xuejiufei <xuejiufei@huawei.com>
      Cc: alex chen <alex.chen@huawei.com>
      Cc: Fengguang Wu <fengguang.wu@gmail.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      06ee5c75
    • Joseph Qi's avatar
      ocfs2: prepare some interfaces used in append direct io · 026749a8
      Joseph Qi authored
      Currently in case of append O_DIRECT write (block not allocated yet),
      ocfs2 will fall back to buffered I/O.  This has some disadvantages.
      Firstly, it is not the behavior as expected.  Secondly, it will consume
      huge page cache, e.g.  in mass backup scenario.  Thirdly, modern
      filesystems such as ext4 support this feature.
      
      In this patch set, the direct I/O write doesn't fallback to buffer I/O
      write any more because the allocate blocks are enabled in direct I/O now.
      
      This patch (of 9):
      
      Prepare some interfaces which will be used in append O_DIRECT write.
      Signed-off-by: default avatarJoseph Qi <joseph.qi@huawei.com>
      Cc: Weiwei Wang <wangww631@huawei.com>
      Cc: Mark Fasheh <mfasheh@suse.com>
      Cc: Joel Becker <jlbec@evilplan.org>
      Cc: Xuejiufei <xuejiufei@huawei.com>
      Cc: Junxiao Bi <junxiao.bi@oracle.com>
      Cc: alex chen <alex.chen@huawei.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      026749a8
    • Akash Shende's avatar
    • Matthew Wilcox's avatar
      dax: does not work correctly with virtual aliasing caches · d92576f1
      Matthew Wilcox authored
      The DAX code accesses the underlying storage through the kernel's linear
      mapping, which may not be cache-coherent with user mappings on ARM, MIPS
      or SPARC.  Temporarily disable the DAX code until this problem is
      resolved.
      
      The original XIP code also had this problem, but it was never noticed.
      Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
      Cc: Andreas Dilger <andreas.dilger@intel.com>
      Cc: Boaz Harrosh <boaz@plexistor.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Dave Chinner <david@fromorbit.com>
      Cc: Jan Kara <jack@suse.cz>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
      Cc: Theodore Ts'o <tytso@mit.edu>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d92576f1
    • Matthew Wilcox's avatar
      brd: rename XIP to DAX · a7a97fc9
      Matthew Wilcox authored
      Since this is relating to FS_XIP, not KERNEL_XIP, it should be called
      DAX instead of XIP.
      Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
      Cc: Andreas Dilger <andreas.dilger@intel.com>
      Cc: Boaz Harrosh <boaz@plexistor.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Dave Chinner <david@fromorbit.com>
      Cc: Jan Kara <jack@suse.cz>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
      Cc: Theodore Ts'o <tytso@mit.edu>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a7a97fc9
    • Ross Zwisler's avatar
      ext4: add DAX functionality · 923ae0ff
      Ross Zwisler authored
      This is a port of the DAX functionality found in the current version of
      ext2.
      
      [matthew.r.wilcox@intel.com: heavily tweaked]
      [akpm@linux-foundation.org: remap_pages went away]
      Signed-off-by: default avatarRoss Zwisler <ross.zwisler@linux.intel.com>
      Reviewed-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
      Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
      Cc: Boaz Harrosh <boaz@plexistor.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Dave Chinner <david@fromorbit.com>
      Cc: Jan Kara <jack@suse.cz>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Theodore Ts'o <tytso@mit.edu>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      923ae0ff
    • Matthew Wilcox's avatar
      dax: add dax_zero_page_range · 25726bc1
      Matthew Wilcox authored
      This new function allows us to support hole-punch for DAX files by zeroing
      a partial page, as opposed to the dax_truncate_page() function which can
      only truncate to the end of the page.  Reimplement dax_truncate_page() to
      call dax_zero_page_range().
      
      [ross.zwisler@linux.intel.com: ported to 3.13-rc2]
      [akpm@linux-foundation.org: fix typos in comments]
      Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
      Signed-off-by: default avatarRoss Zwisler <ross.zwisler@linux.intel.com>
      Cc: Andreas Dilger <andreas.dilger@intel.com>
      Cc: Boaz Harrosh <boaz@plexistor.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Dave Chinner <david@fromorbit.com>
      Cc: Jan Kara <jack@suse.cz>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Theodore Ts'o <tytso@mit.edu>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      25726bc1
    • Matthew Wilcox's avatar
      ext2: get rid of most mentions of XIP in ext2 · 9c3ce9ec
      Matthew Wilcox authored
      To help people transition, accept the 'xip' mount option (and report it in
      /proc/mounts), but print a message encouraging people to switch over to
      the 'dax' option.
      Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
      Reviewed-by: default avatarMathieu Desnoyers <mathieu.desnoyers@efficios.com>
      Cc: Andreas Dilger <andreas.dilger@intel.com>
      Cc: Boaz Harrosh <boaz@plexistor.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Dave Chinner <david@fromorbit.com>
      Cc: Jan Kara <jack@suse.cz>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
      Cc: Theodore Ts'o <tytso@mit.edu>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      9c3ce9ec
    • Matthew Wilcox's avatar
      ext2: remove ext2_aops_xip · 97443aa8
      Matthew Wilcox authored
      We shouldn't need a special address_space_operations any more
      Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
      Reviewed-by: default avatarMathieu Desnoyers <mathieu.desnoyers@efficios.com>
      Cc: Andreas Dilger <andreas.dilger@intel.com>
      Cc: Boaz Harrosh <boaz@plexistor.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Dave Chinner <david@fromorbit.com>
      Cc: Jan Kara <jack@suse.cz>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
      Cc: Theodore Ts'o <tytso@mit.edu>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      97443aa8
    • Matthew Wilcox's avatar
      vfs,ext2: remove CONFIG_EXT2_FS_XIP and rename CONFIG_FS_XIP to CONFIG_FS_DAX · 6cd176a5
      Matthew Wilcox authored
      The fewer Kconfig options we have the better.  Use the generic
      CONFIG_FS_DAX to enable XIP support in ext2 as well as in the core.
      Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
      Cc: Andreas Dilger <andreas.dilger@intel.com>
      Cc: Boaz Harrosh <boaz@plexistor.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Dave Chinner <david@fromorbit.com>
      Cc: Jan Kara <jack@suse.cz>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
      Cc: Theodore Ts'o <tytso@mit.edu>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6cd176a5
    • Matthew Wilcox's avatar
      ext2: remove xip.c and xip.h · 07642381
      Matthew Wilcox authored
      These files are now empty, so delete them
      Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
      Reviewed-by: default avatarMathieu Desnoyers <mathieu.desnoyers@efficios.com>
      Cc: Andreas Dilger <andreas.dilger@intel.com>
      Cc: Boaz Harrosh <boaz@plexistor.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Dave Chinner <david@fromorbit.com>
      Cc: Jan Kara <jack@suse.cz>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
      Cc: Theodore Ts'o <tytso@mit.edu>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      07642381
    • Matthew Wilcox's avatar
      ext2: remove ext2_use_xip · ed87e920
      Matthew Wilcox authored
      Replace ext2_use_xip() with test_opt(XIP) which expands to the same code
      Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
      Reviewed-by: default avatarMathieu Desnoyers <mathieu.desnoyers@efficios.com>
      Cc: Andreas Dilger <andreas.dilger@intel.com>
      Cc: Boaz Harrosh <boaz@plexistor.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Dave Chinner <david@fromorbit.com>
      Cc: Jan Kara <jack@suse.cz>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
      Cc: Theodore Ts'o <tytso@mit.edu>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ed87e920
    • Matthew Wilcox's avatar
      ext2: remove ext2_xip_verify_sb() · 0de4830f
      Matthew Wilcox authored
      Jan Kara pointed out that calling ext2_xip_verify_sb() in ext2_remount()
      doesn't make sense, since changing the XIP option on remount isn't
      allowed.  It also doesn't make sense to re-check whether blocksize is
      supported since it can't change between mounts.
      
      Replace the call to ext2_xip_verify_sb() in ext2_fill_super() with the
      equivalent check and delete the definition.
      Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
      Cc: Andreas Dilger <andreas.dilger@intel.com>
      Cc: Boaz Harrosh <boaz@plexistor.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Dave Chinner <david@fromorbit.com>
      Cc: Jan Kara <jack@suse.cz>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
      Cc: Theodore Ts'o <tytso@mit.edu>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      0de4830f
    • Matthew Wilcox's avatar
      vfs: remove get_xip_mem · e748dcd0
      Matthew Wilcox authored
      All callers of get_xip_mem() are now gone.  Remove checks for it,
      initialisers of it, documentation of it and the only implementation of it.
       Also remove mm/filemap_xip.c as it is now empty.  Also remove
      documentation of the long-gone get_xip_page().
      Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
      Cc: Andreas Dilger <andreas.dilger@intel.com>
      Cc: Boaz Harrosh <boaz@plexistor.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Dave Chinner <david@fromorbit.com>
      Cc: Jan Kara <jack@suse.cz>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
      Cc: Theodore Ts'o <tytso@mit.edu>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e748dcd0
    • Matthew Wilcox's avatar
      dax: replace XIP documentation with DAX documentation · 95ec8dab
      Matthew Wilcox authored
      Based on the original XIP documentation, this documents the current state
      of affairs, and includes instructions on how users can enable DAX if their
      devices and kernel support it.
      Signed-off-by: default avatarMatthew Wilcox <willy@linux.intel.com>
      Reviewed-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: Andreas Dilger <andreas.dilger@intel.com>
      Cc: Boaz Harrosh <boaz@plexistor.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Dave Chinner <david@fromorbit.com>
      Cc: Jan Kara <jack@suse.cz>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
      Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
      Cc: Theodore Ts'o <tytso@mit.edu>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      95ec8dab