1. 30 Jul, 2012 40 commits
    • Samuel Ortiz's avatar
      regulator: Fix an s5m8767 build failure · 938e05bf
      Samuel Ortiz authored
      Due to a merge conflict we are getting this:
      
      drivers/regulator/s5m8767.c: In function ‘s5m8767_pmic_probe’:
      drivers/regulator/s5m8767.c:575:2: error: implicit declaration of function
      ‘s5m_reg_write’ [-Werror=implicit-function-declaration]
      
      This is fixed by fully converting this driver to the new s5m API.
      
      Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
      938e05bf
    • Linus Torvalds's avatar
      Merge tag 'for-linus-v3.6-rc1' of git://oss.sgi.com/xfs/xfs · 37cd9600
      Linus Torvalds authored
      Pull xfs update from Ben Myers:
       "Numerous cleanups and several bug fixes.  Here are some highlights:
      
         - Discontiguous directory buffer support
         - Inode allocator refactoring
         - Removal of the IO lock in inode reclaim
         - Implementation of .update_time
         - Fix for handling of EOF in xfs_vm_writepage
         - Fix for races in xfsaild, and idle mode is re-enabled
         - Fix for a crash in xfs_buf completion handlers on unmount."
      
      Fix up trivial conflicts in fs/xfs/{xfs_buf.c,xfs_log.c,xfs_log_priv.h}
      due to duplicate patches that had already been merged for 3.5.
      
      * tag 'for-linus-v3.6-rc1' of git://oss.sgi.com/xfs/xfs: (44 commits)
        xfs: wait for the write the superblock on unmount
        xfs: re-enable xfsaild idle mode and fix associated races
        xfs: remove iolock lock classes
        xfs: avoid the iolock in xfs_free_eofblocks for evicted inodes
        xfs: do not take the iolock in xfs_inactive
        xfs: remove xfs_inactive_attrs
        xfs: clean up xfs_inactive
        xfs: do not read the AGI buffer in xfs_dialloc until nessecary
        xfs: refactor xfs_ialloc_ag_select
        xfs: add a short cut to xfs_dialloc for the non-NULL agbp case
        xfs: remove the alloc_done argument to xfs_dialloc
        xfs: split xfs_dialloc
        xfs: remove xfs_ialloc_find_free
        Prefix IO_XX flags with XFS_IO_XX to avoid namespace colision.
        xfs: remove xfs_inotobp
        xfs: merge xfs_itobp into xfs_imap_to_bp
        xfs: handle EOF correctly in xfs_vm_writepage
        xfs: implement ->update_time
        xfs: fix comment typo of struct xfs_da_blkinfo.
        xfs: do not call xfs_bdstrat_cb in xfs_buf_iodone_callbacks
        ...
      37cd9600
    • Linus Torvalds's avatar
      Merge tag 'virtio-for-linus' of... · 95b18e69
      Linus Torvalds authored
      Merge tag 'virtio-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus
      
      Pull virtio update from Rusty Russell:
       "Virtio patches, mainly hotplugging fixes."
      
      * tag 'virtio-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
        virtio-blk: return VIRTIO_BLK_F_FLUSH to header.
        virtio-blk: allow toggling host cache between writeback and writethrough
        virtio-blk: Use block layer provided spinlock
        virtio-blk: Reset device after blk_cleanup_queue()
        virtio-blk: Call del_gendisk() before disable guest kick
        virtio: rng: s3/s4 support
        virtio: rng: split out common code in probe / remove for s3/s4 ops
        virtio: rng: don't wait on host when module is going away
        virtio: rng: allow tasks to be killed that are waiting for rng input
        virtio ids: fix comment for virtio-rng
      95b18e69
    • Linus Torvalds's avatar
      Merge tag 'please-pull-ia64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux · 6d8a97af
      Linus Torvalds authored
      Pull misc ia64 build fixes from Tony Luck.
      
      * tag 'please-pull-ia64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux:
        [IA64] Redefine ATOMIC_INIT and ATOMIC64_INIT to drop the casts
        [IA64] Rename platform_name to ia64_platform_name
        [IA64] Mark PARAVIRT and KVM as broken
      6d8a97af
    • Linus Torvalds's avatar
      Merge tag 'localmodconfig-v3.6' of... · f6bcfc9d
      Linus Torvalds authored
      Merge tag 'localmodconfig-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-kconfig
      
      Pull localmodconfig updates from Steven Rostedt:
       "Improve localmodconfig to remove even more unused module configs.
      
        These changes drastically improve the amount of module configs removed
        from a config file.  It also adds some debug that I can have users
        easily enable if things do not work for them."
      
      * tag 'localmodconfig-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-kconfig:
        localmodconfig: Add debug environment variable LOCALMODCONFIG_DEBUG
        localmodconfig: Check if configs are already set for selects
        localmodconfig: Read in orig config file to avoid extra processing
        localmodconfig: Comments and cleanup for streamline_config.pl
      f6bcfc9d
    • Linus Torvalds's avatar
      Merge tag 'ktest-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest · 8f838e59
      Linus Torvalds authored
      Pull ktest changes from Steven Rostedt:
       "Set of updates for v3.6 (some fixes too)
      
        Seems that you opened the merge window the day I left for the beach.
        I just got back (yes us Americans only take a week vacation), and just
        got the last of my ktest quilt queue into git."
      
      * tag 'ktest-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest:
        ktest: Allow perl regex expressions in conditional statements
        ktest: Ignore errors it tests if IGNORE_ERRORS is set
        ktest: Reset saved min (force) configs for each test
        ktest: Add check for bug or panic during reboot
        ktest: Add MAX_MONITOR_WAIT option
        ktest: Fix config bisect with how make oldnoconfig works
        ktest: Add CONFIG_BISECT_CHECK option
        ktest: Add PRE_INSTALL option
        ktest: Add PRE/POST_KTEST and TEST options
        ktest: Remove commented exit
      8f838e59
    • Linus Torvalds's avatar
      Merge tag 'mfd-3.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6 · 3e701cdf
      Linus Torvalds authored
      Pull MFD bits from Samuel Ortiz:
       "We have support for a few new drivers:
         - Samsung s2mps11
         - Wolfson Microelectronics wm5102 and wm5110
         - Marvell 88PM800 and 88PM805
         - TI twl6041
      
        We also have our regular driver improvements:
         - Device tree and IRQ domain support for STE AB8500
         - Regmap and devm_* API conversion for TI tps6586x
         - Device tree support for Samsung max77686
         - devm_* API conversion for STE AB3100
      
        Besides that, quite a lot of fixing and cleanup for mc13xxx, tps65910,
        tps65090, da9052 and twl-core."
      
      Fix up mostly trivial conflicts, with the exception of
      drivers/usb/host/ehci-omap.c in particular, which had some
      re-organization of the reset sequence (commit 1a49e2ac: "EHCI:
      centralize controller initialization") that clashed with commit
      2761a639 ("mfd: USB: Fix the omap-usb EHCI ULPI PHY reset fix
      issues").
      
      In particular, commit 2761a639 moved the usb_add_hcd() to the
      *middle* of the reset sequence, which clashes fairly badly with the
      reset sequence re-organization (although it could have been done inside
      the new omap_ehci_init() function).
      
      I left that part of commit 2761a639 just undone.
      
      * tag 'mfd-3.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (110 commits)
        mfd: Ensure AB8500 platform data is passed through db8500-prcmu to MFD Core
        mfd: Arizone core should select MFD_CORE
        mfd: Fix arizona-irq.c build by selecting REGMAP_IRQ
        mfd: Add debug trace on entering and leaving arizone runtime suspend
        mfd: Correct tps65090 cell names
        mfd: Remove gpio support from tps6586x core driver
        ARM: tegra: defconfig: Enable tps6586x gpio
        gpio: tps6586x: Add gpio support through platform driver
        mfd: Cache tps6586x register through regmap
        mfd: Use regmap for tps6586x register access.
        mfd: Use devm managed resources for tps6586x
        input: Add onkey support for 88PM80X PMIC
        mfd: Add support for twl6041
        mfd: Fix twl6040 revision information
        mfd: Matches should be NULL when populate anatop child devices
        input: ab8500-ponkey: Create AB8500 domain IRQ mapping
        mfd: Add missing out of memory check for pcf50633
        Documentation: Describe the AB8500 Device Tree bindings
        mfd: Add tps65910 32-kHz-crystal-input init
        mfd: Drop modifying mc13xxx driver's id_table in probe
        ...
      3e701cdf
    • Linus Torvalds's avatar
      Merge branch 'linux-next' of git://cavan.codon.org.uk/platform-drivers-x86 · 7d3d09b0
      Linus Torvalds authored
      Pull x86 platform driver updates from Matthew Garrett:
       "Nothing overly dramatic here - improved support for the Classmate,
        some random small fixes and a rework of backlight management to deal
        with some of the more awkward cases."
      
      * 'linux-next' of git://cavan.codon.org.uk/platform-drivers-x86:
        thinkpad_acpi: Free hotkey_keycode_map after unregistering tpacpi_inputdev
        thinkpad_acpi: Fix a memory leak during module exit
        thinkpad_acpi: Flush the workqueue before freeing tpacpi_leds
        dell-laptop: Add 6 machines to touchpad led quirk
        ACER: Fix Smatch double-free issue
        ACER: Fix up sparse warning
        asus-nb-wmi: add some video toggle keys
        asus-nb-wmi: add wapf quirk for ASUS machines
        classmate-laptop: Fix extra keys hardware id.
        classmate-laptop: Add support for Classmate V4 accelerometer.
        asus-wmi: enable resume on lid open
        asus-wmi: control backlight power through WMI, not ACPI
        samsung-laptop: support R40/R41
        acpi/video_detect: blacklist samsung x360
        samsung-laptop: X360 ACPI backlight device is broken
        drivers-platform-x86: use acpi_video_dmi_promote_vendor()
        acpi: add a way to promote/demote vendor backlight drivers
        ACER: Add support for accelerometer sensor
        asus-wmi: use ASUS_WMI_METHODID_DSTS2 as default DSTS ID.
      7d3d09b0
    • Linus Torvalds's avatar
      Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus · 287dc4b7
      Linus Torvalds authored
      Pull MIPS updates from Ralf Baechle:
       "More hardware support across the field including a bunch of device
        drivers.  The highlight however really are further steps towards
        device tree.
      
        This has been sitting in -next for ages.  All MIPS _defconfigs have
        been tested to boot or where I don't have hardware available, to at
        least build fine."
      
      * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (77 commits)
        MIPS: Loongson 1B: Add defconfig
        MIPS: Loongson 1B: Add board support
        MIPS: Netlogic: early console fix
        MIPS: Netlogic: Fix indentation of smpboot.S
        MIPS: Netlogic: remove cpu_has_dc_aliases define for XLP
        MIPS: Netlogic: Remove unused pcibios_fixups
        MIPS: Netlogic: Add XLP SoC devices in FDT
        MIPS: Netlogic: Add IRQ mappings for more devices
        MIPS: Netlogic: USB support for XLP
        MIPS: Netlogic: XLP PCIe controller support.
        MIPS: Netlogic: Platform changes for XLR/XLS I2C
        MIPS: Netlogic: Platform NAND/NOR flash support
        MIPS: Netlogic: Platform changes for XLS USB
        MIPS: Netlogic: Remove NETLOGIC_ prefix
        MIPS: Netlogic: SMP wakeup code update
        MIPS: Netlogic: Update comments in smpboot.S
        MIPS: BCM63XX: Add 96328avng reference board
        MIPS: Expose PCIe drivers for MIPS
        MIPS: BCM63XX: Add PCIe Support for BCM6328
        MIPS: BCM63XX: Move the PCI initialization into its own function
        ...
      287dc4b7
    • Steven Rostedt's avatar
      ktest: Allow perl regex expressions in conditional statements · 8fddbe9b
      Steven Rostedt authored
      Add '=~' and '!~' to the list of allowed conditionals for DEFAULT and
      TEST_START section if statements.
      
      ie.
      
       TEST_START IF TEST =~ .*test$
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      8fddbe9b
    • Steven Rostedt's avatar
      ktest: Ignore errors it tests if IGNORE_ERRORS is set · 9b1d367d
      Steven Rostedt authored
      The option IGNORE_ERRORS is used to allow a test to succeed even if a
      warning appears from the kernel. Sometimes kernels will produce warnings
      that are not associated with a test, and the user wants to test
      something else.
      
      The IGNORE_ERRORS works for boot up, but was not preventing test runs to
      succeed if the kernel produced a warning.
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      9b1d367d
    • Linus Torvalds's avatar
      Merge branch 'slab/next' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/linux · 720d8507
      Linus Torvalds authored
      Pull SLAB changes from Pekka Enberg:
       "Most of the changes included are from Christoph Lameter's "common
        slab" patch series that unifies common parts of SLUB, SLAB, and SLOB
        allocators.  The unification is needed for Glauber Costa's "kmem
        memcg" work that will hopefully appear for v3.7.
      
        The rest of the changes are fixes and speedups by various people."
      
      * 'slab/next' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/linux: (32 commits)
        mm: Fix build warning in kmem_cache_create()
        slob: Fix early boot kernel crash
        mm, slub: ensure irqs are enabled for kmemcheck
        mm, sl[aou]b: Move kmem_cache_create mutex handling to common code
        mm, sl[aou]b: Use a common mutex definition
        mm, sl[aou]b: Common definition for boot state of the slab allocators
        mm, sl[aou]b: Extract common code for kmem_cache_create()
        slub: remove invalid reference to list iterator variable
        mm: Fix signal SIGFPE in slabinfo.c.
        slab: move FULL state transition to an initcall
        slab: Fix a typo in commit 8c138b "slab: Get rid of obj_size macro"
        mm, slab: Build fix for recent kmem_cache changes
        slab: rename gfpflags to allocflags
        slub: refactoring unfreeze_partials()
        slub: use __cmpxchg_double_slab() at interrupt disabled place
        slab/mempolicy: always use local policy from interrupt context
        slab: Get rid of obj_size macro
        mm, sl[aou]b: Extract common fields from struct kmem_cache
        slab: Remove some accessors
        slab: Use page struct fields instead of casting
        ...
      720d8507
    • Linus Torvalds's avatar
      Merge branch 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild · 637e49ae
      Linus Torvalds authored
      Pull treewide kbuild cleanup from Michal Marek:
       "Paul Bolle did a cleanup of <asm/*.h> headers in various
        architectures.  Because the patch touch several architectures at
        once, it was easiest for me to apply them to the kbuild tree."
      
      * 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
        Remove useless wrappers of asm-generic/rmap.h
        Remove useless wrappers of asm-generic/ipc.h
        Remove useless wrappers of asm-generic/cpumask.h
      637e49ae
    • Linus Torvalds's avatar
      Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild · f6774cbc
      Linus Torvalds authored
      Pull misc kbuild changes from Michal Marek:
       "This is the non-critical part of kbuild for v3.6-rc1:
      
         - Two new coccinelle semantic patches
         - New scripts/tags.sh regexp
         - scripts/config improvements that I mistakenly applied here instead
           of in the kconfig branch (but there are no conflicts)
         - Debian packaging fixes"
      
      * 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
        scripts/tags.sh: Teach [ce]tags about libtraceeevent error codes
        scripts/coccinelle: list iterator variable semantic patch
        scripts/coccinelle: Find threaded IRQs requests which are missing IRQF_ONESHOT
        deb-pkg: Add all Makefiles to header package
        deb-pkg: Install linux-firmware-image in versioned dir
        scripts/config: add option to undef a symbol
        scripts/config: allow alternate prefix to config option symbol
        scripts/config: add option to not upper-case symbols
      f6774cbc
    • Linus Torvalds's avatar
      Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild · b4e2ed32
      Linus Torvalds authored
      Pull kconfig changes from Michal Marek:
       - kconfig Makefile portability fixes
       - menuconfig/nconfig help pager usability fix
       - .gitignore cleanup
       - quoting fix in scripts/config
       - Makefile prints errors to stderr
       - support for arbitrarily log lines in .config
       - fix oldnoconfig description in 'make help'
      
      * 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
        kconfig: Document oldnoconfig to what it really does
        nconf: add u, d command keys in scroll windows
        menuconfig: add u, d, q command keys in text boxes
        scripts/config: fix double-quotes un-escaping
        kconfig: Print errors to stderr in the Makefile
        kconfig: allow long lines in config file
        kconfig: remove lkc_defs.h from .gitignore and dontdiff
        xconfig: add quiet rule for moc
        xconfig: use pkgconfig to find moc
        kconfig: fix check-lxdialog for DLL platforms
        kconfig: check ncursesw headers first in check-lxdialog
        kconfig/nconf: fix compile with ncurses reentrant API
      b4e2ed32
    • Linus Torvalds's avatar
      Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild · c66d7077
      Linus Torvalds authored
      Pull kbuild fix from Michal Marek:
       "The main kbuild branch ended up with a single commit this time, a fix
        to send errors to stderr"
      
      * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
        kbuild: Print errors to stderr
      c66d7077
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security · 172f993a
      Linus Torvalds authored
      Pull security subsystem bugfixes from James Morris.
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
        selinux: fix selinux_inode_setxattr oops
        KEYS: linux/key-type.h needs linux/errno.h
        smack: off by one error
      172f993a
    • Linus Torvalds's avatar
      Merge tag 'dm-3.6-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-dm · 7272c30b
      Linus Torvalds authored
      Pull device-mapper updates from Alasdair G Kergon:
      - Flip the thin target into new read-only or failed modes if errors
        are detected;
      - Handle chunk sizes that are not powers of two in the snapshot and
        thin targets;
      - Provide a way for userspace to avoid replacing an already-loaded
        multipath hardware handler while booting;
      - Reduce dm_thin_endio_hook slab size to avoid allocation failures;
      - Numerous small changes and cleanups to the code.
      
      * tag 'dm-3.6-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-dm: (63 commits)
        dm thin: commit before gathering status
        dm thin: add read only and fail io modes
        dm thin metadata: introduce dm_pool_abort_metadata
        dm thin metadata: introduce dm_pool_metadata_set_read_only
        dm persistent data: introduce dm_bm_set_read_only
        dm thin: reduce number of metadata commits
        dm thin metadata: add dm_thin_changed_this_transaction
        dm thin metadata: add format option to dm_pool_metadata_open
        dm thin metadata: tidy up open and format error paths
        dm thin metadata: only check incompat features on open
        dm thin metadata: remove duplicate pmd initialisation
        dm thin metadata: remove create parameter from __create_persistent_data_objects
        dm thin metadata: move __superblock_all_zeroes to __open_or_format_metadata
        dm thin metadata: remove nr_blocks arg from __create_persistent_data_objects
        dm thin metadata: split __open or format metadata
        dm thin metadata: use struct dm_pool_metadata members in __open_or_format_metadata
        dm thin metadata: zero unused superblock uuid
        dm thin metadata: lift __begin_transaction out of __write_initial_superblock
        dm thin metadata: move dm_commit_pool_metadata into __write_initial_superblock
        dm thin metadata: factor out __write_initial_superblock
        ...
      7272c30b
    • Linus Torvalds's avatar
      Merge branch 'for-linus-for-3.6-rc1' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping · 6f51f515
      Linus Torvalds authored
      Pull DMA-mapping updates from Marek Szyprowski:
       "Those patches are continuation of my earlier work.
      
        They contains extensions to DMA-mapping framework to remove limitation
        of the current ARM implementation (like limited total size of DMA
        coherent/write combine buffers), improve performance of buffer sharing
        between devices (attributes to skip cpu cache operations or creation
        of additional kernel mapping for some specific use cases) as well as
        some unification of the common code for dma_mmap_attrs() and
        dma_mmap_coherent() functions.  All extensions have been implemented
        and tested for ARM architecture."
      
      * 'for-linus-for-3.6-rc1' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping:
        ARM: dma-mapping: add support for DMA_ATTR_SKIP_CPU_SYNC attribute
        common: DMA-mapping: add DMA_ATTR_SKIP_CPU_SYNC attribute
        ARM: dma-mapping: add support for dma_get_sgtable()
        common: dma-mapping: introduce dma_get_sgtable() function
        ARM: dma-mapping: add support for DMA_ATTR_NO_KERNEL_MAPPING attribute
        common: DMA-mapping: add DMA_ATTR_NO_KERNEL_MAPPING attribute
        common: dma-mapping: add support for generic dma_mmap_* calls
        ARM: dma-mapping: fix error path for memory allocation failure
        ARM: dma-mapping: add more sanity checks in arm_dma_mmap()
        ARM: dma-mapping: remove custom consistent dma region
        mm: vmalloc: use const void * for caller argument
        scatterlist: add sg_alloc_table_from_pages function
      6f51f515
    • Linus Torvalds's avatar
      Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging · 76159c20
      Linus Torvalds authored
      Pull a howmon update from Jean Delvare.
      
      * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
        hwmon: struct x86_cpu_id arrays can be __initconst
      76159c20
    • Linus Torvalds's avatar
      Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux · 219c6734
      Linus Torvalds authored
      Pull Exynos DRM changes from Dave Airlie:
       "So I totally missed Inki's pull request for -next, its fully exynos
        self contained."
      
      (I took just the actual commits, not Dave's two extraneous merges)
      
      * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (30 commits)
        drm/exynos: fixed exception to page allocation failure
        drm/exynos: use __free_page() to deallocate memory
        drm/exynos: fixed a comment to gem size.
        drm/exynos: removed unnecessary variable
        drm/exynos: do not release memory region from exporter.
        drm/exynos: set buffer type from exporter.
        drm/exynos: use alloc_page() to allocate pages.
        drm/exynos: fixed build warning.
        drm/exynos: fixed edid data setting at vidi connection request
        drm/exynos: check if raw edid data is fake or not for test
        drm/exynos: set edid fake data only for test.
        drm/exynos: removed unnecessary declaration.
        drm/exynos: fix buffer pitch calculation
        drm/exynos: check for null in return value of dma_buf_map_attachment()
        drm/exynos: return NULL if exynos_pages_to_sg fails
        drm/exynos: Use devm_* functions in exynos_mixer.c
        drm/exynos: Use devm_* functions in exynos_hdmi.c
        drm/exynos: Use devm_* functions in exynos_drm_fimd.c
        drm/exynos: Add missing static storage class specifier
        drm/exynos: add property for crtc mode
        ...
      219c6734
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · f1115bb6
      Linus Torvalds authored
      Pull input updates from Dmitry Torokhov:
       "A new driver for FT5x06 based EDT displays and a couple of other
        driver changes"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: synaptics - handle out of bounds values from the hardware
        Input: wacom - add support to Cintiq 22HD
        Input: add driver for FT5x06 based EDT displays
      f1115bb6
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging · 76c97e6c
      Linus Torvalds authored
      Pull hwmon fixes from Guenter Roeck:
      
       - Fix timing problems in applesmc driver
      
       - Improve device removal in jc42 driver
      
       - Fix build warning in acp_power_meter driver
      
      * tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
        hwmon: (applesmc) Decode and act on read/write status codes
        hwmon: (jc42) Don't reset hysteresis on device removal
        hwmon: (jc42) Simplify hysteresis mask
        hwmon: (acpi_power_meter) Fix build warning
      76c97e6c
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-edac · 8da8533d
      Linus Torvalds authored
      Pull EDAC patches from Mauro Carvalho Chehab:
      
       - the second part of the EDAC rework:
          - Add the sysfs nodes that exports the real memory layout, instead
            of the fake one (needed to properly represent Intel memory
            controllers since 2002)
          - convert EDAC MC to use "struct device" instead of creating the
            sysfs nodes via the kobj API
          - adds a tracepoint to represent memory errors
      
       - some cleanup patches
      
       - some fixes at i5000, i5400 and EDAC core
      
       - a new EDAC driver for Caldera.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-edac: (33 commits)
        edac i5000, i5400: fix pointer math in i5000_get_mc_regs()
        edac: allow specifying the error count with fake_inject
        edac: add support for Calxeda highbank L2 cache ecc
        edac: add support for Calxeda highbank memory controller
        edac: create top-level debugfs directory
        sb_edac: properly handle error count
        i7core_edac: properly handle error count
        edac: edac_mc_handle_error(): add an error_count parameter
        edac: remove arch-specific parameter for the error handler
        amd64_edac: Don't pass driver name as an error parameter
        edac_mc: check for allocation failure in edac_mc_alloc()
        edac: Increase version to 3.0.0
        edac_mc: Cleanup per-dimm_info debug messages
        edac: Convert debugfX to edac_dbg(X,
        edac: Use more normal debugging macro style
        edac: Don't add __func__ or __FILE__ for debugf[0-9] msgs
        Edac: Add ABI Documentation for the new device nodes
        edac: move documentation ABI to ABI/testing/sysfs-devices-edac
        i7core_edac: change the mem allocation scheme to make Documentation/kobject.txt happy
        edac: change the mem allocation scheme to make Documentation/kobject.txt happy
        ...
      8da8533d
    • Linus Torvalds's avatar
      Merge tag 'boards2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · f50f118c
      Linus Torvalds authored
      Pull arm-soc board updates from Olof Johansson:
       "This branch contains board updates, mostly for shmobile, but also a
        couple for PXA.
      
        The shmobile platforms are still in the early stages of DT enablement,
        so there's a bit more updates here than we'd ideally want to see:
         - regulator updates to provide some fixed regulators on several
           boards
         - gpio support updates for multiple boards
         - misc updates for recently-introduced boards armadillo800eva and
           kzm9g
         - defconfig updates"
      
      * tag 'boards2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (37 commits)
        ARM: shmobile: kzm9g: defconfig enable INOTIFY_USER
        ARM: mach-shmobile: armadillo800eva: defconfig Allow use of armhf userspace
        ARM: shmobile: armadillo800eva: A3SP domain includes USB
        ARM: shmobile: armadillo800eva: A4LC domain includes LCDC
        ARM: shmobile: armadillo800eva: USB Func enables external IRQ mode
        ARM: mach-shmobile: kzm9d: Add defconfig
        ARM: mach-shmobile: select the fixed regulator driver on several boards
        ARM: mach-shmobile: add SDHI2 to the 2.8V fixed regulator consumers on kzm9g
        ARM: pxa: hx4700: Use DEFINE_RES_* macros consistently
        ARM: pxa: remove eseries.h
        ARM: mach-shmobile: add fixed voltage regulators to marzen
        ARM: mach-shmobile: add fixed voltage regulators to kzm9g
        ARM: mach-shmobile: add fixed voltage regulators to kzm9d
        ARM: mach-shmobile: add fixed voltage regulators to kota2
        ARM: mach-shmobile: add fixed voltage regulators to g4evm
        ARM: mach-shmobile: add fixed voltage regulators to bonito
        ARM: mach-shmobile: add fixed voltage regulators to armadillo800eva
        ARM: mach-shmobile: add fixed voltage regulators to ap4evb
        ARM: mach-shmobile: add fixed voltage regulators to ag5evm
        ARM: mach-shmobile: add 3.3V and 1.8V fixed regulators to mackerel
        ...
      f50f118c
    • Linus Torvalds's avatar
      Merge tag 'soc2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · b7574a22
      Linus Torvalds authored
      Pull arm-soc soc updates from Olof Johansson:
       "This is the second batch of SoC updates for the 3.6 merge window,
        containing parts that arrived close to the merge window opening and
        thus needed to sit in linux-next for a while.
      
        Most contents is updates of Renesas shmobile, with a couple of Samsung
        Exynos patches in the mix."
      
      * tag 'soc2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (39 commits)
        ARM: S3C64XX: Add header file protection macros in pm-core.h
        [CPUFREQ] EXYNOS5250: Add support max 1.7GHz for EXYNOS5250
        ARM: EXYNOS: Add G2D related clock entries for SMDK4X12
        ARM: EXYNOS: Move G2D clock entries to clock-exynos4210.c file
        ARM: shmobile: Fix build problem in pm-sh7372.c for unusual .config
        ARM: shmobile: Take cpuidle dependencies into account correctly
        ARM: mach-shmobile: sh7377 generic board support via DT
        ARM: mach-shmobile: r8a7740 generic board support via DT
        ARM: shmobile: sh7372: completely switch over to using pm-rmobile API
        ARM: shmobile: ap4evb: switch to using pm-rmobile API
        ARM: shmobile: mackerel: switch to using pm-rmobile API
        ARM: shmobile: sh7372: add pm-rmobile domain support
        ARM: shmobile: r8a7740: add A4LC pm domain support
        ARM: shmobile: r8a7740: add A3SP pm domain support
        ARM: shmobile: r8a7740: add A4S pm domain support
        ARM: shmobile: r8a7740: fixup: MSEL1CR 7bit control
        ARM: shmobile: soc-core: add R-mobile PM domain common APIs
        ARM: shmobile: sh7372 A3SM CPUIdle support
        ARM: shmobile: Use INTCA with sh7372 A3SM power domain
        ARM: mach-shmobile: Convert sh_clk_mstp32_register to sh_clk_mstp_register
        ...
      b7574a22
    • Linus Torvalds's avatar
      Merge tag 'firewire-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394 · 148b729b
      Linus Torvalds authored
      Pull firewire updates from Stefan Richter:
      
       - Small fixes and optimizations.
      
       - A new sysfs attribute to tell local and remote nodes apart.
         Useful to set special permissions/ ownership of local nodes'
         /dev/fw*, to start daemons on them (for diagnostics, management,
         AV targets, VersaPHY initiator or targets...), to pick up their
         GUID to use it as GUID of an SBP2 target instance, and of course
         for informational purposes.
      
      * tag 'firewire-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394:
        firewire: core: document is_local sysfs attribute
        firewire: core: add is_local sysfs device attribute
        firewire: ohci: initialize multiChanMode bits after reset
        firewire: core: fix multichannel IR with buffers larger than 2 GB
        firewire: ohci: sanity-check MMIO resource
        firewire: ohci: lazy bus time initialization
        firewire: core: allocate the low memory region
        firewire: core: make address handler length 64 bits
      148b729b
    • Linus Torvalds's avatar
      Merge branch 'for-3.6' of git://gitorious.org/linux-pwm/linux-pwm · 9ec97169
      Linus Torvalds authored
      Pull PWM subsystem from Thierry Reding:
       "The new PWM subsystem aims at collecting all implementations of the
        legacy PWM API and to eventually replace it completely.
      
        The subsystem has been in development for over half a year now and
        many drivers have already been converted.  It has been in linux-next
        for a couple of weeks and there have been no major issues so I think
        it is ready for inclusion in your tree."
      
      Arnd Bergmann <arnd@arndb.de>:
       "Very much Ack on the new subsystem.  It uses the interface
        declarations as the previously separate pwm drivers, so nothing
        changes for now in the drivers using it, although it enables us to
        change those more easily in the future if we want to.
      
        This work is also one of the missing pieces that are required to
        eventually build ARM kernels for multiple platforms, which is
        currently prohibited (amongs other things) by the fact that you cannot
        have more than one driver exporting the pwm functions."
      Tested-and-acked-by: default avatarAlexandre Courbot <acourbot@nvidia.com>
      Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: Philip, Avinash <avinashphilip@ti.com> # TI's AM33xx platforms
      Acked-By: Alexandre Pereira da Silva <aletes.xgr@gmail.com> # LPC32XX
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
      
      Fix up trivial conflicts with other cleanups and DT updates.
      
      * 'for-3.6' of git://gitorious.org/linux-pwm/linux-pwm: (36 commits)
        pwm: pwm-tiehrpwm: PWM driver support for EHRPWM
        pwm: pwm-tiecap: PWM driver support for ECAP APWM
        pwm: fix used-uninitialized warning in pwm_get()
        pwm: add lpc32xx PWM support
        pwm_backlight: pass correct brightness to callback
        pwm: Use pr_* functions in pwm-samsung.c file
        pwm: Convert pwm-samsung to use devm_* APIs
        pwm: Convert pwm-tegra to use devm_clk_get()
        pwm: pwm-mxs: Return proper error if pwmchip_remove() fails
        pwm: pwm-bfin: Return proper error if pwmchip_remove() fails
        pwm: pxa: Propagate pwmchip_remove() error
        pwm: Convert pwm-pxa to use devm_* APIs
        pwm: Convert pwm-vt8500 to use devm_* APIs
        pwm: Convert pwm-imx to use devm_* APIs
        pwm: Conflict with legacy PWM API
        pwm: pwm-mxs: add pinctrl support
        pwm: pwm-mxs: use devm_* managed functions
        pwm: pwm-mxs: use global reset function stmp_reset_block
        pwm: pwm-mxs: encode soc name in compatible string
        pwm: Take over maintainership of the PWM subsystem
        ...
      9ec97169
    • Marek Szyprowski's avatar
      ARM: dma-mapping: add support for DMA_ATTR_SKIP_CPU_SYNC attribute · 97ef952a
      Marek Szyprowski authored
      This patch adds support for DMA_ATTR_SKIP_CPU_SYNC attribute for
      dma_(un)map_(single,page,sg) functions family. It lets dma mapping clients
      to create a mapping for the buffer for the given device without performing
      a CPU cache synchronization. CPU cache synchronization can be skipped for
      the buffers which it is known that they are already in 'device' domain (CPU
      caches have been already synchronized or there are only coherent mappings
      for the buffer). For advanced users only, please use it with care.
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Reviewed-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      97ef952a
    • Marek Szyprowski's avatar
      common: DMA-mapping: add DMA_ATTR_SKIP_CPU_SYNC attribute · bdf5e487
      Marek Szyprowski authored
      This patch adds DMA_ATTR_SKIP_CPU_SYNC attribute to the DMA-mapping
      subsystem.
      
      By default dma_map_{single,page,sg} functions family transfer a given
      buffer from CPU domain to device domain. Some advanced use cases might
      require sharing a buffer between more than one device. This requires
      having a mapping created separately for each device and is usually
      performed by calling dma_map_{single,page,sg} function more than once
      for the given buffer with device pointer to each device taking part in
      the buffer sharing. The first call transfers a buffer from 'CPU' domain
      to 'device' domain, what synchronizes CPU caches for the given region
      (usually it means that the cache has been flushed or invalidated
      depending on the dma direction). However, next calls to
      dma_map_{single,page,sg}() for other devices will perform exactly the
      same sychronization operation on the CPU cache. CPU cache sychronization
      might be a time consuming operation, especially if the buffers are
      large, so it is highly recommended to avoid it if possible.
      DMA_ATTR_SKIP_CPU_SYNC allows platform code to skip synchronization of
      the CPU cache for the given buffer assuming that it has been already
      transferred to 'device' domain. This attribute can be also used for
      dma_unmap_{single,page,sg} functions family to force buffer to stay in
      device domain after releasing a mapping for it. Use this attribute with
      care!
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Reviewed-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      bdf5e487
    • Marek Szyprowski's avatar
      ARM: dma-mapping: add support for dma_get_sgtable() · dc2832e1
      Marek Szyprowski authored
      This patch adds support for dma_get_sgtable() function which is required
      to let drivers to share the buffers allocated by DMA-mapping subsystem.
      
      Generic implementation based on virt_to_page() is not suitable for ARM
      dma-mapping subsystem.
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Reviewed-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      dc2832e1
    • Marek Szyprowski's avatar
      common: dma-mapping: introduce dma_get_sgtable() function · d2b7428e
      Marek Szyprowski authored
      This patch adds dma_get_sgtable() function which is required to let
      drivers to share the buffers allocated by DMA-mapping subsystem. Right
      now the driver gets a dma address of the allocated buffer and the kernel
      virtual mapping for it. If it wants to share it with other device (= map
      into its dma address space) it usually hacks around kernel virtual
      addresses to get pointers to pages or assumes that both devices share
      the DMA address space. Both solutions are just hacks for the special
      cases, which should be avoided in the final version of buffer sharing.
      
      To solve this issue in a generic way, a new call to DMA mapping has been
      introduced - dma_get_sgtable(). It allocates a scatter-list which
      describes the allocated buffer and lets the driver(s) to use it with
      other device(s) by calling dma_map_sg() on it.
      
      This patch provides a generic implementation based on virt_to_page()
      call. Architectures which require more sophisticated translation might
      provide their own get_sgtable() methods.
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Reviewed-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      d2b7428e
    • Marek Szyprowski's avatar
      ARM: dma-mapping: add support for DMA_ATTR_NO_KERNEL_MAPPING attribute · 955c757e
      Marek Szyprowski authored
      This patch adds support for DMA_ATTR_NO_KERNEL_MAPPING attribute for
      IOMMU allocations, what let drivers to save precious kernel virtual
      address space for large buffers that are intended to be accessed only
      from userspace.
      
      This patch is heavily based on initial work kindly provided by Abhinav
      Kochhar <abhinav.k@samsung.com>.
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Reviewed-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      955c757e
    • Marek Szyprowski's avatar
      common: DMA-mapping: add DMA_ATTR_NO_KERNEL_MAPPING attribute · d5724f17
      Marek Szyprowski authored
      This patch adds DMA_ATTR_NO_KERNEL_MAPPING attribute which lets the
      platform to avoid creating a kernel virtual mapping for the allocated
      buffer. On some architectures creating such mapping is non-trivial task
      and consumes very limited resources (like kernel virtual address space
      or dma consistent address space). Buffers allocated with this attribute
      can be only passed to user space by calling dma_mmap_attrs().
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Reviewed-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      d5724f17
    • Marek Szyprowski's avatar
      common: dma-mapping: add support for generic dma_mmap_* calls · 64ccc9c0
      Marek Szyprowski authored
      Commit 9adc5374 ('common: dma-mapping: introduce mmap method') added a
      generic method for implementing mmap user call to dma_map_ops structure.
      
      This patch converts ARM and PowerPC architectures (the only providers of
      dma_mmap_coherent/dma_mmap_writecombine calls) to use this generic
      dma_map_ops based call and adds a generic cross architecture
      definition for dma_mmap_attrs, dma_mmap_coherent, dma_mmap_writecombine
      functions.
      
      The generic mmap virt_to_page-based fallback implementation is provided for
      architectures which don't provide their own implementation for mmap method.
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Reviewed-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      64ccc9c0
    • Marek Szyprowski's avatar
      ARM: dma-mapping: fix error path for memory allocation failure · 9fa8af91
      Marek Szyprowski authored
      This patch fixes incorrect check in error path. When the allocation of
      first page fails, the kernel ops appears due to accessing -1 element of
      the pages array.
      Reported-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      9fa8af91
    • Marek Szyprowski's avatar
      ARM: dma-mapping: add more sanity checks in arm_dma_mmap() · 50262a4b
      Marek Szyprowski authored
      Add some sanity checks and forbid mmaping of buffers into vma areas larger
      than allocated dma buffer.
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      50262a4b
    • Marek Szyprowski's avatar
      ARM: dma-mapping: remove custom consistent dma region · e9da6e99
      Marek Szyprowski authored
      This patch changes dma-mapping subsystem to use generic vmalloc areas
      for all consistent dma allocations. This increases the total size limit
      of the consistent allocations and removes platform hacks and a lot of
      duplicated code.
      
      Atomic allocations are served from special pool preallocated on boot,
      because vmalloc areas cannot be reliably created in atomic context.
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Reviewed-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      Reviewed-by: default avatarMinchan Kim <minchan@kernel.org>
      e9da6e99
    • Marek Szyprowski's avatar
      mm: vmalloc: use const void * for caller argument · 5e6cafc8
      Marek Szyprowski authored
      'const void *' is a safer type for caller function type. This patch
      updates all references to caller function type.
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Reviewed-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      Reviewed-by: default avatarMinchan Kim <minchan@kernel.org>
      5e6cafc8
    • Tomasz Stanislawski's avatar
      scatterlist: add sg_alloc_table_from_pages function · efc42bc9
      Tomasz Stanislawski authored
      This patch adds a new constructor for an sg table. The table is constructed
      from an array of struct pages. All contiguous chunks of the pages are merged
      into a single sg nodes. A user may provide an offset and a size of a buffer if
      the buffer is not page-aligned.
      
      The function is dedicated for DMABUF exporters which often perform conversion
      from an page array to a scatterlist. Moreover the scatterlist should be
      squashed in order to save memory and to speed-up the process of DMA mapping
      using dma_map_sg.
      
      The code is based on the patch 'v4l: vb2-dma-contig: add support for
      scatterlist in userptr mode' and hints from Laurent Pinchart.
      Signed-off-by: default avatarTomasz Stanislawski <t.stanislaws@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      CC: Andrew Morton <akpm@linux-foundation.org>
      efc42bc9