31 Mar, 2012

14 commits

  • Pull core locking updates from Thomas Gleixner.

    * 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    futex: Mark get_robust_list as deprecated
    futex: Do not leak robust list to unprivileged process

    Linus Torvalds
     
  • Pull MTD changes from David Woodhouse:
    - Artem's cleanup of the MTD API continues apace.
    - Fixes and improvements for ST FSMC and SuperH FLCTL NAND, amongst
    others.
    - More work on DiskOnChip G3, new driver for DiskOnChip G4.
    - Clean up debug/warning printks in JFFS2 to use pr_.

    Fix up various trivial conflicts, largely due to changes in calling
    conventions for things like dmaengine_prep_slave_sg() (new inline
    wrapper to hide new parameter, clashing with rewrite of previously last
    parameter that used to be an 'append' flag, and is now a bitmap of
    'unsigned long flags').

    (Also some header file fallout - like so many merges this merge window -
    and silly conflicts with sparse fixes)

    * tag 'for-linus-3.4' of git://git.infradead.org/mtd-2.6: (120 commits)
    mtd: docg3 add protection against concurrency
    mtd: docg3 refactor cascade floors structure
    mtd: docg3 increase write/erase timeout
    mtd: docg3 fix inbound calculations
    mtd: nand: gpmi: fix function annotations
    mtd: phram: fix section mismatch for phram_setup
    mtd: unify initialization of erase_info->fail_addr
    mtd: support ONFI multi lun NAND
    mtd: sm_ftl: fix typo in major number.
    mtd: add device-tree support to spear_smi
    mtd: spear_smi: Remove default partition information from driver
    mtd: Add device-tree support to fsmc_nand
    mtd: fix section mismatch for doc_probe_device
    mtd: nand/fsmc: Remove sparse warnings and errors
    mtd: nand/fsmc: Add DMA support
    mtd: nand/fsmc: Access the NAND device word by word whenever possible
    mtd: nand/fsmc: Use dev_err to report error scenario
    mtd: nand/fsmc: Use devm routines
    mtd: nand/fsmc: Modify fsmc driver to accept nand timing parameters via platform
    mtd: fsmc_nand: add pm callbacks to support hibernation
    ...

    Linus Torvalds
     
  • Pull ACPI & Power Management changes from Len Brown:
    - ACPI 5.0 after-ripples, ACPICA/Linux divergence cleanup
    - cpuidle evolving, more ARM use
    - thermal sub-system evolving, ditto
    - assorted other PM bits

    Fix up conflicts in various cpuidle implementations due to ARM cpuidle
    cleanups (ARM at91 self-refresh and cpu idle code rewritten into
    "standby" in asm conflicting with the consolidation of cpuidle time
    keeping), trivial SH include file context conflict and RCU tracing fixes
    in generic code.

    * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux: (77 commits)
    ACPI throttling: fix endian bug in acpi_read_throttling_status()
    Disable MCP limit exceeded messages from Intel IPS driver
    ACPI video: Don't start video device until its associated input device has been allocated
    ACPI video: Harden video bus adding.
    ACPI: Add support for exposing BGRT data
    ACPI: export acpi_kobj
    ACPI: Fix logic for removing mappings in 'acpi_unmap'
    CPER failed to handle generic error records with multiple sections
    ACPI: Clean redundant codes in scan.c
    ACPI: Fix unprotected smp_processor_id() in acpi_processor_cst_has_changed()
    ACPI: consistently use should_use_kmap()
    PNPACPI: Fix device ref leaking in acpi_pnp_match
    ACPI: Fix use-after-free in acpi_map_lsapic
    ACPI: processor_driver: add missing kfree
    ACPI, APEI: Fix incorrect APEI register bit width check and usage
    Update documentation for parameter *notrigger* in einj.txt
    ACPI, APEI, EINJ, new parameter to control trigger action
    ACPI, APEI, EINJ, limit the range of einj_param
    ACPI, APEI, Fix ERST header length check
    cpuidle: power_usage should be declared signed integer
    ...

    Linus Torvalds
     
  • 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
    ...

    Linus Torvalds
     
  • Fix "the the" in ABI/stable/sysfs-driver-usb-usbtmc

    Signed-off-by: Rafal Kapela
    Signed-off-by: Randy Dunlap
    Cc: Greg KH
    Signed-off-by: Linus Torvalds

    Rafal Kapela
     
  • 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: Lucas De Marchi
    Signed-off-by: Linus Torvalds

    Lucas De Marchi
     
  • 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: Lucas De Marchi
    Acked-by: Takashi Iwai
    Acked-by: Mauro Carvalho Chehab
    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Lucas De Marchi
     
  • Clarify that the 'cat' command does not include the (c, 13, 32)
    after it.

    Reported-by: Dan Jidanni Jacobson
    Signed-off-by: Randy Dunlap
    Cc: Dmitry Torokhov
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Signed-off-by: Josh Triplett
    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Josh Triplett
     
  • Reported-by: Křištof Želechovski
    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • The kconfig documentation suggests using plain 'diff' to compare config
    files and then adds "Yes, we need something better here". Commit
    a717417e7f96 ("kconfig: add diffconfig utility") added what that comment
    was looking for.

    Signed-off-by: Javi Merino
    Cc: Michal Marek
    Signed-off-by: Linus Torvalds

    Javi Merino
     
  • The mach entry in the dontdiff file causes all the
    arch/arm/mach-*/include/mach directories to be skipped.

    Signed-off-by: H Hartley Sweeten
    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    H Hartley Sweeten
     
  • Conflicts:
    drivers/acpi/apei/apei-base.c

    This was a conflict between

    15afae604651d4e17652d2ffb56f5e36f991cfef
    (CPI, APEI: Fix incorrect APEI register bit width check and usage)

    and

    653f4b538f66d37db560e0f56af08117136d29b7
    (ACPICA: Expand OSL memory read/write interfaces to 64 bits)

    The former changed a parameter in the call to acpi_os_read_memory64()
    and the later replaced all calls to acpi_os_read_memory64()
    with calls to acpi_os_read_memory().

    Signed-off-by: Len Brown

    Len Brown
     
  • … 'red-hat-bz-727865', 'thermal', 'throttling', 'turbostat' and 'video' into release

    Signed-off-by: Len Brown <len.brown@intel.com>

    Len Brown
     

30 Mar, 2012

8 commits

  • ACPI 5.0 adds the BGRT, a table that contains a pointer to the firmware
    boot splash and associated metadata. This simple driver exposes it via
    /sys/firmware/acpi in order to allow bootsplash applications to draw their
    splash around the firmware image and reduce the number of jarring graphical
    transitions during boot.

    Signed-off-by: Matthew Garrett
    Signed-off-by: Len Brown

    Matthew Garrett
     
  • Add description of parameter notrigger in the einj.txt.
    One can utilize this new parameter to do some SRAR injection
    test. Pay attention, the operation is highly depended on the
    BIOS implementation. If no proper BIOS supports it, even if
    enabling this parameter, expected result will not happen.

    v2:
    Update the documentation suggested by Tony

    Suggested-by: Tony Luck
    Signed-off-by: Chen Gong
    Signed-off-by: Len Brown

    Chen Gong
     
  • Some C states of new CPU might be not good. One reason is BIOS might
    configure them incorrectly. To help developers root cause it quickly, the
    patch adds a new sysfs entry, so developers could disable specific C state
    manually.

    In addition, C state might have much impact on performance tuning, as it
    takes much time to enter/exit C states, which might delay interrupt
    processing. With the new debug option, developers could check if a deep C
    state could impact performance and how much impact it could cause.

    Also add this option in Documentation/cpuidle/sysfs.txt.

    [akpm@linux-foundation.org: check kstrtol return value]
    Signed-off-by: ShuoX Liu
    Reviewed-by: Yanmin Zhang
    Reviewed-and-Tested-by: Deepthi Dharwar
    Signed-off-by: Andrew Morton
    Signed-off-by: Len Brown

    ShuoX Liu
     
  • 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

    Linus Torvalds
     
  • 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: Grant Likely

    Grant Likely
     
  • 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
    ...

    Linus Torvalds
     
  • 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
    ...

    Linus Torvalds
     
  • Pull x86 updates from Ingo Molnar.

    This touches some non-x86 files due to the sanitized INLINE_SPIN_UNLOCK
    config usage.

    Fixed up trivial conflicts due to just header include changes (removing
    headers due to cpu_idle() merge clashing with the split).

    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86/apic/amd: Be more verbose about LVT offset assignments
    x86, tls: Off by one limit check
    x86/ioapic: Add io_apic_ops driver layer to allow interception
    x86/olpc: Add debugfs interface for EC commands
    x86: Merge the x86_32 and x86_64 cpu_idle() functions
    x86/kconfig: Remove CONFIG_TR=y from the defconfigs
    x86: Stop recursive fault in print_context_stack after stack overflow
    x86/io_apic: Move and reenable irq only when CONFIG_GENERIC_PENDING_IRQ=y
    x86/apic: Add separate apic_id_valid() functions for selected apic drivers
    locking/kconfig: Simplify INLINE_SPIN_UNLOCK usage
    x86/kconfig: Update defconfigs
    x86: Fix excessive MSR print out when show_msr is not specified

    Linus Torvalds
     

29 Mar, 2012

18 commits

  • Notify get_robust_list users that the syscall is going away.

    Suggested-by: Thomas Gleixner
    Signed-off-by: Kees Cook
    Cc: Randy Dunlap
    Cc: Darren Hart
    Cc: Peter Zijlstra
    Cc: Jiri Kosina
    Cc: Eric W. Biederman
    Cc: David Howells
    Cc: Serge E. Hallyn
    Cc: kernel-hardening@lists.openwall.com
    Cc: spender@grsecurity.net
    Link: http://lkml.kernel.org/r/20120323190855.GA27213@www.outflux.net
    Signed-off-by: Thomas Gleixner

    Kees Cook
     
  • Pull MMC updates from Chris Ball:

    Core:
    * Support for MMC 4.5 Data Tag feature -- we tag REQ_META, so devices
    that support Data Tag will provide increased throughput for metadata.
    * Faster detection of card removal on I/O errors.

    Drivers:
    * dw_mmc now supports eMMC Power Off Notify, has PCI support, and
    implements pre_req and post_req for asynchronous requests.
    * omap_hsmmc now supports device tree.
    * esdhc now has power management support.
    * sdhci-tegra now supports Tegra30 devices.
    * sdhci-spear now supports hibernation.
    * tmio_mmc now supports using a GPIO for card detection.
    * Intel PCH now supports 8-bit bus transfers.

    * tag 'mmc-merge-for-3.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (53 commits)
    mmc: sh_mmcif: simplify bitmask macros
    mmc: sh_mobile_sdhi: support modular mmc-core with non-standard hotplug
    mmc: sh_mobile_sdhi: add a callback for board specific init code
    mmc: tmio: cosmetic: prettify the tmio_mmc_set_ios() function
    mmc: sh_mobile_sdhi: do not manage PM clocks manually
    mmc: tmio_mmc: remove unused sdio_irq_enabled flag
    mmc: tmio_mmc: power status flag doesn't have to be exposed in platform data
    mmc: sh_mobile_sdhi: pass card hotplug GPIO number to TMIO MMC
    mmc: tmio_mmc: support the generic MMC GPIO card hotplug helper
    mmc: tmio: calculate the native hotplug condition only once
    mmc: simplify mmc_cd_gpio_request() by removing two parameters
    mmc: sdhci-pci: allow 8-bit bus width for Intel PCH
    mmc: sdhci: check interrupt flags in ISR again
    mmc: sdhci-pci: Add MSI support
    mmc: core: warn when card doesn't support HPI
    mmc: davinci: Poll status for small size transfers
    mmc: davinci: Eliminate spurious interrupts
    mmc: omap_hsmmc: Avoid a regulator voltage change with dt
    mmc: omap_hsmmc: Convert hsmmc driver to use device tree
    mmc: sdhci-pci: add SDHCI_QUIRK2_HOST_OFF_CARD_ON for Medfield SDIO
    ...

    Linus Torvalds
     
  • Merge third batch of patches from Andrew Morton:
    - Some MM stragglers
    - core SMP library cleanups (on_each_cpu_mask)
    - Some IPI optimisations
    - kexec
    - kdump
    - IPMI
    - the radix-tree iterator work
    - various other misc bits.

    "That'll do for -rc1. I still have ~10 patches for 3.4, will send
    those along when they've baked a little more."

    * emailed from Andrew Morton : (35 commits)
    backlight: fix typo in tosa_lcd.c
    crc32: add help text for the algorithm select option
    mm: move hugepage test examples to tools/testing/selftests/vm
    mm: move slabinfo.c to tools/vm
    mm: move page-types.c from Documentation to tools/vm
    selftests/Makefile: make `run_tests' depend on `all'
    selftests: launch individual selftests from the main Makefile
    radix-tree: use iterators in find_get_pages* functions
    radix-tree: rewrite gang lookup using iterator
    radix-tree: introduce bit-optimized iterator
    fs/proc/namespaces.c: prevent crash when ns_entries[] is empty
    nbd: rename the nbd_device variable from lo to nbd
    pidns: add reboot_pid_ns() to handle the reboot syscall
    sysctl: use bitmap library functions
    ipmi: use locks on watchdog timeout set on reboot
    ipmi: simplify locking
    ipmi: fix message handling during panics
    ipmi: use a tasklet for handling received messages
    ipmi: increase KCS timeouts
    ipmi: decrease the IPMI message transaction time in interrupt mode
    ...

    Linus Torvalds
     
  • hugepage-mmap.c, hugepage-shm.c and map_hugetlb.c in Documentation/vm are
    simple pass/fail tests, It's better to promote them to
    tools/testing/selftests.

    Thanks suggestion of Andrew Morton about this. They all need firstly
    setting up proper nr_hugepages and hugepage-mmap need to mount hugetlbfs.
    So I add a shell script run_vmtests to do such work which will call the
    three test programs and check the return value of them.

    Changes to original code including below:
    a. add run_vmtests script
    b. return error when read_bytes mismatch with writed bytes.
    c. coding style fixes: do not use assignment in if condition

    [akpm@linux-foundation.org: build the targets before trying to execute them]
    [akpm@linux-foundation.org: Documentation/vm/ no longer has a Makefile. Fixes "make clean"]
    Signed-off-by: Dave Young
    Cc: Wu Fengguang
    Cc: Christoph Lameter
    Cc: Pekka Enberg
    Cc: Frederic Weisbecker
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Dave Young
     
  • tools/ is the better place for vm tools which are used by many people.
    Moving them to tools also make them open to more users instead of hide in
    Documentation folder.

    This patch moves page-types.c to tools/vm/page-types.c. Also add a
    Makefile in tools/vm and fix two coding style problems: a) change const
    arrary to 'const char * const', b) change a space to tab for indent.

    Signed-off-by: Dave Young
    Acked-by: Wu Fengguang
    Cc: Christoph Lameter
    Cc: Pekka Enberg
    Cc: Frederic Weisbecker
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Dave Young
     
  • Partitions are described in the same way for all mtd devices when using
    devicetree, move the documentation to a separate file and add references
    to it.

    Signed-off-by: Jamie Lentin
    Acked-by: Arnd Bergmann
    Acked-by: Jason Cooper
    Signed-off-by: Grant Likely

    Jamie Lentin
     
  • Pull dma-buf updates from Sumit Semwal:
    "This includes the following key items:

    - kernel cpu access support,
    - flag-passing to dma_buf_fd,
    - relevant Documentation updates, and
    - some minor cleanups and fixes.

    These changes are needed for the drm prime/dma-buf interface code that
    Dave Airlie plans to submit in this merge window."

    * 'for-linus-3.4' of git://git.linaro.org/people/sumitsemwal/linux-dma-buf:
    dma-buf: correct dummy function declarations.
    dma-buf: document fd flags and O_CLOEXEC requirement
    dma_buf: Add documentation for the new cpu access support
    dma-buf: add support for kernel cpu access
    dma-buf: don't hold the mutex around map/unmap calls
    dma-buf: add get_dma_buf()
    dma-buf: pass flags into dma_buf_fd.
    dma-buf: add dma_data_direction to unmap dma_buf_op
    dma-buf: Move code out of mutex-protected section in dma_buf_attach()
    dma-buf: Return error instead of using a goto statement when possible
    dma-buf: Remove unneeded sanity checks
    dma-buf: Constify ops argument to dma_buf_export()

    Linus Torvalds
     
  • Pull kvm updates from Avi Kivity:
    "Changes include timekeeping improvements, support for assigning host
    PCI devices that share interrupt lines, s390 user-controlled guests, a
    large ppc update, and random fixes."

    This is with the sign-off's fixed, hopefully next merge window we won't
    have rebased commits.

    * 'kvm-updates/3.4' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (130 commits)
    KVM: Convert intx_mask_lock to spin lock
    KVM: x86: fix kvm_write_tsc() TSC matching thinko
    x86: kvmclock: abstract save/restore sched_clock_state
    KVM: nVMX: Fix erroneous exception bitmap check
    KVM: Ignore the writes to MSR_K7_HWCR(3)
    KVM: MMU: make use of ->root_level in reset_rsvds_bits_mask
    KVM: PMU: add proper support for fixed counter 2
    KVM: PMU: Fix raw event check
    KVM: PMU: warn when pin control is set in eventsel msr
    KVM: VMX: Fix delayed load of shared MSRs
    KVM: use correct tlbs dirty type in cmpxchg
    KVM: Allow host IRQ sharing for assigned PCI 2.3 devices
    KVM: Ensure all vcpus are consistent with in-kernel irqchip settings
    KVM: x86 emulator: Allow PM/VM86 switch during task switch
    KVM: SVM: Fix CPL updates
    KVM: x86 emulator: VM86 segments must have DPL 3
    KVM: x86 emulator: Fix task switch privilege checks
    arch/powerpc/kvm/book3s_hv.c: included linux/sched.h twice
    KVM: x86 emulator: correctly mask pmc index bits in RDPMC instruction emulation
    KVM: mmu_notifier: Flush TLBs before releasing mmu_lock
    ...

    Linus Torvalds
     
  • Pull module and param updates from Rusty Russell:
    "I'm getting married next week, and then honeymoon until 6th May. I'll
    be offline from next week, except to post the compulsory pictures if
    Alex shaves her head..."

    I'm sure Rusty can take time off from his honeymoon if something comes
    up. And here's the explanation about head shaving:

    http://baldalex.org/

    in case you wondered and wanted to support another insane caper or
    Rusty's involving shaving.

    What *is* it with Rusty and shaving, anyway?

    * git://github.com/rustyrussell/linux:
    module: Remove module size limit
    module: move __module_get and try_module_get() out of line.
    params: _initcall-like kernel parameters
    module_param: remove support for bool parameters which are really int.
    module: add kernel param to force disable module load

    Linus Torvalds
     
  • Pull x86 platform driver updates from Matthew Garrett:
    "Some significant updates to samsung-laptop, additional hardware
    support for Toshibas, misc updates to various hardware and a new
    backlight driver for some Apple machines."

    Fix up trivial conflicts: geode Geos update happening next to net5501
    support, and MSIC thermal platform support added twice.

    * 'for_linus' of git://cavan.codon.org.uk/platform-drivers-x86: (77 commits)
    acer-wmi: add quirk table for video backlight vendor mode
    drivers/platform/x86/amilo-rfkill.c::amilo_rfkill_probe() avoid NULL deref
    samsung-laptop: unregister ACPI video module for some well known laptops
    acer-wmi: No wifi rfkill on Sony machines
    thinkpad-acpi: recognize Lenovo as version string in newer V-series BIOS
    asus-wmi: don't update power and brightness when using scalar
    eeepc-wmi: split et2012 specific hacks
    eeepc-wmi: refine quirks handling
    asus-nb-wmi: set panel_power correctly
    asus-wmi: move WAPF variable into quirks_entry
    asus-wmi: store backlight power status for AIO machine
    asus-wmi: add scalar board brightness adj. support
    samsung-laptop: cleanup return type: mode_t vs umode_t
    drivers, samsung-laptop: fix usage of isalnum
    drivers, samsung-laptop: fix initialization of sabi_data in sabi_set_commandb
    asus-wmi: on/off bit is not set when reading the value
    eeepc-wmi: add extra keymaps for EP121
    asus-nb-wmi: ignore useless keys
    acer-wmi: support Lenovo ideapad S205 Brazos wifi switch
    acer-wmi: fix out of input parameter size when set
    ...

    Linus Torvalds
     
  • Pull i2c updates from Jean Delvare.

    Fix up trivial conflict in drivers/i2c/busses/i2c-gpio.c due to include
    file cleanup clashing with DT support addition (which did the same
    cleanup)

    * 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
    i2c-algo-bit: Don't resched on clock stretching
    i2c: Update the FSF address
    i2c: Convert drivers/i2c/muxes/* to use module_i2c_driver()
    i2c-i801: Use usleep_range to wait for command completion
    i2c-i801: Add device IDs for Intel Lynx Point
    i2c-isch: Decrease delay in command completion check loop
    i2c-gpio: Use linux/gpio.h rather than asm/gpio.h

    Linus Torvalds
     
  • Pull GPIO changes for v3.4 from Grant Likely:
    "Primarily gpio device driver changes with some minor side effects
    under arch/arm and arch/x86. Also includes a few core changes such as
    explicitly supporting (electrical) open source and open drain outputs
    and some help for parsing gpio devicetree properties."

    Fix up context conflict due to Laxman Dewangan adding sleep control for
    the tps65910 driver separately for gpio's and regulators.

    * tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux-2.6: (34 commits)
    gpio/ep93xx: Remove unused inline function and useless pr_err message
    gpio/sodaville: Mark broken due to core irqdomain migration
    gpio/omap: fix redundant decoding of gpio offset
    gpio/omap: fix incorrect update to context.irqenable1
    gpio/omap: fix incorrect context restore logic in omap_gpio_runtime_*
    gpio/omap: fix missing dataout context save in _set_gpio_dataout_reg
    gpio/omap: fix _set_gpio_irqenable implementation
    gpio/omap: fix trigger type to unsigned
    gpio/omap: fix wakeup_en register update in _set_gpio_wakeup()
    gpio: tegra: tegra_gpio_config shouldn't be __init
    gpio/davinci: fix enabling unbanked GPIO IRQs
    gpio/davinci: fix oops on unbanked gpio irq request
    gpio/omap: Fix section warning for omap_mpuio_alloc_gc()
    ARM: tegra: export tegra_gpio_{en,dis}able
    gpio/gpio-stmpe: Fix the value returned by _get_value routine
    Documentation/gpio.txt: Explain expected pinctrl interaction
    GPIO: LPC32xx: Add output reading to GPO P3
    GPIO: LPC32xx: Fix missing bit selection mask
    gpio/omap: fix wakeups on level-triggered GPIOs
    gpio/omap: Fix IRQ handling for SPARSE_IRQ
    ...

    Linus Torvalds
     
  • Pull MFD changes from Samuel Ortiz:
    - 4 new drivers: Freescale i.MX on-chip Anatop, Ricoh's RC5T583 and
    TI's TPS65090 and TPS65217.
    - New variants support (8420, 8520 ab9540), cleanups and bug fixes for
    the abx500 and db8500 ST-E chipsets.
    - Some minor fixes and update for the wm8994 from Mark.
    - The beginning of a long term TWL cleanup effort coming from the TI
    folks.
    - Various fixes and cleanups for the s5m, TPS659xx, pm860x, and MAX8997
    drivers.

    Fix up trivial conflicts due to duplicate patches and header file
    cleanups ( removal etc).

    * tag 'mfd_3.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (97 commits)
    gpio/twl: Add DT support to gpio-twl4030 driver
    gpio/twl: Allocate irq_desc dynamically for SPARSE_IRQ support
    mfd: Detach twl6040 from the pmic mfd driver
    mfd: Replace twl-* pr_ macros by the dev_ equivalent and do various cleanups
    mfd: Micro-optimization on twl4030 IRQ handler
    mfd: Make twl4030 SIH SPARSE_IRQ capable
    mfd: Move twl-core IRQ allocation into twl[4030|6030]-irq files
    mfd: Remove references already defineid in header file from twl-core
    mfd: Remove unneeded header from twl-core
    mfd: Make twl-core not depend on pdata->irq_base/end
    ARM: OMAP2+: board-omap4-*: Do not use anymore TWL6030_IRQ_BASE in board files
    mfd: Return twl6030_mmc_card_detect IRQ for board setup
    Revert "mfd: Add platform data for MAX8997 haptic driver"
    mfd: Add support for TPS65090
    mfd: Add some da9052-i2c section annotations
    mfd: Build rtc5t583 only if I2C config is selected to y.
    mfd: Add anatop mfd driver
    mfd: Fix compilation error in tps65910.h
    mfd: Add 8420 variant to db8500-prcmu
    mfd: Add 8520 PRCMU variant to db8500-prcmu
    ...

    Linus Torvalds
     
  • Pull watchdog updates from Wim Van Sebroeck:
    - Removal of the Documentation/watchdog/00-INDEX file
    - Fix boot status reporting for imx2_wdt
    - clean-up sp805_wdt, pnx4008_wdt and mpcore_wdt
    - convert printk in watchdog drivers to pr_ functions
    - change nowayout module parameter to bool for every watchdog device
    - conversion of jz4740_wdt, pnx4008_wdt, max63xx_wdt, softdog,
    ep93xx_wdt, coh901327 and txx9wdt to new watchdog API
    - Add support for the WDIOC_GETTIMELEFT ioctl call to the new watchdog
    API
    - Change the new watchdog API so that the driver updates the timeout
    value
    - two fixes for the xen_wdt driver

    Fix up conflicts in ep93xx driver due to the same patches being merged
    through separate branches.

    * git://www.linux-watchdog.org/linux-watchdog: (33 commits)
    watchdog: txx9wdt: fix timeout
    watchdog: Convert txx9wdt driver to watchdog framework
    watchdog: coh901327_wdt.c: fix timeout
    watchdog: coh901327: convert to use watchdog core
    watchdog: Add support for WDIOC_GETTIMELEFT IOCTL in watchdog core
    watchdog: ep93xx_wdt: timeout is an unsigned int value.
    watchdog: ep93xx_wdt: Fix timeout after conversion to watchdog core
    watchdog: Convert ep93xx driver to watchdog core
    watchdog: sp805: Use devm routines
    watchdog: sp805: replace readl/writel with lighter _relaxed variants
    watchdog: sp805: Fix documentation style comment
    watchdog: mpcore_wdt: Allow platform_get_irq() to fail
    watchdog: mpcore_wdt: Use devm routines
    watchdog: mpcore_wdt: Rename dev to pdev for pointing to struct platform_device
    watchdog: xen: don't clear is_active when xen_wdt_stop() failed
    watchdog: xen: don't unconditionally enable the watchdog during resume
    watchdog: fix compiler error for missing parenthesis
    watchdog: ep93xx_wdt.c: fix platform probe
    watchdog: ep93xx: Convert the watchdog driver into a platform device.
    watchdog: fix set_timeout operations
    ...

    Linus Torvalds
     
  • Pull device-mapper changes for 3.4 from Alasdair Kergon:

    - Update thin provisioning to support read-only external snapshot
    origins and discards.
    - A new target, dm verity, for device content validation.
    - Mark dm uevent and dm raid as no-longer-experimental.
    - Miscellaneous other fixes and clean-ups.

    * tag 'dm-3.4-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-dm: (27 commits)
    dm: add verity target
    dm bufio: prefetch
    dm thin: add pool target flags to control discard
    dm thin: support discards
    dm thin: prepare to support discard
    dm thin: use dm_target_offset
    dm thin: support read only external snapshot origins
    dm thin: relax hard limit on the maximum size of a metadata device
    dm persistent data: remove space map ref_count entries if redundant
    dm thin: commit outstanding data every second
    dm: reject trailing characters in sccanf input
    dm raid: handle failed devices during start up
    dm thin metadata: pass correct space map to dm_sm_root_size
    dm persistent data: remove redundant value_size arg from value_ptr
    dm mpath: detect invalid map_context
    dm: clear bi_end_io on remapping failure
    dm table: simplify call to free_devices
    dm thin: correct comments
    dm raid: no longer experimental
    dm uevent: no longer experimental
    ...

    Linus Torvalds
     
  • Pull "drivers/clk: common clock framework" from Olof Johansson:
    "This branch contains patches from Mike Turquette adding a common clock
    framework to be shared across platforms. This is part of the work
    towards building a common zImage for several ARM platforms."

    * tag 'common-clk-api' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    clk: make CONFIG_COMMON_CLK invisible
    clk: basic clock hardware types
    clk: introduce the common clock framework
    Documentation: common clk API

    Linus Torvalds
     
  • Pull "ARM: More device tree support updates" from Olof Johansson:
    "This branch contains a number of updates for device tree support on
    several ARM platforms, in particular:

    * AT91 continues the device tree conversion adding support for a
    number of on-chip drivers and other functionality
    * ux500 adds probing of some of the core SoC blocks through device
    tree
    * Initial device tree support for ST SPEAr600 platforms
    * kirkwood continues the conversion to device-tree probing"

    Manually merge arch/arm/mach-ux500/Kconfig due to MACH_U8500 rename, and
    drivers/usb/gadget/at91_udc.c due to header file include cleanups.

    Also do an "evil merge" for the MACH_U8500 config option rename that the
    affected RMI4 touchscreen driver in staging. It's called MACH_MOP500
    now, and it was missed during previous merges.

    * tag 'dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (48 commits)
    ARM: SPEAr600: Add device-tree support to SPEAr600 boards
    ARM: ux500: Provide local timer support for Device Tree
    ARM: ux500: Enable PL022 SSP Controller in Device Tree
    ARM: ux500: Enable PL310 Level 2 Cache Controller in Device Tree
    ARM: ux500: Enable PL011 AMBA UART Controller for Device Tree
    ARM: ux500: Enable Cortex-A9 GIC (Generic Interrupt Controller) in Device Tree
    ARM: ux500: db8500: list most devices in the snowball device tree
    ARM: ux500: split dts file for snowball into generic part
    ARM: ux500: combine the board init functions for DT boot
    ARM: ux500: Initial Device Tree support for Snowball
    ARM: ux500: CONFIG: Enable Device Tree support for future endeavours
    ARM: kirkwood: use devicetree for rtc-mv
    ARM: kirkwood: rtc-mv devicetree bindings
    ARM: kirkwood: fdt: define uart[01] as disabled, enable uart0
    ARM: kirkwood: fdt: facilitate new boards during fdt migration
    ARM: kirkwood: fdt: absorb kirkwood_init()
    ARM: kirkwood: fdt: use mrvl ticker symbol
    ARM: orion: wdt: use resource vice direct access
    ARM: Kirkwood: Remove tclk from kirkwood_asoc_platform_data.
    ARM: orion: spi: remove enable_clock_fix which is not used
    ...

    Linus Torvalds
     
  • This device-mapper target creates a read-only device that transparently
    validates the data on one underlying device against a pre-generated tree
    of cryptographic checksums stored on a second device.

    Two checksum device formats are supported: version 0 which is already
    shipping in Chromium OS and version 1 which incorporates some
    improvements.

    Signed-off-by: Mikulas Patocka
    Signed-off-by: Mandeep Singh Baines
    Signed-off-by: Will Drewry
    Signed-off-by: Elly Jones
    Cc: Milan Broz
    Cc: Olof Johansson
    Cc: Steffen Klassert
    Cc: Andrew Morton
    Signed-off-by: Alasdair G Kergon

    Mikulas Patocka