1. 26 Jul, 2012 14 commits
    • Linus Torvalds's avatar
      Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 4cb38750
      Linus Torvalds authored
      Pull x86/mm changes from Peter Anvin:
       "The big change here is the patchset by Alex Shi to use INVLPG to flush
        only the affected pages when we only need to flush a small page range.
      
        It also removes the special INVALIDATE_TLB_VECTOR interrupts (32
        vectors!) and replace it with an ordinary IPI function call."
      
      Fix up trivial conflicts in arch/x86/include/asm/apic.h (added code next
      to changed line)
      
      * 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/tlb: Fix build warning and crash when building for !SMP
        x86/tlb: do flush_tlb_kernel_range by 'invlpg'
        x86/tlb: replace INVALIDATE_TLB_VECTOR by CALL_FUNCTION_VECTOR
        x86/tlb: enable tlb flush range support for x86
        mm/mmu_gather: enable tlb flush range in generic mmu_gather
        x86/tlb: add tlb_flushall_shift knob into debugfs
        x86/tlb: add tlb_flushall_shift for specific CPU
        x86/tlb: fall back to flush all when meet a THP large page
        x86/flush_tlb: try flush_tlb_single one by one in flush_tlb_range
        x86/tlb_info: get last level TLB entry number of CPU
        x86: Add read_mostly declaration/definition to variables from smp.h
        x86: Define early read-mostly per-cpu macros
      4cb38750
    • Linus Torvalds's avatar
      Merge branch 'x86-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 0a2fe19c
      Linus Torvalds authored
      Pul x86/efi changes from Ingo Molnar:
       "This tree adds an EFI bootloader handover protocol, which, once
        supported on the bootloader side, will make bootup faster and might
        result in simpler bootloaders.
      
        The other change activates the EFI wall clock time accessors on x86-64
        as well, instead of the legacy RTC readout."
      
      * 'x86-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86, efi: Handover Protocol
        x86-64/efi: Use EFI to deal with platform wall clock
      0a2fe19c
    • Linus Torvalds's avatar
      Merge branches 'x86-cleanups-for-linus' and 'x86-cpufeature-for-linus' of... · c1b669b7
      Linus Torvalds authored
      Merge branches 'x86-cleanups-for-linus' and 'x86-cpufeature-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
      
      Pull x86 cleanup and cpufeature from Ingo Molnar:
       "Just a single cleanup and and a commit that adds new CPU feature
        names"
      
      * 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86, boot: Remove ancient, unconditionally #ifdef'd out dead code
      
      * 'x86-cpufeature-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86, cpufeature: Add the RDSEED and ADX features
      c1b669b7
    • Linus Torvalds's avatar
      Merge branch 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 3d72b105
      Linus Torvalds authored
      Pull x86/boot changes from Ingo Molnar:
       "Kernel image size reduction and assorted fixes and other small
        improvements."
      
      * 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86, doc: Assign a bootloader ID for "Minimal Linux Bootloader"
        x86, boot: Exclude cmdline.c if you can't use it
        x86, boot: Exclude early_serial_console.c if can't use it.
        x86, boot: Removed unused debug flag and set code
        x86, boot: Switch output functions from command-line flags to conditional compilation
        x86, boot: Changed error putstr path to match new debug_putstr format
        x86, boot: Wrap debug printing in a new debug_putstr function
        x86, boot: Removed quiet flag and switched quiet output to debug flag
      3d72b105
    • Linus Torvalds's avatar
      Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 79071638
      Linus Torvalds authored
      Pull scheduler changes from Ingo Molnar:
       "The biggest change is a performance improvement on SMP systems:
      
        | 4 socket 40 core + SMT Westmere box, single 30 sec tbench
        | runs, higher is better:
        |
        | clients     1       2       4        8       16       32       64      128
        |..........................................................................
        | pre        30      41     118      645     3769     6214    12233    14312
        | post      299     603    1211     2418     4697     6847    11606    14557
        |
        | A nice increase in performance.
      
        which speedup is particularly noticeable on heavily interacting
        few-tasks workloads, so the changes should help desktop-style Xorg
        workloads and interactivity as well, on multi-core CPUs.
      
        There are also cpuset suspend behavior fixes/restructuring and various
        smaller tweaks."
      
      * 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        sched: Fix race in task_group()
        sched: Improve balance_cpu() to consider other cpus in its group as target of (pinned) task
        sched: Reset loop counters if all tasks are pinned and we need to redo load balance
        sched: Reorder 'struct lb_env' members to reduce its size
        sched: Improve scalability via 'CPU buddies', which withstand random perturbations
        cpusets: Remove/update outdated comments
        cpusets, hotplug: Restructure functions that are invoked during hotplug
        cpusets, hotplug: Implement cpuset tree traversal in a helper function
        CPU hotplug, cpusets, suspend: Don't modify cpusets during suspend/resume
        sched/x86: Remove broken power estimation
      79071638
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · 44a6b844
      Linus Torvalds authored
      Pull crypto updates from Herbert Xu:
      
       - Fixed algorithm construction hang when self-test fails.
       - Added SHA variants to talitos AEAD list.
       - New driver for Exynos random number generator.
       - Performance enhancements for arc4.
       - Added hwrng support to caam.
       - Added ahash support to caam.
       - Fixed bad kfree in aesni-intel.
       - Allow aesni-intel in FIPS mode.
       - Added atmel driver with support for AES/3DES/SHA.
       - Bug fixes for mv_cesa.
       - CRC hardware driver for BF60x family processors.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (66 commits)
        crypto: twofish-avx - remove useless instruction
        crypto: testmgr - add aead cbc aes hmac sha1,256,512 test vectors
        crypto: talitos - add sha224, sha384 and sha512 to existing AEAD algorithms
        crypto: talitos - export the talitos_submit function
        crypto: talitos - move talitos structures to header file
        crypto: atmel - add new tests to tcrypt
        crypto: atmel - add Atmel SHA1/SHA256 driver
        crypto: atmel - add Atmel DES/TDES driver
        crypto: atmel - add Atmel AES driver
        ARM: AT91SAM9G45: add crypto peripherals
        crypto: testmgr - allow aesni-intel and ghash_clmulni-intel in fips mode
        hwrng: exynos - Add support for Exynos random number generator
        crypto: aesni-intel - fix wrong kfree pointer
        crypto: caam - ERA retrieval and printing for SEC device
        crypto: caam - Using alloc_coherent for caam job rings
        crypto: algapi - Fix hang on crypto allocation
        crypto: arc4 - now arc needs blockcipher support
        crypto: caam - one tasklet per job ring
        crypto: caam - consolidate memory barriers from job ring en/dequeue
        crypto: caam - only query h/w in job ring dequeue path
        ...
      44a6b844
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · 945c40c6
      Linus Torvalds authored
      Pull input layer updates from Dmitry Torokhov:
       "First set of updates for the input subsystem.  You will get a new
        touchscreen driver (Melfas mms114), a new keypad driver for LPC32xx
        SoC, large update to Atmel mXT touchscreen driver, a lot of drivers
        acquired device tree support and a slew of other fixes."
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (57 commits)
        Input: add MELFAS mms114 touchscreen driver
        Input: add support for key scan interface of the LPC32xx SoC
        Input: omap4-keypad - add device tree support
        Input: hanwang - add support for Art Master II tablet
        Input: spear_keyboard - reconfigure operating frequency on suspend
        Input: spear_keyboard - fix clock handling during suspend/resume
        Input: ff-memless - fix a couple min_t() casts
        Input: synaptics - print firmware ID and board number at init
        Input: spear_keyboard - generalize keyboard frequency configuration
        Input: spear_keyboard - rename bit definitions to reflect register
        Input: spear_keyboard - use correct io accessors
        Input: spear-keyboard - fix disable device_init_wakeup in remove
        Input: wacom_i2c - fix compiler warning
        Input: imx_keypad - check error returned by clk_prepare_enable()
        Input: imx_keypad - adapt the new kpp clock name
        Input: imx_keypad - use clk_prepare_enable/clk_disable_unprepare()
        Input: ad7879 - add option to correct xy axis
        Input: synaptics_usb - Remove TrackPoint name trailing whitespace
        Revert "Input: atmel_mxt_ts - warn if sysfs could not be created"
        Input: MT - Include win8 support
        ...
      945c40c6
    • Linus Torvalds's avatar
      Merge tag 'spi-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc · 0082c16e
      Linus Torvalds authored
      Pull spi updates from Mark Brown:
       "Since Grant is even more specacularly busy than usual for the time
        being I've been collecting SPI patches for him for this release -
        probably things will revert back to Grant before the next release.
      
        There's nothing too exciting here, mostly it's simple driver specific
        stuff:
      
         - Add spi: to the modaliases of SPI devices to provide namespacing.
         - A driver for AD-FMCOMMS1-EBZ.
         - DT binding for Orion.
         - Fixes and cleanups for i.MX, PL0022, OMAP and bitbang drivers.
      
         There may be a few more fixes I've missed, people keep sending me new
         things."
      
      * tag 'spi-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc:
        spi/orion: remove uneeded spi_info
        spi/bcm63xx: fix clock configuration selection
        spi/orion: add device tree binding
        spi/omap2: mark omap2_mcspi_master_setup as __devinit
        spi: omap2-mcspi: Fix the below warning
        spi: Add AD-FMCOMMS1-EBZ I2C-SPI bridge driver
        spi/imx: use gpio_is_valid to determine if a gpio is valid
        spi/imx: remove redundant config.speed_hz setting
        spi/gpio: start with CS non-active
        spi: tegra: use dmaengine based dma driver
        spi/pl022: cleanup pl022 header documentation
        spi/pl022: enable runtime PM
        spi/pl022: delete DB5500 support
        spi/pl022: disable port when unused
        spi: Add "spi:" prefix to modalias attribute of spi devices
      0082c16e
    • Hauke Mehrtens's avatar
      bcma: fix invalid PMU chip control masks · 1f03bf06
      Hauke Mehrtens authored
      Commit b9562545 ("bcma: complete workaround for BCMA43224 and
      BCM4313") introduced the wrong masks for setting the chip control
      registers - the "mask" parameter is inverse.
      
      It should be the mask of bits *not* changed, which is admittedly a bit
      non-intuitive.
      
      The incorrect mask not only causes the driver to not work correctly on
      the chips affected (eg the BCM43224 on the Macbook Air 4,2) but the
      state persists over a soft reset, causing the next boot to not
      necessarily see the device correctly.
      Reported-and-tested-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Tested-by: default avatarSeth Forshee <seth.forshee@canonical.com>
      Cc: Hauke Mehrtens <hauke@hauke-m.de>
      Cc: Arend Van Spriel <arend@broadcom.com>
      Cc: Pieter-Paul Giesberts <pieterpg@broadcom.com>
      Cc: Brett Rudley <brudley@broadcom.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      1f03bf06
    • Linus Torvalds's avatar
      Merge tag 'char-misc-3.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · b84382f5
      Linus Torvalds authored
      Pull char/misc patches from Greg Kroah-Hartman:
       "Here's the "big" pull request for 3.6-rc1 for the char/misc drivers.
      
        It's really just a few updates to the mei driver, plus 4 other tiny
        patches, nothing big at all.
      
        Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>"
      
      * tag 'char-misc-3.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
        mei: use module_pci_driver
        powerpc/BSR: cleanup the error path of bsr_init
        mei: mei_irq_thread_write_handler - line break fix
        mei: streamline the _mei_irq_thread_close/ioctol functions
        mei: introduce mei_data2slots wrapper
        mei: mei_wd_host_init: update the comment
        mei: remove write only wariable wd_due_counter
        mei: mei_device can be const for mei register access functions
        mei: revamp host buffer interface function
        mei: don't query HCSR for host buffer depth
        mei: group wd_interface_reg with watchdog variables within struct mei_device
        mei: mei_irq_thread_write_handler check for overflow
        mei: make mei_write_message more readable
        mei: check for error codes that mei_flow_ctrl_creds retuns
        misc: at25: Parse dt settings
        misc: hpilo: increase number of max supported channels
        mei: mei.txt: minor grammar fixes
      b84382f5
    • Linus Torvalds's avatar
      Merge tag 'driver-core-3.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core · fa93669a
      Linus Torvalds authored
      Pull driver core changes from Greg Kroah-Hartman:
       "Here's the big driver core pull request for 3.6-rc1.
      
        Unlike 3.5, this kernel should be a lot tamer, with the printk changes
        now settled down.  All we have here is some extcon driver updates, w1
        driver updates, a few printk cleanups that weren't needed for 3.5, but
        are good to have now, and some other minor fixes/changes in the driver
        core.
      
        All of these have been in the linux-next releases for a while now.
      
        Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>"
      
      * tag 'driver-core-3.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (38 commits)
        printk: Export struct log size and member offsets through vmcoreinfo
        Drivers: hv: Change the hex constant to a decimal constant
        driver core: don't trigger uevent after failure
        extcon: MAX77693: Add extcon-max77693 driver to support Maxim MAX77693 MUIC device
        sysfs: fail dentry revalidation after namespace change fix
        sysfs: fail dentry revalidation after namespace change
        extcon: spelling of detach in function doc
        extcon: arizona: Stop microphone detection if we give up on it
        extcon: arizona: Update cable reporting calls and split headset
        PM / Runtime: Do not increment device usage counts before probing
        kmsg - do not flush partial lines when the console is busy
        kmsg - export "continuation record" flag to /dev/kmsg
        kmsg - avoid warning for CONFIG_PRINTK=n compilations
        kmsg - properly print over-long continuation lines
        driver-core: Use kobj_to_dev instead of re-implementing it
        driver-core: Move kobj_to_dev from genhd.h to device.h
        driver core: Move deferred devices to the end of dpm_list before probing
        driver core: move uevent call to driver_register
        driver core: fix shutdown races with probe/remove(v3)
        Extcon: Arizona: Add driver for Wolfson Arizona class devices
        ...
      fa93669a
    • Linus Torvalds's avatar
      Merge tag 'staging-3.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · b13bc8dd
      Linus Torvalds authored
      Pull staging tree patches from Greg Kroah-Hartman:
       "Here's the big staging tree merge for the 3.6-rc1 merge window.
      
        There are some patches in here outside of drivers/staging/, notibly
        the iio code (which is still stradeling the staging / not staging
        boundry), the pstore code, and the tracing code.  All of these have
        gotten acks from the various subsystem maintainers to be included in
        this tree.  The pstore and tracing patches are related, and are coming
        here as they replace one of the android staging drivers.
      
        Otherwise, the normal staging mess.  Lots of cleanups and a few new
        drivers (some iio drivers, and the large csr wireless driver
        abomination.)
      
        Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>"
      
      Fixed up trivial conflicts in drivers/staging/comedi/drivers/s626.h and
      drivers/staging/gdm72xx/netlink_k.c
      
      * tag 'staging-3.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1108 commits)
        staging: csr: delete a bunch of unused library functions
        staging: csr: remove csr_utf16.c
        staging: csr: remove csr_pmem.h
        staging: csr: remove CsrPmemAlloc
        staging: csr: remove CsrPmemFree()
        staging: csr: remove CsrMemAllocDma()
        staging: csr: remove CsrMemCalloc()
        staging: csr: remove CsrMemAlloc()
        staging: csr: remove CsrMemFree() and CsrMemFreeDma()
        staging: csr: remove csr_util.h
        staging: csr: remove CsrOffSetOf()
        stating: csr: remove unneeded #includes in csr_util.c
        staging: csr: make CsrUInt16ToHex static
        staging: csr: remove CsrMemCpy()
        staging: csr: remove CsrStrLen()
        staging: csr: remove CsrVsnprintf()
        staging: csr: remove CsrStrDup
        staging: csr: remove CsrStrChr()
        staging: csr: remove CsrStrNCmp
        staging: csr: remove CsrStrCmp
        ...
      b13bc8dd
    • Linus Torvalds's avatar
      Merge tag 'usb-3.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 9fc37779
      Linus Torvalds authored
      Pull USB patches from Greg Kroah-Hartman:
       "Here's the big USB patch set for the 3.6-rc1 merge window.
      
        Lots of little changes in here, primarily for gadget controllers and
        drivers.  There's some scsi changes that I think also went in through
        the scsi tree, but they merge just fine.  All of these patches have
        been in the linux-next tree for a while now.
      
        Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>"
      
      Fix up trivial conflicts in include/scsi/scsi_device.h (same libata
      conflict that Jeff had already encountered)
      
      * tag 'usb-3.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (207 commits)
        usb: Add USB_QUIRK_RESET_RESUME for all Logitech UVC webcams
        usb: Add quirk detection based on interface information
        usb: s3c-hsotg: Add header file protection macros in s3c-hsotg.h
        USB: ehci-s5p: Add vbus setup function to the s5p ehci glue layer
        USB: add USB_VENDOR_AND_INTERFACE_INFO() macro
        USB: notify phy when root hub port connect change
        USB: remove 8 bytes of padding from usb_host_interface on 64 bit builds
        USB: option: add ZTE MF821D
        USB: sierra: QMI mode MC7710 moved to qcserial
        USB: qcserial: adding Sierra Wireless devices
        USB: qcserial: support generic Qualcomm serial ports
        USB: qcserial: make probe more flexible
        USB: qcserial: centralize probe exit path
        USB: qcserial: consolidate usb_set_interface calls
        USB: ehci-s5p: Add support for device tree
        USB: ohci-exynos: Add support for device tree
        USB: ehci-omap: fix compile failure(v1)
        usb: host: tegra: pass correct pointer in ehci_setup()
        USB: ehci-fsl: Update ifdef check to work on 64-bit ppc
        USB: serial: keyspan: Removed unrequired parentheses.
        ...
      9fc37779
    • Linus Torvalds's avatar
      Merge tag 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev · 5e23ae49
      Linus Torvalds authored
      Pull libata updates from Jeff Garzik:
       "Notable changes:
      
         - Updating libata to directly bind with ACPI / runtime power mgmt.
           This is a pre-req for SATA ZPODD (CD-ROM power management).
      
           Touches ACPI (exports++) and SCSI in minor ways.  Has been in
           linux-next for weeks.
      
           The rest of this should come via SCSI tree, as it involves a lot of
           updates to the 'sr' driver etc.
      
        Other, minor changes:
      
         - module_pci_driver() removes a lot of common boilerplate from each
           PCI driver
      
         - minor coding style, whitespace cleanups
      
         - pata_pcmcia bug fix, caught by Coccinelle
      
         - pata_imx, sata_dwc_460ex minor vendor updates
      
         - ahci_platform: use simple PM ops, and thereby add hibernation cb's
      
         - Add a few device-specific quirks"
      
      * tag 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev: (23 commits)
        [libata] pata_cmd64x: whitespace cleanup
        libata-acpi: fix up for acpi_pm_device_sleep_state API
        sata_dwc_460ex: device tree may specify dma_channel
        ahci, trivial: fixed coding style issues related to braces
        ahci_platform: add hibernation callbacks
        libata-eh.c: local functions should not be exposed globally
        libata-transport.c: local functions should not be exposed globally
        sata_dwc_460ex: support hardreset
        ata: use module_pci_driver
        drivers/ata/pata_pcmcia.c: adjust suspicious bit operation
        pata_imx: Convert to clk_prepare_enable/clk_disable_unprepare
        ahci: Enable SB600 64bit DMA on MSI K9AGM2 (MS-7327) v2
        [libata] Prevent interface errors with Seagate FreeAgent GoFlex
        drivers/acpi/glue: revert accidental license-related 6b66d958 bits
        libata-acpi: add missing inlines in libata.h
        libata: tell scsi layer device supports runtime power off
        libata: detect Device Attention support
        libata-acpi: register/unregister device to/from power resource
        libata-acpi: add ata port runtime D3Cold support
        libata-acpi: set acpi state for SATA port
        ...
      5e23ae49
  2. 25 Jul, 2012 24 commits
    • Jeff Garzik's avatar
      [libata] pata_cmd64x: whitespace cleanup · 641589bf
      Jeff Garzik authored
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      641589bf
    • Stephen Rothwell's avatar
      libata-acpi: fix up for acpi_pm_device_sleep_state API · 354b2eac
      Stephen Rothwell authored
      After merging the libata tree, today's [2012-07-01] linux-next build (x86_64
      allmodconfig) failed like this:
      
      drivers/ata/libata-acpi.c: In function 'ata_acpi_set_state':
      drivers/ata/libata-acpi.c:872:5: error: too few arguments to function 'acpi_pm_device_sleep_state'
      include/acpi/acpi_bus.h:418:5: note: declared here
      
      Caused by commit 3bd46600 ("libata-acpi: add ata port runtime D3Cold
      support") from the libata tree interacting with commit ee85f543
      ("ACPI/PM: specify lowest allowed state for device sleep state") from the
      pci tree.
      
      This patch adds ACPI_STATE_D3 as the new third parameter to
      acpi_pm_device_sleep_state()
      Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      354b2eac
    • Jeff Garzik's avatar
      Merge branch 'master' [vanilla Linus master] into libata-dev.git/upstream · 8407884d
      Jeff Garzik authored
      Two bits were appended to the end of the bitfield
      list in struct scsi_device.  Resolve that conflict
      by including both bits.
      
      Conflicts:
      	include/scsi/scsi_device.h
      8407884d
    • Thang Q. Nguyen's avatar
      sata_dwc_460ex: device tree may specify dma_channel · dc7f71f4
      Thang Q. Nguyen authored
      Only channel 0 is currently support and the driver code is fixed on
      channel 0. This patch lets device node specifying dma-channel in case
      it is not 0. If no dma-channel property is specified, channel 0 is
      used as default.
      Signed-off-by: default avatarThang Q. Nguyen <tqnguyen@apm.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      dc7f71f4
    • Jeffrin Jose's avatar
      ahci, trivial: fixed coding style issues related to braces · facb8fa6
      Jeffrin Jose authored
      Fixed coding style issues related to braces found
      by checkpatch.pl in drivers/ata/ahci.c
      Signed-off-by: default avatarJeffrin Jose <ahiliation@yahoo.co.in>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      facb8fa6
    • Shiraz Hashim's avatar
      ahci_platform: add hibernation callbacks · 18c25ff4
      Shiraz Hashim authored
      Use existing suspend, resume implementation for hibernation callbacks.
      Signed-off-by: default avatarShiraz Hashim <shiraz.hashim@st.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      18c25ff4
    • H Hartley Sweeten's avatar
      libata-eh.c: local functions should not be exposed globally · 60428407
      H Hartley Sweeten authored
      The function ata_ering_clear_cb is only referenced in this file and
      should be marked static to prevent it from being exposed globally.
      
      This quiets the sparse warning:
      
      warning: symbol 'ata_ering_clear_cb' was not declared. Should it be static?
      Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      60428407
    • H Hartley Sweeten's avatar
      libata-transport.c: local functions should not be exposed globally · b0e73af7
      H Hartley Sweeten authored
      Functions not referenced outside of a source file should be marked
      static to prevent it from being exposed globally.
      
      This quiets the sparse warnings:
      
      warning: symbol 'ata_is_port' was not declared. Should it be static?
      warning: symbol 'ata_is_link' was not declared. Should it be static?
      warning: symbol 'ata_is_ata_dev' was not declared. Should it be static?
      Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      b0e73af7
    • Thang Q. Nguyen's avatar
      sata_dwc_460ex: support hardreset · 3a8b788f
      Thang Q. Nguyen authored
      The hardreset operation is currently not supported. This causes
      sometime the SATA driver does cause kernel crash because of
      none-determined state.a This patch will fix the issue.
      Signed-off-by: default avatarThang Q. Nguyen <tqnguyen@apm.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      3a8b788f
    • Axel Lin's avatar
      ata: use module_pci_driver · 2fc75da0
      Axel Lin authored
      This patch converts the drivers in drivers/ata/* to use module_pci_driver()
      macro which makes the code smaller and a bit simpler.
      Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
      Cc: Alan Cox <alan@linux.intel.com>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Cc: Mikael Pettersson <mikpe@it.uu.se>
      Cc: Mark Lord <kernel@teksavvy.com>
      Cc: Jeremy Higdon <jeremy@sgi.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      2fc75da0
    • Julia Lawall's avatar
      drivers/ata/pata_pcmcia.c: adjust suspicious bit operation · b08f5bc4
      Julia Lawall authored
      IO_DATA_PATH_WIDTH_8 is 0, so a bit-and with it is always false.  The
      value IO_DATA_PATH_WIDTH covers the bits of the IO_DATA_PATH constants, so
      first pick those bits and then make the test using !=.
      
      This problem was found using Coccinelle (http://coccinelle.lip6.fr/).
      Signed-off-by: default avatarJulia Lawall <julia@diku.dk>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      b08f5bc4
    • Fabio Estevam's avatar
      pata_imx: Convert to clk_prepare_enable/clk_disable_unprepare · a18dada0
      Fabio Estevam authored
      With the new i.mx clock framework, we need to use
      clk_prepare_enable/clk_disable_unprepare.
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      a18dada0
    • Mark Nelson's avatar
      ahci: Enable SB600 64bit DMA on MSI K9AGM2 (MS-7327) v2 · ff0173c1
      Mark Nelson authored
      Like e65cc194 (ahci: Enable SB600 64bit
      DMA on MSI K9A2 Platinum) and 3c4aa91f
      (ahci: Enable SB600 64bit DMA on Asus M3A), this patch enables 64bit DMA
      for the AHCI SATA controller of another board that has the SB600
      southbridge.
      
      In this case though we're enabling 64bit DMA for another MSI motherboard,
      the K9AGM2 or MS-7327. It is new enough that all of the BIOS releases
      since the initial release (1.0 from 2007-02-09) work correctly with 64bit
      DMA enabled.
      Signed-off-by: default avatarMark Nelson <mdnelson8@gmail.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      ff0173c1
    • Daniel J Blueman's avatar
      [libata] Prevent interface errors with Seagate FreeAgent GoFlex · c531077f
      Daniel J Blueman authored
      When using my Seagate FreeAgent GoFlex eSATAp external disk enclosure,
      interface errors are always seen until 1.5Gbps is negotiated [1]. This
      occurs using any disk in the enclosure, and when the disk is connected
      directly with a generic passive eSATAp cable, we see stable 3Gbps
      operation as expected.
      
      Blacklist 3Gbps mode to avoid dataloss and the ~30s delay bus reset
      and renegotiation incurs.
      Signed-off-by: default avatarDaniel J Blueman <daniel@quora.org>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      c531077f
    • Jeff Garzik's avatar
      drivers/acpi/glue: revert accidental license-related 6b66d958 bits · 91e4d5a1
      Jeff Garzik authored
      Commit 6b66d958 should not have changed
      EXPORT_SYMBOL_GPL to EXPORT_SYMBOL.
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      91e4d5a1
    • Lin Ming's avatar
      libata-acpi: add missing inlines in libata.h · e91df93e
      Lin Ming authored
      Adds inline for ata_acpi_unregister/ata_acpi_bind/ata_acpi_unbind
      in drivers/ata/libata.h for !CONFIG_ATA_ACPI to fix below warnings.
      
      warning: 'ata_acpi_unregister' defined but not used [-Wunused-function]
      warning: 'ata_acpi_bind' defined but not used [-Wunused-function]
      warning: 'ata_acpi_unbind' defined but not used [-Wunused-function]
      Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarLin Ming <ming.m.lin@intel.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      e91df93e
    • Dmitry Torokhov's avatar
      Merge branch 'next' into for-linus · 314820c9
      Dmitry Torokhov authored
      314820c9
    • Linus Torvalds's avatar
      Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · bdc0077a
      Linus Torvalds authored
      Pull first round of SCSI updates from James Bottomley:
       "The most important feature of this patch set is the new async
        infrastructure that makes sure async_synchronize_full() synchronizes
        all domains and allows us to remove all the hacks (like having
        scsi_complete_async_scans() in the device base code) and means that
        the async infrastructure will "just work" in future.
      
        The rest is assorted driver updates (aacraid, bnx2fc, virto-scsi,
        megaraid, bfa, lpfc, qla2xxx, qla4xxx) plus a lot of infrastructure
        work in sas and FC.
      
        Signed-off-by: James Bottomley <JBottomley@Parallels.com>"
      
      * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (97 commits)
        [SCSI] Revert "[SCSI] fix async probe regression"
        [SCSI] cleanup usages of scsi_complete_async_scans
        [SCSI] queue async scan work to an async_schedule domain
        [SCSI] async: make async_synchronize_full() flush all work regardless of domain
        [SCSI] async: introduce 'async_domain' type
        [SCSI] bfa: Fix to set correct return error codes and misc cleanup.
        [SCSI] aacraid: Series 7 Async. (performance) mode support
        [SCSI] aha152x: Allow use on 64bit systems
        [SCSI] virtio-scsi: Add vdrv->scan for post VIRTIO_CONFIG_S_DRIVER_OK LUN scanning
        [SCSI] bfa: squelch lockdep complaint with a spin_lock_init
        [SCSI] qla2xxx: remove unnecessary reads of PCI_CAP_ID_EXP
        [SCSI] qla4xxx: remove unnecessary read of PCI_CAP_ID_EXP
        [SCSI] ufs: fix incorrect return value about SUCCESS and FAILED
        [SCSI] ufs: reverse the ufshcd_is_device_present logic
        [SCSI] ufs: use module_pci_driver
        [SCSI] usb-storage: update usb devices for write cache quirk in quirk list.
        [SCSI] usb-storage: add support for write cache quirk
        [SCSI] set to WCE if usb cache quirk is present.
        [SCSI] virtio-scsi: hotplug support for virtio-scsi
        [SCSI] virtio-scsi: split scatterlist per target
        ...
      bdc0077a
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-nmw · 801b0365
      Linus Torvalds authored
      Pull GFS2 updates from Steven Whitehouse.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-nmw:
        GFS2: Eliminate 64-bit divides
        GFS2: Reduce file fragmentation
        GFS2: kernel panic with small gfs2 filesystems - 1 RG
        GFS2: Fixing double brelse'ing bh allocated in gfs2_meta_read when EIO occurs
        GFS2: Combine functions get_local_rgrp and gfs2_inplace_reserve
        GFS2: Add kobject release method
        GFS2: Size seq_file buffer more carefully
        GFS2: Use seq_vprintf for glocks debugfs file
        seq_file: Add seq_vprintf function and export it
        GFS2: Use lvbs for storing rgrp information with mount option
        GFS2: Cache last hash bucket for glock seq_files
        GFS2: Increase buffer size for glocks and glstats debugfs files
        GFS2: Fix error handling when reading an invalid block from the journal
        GFS2: Add "top dir" flag support
        GFS2: Fold quota data into the reservations struct
        GFS2: Extend the life of the reservations
      801b0365
    • Linus Torvalds's avatar
      Merge branch 'for-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup · 614a6d43
      Linus Torvalds authored
      Pull cgroup changes from Tejun Heo:
       "Nothing too interesting.  A minor bug fix and some cleanups."
      
      * 'for-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
        cgroup: Update remount documentation
        cgroup: cgroup_rm_files() was calling simple_unlink() with the wrong inode
        cgroup: Remove populate() documentation
        cgroup: remove hierarchy_mutex
      614a6d43
    • Linus Torvalds's avatar
      Merge branch 'for-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq · a08489c5
      Linus Torvalds authored
      Pull workqueue changes from Tejun Heo:
       "There are three major changes.
      
         - WQ_HIGHPRI has been reimplemented so that high priority work items
           are served by worker threads with -20 nice value from dedicated
           highpri worker pools.
      
         - CPU hotplug support has been reimplemented such that idle workers
           are kept across CPU hotplug events.  This makes CPU hotplug cheaper
           (for PM) and makes the code simpler.
      
         - flush_kthread_work() has been reimplemented so that a work item can
           be freed while executing.  This removes an annoying behavior
           difference between kthread_worker and workqueue."
      
      * 'for-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
        workqueue: fix spurious CPU locality WARN from process_one_work()
        kthread_worker: reimplement flush_kthread_work() to allow freeing the work item being executed
        kthread_worker: reorganize to prepare for flush_kthread_work() reimplementation
        workqueue: simplify CPU hotplug code
        workqueue: remove CPU offline trustee
        workqueue: don't butcher idle workers on an offline CPU
        workqueue: reimplement CPU online rebinding to handle idle workers
        workqueue: drop @bind from create_worker()
        workqueue: use mutex for global_cwq manager exclusion
        workqueue: ROGUE workers are UNBOUND workers
        workqueue: drop CPU_DYING notifier operation
        workqueue: perform cpu down operations from low priority cpu_notifier()
        workqueue: reimplement WQ_HIGHPRI using a separate worker_pool
        workqueue: introduce NR_WORKER_POOLS and for_each_worker_pool()
        workqueue: separate out worker_pool flags
        workqueue: use @pool instead of @gcwq or @cpu where applicable
        workqueue: factor out worker_pool from global_cwq
        workqueue: don't use WQ_HIGHPRI for unbound workqueues
      a08489c5
    • Linus Torvalds's avatar
      Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · 08d9329c
      Linus Torvalds authored
      Pull misc udf, ext2, ext3, and isofs fixes from Jan Kara:
       "Assorted, mostly trivial, fixes for udf, ext2, ext3, and isofs.  I'm
        on vacation and scarcely checking email since we are expecting baby
        any day now but these fixes should be safe to go in and I don't want
        to delay them unnecessarily."
      
      * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        udf: avoid info leak on export
        isofs: avoid info leak on export
        udf: Improve table length check to avoid possible overflow
        ext3: Check return value of blkdev_issue_flush()
        jbd: Check return value of blkdev_issue_flush()
        udf: Do not decrement i_blocks when freeing indirect extent block
        udf: Fix memory leak when mounting
        ext2: cleanup the confused goto label
        UDF: Remove unnecessary variable "offset" from udf_fill_inode
        udf: stop using s_dirt
        ext3: force ro mount if ext3_setup_super() fails
        quota: fix checkpatch.pl warning by replacing <asm/uaccess.h> with <linux/uaccess.h>
      08d9329c
    • Linus Torvalds's avatar
      Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu · 2c05b2c8
      Linus Torvalds authored
      Pull m68knommu arch update from Greg Ungerer:
       "Quite a varied set of changes this time.
         - A little more merge cleanup, this time the assembler entry code.
         - New sub-architecture support for the ColdFire 5251/5253 and 5441x
           CPU families.
         - Specific clk support code for the ColdFire 520x and 532x CPU
           familes.
         - Refactoring of the ColdFire GPIO support.
         - PCI bus support for some ColdFire CPUS that have PCI hardware (54xx
           family).  This showed up a few problems with ColdFire cache,
           allocating coherent memory and bi-directional DMA support.  Fixes
           for those too."
      
      * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu: (21 commits)
        m68k: allow PCI bus to be enabled for ColdFire m54xx CPUs
        m68k: add PCI bus code support for the ColdFire M54xx SoC family
        m68k: add IO access definitions to support PCI on ColdFire platforms
        m68k: add PCI bus support definitions for the ColdFire M54xx SoC family
        m68k: common PCI support definitions and code
        m68k: add support for DMA_BIDIRECTIONAL in dma support functions
        m68k: fix ColdFire clear cache operation
        m68k: use simpler dma_alloc_coherent() for ColdFire CPUs
        m68knommu: platform support for 8390 based ethernet used on some boards
        m68knommu: Add clk definitions for m532x.
        m68knommu: Add clk definitions for m520x.
        m68knommu: Add rtc device for m5441x.
        m68knommu: add definitions for the third interrupt controller on devices that don't have a third interrupt controller.
        m68knommu: Add support for the Coldfire m5441x.
        m68knommu: use MCF_IRQ_PIT1 instead of MCFINT_VECBASE + MCFINT_PIT1
        coldfire-qspi: Add support for the Coldfire 5251/5253.
        m68knommu: Add support for the Coldfire 5251/5253
        m68knommu: refactor Coldfire GPIO not to require GPIOLIB, eliminate mcf_gpio_chips.
        m68k: merge the MMU and non-MMU versions of the entry.S code
        m68k: use jbsr to call functions instead of bsrl
        ...
      2c05b2c8
    • Linus Torvalds's avatar
      Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma · c511dc1f
      Linus Torvalds authored
      Pull slave-dmaengine update from Vinod Koul:
       "This time we have a new dmaengine driver from the tegra folks.  Also
        we have Guennadi's cleanup of sh drivers which incudes a library for
        sh drivers.  And the usual odd fixes in bunch of drivers and some nice
        cleanup of dw_dmac from Andy."
      
      Fix up conflicts in drivers/mmc/host/sh_mmcif.c
      
      * 'next' of git://git.infradead.org/users/vkoul/slave-dma: (46 commits)
        dmaengine: Cleanup logging messages
        mmc: sh_mmcif: switch to the new DMA channel allocation and configuration
        dma: sh: provide a migration path for slave drivers to stop using .private
        dma: sh: use an integer slave ID to improve API compatibility
        dmaengine: shdma: prepare to stop using struct dma_chan::private
        sh: remove unused DMA device pointer from SIU platform data
        ASoC: siu: don't use DMA device for channel filtering
        dmaengine: shdma: (cosmetic) simplify a static function
        dmaengine: at_hdmac: add a few const qualifiers
        dw_dmac: use 'u32' for LLI structure members, not dma_addr_t
        dw_dmac: mark dwc_dump_lli inline
        dma: mxs-dma: Export missing symbols from mxs-dma.c
        dma: shdma: convert to the shdma base library
        ASoC: fsi: prepare for conversion to the shdma base library
        usb: renesas_usbhs: prepare for conversion to the shdma base library
        ASoC: siu: prepare for conversion to the shdma base library
        serial: sh-sci: prepare for conversion to the shdma base library
        mmc: sh_mobile_sdhi: prepare for conversion to the shdma base library
        mmc: sh_mmcif: remove unneeded struct sh_mmcif_dma, prepare to shdma conversion
        dma: shdma: prepare for conversion to the shdma base library
        ...
      c511dc1f
  3. 24 Jul, 2012 2 commits
    • Linus Torvalds's avatar
      Merge tag 'clk-for-linus' of git://git.linaro.org/people/mturquette/linux · 9161c3b7
      Linus Torvalds authored
      Pull common clk framework changes from Michael Turquette:
       "This includes a small number of core framework improvments, platform
        ports and new DT bindings."
      
      Fix up trivial conflicts in drivers/clk/Makefile
      
      * tag 'clk-for-linus' of git://git.linaro.org/people/mturquette/linux: (21 commits)
        clk: fix compile for OF && !COMMON_CLK
        clk: fix clk_get on of_clk_get_by_name return check
        clk: mxs: clk_register_clkdev mx28 usb clocks
        clk: add highbank clock support
        dt: add clock binding doc to primecell bindings
        clk: add DT fixed-clock binding support
        clk: add DT clock binding support
        ARM: integrator: convert to common clock
        clk: add versatile ICST307 driver
        ARM: integrator: put symbolic bus names on devices
        ARM: u300: convert to common clock
        clk: cache parent clocks only for muxes
        clk: wm831x: Add initial WM831x clock driver
        clk: Constify struct clk_init_data
        clk: Add CLK_IS_BASIC flag to identify basic clocks
        clk: Add support for rate table based dividers
        clk: Add support for power of two type dividers
        clk: mxs: imx28: decrease the frequency of ref_io1 for SSP2 and SSP3
        clk: mxs: add clkdev lookup for pwm
        clk: mxs: Fix the GPMI clock name
        ...
      9161c3b7
    • Linus Torvalds's avatar
      Merge tag 'iommu-updates-v3.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 97027da6
      Linus Torvalds authored
      Pull IOMMU updates from Joerg Roedel:
       "The most important part of these updates is the IOMMU groups code
        enhancement written by Alex Williamson.  It abstracts the problem that
        a given hardware IOMMU can't isolate any given device from any other
        device (e.g.  32 bit PCI devices can't usually be isolated).  Devices
        that can't be isolated are grouped together.  This code is required
        for the upcoming VFIO framework.
      
        Another IOMMU-API change written by me is the introduction of domain
        attributes.  This makes it easier to handle GART-like IOMMUs with the
        IOMMU-API because now the start-address and the size of the domain
        address space can be queried.
      
        Besides that there are a few cleanups and fixes for the NVidia Tegra
        IOMMU drivers and the reworked init-code for the AMD IOMMU.  The
        latter is from my patch-set to support interrupt remapping.  The rest
        of this patch-set requires x86 changes which are not mergabe yet.  So
        full support for interrupt remapping with AMD IOMMUs will come in a
        future merge window."
      
      * tag 'iommu-updates-v3.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (33 commits)
        iommu/amd: Fix hotplug with iommu=pt
        iommu/amd: Add missing spin_lock initialization
        iommu/amd: Convert iommu initialization to state machine
        iommu/amd: Introduce amd_iommu_init_dma routine
        iommu/amd: Move unmap_flush message to amd_iommu_init_dma_ops()
        iommu/amd: Split enable_iommus() routine
        iommu/amd: Introduce early_amd_iommu_init routine
        iommu/amd: Move informational prinks out of iommu_enable
        iommu/amd: Split out PCI related parts of IOMMU initialization
        iommu/amd: Use acpi_get_table instead of acpi_table_parse
        iommu/amd: Fix sparse warnings
        iommu/tegra: Don't call alloc_pdir with as->lock
        iommu/tegra: smmu: Fix unsleepable memory allocation at alloc_pdir()
        iommu/tegra: smmu: Remove unnecessary sanity check at alloc_pdir()
        iommu/exynos: Implement DOMAIN_ATTR_GEOMETRY attribute
        iommu/tegra: Implement DOMAIN_ATTR_GEOMETRY attribute
        iommu/msm: Implement DOMAIN_ATTR_GEOMETRY attribute
        iommu/omap: Implement DOMAIN_ATTR_GEOMETRY attribute
        iommu/vt-d: Implement DOMAIN_ATTR_GEOMETRY attribute
        iommu/amd: Implement DOMAIN_ATTR_GEOMETRY attribute
        ...
      97027da6