1. 30 Mar, 2012 35 commits
    • Linus Torvalds's avatar
      Merge git://git.samba.org/sfrench/cifs-2.6 · 10f3cb41
      Linus Torvalds authored
      Pull cifs fixes from Steve French.
      
      * git://git.samba.org/sfrench/cifs-2.6:
        [CIFS] Update CIFS version number to 1.77
        CIFS: Add missed forcemand mount option
        [CIFS] Fix trivial sparse warning with asyn i/o patch
        cifs: handle "sloppy" option appropriately
        cifs: use standard token parser for mount options
        cifs: remove /proc/fs/cifs/OplockEnabled
        cifs: convert cifs_iovec_write to use async writes
        cifs: call cifs_update_eof with i_lock held
        cifs: abstract out function to marshal up the iovec array for async writes
        cifs: fix up get_numpages
        cifs: make cifsFileInfo_get return the cifsFileInfo pointer
        cifs: fix allocation in cifs_write_allocate_pages
        cifs: allow caller to specify completion op when allocating writedata
        cifs: add pid field to cifs_writedata
        cifs: add new cifsiod_wq workqueue
        CIFS: Change mid_q_entry structure fields
        CIFS: Expand CurrentMid field
        CIFS: Separate protocol-specific code from cifs_readv_receive code
        CIFS: Separate protocol-specific code from demultiplex code
        CIFS: Separate protocol-specific code from transport routines
      10f3cb41
    • Linus Torvalds's avatar
      Merge tag 'for-v3.4-rc1' of git://git.infradead.org/battery-2.6 · 919c8401
      Linus Torvalds authored
      Pull battery updates from Anton Vorontsov:
       "Various small bugfixes and enhancements, plus two new drivers:
         - A quite complex ab8500 charger driver, submitted by Arun Murthy @
           ST-Ericsson;
         - Summit Microelectronics SMB347 Battery Charger, submitted by Bruce
           E Robertson and Alan Cox @ Intel.
      
        And that's all."
      
      * tag 'for-v3.4-rc1' of git://git.infradead.org/battery-2.6: (36 commits)
        max17042_battery: Clean up interrupt handling
        Revert "max8998_charger: Include linux/module.h just once"
        ab8500_fg: Fix some build warnings on x86_64
        max17042_battery: Fix CHARGE_FULL representation.
        max8998_charger: Include linux/module.h just once
        power_supply: Convert i2c drivers to module_i2c_driver
        lp8727_charger: Add MODULE_DEVICE_TABLE
        charger-manager: Simplify charger_get_property(), get rid of a warning
        charger-manager: Clean up for better readability
        da9052-battery: Convert to use module_platform_driver
        da9052-battery: Fix a memory leak when unload the module
        da9052-battery: Add missing platform_set_drvdata
        ab8500: Turn unneeded global symbols into local ones
        ab8500_fg: Fix copy-paste error
        ab8500_fg: Get rid of 'struct battery_type'
        ab8500_fg: Get rid of 'struct v_to_cap'
        ab8500_btemp: Get rid of 'enum adc_therm'
        ab8500_charger: Convert to the new USB OTG calls
        ab8500-btemp: AB8500 battery temperature driver
        ab8500-fg: A8500 fuel gauge driver
        ...
      919c8401
    • Linus Torvalds's avatar
      Merge branch 'dunlap' (Randy's Documentation patches) · a9d38a4f
      Linus Torvalds authored
      Merge Documentation fixes from Randy Dunlap.
      
      Fixed up several small annoyances (bad changelogs and corrupted utf8
      names), I need to try to convince people to do things right.
      
      * emailed from Randy Dunlap <rdunlap@xenotime.net>:
        Documentation: fix typo in ABI/stable/sysfs-driver-usb-usbtmc
        Documentation: replace install commands with softdeps
        Documentation: remove references to /etc/modprobe.conf
        Documentation: input.txt: clarify mousedev 'cat' command syntax
        Documentation: CodingStyle: add inline assembly guidelines
        Documentation: sysrq: Crutcher Dunnavant is unavailable
        Documentation: mention scripts/diffconfig tool
        Documentation: remove 'mach' from dontdiff file
      a9d38a4f
    • Rafal Kapela's avatar
      Documentation: fix typo in ABI/stable/sysfs-driver-usb-usbtmc · c4801382
      Rafal Kapela authored
      Fix "the the" in ABI/stable/sysfs-driver-usb-usbtmc
      Signed-off-by: default avatarRafal Kapela <raf.kapela@gmail.com>
      Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
      Cc: Greg KH <gregkh@linuxfoundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      c4801382
    • Lucas De Marchi's avatar
      Documentation: replace install commands with softdeps · 78286cdf
      Lucas De Marchi authored
      Install commands should not be used to specify soft dependencies among
      modules. When loading modules it's much better to have a softdep that
      modprobe knows what's being done than having to fork/exec another
      instance of modprobe to load the other module.
      
      By using a softdep user has also an option to remove the dependencies
      when removing the module (and if its refcount dropped to 0)
      Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@profusion.mobi>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      78286cdf
    • Lucas De Marchi's avatar
      Documentation: remove references to /etc/modprobe.conf · 970e2486
      Lucas De Marchi authored
      Usage of /etc/modprobe.conf file was deprecated by module-init-tools and
      is no longer parsed by new kmod tool. References to this file are
      replaced in Documentation, comments and Kconfig according to the
      context.
      
      There are also some references to the old /etc/modules.conf from 2.4
      kernels that are being removed.
      Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@profusion.mobi>
      Acked-by: default avatarTakashi Iwai <tiwai@suse.de>
      Acked-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      970e2486
    • Randy Dunlap's avatar
      Documentation: input.txt: clarify mousedev 'cat' command syntax · 09601523
      Randy Dunlap authored
      Clarify that the 'cat' command does not include the (c, 13, 32)
      after it.
      Reported-by: default avatarDan Jidanni Jacobson <jidanni@jidanni.org>
      Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      09601523
    • Josh Triplett's avatar
    • Randy Dunlap's avatar
    • Javi Merino's avatar
      Documentation: mention scripts/diffconfig tool · 673d29f9
      Javi Merino authored
      The kconfig documentation suggests using plain 'diff' to compare config
      files and then adds "Yes, we need something better here".  Commit
      a717417e ("kconfig: add diffconfig utility") added what that comment
      was looking for.
      Signed-off-by: default avatarJavi Merino <javi.merino@arm.com>
      Cc: Michal Marek <mmarek@suse.cz>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      673d29f9
    • H Hartley Sweeten's avatar
      Documentation: remove 'mach' from dontdiff file · f52a7593
      H Hartley Sweeten authored
      The mach entry in the dontdiff file causes all the
      arch/arm/mach-*/include/mach directories to be skipped.
      Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
      Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      f52a7593
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs · 9613bebb
      Linus Torvalds authored
      Pull btrfs fixes and features from Chris Mason:
       "We've merged in the error handling patches from SuSE.  These are
        already shipping in the sles kernel, and they give btrfs the ability
        to abort transactions and go readonly on errors.  It involves a lot of
        churn as they clarify BUG_ONs, and remove the ones we now properly
        deal with.
      
        Josef reworked the way our metadata interacts with the page cache.
        page->private now points to the btrfs extent_buffer object, which
        makes everything faster.  He changed it so we write an whole extent
        buffer at a time instead of allowing individual pages to go down,,
        which will be important for the raid5/6 code (for the 3.5 merge
        window ;)
      
        Josef also made us more aggressive about dropping pages for metadata
        blocks that were freed due to COW.  Overall, our metadata caching is
        much faster now.
      
        We've integrated my patch for metadata bigger than the page size.
        This allows metadata blocks up to 64KB in size.  In practice 16K and
        32K seem to work best.  For workloads with lots of metadata, this cuts
        down the size of the extent allocation tree dramatically and fragments
        much less.
      
        Scrub was updated to support the larger block sizes, which ended up
        being a fairly large change (thanks Stefan Behrens).
      
        We also have an assortment of fixes and updates, especially to the
        balancing code (Ilya Dryomov), the back ref walker (Jan Schmidt) and
        the defragging code (Liu Bo)."
      
      Fixed up trivial conflicts in fs/btrfs/scrub.c that were just due to
      removal of the second argument to k[un]map_atomic() in commit
      7ac687d9.
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs: (75 commits)
        Btrfs: update the checks for mixed block groups with big metadata blocks
        Btrfs: update to the right index of defragment
        Btrfs: do not bother to defrag an extent if it is a big real extent
        Btrfs: add a check to decide if we should defrag the range
        Btrfs: fix recursive defragment with autodefrag option
        Btrfs: fix the mismatch of page->mapping
        Btrfs: fix race between direct io and autodefrag
        Btrfs: fix deadlock during allocating chunks
        Btrfs: show useful info in space reservation tracepoint
        Btrfs: don't use crc items bigger than 4KB
        Btrfs: flush out and clean up any block device pages during mount
        btrfs: disallow unequal data/metadata blocksize for mixed block groups
        Btrfs: enhance superblock sanity checks
        Btrfs: change scrub to support big blocks
        Btrfs: minor cleanup in scrub
        Btrfs: introduce common define for max number of mirrors
        Btrfs: fix infinite loop in btrfs_shrink_device()
        Btrfs: fix memory leak in resolver code
        Btrfs: allow dup for data chunks in mixed mode
        Btrfs: validate target profiles only if we are going to use them
        ...
      9613bebb
    • David Howells's avatar
      ia64: Fixup asm/cmpxchg.h · 40380f1c
      David Howells authored
      The empty asm/cmpxchg.h file that was provided as a temporary build fix
      for the asm/system.h disintgration build problem should really include
      <asm/intrinsics.h> to make definitions of xchg() and cmpxchg()
      available.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      40380f1c
    • Linus Torvalds's avatar
      Merge tag 'sound-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 48a46752
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "A collection of small fixes for 3.4-rc1, including
         - mic-recording regression fix for Realtek codec
         - clean-up of dmaengine parameter mess
         - WM8894 calibration tweak
         - minor fixes for asihpi and some bool module parms"
      
      * tag 'sound-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: fix isa/opti9xx module param type
        sound: fix oss/msnd_pinnacle module param type
        ALSA: asihpi - fix return type of hpios_locked_mem_alloc()
        ASoC: dmaengine_pcm: use dmaengine cyclic wrapper
        ASoC: Add extra parameter to device_prep_dma_cyclic
        ALSA: hda/realtek - Fix ADC assignment with a shared HP/Mic pin
        ASoC: wm8994: Update WM8994 DCS calibration
      48a46752
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · 59f2fe32
      Linus Torvalds authored
      Pull s390 build fixes from Martin Schwidefsky.
      
      More small fixes for the system.h disintegration.
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        [S390] Fix build errors (fallout from system.h disintegration)
      59f2fe32
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc · 307cc790
      Linus Torvalds authored
      Pull minor Sparc fixes from David Miller:
       "This just fixes build fallout due to recent changes that went int your
        tree."
      
      Sam Ravnborg says that sparc32 still needs some more tender loving.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
        sparc: Fix even more fallout from system.h split.
        sparc: fix fallout from system.h split
      307cc790
    • Heiko Carstens's avatar
    • Linus Torvalds's avatar
      Merge tag 'sh-for-linus' of git://github.com/pmundt/linux-sh · f52b69f8
      Linus Torvalds authored
      Pull SuperH updates from Paul Mundt.
      
      * tag 'sh-for-linus' of git://github.com/pmundt/linux-sh: (25 commits)
        sh: Support I/O space swapping where needed.
        sh: use set_current_blocked() and block_sigmask()
        sh: no need to reset handler if SA_ONESHOT
        sh: intc: Fix up section mismatch for intc_ack_data
        sh: select ARCH_DISCARD_MEMBLOCK.
        sh: Consolidate duplicate _32/_64 unistd definitions.
        sh: ecovec: switch SDHI controllers to card polling
        sh: Avoid exporting unimplemented syscalls.
        sh: add platform_device for RSPI in setup-sh7757
        SH: pci-sh7780: enable big-endian operation.
        serial: sh-sci: fix a race of DMA submit_tx on transfer
        sh: dma: Collect up CHCR of SH7763, SH7764, SH7780 and SH7785
        sh: dma: Collect up CHCR of SH7723 and SH7730
        sh/next: Fix build fail by asm/system.h in asm/bitops.h
        arch/sh/drivers/dma/{dma-g2,dmabrg}.c: ensure arguments to request_irq and free_irq are compatible
        sh: cpufreq: Wire up scaling_available_freqs support.
        sh: cpufreq: notify about rate rounding fallback.
        sh: cpufreq: Support CPU clock frequency table.
        sh: cpufreq: struct device lookup from CPU topology.
        sh: cpufreq: percpu struct clk accounting.
        ...
      f52b69f8
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · 2f7fa1be
      Linus Torvalds authored
      Pull 2nd round of input updates from Dmitry Torokhov:
       - update to Wacom driver to support wireless devices
       - update to Sentelci touchpad driver to support newer hardware
       - update to gpio-keys driver to support "interrupt-only" keys
       - fixups to earlier commits
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: wacom - check for allocation failure in probe()
        Input: tegra-kbc - allocate pdata before using it
        Input: amijoy - add missing platform check
        Input: wacom - wireless battery status
        Input: wacom - create inputs when wireless connect
        Input: wacom - wireless monitor framework
        Input: wacom - isolate input registration
        Input: sentelic - improve packet debugging information
        Input: sentelic - minor code cleanup
        Input: sentelic - enabling absolute coordinates output for newer hardware
        Input: sentelic - refactor code for upcoming new hardware support
        Input: gpio_keys - add support for interrupt only keys
        Input: gpio_keys - consolidate key destructor code
        Input: revert "gpio_keys - switch to using threaded IRQs"
        Input: gpio_keys - constify platform data
        Input: spear-keyboard - remove kbd_set_plat_data()
      2f7fa1be
    • Dan Carpenter's avatar
      Input: wacom - check for allocation failure in probe() · f1823940
      Dan Carpenter authored
      We accidentally removed the check for NULL in 3aac0ef1 "Input: wacom -
      isolate input registration".
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Reviewed-by: default avatarChris Bagwell <chris@cnpbagwell.com>
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      f1823940
    • David S. Miller's avatar
      sparc: Fix even more fallout from system.h split. · 8befc9f2
      David S. Miller authored
      jump_label.c needs asm/cacheflush.h to get flushi().
      kgdb_64.c needs asm/cacheflush.h to get flushw_all().
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8befc9f2
    • Stephen Rothwell's avatar
      sparc: fix fallout from system.h split · 7f55ba9c
      Stephen Rothwell authored
      Fixes this build error:
      
      kernel/signal.c: In function 'ptrace_stop':
      kernel/signal.c:1860:3: error: implicit declaration of function 'synchronize_user_stack' [-Werror=implicit-function-declaration]
      Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7f55ba9c
    • Linus Torvalds's avatar
      Merge branch 'for-3.4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup · 13386314
      Linus Torvalds authored
      Pull urgent cgroup fix from Tejun Heo:
       "Commit 61d1d219 ('cgroup: remove extra calls to
        find_existing_css_set') which was part of the rc1 cgroup pull request
        made writes to the cgroup "tasks" file return an uninitialized retval
        on success which can cause boot failures with systemd.
      
        The change stayed in linux-next for quite some time but gcc
        interestingly failed to emit warning about using uninitialized
        variable and the problem seems to materialize only for certain build
        combinations (probably depends on register allocation).
      
        It's just missing local variable initialization and the fix is trivial
        & safe.  As the problem is critical when it materializes, I'm
        fast-tracking it.  Also included is Li's email address change in
        MAINTAINERS."
      
      * 'for-3.4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
        cgroup: cgroup_attach_task() could return -errno after success
        cgroup: update MAINTAINERS entry
      13386314
    • Tejun Heo's avatar
      cgroup: cgroup_attach_task() could return -errno after success · 8f121918
      Tejun Heo authored
      61d1d219 "cgroup: remove extra calls to find_existing_css_set" made
      cgroup_task_migrate() return void.  An unfortunate side effect was
      that cgroup_attach_task() was depending on that function's return
      value to clear its @retval on the success path.  On cgroup mounts
      without any subsystem with ->can_attach() callback,
      cgroup_attach_task() ended up returning @retval without initializing
      it on success.
      
      For some reason, gcc failed to warn about it and it didn't cause
      cgroup_attach_task() to return non-zero value in many cases, probably
      due to difference in register allocation.  When the problem
      materializes, systemd fails to populate /systemd cgroup mount and
      fails to boot.
      
      Fix it by initializing @retval to zero on declaration.
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      Reported-by: default avatarJiri Kosina <jkosina@suse.cz>
      LKML-Reference: <alpine.LNX.2.00.1203282354440.25526@pobox.suse.cz>
      Reviewed-by: default avatarMandeep Singh Baines <msb@chromium.org>
      Acked-by: default avatarLi Zefan <lizefan@huawei.com>
      8f121918
    • Linus Torvalds's avatar
      Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 4bde23f8
      Linus Torvalds authored
      Pull arm-soc fixes from Olof Johansson:
       "This is a first pass of some of the merge window fallout for ARM
        platforms.
      
        Nothing controversial:
         - A system.h fallout fix for OMAP
         - PXA fixes for breakage caused by the regulator struct changes
         - GPIO fixes for OMAP to properly deal with dynamic IRQ allocation
         - A mismerge in our arm-soc tree of an lpc32xx change for networking
         - A fix for USB setup on tegra
         - An undo of __init annotation of display mux setup on OMAP that's
           needed at runtime"
      
      * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: pxa: fix build issue on stargate2
        ARM: pxa: fix build issue on cm-x300
        ARM: pxa: fix build failure for regulator consumer in em-x270.c
        ARM: LPC32xx: clock.c: Fix lpc-eth clock reference
        ARM: OMAP: pm: fix compilation break
        ARM: OMAP: Remove OMAP_GPIO_IRQ macro definition
        drivers: input: Fix OMAP_GPIO_IRQ with gpio_to_irq() in ams_delta_serio_exit()
        ARM: OMAP: boards: Fix OMAP_GPIO_IRQ usage with gpio_to_irq()
        ARM: pxa: fix regulator related build fail in magician_defconfig
        ARM: tegra: Fix device tree AUXDATA for USB/EHCI
        ARM: OMAP2+: Remove __init from DSI mux functions
      4bde23f8
    • Olof Johansson's avatar
      Merge branch 'fixes' of git://github.com/hzhuang1/linux into fixes · f00e9b11
      Olof Johansson authored
      * 'fixes' of git://github.com/hzhuang1/linux:
        ARM: pxa: fix build issue on stargate2
        ARM: pxa: fix build issue on cm-x300
        ARM: pxa: fix build failure for regulator consumer in em-x270.c
        ARM: pxa: fix regulator related build fail in magician_defconfig
      f00e9b11
    • Linus Torvalds's avatar
      Merge tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux-2.6 · e152c38a
      Linus Torvalds authored
      Pull devicetree documentation update from Grant Likely.
      
      * tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux-2.6:
        dt: Linux DT usage model documentation
        mtd: Move fdt partition documentation to a seperate file
      e152c38a
    • Linus Torvalds's avatar
      Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · eb05df9e
      Linus Torvalds authored
      Pull x86 cleanups from Peter Anvin:
       "The biggest textual change is the cleanup to use symbolic constants
        for x86 trap values.
      
        The only *functional* change and the reason for the x86/x32 dependency
        is the move of is_ia32_task() into <asm/thread_info.h> so that it can
        be used in other code that needs to understand if a system call comes
        from the compat entry point (and therefore uses i386 system call
        numbers) or not.  One intended user for that is the BPF system call
        filter.  Moving it out of <asm/compat.h> means we can define it
        unconditionally, returning always true on i386."
      
      * 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86: Move is_ia32_task to asm/thread_info.h from asm/compat.h
        x86: Rename trap_no to trap_nr in thread_struct
        x86: Use enum instead of literals for trap values
      eb05df9e
    • Grant Likely's avatar
      dt: Linux DT usage model documentation · 31134efc
      Grant Likely authored
      v2: 2nd draft
       - Editorial cleanups (Randy Dunlap and Stephen Warren)
       - Added missing Microblaze reference (Stephen Neuendorffer)
       - Make example of platform_device creation clearer (Shawn Guo)
       - Expand on PowerPC history and mention i2c mess (David Gibson)
       - convert to plain text (remove bits of html formating)
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      31134efc
    • Linus Torvalds's avatar
      Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · a591afc0
      Linus Torvalds authored
      Pull x32 support for x86-64 from Ingo Molnar:
       "This tree introduces the X32 binary format and execution mode for x86:
        32-bit data space binaries using 64-bit instructions and 64-bit kernel
        syscalls.
      
        This allows applications whose working set fits into a 32 bits address
        space to make use of 64-bit instructions while using a 32-bit address
        space with shorter pointers, more compressed data structures, etc."
      
      Fix up trivial context conflicts in arch/x86/{Kconfig,vdso/vma.c}
      
      * 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (71 commits)
        x32: Fix alignment fail in struct compat_siginfo
        x32: Fix stupid ia32/x32 inversion in the siginfo format
        x32: Add ptrace for x32
        x32: Switch to a 64-bit clock_t
        x32: Provide separate is_ia32_task() and is_x32_task() predicates
        x86, mtrr: Use explicit sizing and padding for the 64-bit ioctls
        x86/x32: Fix the binutils auto-detect
        x32: Warn and disable rather than error if binutils too old
        x32: Only clear TIF_X32 flag once
        x32: Make sure TS_COMPAT is cleared for x32 tasks
        fs: Remove missed ->fds_bits from cessation use of fd_set structs internally
        fs: Fix close_on_exec pointer in alloc_fdtable
        x32: Drop non-__vdso weak symbols from the x32 VDSO
        x32: Fix coding style violations in the x32 VDSO code
        x32: Add x32 VDSO support
        x32: Allow x32 to be configured
        x32: If configured, add x32 system calls to system call tables
        x32: Handle process creation
        x32: Signal-related system calls
        x86: Add #ifdef CONFIG_COMPAT to <asm/sys_ia32.h>
        ...
      a591afc0
    • Haojian Zhuang's avatar
      ARM: pxa: fix build issue on stargate2 · 5616131d
      Haojian Zhuang authored
      arch/arm/mach-pxa/stargate2.c:155:3: error: unknown field ‘dev’
      specified in initializer
      arch/arm/mach-pxa/stargate2.c:155:3: warning: initialization from
      incompatible pointer type [enabled by default]
      arch/arm/mach-pxa/stargate2.c:155:3: warning: (near initialization for
      ‘stargate2_sensor_3_con[0].dev_name’) [enabled by default]
      make[1]: *** [arch/arm/mach-pxa/stargate2.o] Error 1
      make: *** [arch/arm/mach-pxa] Error 2
      
      It's caused by 'dev' field removed from struct
      regulator_consumer_supply.
      Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@gmail.com>
      5616131d
    • Haojian Zhuang's avatar
      ARM: pxa: fix build issue on cm-x300 · e9478587
      Haojian Zhuang authored
      arch/arm/mach-pxa/cm-x300.c:716:3: error: unknown field ‘dev’ specified
      in initializer
      make[1]: *** [arch/arm/mach-pxa/cm-x300.o] Error 1
      make: *** [arch/arm/mach-pxa] Error 2
      
      It's caused by 'dev' field removed from struct
      regulator_consumer_supply.
      Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@gmail.com>
      e9478587
    • Linus Torvalds's avatar
      Merge tag 'cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 820d41cf
      Linus Torvalds authored
      Pull "ARM: cleanups of io includes" from Olof Johansson:
       "Rob Herring has done a sweeping change cleaning up all of the
        mach/io.h includes, moving some of the oft-repeated macros to a common
        location and removing a bunch of boiler plate.  This is another step
        closer to a common zImage for multiple platforms."
      
      Fix up various fairly trivial conflicts (<mach/io.h> removal vs changes
      around it, tegra localtimer.o is *still* gone, yadda-yadda).
      
      * tag 'cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (29 commits)
        ARM: tegra: Include assembler.h in sleep.S to fix build break
        ARM: pxa: use common IOMEM definition
        ARM: dma-mapping: convert ARCH_HAS_DMA_SET_COHERENT_MASK to kconfig symbol
        ARM: __io abuse cleanup
        ARM: create a common IOMEM definition
        ARM: iop13xx: fix missing declaration of iop13xx_init_early
        ARM: fix ioremap/iounmap for !CONFIG_MMU
        ARM: kill off __mem_pci
        ARM: remove bunch of now unused mach/io.h files
        ARM: make mach/io.h include optional
        ARM: clps711x: remove unneeded include of mach/io.h
        ARM: dove: add explicit include of dove.h to addr-map.c
        ARM: at91: add explicit include of hardware.h to uncompressor
        ARM: ep93xx: clean-up mach/io.h
        ARM: tegra: clean-up mach/io.h
        ARM: orion5x: clean-up mach/io.h
        ARM: davinci: remove unneeded mach/io.h include
        [media] davinci: remove includes of mach/io.h
        ARM: OMAP: Remove remaining includes for mach/io.h
        ARM: msm: clean-up mach/io.h
        ...
      820d41cf
    • Paul Gortmaker's avatar
      ARM: pxa: fix build failure for regulator consumer in em-x270.c · 804d2312
      Paul Gortmaker authored
      Commit 737f360d
      
      "regulator: Remove support for supplies specified by struct device"
      
      caused this file to break, since it was still relying on the
      device field to be present.  Map it onto dev_name appropriately
      
      Since there are two consumers with the name "reg-userspace-consumer",
      we have to supply the ID as a suffix in the REGULATOR_CONSUMER calls.
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      CC: Mark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@gmail.com>
      804d2312
    • Linus Torvalds's avatar
      Revert "ext4: don't release page refs in ext4_end_bio()" · 6268b325
      Linus Torvalds authored
      This reverts commit b43d17f3.
      
      Dave Jones reports that it causes lockups on his laptop, and his debug
      output showed a lot of processes hung waiting for page_writeback (or
      more commonly - processes hung waiting for a lock that was held during
      that writeback wait).
      
      The page_writeback hint made Ted suggest that Dave look at this commit,
      and Dave verified that reverting it makes his problems go away.
      
      Ted says:
       "That commit fixes a race which is seen when you write into fallocated
        (and hence uninitialized) disk blocks under *very* heavy memory
        pressure.  Furthermore, although theoretically it could trigger under
        normal direct I/O writes, it only seems to trigger if you are issuing
        a huge number of AIO writes, such that a just-written page can get
        evicted from memory, and then read back into memory, before the
        workqueue has a chance to update the extent tree.
      
        This race has been around for a little over a year, and no one noticed
        until two months ago; it only happens under fairly exotic conditions,
        and in fact even after trying very hard to create a simple repro under
        lab conditions, we could only reproduce the problem and confirm the
        fix on production servers running MySQL on very fast PCIe-attached
        flash devices.
      
        Given that Dave was able to hit this problem pretty quickly, if we
        confirm that this commit is at fault, the only reasonable thing to do
        is to revert it IMO."
      Reported-and-tested-by: default avatarDave Jones <davej@redhat.com>
      Acked-by: default avatarTheodore Ts'o <tytso@mit.edu>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6268b325
  2. 29 Mar, 2012 5 commits
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm · 12679a2d
      Linus Torvalds authored
      Pull more ARM updates from Russell King.
      
      This got a fair number of conflicts with the <asm/system.h> split, but
      also with some other sparse-irq and header file include cleanups.  They
      all looked pretty trivial, though.
      
      * 'for-linus' of git://git.linaro.org/people/rmk/linux-arm: (59 commits)
        ARM: fix Kconfig warning for HAVE_BPF_JIT
        ARM: 7361/1: provide XIP_VIRT_ADDR for no-MMU builds
        ARM: 7349/1: integrator: convert to sparse irqs
        ARM: 7259/3: net: JIT compiler for packet filters
        ARM: 7334/1: add jump label support
        ARM: 7333/2: jump label: detect %c support for ARM
        ARM: 7338/1: add support for early console output via semihosting
        ARM: use set_current_blocked() and block_sigmask()
        ARM: exec: remove redundant set_fs(USER_DS)
        ARM: 7332/1: extract out code patch function from kprobes
        ARM: 7331/1: extract out insn generation code from ftrace
        ARM: 7330/1: ftrace: use canonical Thumb-2 wide instruction format
        ARM: 7351/1: ftrace: remove useless memory checks
        ARM: 7316/1: kexec: EOI active and mask all interrupts in kexec crash path
        ARM: Versatile Express: add NO_IOPORT
        ARM: get rid of asm/irq.h in asm/prom.h
        ARM: 7319/1: Print debug info for SIGBUS in user faults
        ARM: 7318/1: gic: refactor irq_start assignment
        ARM: 7317/1: irq: avoid NULL check in for_each_irq_desc loop
        ARM: 7315/1: perf: add support for the Cortex-A7 PMU
        ...
      12679a2d
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/cpupowerutils · 1c036588
      Linus Torvalds authored
      Pull cpupower updates from Dominik Brodowski.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/brodo/cpupowerutils:
        cpupower tools: add install target to the debug tools' makefiles
        cpupower tools: allow to build debug tools in a separate directory too
        cpupower: Fix broken mask values
        cpupower tool: allow to build in a separate directory
        cpupower tool: makefile: simplify the recipe used to generate cpupower.pot target
        cpupower tool: remove use of undefined variables from the clean target of the top makefile
        cpupower: Fix linking with --as-needed
        cpupower: Remove unneeded code and by that fix a memleak
        cpupower: Fix number of idle states
        cpupower: Unify cpupower-frequency-* manpages
        cpupower: Add cpupower-idle-info manpage
        cpupower: AMD fam14h/Ontario monitor can also be used by fam12h cpus
        cpupower: Better interface for accessing AMD pci registers
      1c036588
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia · a6f707b6
      Linus Torvalds authored
      Pull a few PCMCIA updates from Dominik Brodowski.
      
      Fix up trivial conflict (modified code in question had been removed) in
      drivers/pcmcia/soc_common.c.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia:
        pcmcia at91_cf: fix raw gpio number usage
        ARM: pxa: fix error handling in pxa2xx_drv_pcmcia_probe
        pcmcia: Convert to DEFINE_PCI_DEVICE_TABLE
        pcmcia: convert drivers/pcmcia/* to use module_platform_driver()
        pcmcia: irq: Remove IRQF_DISABLED
      a6f707b6
    • Linus Torvalds's avatar
      Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma · ef08e782
      Linus Torvalds authored
      Pull slave-dmaengine update from Vinod Koul:
       "This includes the cookie cleanup by Russell, the addition of context
        parameter for dmaengine APIs, more arm dmaengine driver cleanup by
        moving code to dmaengine, this time for imx by Javier and pl330 by
        Boojin along with the usual driver fixes."
      
      Fix up some fairly trivial conflicts with various other cleanups.
      
      * 'next' of git://git.infradead.org/users/vkoul/slave-dma: (67 commits)
        dmaengine: imx: fix the build failure on x86_64
        dmaengine: i.MX: Fix merge of cookie branch.
        dmaengine: i.MX: Add support for interleaved transfers.
        dmaengine: imx-dma: use 'dev_dbg' and 'dev_warn' for messages.
        dmaengine: imx-dma: remove 'imx_dmav1_baseaddr' and 'dma_clk'.
        dmaengine: imx-dma: remove unused arg of imxdma_sg_next.
        dmaengine: imx-dma: remove internal structure.
        dmaengine: imx-dma: remove 'resbytes' field of 'internal' structure.
        dmaengine: imx-dma: remove 'in_use' field of 'internal' structure.
        dmaengine: imx-dma: remove sg member from internal structure.
        dmaengine: imx-dma: remove 'imxdma_setup_sg_hw' function.
        dmaengine: imx-dma: remove 'imxdma_config_channel_hw' function.
        dmaengine: imx-dma: remove 'imxdma_setup_mem2mem_hw' function.
        dmaengine: imx-dma: remove dma_mode member of internal structure.
        dmaengine: imx-dma: remove data member from internal structure.
        dmaengine: imx-dma: merge old dma-v1.c with imx-dma.c
        dmaengine: at_hdmac: add slave config operation
        dmaengine: add context parameter to prep_slave_sg and prep_dma_cyclic
        dmaengine/dma_slave: introduce inline wrappers
        dma: imx-sdma: Treat firmware messages as warnings instead of erros
        ...
      ef08e782
    • Linus Torvalds's avatar
      Merge branch 'for-3.4' of git://linux-nfs.org/~bfields/linux · 71db34fc
      Linus Torvalds authored
      Pull nfsd changes from Bruce Fields:
      
      Highlights:
       - Benny Halevy and Tigran Mkrtchyan implemented some more 4.1 features,
         moving us closer to a complete 4.1 implementation.
       - Bernd Schubert fixed a long-standing problem with readdir cookies on
         ext2/3/4.
       - Jeff Layton performed a long-overdue overhaul of the server reboot
         recovery code which will allow us to deprecate the current code (a
         rather unusual user of the vfs), and give us some needed flexibility
         for further improvements.
       - Like the client, we now support numeric uid's and gid's in the
         auth_sys case, allowing easier upgrades from NFSv2/v3 to v4.x.
      
      Plus miscellaneous bugfixes and cleanup.
      
      Thanks to everyone!
      
      There are also some delegation fixes waiting on vfs review that I
      suppose will have to wait for 3.5.  With that done I think we'll finally
      turn off the "EXPERIMENTAL" dependency for v4 (though that's mostly
      symbolic as it's been on by default in distro's for a while).
      
      And the list of 4.1 todo's should be achievable for 3.5 as well:
      
         http://wiki.linux-nfs.org/wiki/index.php/Server_4.0_and_4.1_issues
      
      though we may still want a bit more experience with it before turning it
      on by default.
      
      * 'for-3.4' of git://linux-nfs.org/~bfields/linux: (55 commits)
        nfsd: only register cld pipe notifier when CONFIG_NFSD_V4 is enabled
        nfsd4: use auth_unix unconditionally on backchannel
        nfsd: fix NULL pointer dereference in cld_pipe_downcall
        nfsd4: memory corruption in numeric_name_to_id()
        sunrpc: skip portmap calls on sessions backchannel
        nfsd4: allow numeric idmapping
        nfsd: don't allow legacy client tracker init for anything but init_net
        nfsd: add notifier to handle mount/unmount of rpc_pipefs sb
        nfsd: add the infrastructure to handle the cld upcall
        nfsd: add a header describing upcall to nfsdcld
        nfsd: add a per-net-namespace struct for nfsd
        sunrpc: create nfsd dir in rpc_pipefs
        nfsd: add nfsd4_client_tracking_ops struct and a way to set it
        nfsd: convert nfs4_client->cl_cb_flags to a generic flags field
        NFSD: Fix nfs4_verifier memory alignment
        NFSD: Fix warnings when NFSD_DEBUG is not defined
        nfsd: vfs_llseek() with 32 or 64 bit offsets (hashes)
        nfsd: rename 'int access' to 'int may_flags' in nfsd_open()
        ext4: return 32/64-bit dir name hash according to usage type
        fs: add new FMODE flags: FMODE_32bithash and FMODE_64bithash
        ...
      71db34fc