05 Jul, 2013

8 commits

  • Pull device tree updates from Grant Likely:
    "This branch contains the following changes:
    - Removal of CONFIG_OF_DEVICE, it is always enabled by CONFIG_OF
    - Remove #ifdef from linux/of_platform.h to increase compiler syntax
    coverage
    - Bug fix for address decoding on Bimini and js2x powerpc platforms.
    - miscellaneous binding changes

    One note on the above. The binding changes going in from all kinds of
    different trees has gotten rather out of hand. I picked up some
    during this cycle, but even going though my tree isn't a great fit.

    Ian Campbell has prototyped splitting the bindings and .dtb files into
    a separate repository. The plan is to migrate to using that sometime
    in the next few kernel releases which should get rid of a lot of the
    churn on binding docs and .dts files"

    * tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux:
    of: Fix address decoding on Bimini and js2x machines
    of: remove CONFIG_OF_DEVICE
    usb: chipidea: depend on CONFIG_OF instead of CONFIG_OF_DEVICE
    of: remove of_platform_driver
    ibmebus: convert of_platform_driver to platform_driver
    driver core: move to_platform_driver to platform_device.h
    mfd: DT bindings for the palmas family MFD
    ARM: dts: omap3-devkit8000: fix NAND memory binding
    of/base: fix typos
    of: remove #ifdef from linux/of_platform.h

    Linus Torvalds
     
  • Pull input updates from Dmitry Torokhov:
    "First round of updates for the input subsystem.

    You will get a new touchsreen driver for Cypress 4th generation
    devices, a driver for a special controller implementing PS/2 protocol
    in OLPC devices, and a driver for power key for SiRFprimaII PWRC.

    HID and bcm5497 now support for the 2013 MacBook Air.

    EVIOCGKEY and the rest of evdev ioctls now flush events of matching
    type from the client's event queue so that clients can be sure any
    events received after issuing EVIOCG* ioctl are new events.

    And a host of cleanups and improvements in other drivers"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (87 commits)
    Input: cyttsp4 - kfree xfer_buf on error path in probe()
    Input: tps6507x-ts - select INPUT_POLLDEV
    Input: bcm5974 - add support for the 2013 MacBook Air
    HID: apple: Add support for the 2013 Macbook Air
    Input: cyttsp4 - leak on error path in probe()
    Input: cyttsp4 - silence NULL dereference warning
    Input: cyttsp4 - silence shift wrap warning
    Input: tps6507x-ts - convert to polled input device infrastructure
    ARM: davinci: da850-evm: remove vref from touchscreen platform data
    Input: cyttsp4 - SPI driver for Cypress TMA4XX touchscreen devices
    Input: cyttsp4 - I2C driver for Cypress TMA4XX touchscreen devices
    Input: cyttsp4 - add core driver for Cypress TMA4XX touchscreen devices
    Input: cyttsp - I2C driver split into two modules
    Input: add OLPC AP-SP driver
    Input: nspire-keypad - remove redundant dev_err call in nspire_keypad_probe()
    Input: tps6507x-ts - remove vref from platform data
    Input: tps6507x-ts - use bool for booleans
    Input: tps6507x-ts - remove bogus unreachable code
    Input: samsung-keypad - let device core setup the default pin configuration
    Input: wacom_i2c - implement hovering capability
    ...

    Linus Torvalds
     
  • Pull i2c updates from Wolfram Sang:
    - new drivers: Kontron PLD, Wondermedia VT
    - mv64xxx driver gained sun4i support and a bigger cleanup
    - duplicate driver 'intel-mid' removed
    - added generic device tree binding for sda holding time (and
    designware driver already uses it)
    - we tried to allow driver probing with only device tree and no i2c
    ids, but I had to revert it because of side effects. Needs some
    rethinking.
    - driver bugfixes, cleanups...

    * 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (34 commits)
    i2c-designware: use div_u64 to fix link
    i2c: Kontron PLD i2c bus driver
    i2c: iop3xxx: fix build failure after waitqueue changes
    i2c-designware: make SDA hold time configurable
    i2c: mv64xxx: Set bus frequency to 100kHz if clock-frequency is not provided
    i2c: imx: allow autoloading on dt ids
    i2c: mv64xxx: Fix transfer error code
    i2c: i801: SMBus patch for Intel Coleto Creek DeviceIDs
    i2c: omap: correct usage of the interrupt enable register
    i2c-pxa: prepare clock before use
    Revert "i2c: core: make it possible to match a pure device tree driver"
    i2c: nomadik: allocate adapter number dynamically
    i2c: nomadik: support elder Nomadiks
    i2c: mv64xxx: Add Allwinner sun4i compatible
    i2c: mv64xxx: make the registers offset configurable
    i2c: mv64xxx: Add macros to access parts of registers
    i2c: vt8500: Add support for I2C bus on Wondermedia SoCs
    i2c: designware: fix race between subsequent xfers
    i2c: bfin-twi: Read and write the FIFO in loop
    i2c: core: make it possible to match a pure device tree driver
    ...

    Linus Torvalds
     
  • Pull first round of SCSI updates from James Bottomley:
    "The patch set is mostly driver updates (usf, zfcp, lpfc, mpt2sas,
    megaraid_sas, bfa, ipr) and a few bug fixes. Also of note is that the
    Buslogic driver has been rewritten to a better coding style and 64 bit
    support added. We also removed the libsas limitation on 16 bytes for
    the command size (currently no drivers make use of this)"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (101 commits)
    [SCSI] megaraid: minor cut and paste error fixed.
    [SCSI] ufshcd-pltfrm: remove unnecessary dma_set_coherent_mask() call
    [SCSI] ufs: fix register address in UIC error interrupt handling
    [SCSI] ufshcd-pltfrm: add missing empty slot in ufs_of_match[]
    [SCSI] ufs: use devres functions for ufshcd
    [SCSI] ufs: Fix the response UPIU length setting
    [SCSI] ufs: rework link start-up process
    [SCSI] ufs: remove version check before IS reg clear
    [SCSI] ufs: amend interrupt configuration
    [SCSI] ufs: wrap the i/o access operations
    [SCSI] storvsc: Update the storage protocol to win8 level
    [SCSI] storvsc: Increase the value of scsi timeout for storvsc devices
    [SCSI] MAINTAINERS: Add myself as the maintainer for BusLogic SCSI driver
    [SCSI] BusLogic: Port driver to 64-bit.
    [SCSI] BusLogic: Fix style issues
    [SCSI] libiscsi: Added new boot entries in the session sysfs
    [SCSI] aacraid: Fix for arrays are going offline in the system. System hangs
    [SCSI] ipr: IOA Status Code(IOASC) update
    [SCSI] sd: Update WRITE SAME heuristics
    [SCSI] fnic: potential dead lock in fnic_is_abts_pending()
    ...

    Linus Torvalds
     
  • Pull trivial tree updates from Jiri Kosina:
    "The usual stuff from trivial tree"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (34 commits)
    treewide: relase -> release
    Documentation/cgroups/memory.txt: fix stat file documentation
    sysctl/net.txt: delete reference to obsolete 2.4.x kernel
    spinlock_api_smp.h: fix preprocessor comments
    treewide: Fix typo in printk
    doc: device tree: clarify stuff in usage-model.txt.
    open firmware: "/aliasas" -> "/aliases"
    md: bcache: Fixed a typo with the word 'arithmetic'
    irq/generic-chip: fix a few kernel-doc entries
    frv: Convert use of typedef ctl_table to struct ctl_table
    sgi: xpc: Convert use of typedef ctl_table to struct ctl_table
    doc: clk: Fix incorrect wording
    Documentation/arm/IXP4xx fix a typo
    Documentation/networking/ieee802154 fix a typo
    Documentation/DocBook/media/v4l fix a typo
    Documentation/video4linux/si476x.txt fix a typo
    Documentation/virtual/kvm/api.txt fix a typo
    Documentation/early-userspace/README fix a typo
    Documentation/video4linux/soc-camera.txt fix a typo
    lguest: fix CONFIG_PAE -> CONFIG_x86_PAE in comment
    ...

    Linus Torvalds
     
  • Pull HID updates from Jiri Kosina:
    - HID battery handling cleanup by David Herrmann
    - ELO 4000/4500 driver, which has been finally ported to be proper HID
    driver by Jiri Slaby
    - ps3remote driver functionality is now provided by generic sony
    driver, by Jiri Kosina
    - PS2/3 Buzz controllers support, by Colin Leitner
    - rework of wiimote driver including full extensions hotpluggin
    support, sub-device modularization and speaker support by David
    Herrmann

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (55 commits)
    HID: wacom: Intuos4 battery charging changes
    HID: i2c-hid: support sending HID output reports using the output register
    HID: kye: Add report fixup for Genius Gila Gaming mouse
    HID: wiimote: support Nintendo Wii U Pro Controller
    Input: make gamepad API keycodes more clear
    input: document gamepad API and add extra keycodes
    HID: explain out-of-range check better
    HID: fix false positive out of range values
    HID: wiimote: fix coccinelle warnings
    HID: roccat: check cdev_add return value
    HID: fold ps3remote driver into generic Sony driver
    HID: hyperv: convert alloc+memcpy to memdup
    HID: core: fix reporting of raw events
    HID: wiimote: discard invalid EXT data reports
    HID: wiimote: fix classic controller parsing
    HID: wiimote: init EXT/MP during device detection
    HID: wiimote: fix DRM debug-attr to correctly parse input
    HID: wiimote: add MP quirks
    HID: wiimote: remove old static extension support
    HID: wiimote: add "bboard_calib" attribute
    ...

    Linus Torvalds
     
  • Pull md updates from NeilBrown:
    "Mostly fixes, with a few minor features (eg 'last_sync_action' sysfs
    file)

    A couple marked for -stable including one recent bug which causes a
    RAID10 reshape to complete without moving any data :-(

    A couple more bugfixes (at least) to come, but haven't confirmed the
    right solution yet."

    * tag 'md-3.11' of git://neil.brown.name/md:
    md/raid10: fix bug which causes all RAID10 reshapes to move no data.
    md/raid5: allow 5-device RAID6 to be reshaped to 4-device.
    md/raid10: fix two bugs affecting RAID10 reshape.
    md: remove doubled description for sync_max, merging it within sync_min/sync_max
    MD: Remember the last sync operation that was performed
    md: fix buglet in RAID5 -> RAID0 conversion.
    md/raid10: check In_sync flag in 'enough()'.
    md/raid10: locking changes for 'enough()'.
    md: replace strict_strto*() with kstrto*()
    md: Wait for md_check_recovery before attempting device removal.
    dm-raid: silence compiler warning on rebuilds_per_group.
    DM RAID: Fix raid_resume not reviving failed devices in all cases
    DM RAID: Break-up untidy function
    DM RAID: Add ability to restore transiently failed devices on resume

    Linus Torvalds
     
  • Pull powerpc updates from Ben Herrenschmidt:
    "This is the powerpc changes for the 3.11 merge window. In addition to
    the usual bug fixes and small updates, the main highlights are:

    - Support for transparent huge pages by Aneesh Kumar for 64-bit
    server processors. This allows the use of 16M pages as transparent
    huge pages on kernels compiled with a 64K base page size.

    - Base VFIO support for KVM on power by Alexey Kardashevskiy

    - Wiring up of our nvram to the pstore infrastructure, including
    putting compressed oopses in there by Aruna Balakrishnaiah

    - Move, rework and improve our "EEH" (basically PCI error handling
    and recovery) infrastructure. It is no longer specific to pseries
    but is now usable by the new "powernv" platform as well (no
    hypervisor) by Gavin Shan.

    - I fixed some bugs in our math-emu instruction decoding and made it
    usable to emulate some optional FP instructions on processors with
    hard FP that lack them (such as fsqrt on Freescale embedded
    processors).

    - Support for Power8 "Event Based Branch" facility by Michael
    Ellerman. This facility allows what is basically "userspace
    interrupts" for performance monitor events.

    - A bunch of Transactional Memory vs. Signals bug fixes and HW
    breakpoint/watchpoint fixes by Michael Neuling.

    And more ... I appologize in advance if I've failed to highlight
    something that somebody deemed worth it."

    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (156 commits)
    pstore: Add hsize argument in write_buf call of pstore_ftrace_call
    powerpc/fsl: add MPIC timer wakeup support
    powerpc/mpic: create mpic subsystem object
    powerpc/mpic: add global timer support
    powerpc/mpic: add irq_set_wake support
    powerpc/85xx: enable coreint for all the 64bit boards
    powerpc/8xx: Erroneous double irq_eoi() on CPM IRQ in MPC8xx
    powerpc/fsl: Enable CONFIG_E1000E in mpc85xx_smp_defconfig
    powerpc/mpic: Add get_version API both for internal and external use
    powerpc: Handle both new style and old style reserve maps
    powerpc/hw_brk: Fix off by one error when validating DAWR region end
    powerpc/pseries: Support compression of oops text via pstore
    powerpc/pseries: Re-organise the oops compression code
    pstore: Pass header size in the pstore write callback
    powerpc/powernv: Fix iommu initialization again
    powerpc/pseries: Inform the hypervisor we are using EBB regs
    powerpc/perf: Add power8 EBB support
    powerpc/perf: Core EBB support for 64-bit book3s
    powerpc/perf: Drop MMCRA from thread_struct
    powerpc/perf: Don't enable if we have zero events
    ...

    Linus Torvalds
     

04 Jul, 2013

32 commits

  • Jiri Kosina
     
  • Pull hwmon updates from Guenter Roeck:
    - new driver to support GMT G762/G763 pwm fan controllers
    - add support for DS1631, DS1721, and DS1731 to ds1621 driver
    - remove detect function from ds1621 driver as unreliable
    - bug fixes in nct6775, iio_hwmon, and adm1021 drivers
    - remove redundant platform_set_drvdata in various drivers
    - add device tree support to ina2xx driver

    * tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
    hwmon: (ds1621) Fix temperature rounding operations
    hwmon: (nct6775) Drop unsupported fan alarm attributes for NCT6775
    hwmon: (nct6775) Fix temperature alarm attributes
    Add support for GMT G762/G763 PWM fan controllers
    hwmon: (ina2xx) Add device tree support to pass the shunt resistor
    hwmon: (ds1621) Update documentation
    hwmon: (ds1621) Add DS1731 chip support to ds1621 driver
    hwmon: (iio_hwmon) add alias table
    hwmon: (adm1021) Do not create min sysfs attributes for LM84
    hwmon: (ds1621) Remove detect function
    hwmon: (ds1621) Add ds1631 chip support to ds1621 driver and documentation
    hwmon: (ds1621) Add ds1721 update interval sysfs attribute
    hwmon: (ds1621) Add ds1721 chip support
    hwmon: (w83627ehf) Remove redundant platform_set_drvdata()
    hwmon: (ntc_thermistor) Remove redundant platform_set_drvdata()
    hwmon: (i5k_amb) Remove redundant platform_set_drvdata()
    hwmon: (coretemp) Remove redundant platform_set_drvdata()
    hwmon: (abituguru3) Remove redundant platform_set_drvdata()

    Linus Torvalds
     
  • Pull LED subsystem updates from Bryan Wu:
    - lp55xx device tree updates
    - mc13xxx driver updates
    - some clean up

    * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds:
    leds: mc13783: Fix "uninitialized variable" warning
    leds: Convert led class driver from legacy pm ops to dev_pm_ops
    leds: leds-mc13783: Add MC13892 LED support
    leds: leds-mc13783: Prepare driver to support MC13892 LEDs
    leds: renesas-tpu: cleanup a small type issue
    leds: use platform_{get,set}_drvdata()
    leds: leds-gpio: Let device core handle pinctrl
    leds: lp5562: Properly setup of_device_id table
    leds: lp5523: Properly setup of_device_id table
    leds: lp5521: Properly setup of_device_id table
    leds: lp5562: support the device tree feature
    leds: lp55xx: support dynamic channel settings in the device tree structure
    leds: leds-ns2: remove unnecessary platform_set_drvdata()
    leds: leds-mc13783: remove unnecessary platform_set_drvdata()
    leds: leds-gpio: remove unnecessary platform_set_drvdata()
    leds: atmel-pwm: remove unnecessary platform_set_drvdata()
    leds: lp55xx: add support for Device Tree bindings

    Linus Torvalds
     
  • Pull sound updates from Takashi Iwai:
    "A relative calm release at this time with a flat diffstat. The only
    significant change in the ALSA core side is the support for more than
    32 card instances, configurable via kconfig. Other than that, in both
    ASoC and other parts, mostly some improvements and fixes on the driver
    side.

    - hda: More quirks for ALC269-variants on Dell & co, VIA codec fixes
    - hda: Haswell HDMI audio fixes, runtime PM improvements
    - hda: Intel BayTrail support, ALC5505 DSP support
    - es1968: MediaForte M56VAP support
    - usb-audio: Improved support for Yamaha/Roland devices
    - usb-audio: M2Tech hiFace, Audio Advantage Micro II support
    - hdspm: wordclock fixes
    - ASoC: Pending fixes for WM8962
    - ASoC: Cleanups and fixes for Blackfin, SGTL5000 and UX500
    - ASoC: Generalisation of the Bluetooth and HDMI stub drivers
    - ASoC: SSM2518 and RT5640 codec drivers.
    - ASoC: Tegra CPUs with RT5640 machine driver
    - ASoC: AC'97 refactoring bug fixes
    - ASoC: ADAU1701 driver fixes
    - Clean up of *_set_drvdata() in a wide range of drivers"

    * tag 'sound-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (284 commits)
    ALSA: vmaster: Fix the regression of missing vmaster hook call
    ALSA: hda - Add Dell SSID to support Headset Mic recording
    ASoC: adau1701: remove control_data assignment
    ASoC: adau1701: more direct regmap usage
    ASoC: ac97: fixup multi-platform AC'97 module build failure
    ASoC: pxa2xx: fixup multi-platform AC'97 build failures
    ASoC: tegra20-ac97: Remove unused variable
    ASoC: tegra20-ac97: Remove duplicate error message
    ALSA: usb-audio: Add Audio Advantage Micro II
    ASoC: tas5086: fix Mid-Z implementation
    ASoC: tas5086: fix TAS5086_CLOCK_CONTROL register size
    ALSA: Replace the magic number 44 with const
    ALSA: hda - Fix the max length of control name in generic parser
    ALSA: hda - Guess what, it's two more Dell headset mic quirks
    ALSA: hda - Yet another Dell headset mic quirk
    ALSA: hda - Add support for ALC5505 DSP power-save mode
    ASoC: mfld: Remove unused variable
    ALSA: usb-audio: add quirks for Roland QUAD/OCTO-CAPTURE
    ALSA: usb-audio: claim autodetected PCM interfaces all at once
    ALSA: usb-audio: remove superfluous Roland quirks
    ...

    Linus Torvalds
     
  • Pull libata updates from Tejun Heo:
    "Overview of changes:

    - The rest of maintainer email address updates.

    - Some core updates - more robust default behavior for port
    multipliers, better error reporting for SG_IO commands, and a way
    to better work around now ancient and probably pretty rare PATA ->
    SATA bridges with ATAPI devices.

    - sata_rcar stabilization.

    - Some hardware PCI ID additions and one-off low level driver
    updates."

    * 'for-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata: (22 commits)
    AHCI: use ATA_BUSY
    libata-zpodd: must use ata_tf_init()
    ahci: AHCI-mode SATA patch for Intel Coleto Creek DeviceIDs
    ata_piix: IDE-mode SATA patch for Intel Coleto Creek DeviceIDs
    libata: cleanup SAT error translation
    ahci: sata: add support for exynos5440 sata
    libata: skip SRST for all SIMG [34]7x port-multipliers
    ahci: remove pmp link online check in FBS EH
    sata highbank: add bit-banged SGPIO driver support
    ahci: make ahci_transmit_led_message into a function pointer
    sata_rcar: fix compilation warning in sata_rcar_thaw()
    sata_highbank: increase retry count but shorten duration for Calxeda controller
    ata: use pci_get_drvdata()
    ipr: qc_fill_rtf() method should not store alternate status register
    sata_rcar: add 'base' local variable to some functions
    sata_rcar: correct 'sata_rcar_sht'
    sata_rcar: kill superfluous code in sata_rcar_bmdma_fill_sg()
    libata: do not limit R-Car SATA driver to shmobile
    ata: use platform_{get,set}_drvdata()
    AHCI: Make distinct names for ports in /proc/interrupts
    ...

    Linus Torvalds
     
  • Merge first patch-bomb from Andrew Morton:
    - various misc bits
    - I'm been patchmonkeying ocfs2 for a while, as Joel and Mark have been
    distracted. There has been quite a bit of activity.
    - About half the MM queue
    - Some backlight bits
    - Various lib/ updates
    - checkpatch updates
    - zillions more little rtc patches
    - ptrace
    - signals
    - exec
    - procfs
    - rapidio
    - nbd
    - aoe
    - pps
    - memstick
    - tools/testing/selftests updates

    * emailed patches from Andrew Morton : (445 commits)
    tools/testing/selftests: don't assume the x bit is set on scripts
    selftests: add .gitignore for kcmp
    selftests: fix clean target in kcmp Makefile
    selftests: add .gitignore for vm
    selftests: add hugetlbfstest
    self-test: fix make clean
    selftests: exit 1 on failure
    kernel/resource.c: remove the unneeded assignment in function __find_resource
    aio: fix wrong comment in aio_complete()
    drivers/w1/slaves/w1_ds2408.c: add magic sequence to disable P0 test mode
    drivers/memstick/host/r592.c: convert to module_pci_driver
    drivers/memstick/host/jmb38x_ms: convert to module_pci_driver
    pps-gpio: add device-tree binding and support
    drivers/pps/clients/pps-gpio.c: convert to module_platform_driver
    drivers/pps/clients/pps-gpio.c: convert to devm_* helpers
    drivers/parport/share.c: use kzalloc
    Documentation/accounting/getdelays.c: avoid strncpy in accounting tool
    aoe: update internal version number to v83
    aoe: update copyright date
    aoe: perform I/O completions in parallel
    ...

    Linus Torvalds
     
  • Pull PCI changes from Bjorn Helgaas:
    "PCI device hotplug
    - Add pci_alloc_dev() interface (Gu Zheng)
    - Add pci_bus_get()/put() for reference counting (Jiang Liu)
    - Fix SR-IOV reference count issues (Jiang Liu)
    - Remove unused acpi_pci_roots list (Jiang Liu)

    MSI
    - Conserve interrupt resources on x86 (Alexander Gordeev)

    AER
    - Force fatal severity when component has been reset (Betty Dall)
    - Reset link below Root Port as well as Downstream Port (Betty Dall)
    - Fix "Firmware first" flag setting (Bjorn Helgaas)
    - Don't parse HEST for non-PCIe devices (Bjorn Helgaas)

    ASPM
    - Warn when we can't disable ASPM as driver requests (Bjorn Helgaas)

    Miscellaneous
    - Add CircuitCo PCI IDs (Darren Hart)
    - Add AMD CZ SATA and SMBus PCI IDs (Shane Huang)
    - Work around Ivytown NTB BAR size issue (Jon Mason)
    - Detect invalid initial BAR values (Kevin Hao)
    - Add pcibios_release_device() (Sebastian Ott)
    - Fix powerpc & sparc PCI_UNKNOWN power state usage (Bjorn Helgaas)"

    * tag 'pci-v3.11-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (51 commits)
    MAINTAINERS: Add ACPI folks for ACPI-related things under drivers/pci
    PCI: Add CircuitCo vendor ID and subsystem ID
    PCI: Use pdev->pm_cap instead of pci_find_capability(..,PCI_CAP_ID_PM)
    PCI: Return early on allocation failures to unindent mainline code
    PCI: Simplify IOV implementation and fix reference count races
    PCI: Drop redundant setting of bus->is_added in virtfn_add_bus()
    unicore32/PCI: Remove redundant call of pci_bus_add_devices()
    m68k/PCI: Remove redundant call of pci_bus_add_devices()
    PCI / ACPI / PM: Use correct power state strings in messages
    PCI: Fix comment typo for pcie_pme_remove()
    PCI: Rename pci_release_bus_bridge_dev() to pci_release_host_bridge_dev()
    PCI: Fix refcount issue in pci_create_root_bus() error recovery path
    ia64/PCI: Clean up pci_scan_root_bus() usage
    PCI/AER: Reset link for devices below Root Port or Downstream Port
    ACPI / APEI: Force fatal AER severity when component has been reset
    PCI/AER: Remove "extern" from function declarations
    PCI/AER: Move AER severity defines to aer.h
    PCI/AER: Set dev->__aer_firmware_first only for matching devices
    PCI/AER: Factor out HEST device type matching
    PCI/AER: Don't parse HEST table for non-PCIe devices
    ...

    Linus Torvalds
     
  • Instead of allocating a struct pps_gpio_platform_data in the DT case,
    store the necessary information in struct pps_gpio_device_data itself.
    This avoids an additional allocation and the ifdef. It also gets rid of
    some indirection.

    Also use dev_err instead of pr_err in the changed code.

    Signed-off-by: Jan Luebbe
    Acked-by: Arnd Bergmann
    Acked-by: Rodolfo Giometti
    Cc: Grant Likely
    Cc: Rob Herring
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Luebbe
     
  • Avoid strncpy anti-pattern.

    [akpm@linux-foundation.org: remove the str[cpy|dup] altogether]
    Signed-off-by: Kees Cook
    Cc: Andreas Schwab
    Cc: Rob Landley
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kees Cook
     
  • Update RapidIO documentation files to reflect modularization changes.

    Signed-off-by: Alexandre Bounine
    Cc: Matt Porter
    Cc: Li Yang
    Cc: Kumar Gala
    Cc: Andre van Herk
    Cc: Micha Nelissen
    Cc: Stef van Os
    Cc: Jean Delvare
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexandre Bounine
     
  • Signed-off-by: Zhang Yanfei
    Cc: Vivek Goyal
    Cc: "Eric W. Biederman"
    Cc: "H. Peter Anvin"
    Cc: Benjamin Herrenschmidt
    Cc: Dave Hansen
    Cc: Fenghua Yu
    Cc: Heiko Carstens
    Cc: Martin Schwidefsky
    Cc: Matt Fleming
    Cc: Michael Holzheu
    Cc: Paul Mackerras
    Cc: Ralf Baechle
    Cc: Tony Luck
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Zhang Yanfei
     
  • /dev/oldmem provides the interface for us to access the "old memory" in
    the dump-capture kernel. Unfortunately, no one actually uses this
    interface.

    And this interface could actually cause some real problems if used on ia64
    where the cached/uncached accesses are mixed. See the discussion from the
    link: https://lkml.org/lkml/2013/4/12/386.

    So Eric suggested that we should remove /dev/oldmem as an unused piece of
    code.

    [akpm@linux-foundation.org: mention /dev/oldmem obsolescence in devices.txt]
    Suggested-by: "Eric W. Biederman"
    Signed-off-by: Zhang Yanfei
    Cc: Vivek Goyal
    Cc: Dave Hansen
    Cc: "H. Peter Anvin"
    Cc: "H. Peter Anvin"
    Cc: Benjamin Herrenschmidt
    Cc: Fenghua Yu
    Cc: Heiko Carstens
    Cc: Martin Schwidefsky
    Cc: Matt Fleming
    Cc: Michael Holzheu
    Cc: Paul Mackerras
    Cc: Ralf Baechle
    Cc: Tony Luck
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Zhang Yanfei
     
  • Add Fast User Mutexes (futexes) to kernel-locking docbook.

    Signed-off-by: Randy Dunlap
    Acked-by: Rob Landley
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • A surprising number of newbies interpret this section to mean that only
    one return statement is allowed per function. Part of the problem is that
    the "one return statement per function" rule is an actual style guideline
    that people are used to from other projects.

    Signed-off-by: Dan Carpenter
    Cc: Eduardo Valentin
    Cc: Rob Landley
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Dan Carpenter
     
  • This adds the ability for the rtc sysfs code to handle += characters at
    the beginning of a wakealarm setting string. This will allow the user
    to attempt to push out an existing wakealarm by a provided amount.

    In the case that the += characters are provided but the alarm is not
    active -EINVAL is returned.

    his is useful, at least for my purposes in suspend/resume testing. The
    basic test goes something like:

    1. Set a wake alarm from userspace 5 seconds in the future

    2. Start the suspend process (echo mem > /sys/power/state)

    3. After ~2.5 seconds if userspace is still running (using another
    thread to check this), move the wake alarm 5 more seconds

    If the "move" involves an unset of the wakealarm then there's a period
    of time where the system is midway through suspending but has no wake
    alarm. It will get stuck.

    We'd rather not remove the "move" since the idea is to avoid a cancelled
    suspend when the alarm fires _during_ suspend. It is difficult for the
    test to tell the difference between a suspend that was cancelled because
    the alarm fired too early and a suspend that was

    Signed-off-by: Bernie Thompson
    Cc: Alessandro Zummo
    Cc: Doug Anderson
    Cc: "Rafael J. Wysocki"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bernie Thompson
     
  • There have never been any real users of MEMSET operations since they
    have been introduced in January 2007 by commit 7405f74badf4 ("dmaengine:
    refactor dmaengine around dma_async_tx_descriptor"). Therefore remove
    support for them for now, it can be always brought back when needed.

    [sebastian.hesselbarth@gmail.com: fix drivers/dma/mv_xor]
    Signed-off-by: Bartlomiej Zolnierkiewicz
    Signed-off-by: Kyungmin Park
    Signed-off-by: Sebastian Hesselbarth
    Cc: Vinod Koul
    Acked-by: Dan Williams
    Cc: Tomasz Figa
    Cc: Herbert Xu
    Cc: Olof Johansson
    Cc: Kevin Hilman
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bartlomiej Zolnierkiewicz
     
  • Signed-off-by: Mel Gorman
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mel Gorman
     
  • The documentation for address_space_operations is partially out of date.

    Signed-off-by: Mel Gorman
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mel Gorman
     
  • hugetlb cgroup has already been implemented.

    Signed-off-by: Li Zefan
    Acked-by: KAMEZAWA Hiroyuki
    Acked-by: Rob Landley
    Cc: Michal Hocko
    Cc: Johannes Weiner
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Li Zefan
     
  • In order to reuse bits from pagemap entries gracefully, we leave the
    entries as is but on pagemap open emit a warning in dmesg, that bits
    55-60 are about to change in a couple of releases. Next, if a user
    issues soft-dirty clear command via the clear_refs file (it was disabled
    before v3.9) we assume that he's aware of the new pagemap format, note
    that fact and report the bits in pagemap in the new manner.

    The "migration strategy" looks like this then:

    1. existing users are not affected -- they don't touch soft-dirty feature, thus
    see old bits in pagemap, but are warned and have time to fix themselves
    2. those who use soft-dirty know about new pagemap format
    3. some time soon we get rid of any signs of page-shift in pagemap as well as
    this trick with clear-soft-dirty affecting pagemap format.

    Signed-off-by: Pavel Emelyanov
    Cc: Matt Mackall
    Cc: Xiao Guangrong
    Cc: Glauber Costa
    Cc: Marcelo Tosatti
    Cc: KOSAKI Motohiro
    Cc: Stephen Rothwell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Pavel Emelyanov
     
  • The soft-dirty is a bit on a PTE which helps to track which pages a task
    writes to. In order to do this tracking one should

    1. Clear soft-dirty bits from PTEs ("echo 4 > /proc/PID/clear_refs)
    2. Wait some time.
    3. Read soft-dirty bits (55'th in /proc/PID/pagemap2 entries)

    To do this tracking, the writable bit is cleared from PTEs when the
    soft-dirty bit is. Thus, after this, when the task tries to modify a
    page at some virtual address the #PF occurs and the kernel sets the
    soft-dirty bit on the respective PTE.

    Note, that although all the task's address space is marked as r/o after
    the soft-dirty bits clear, the #PF-s that occur after that are processed
    fast. This is so, since the pages are still mapped to physical memory,
    and thus all the kernel does is finds this fact out and puts back
    writable, dirty and soft-dirty bits on the PTE.

    Another thing to note, is that when mremap moves PTEs they are marked
    with soft-dirty as well, since from the user perspective mremap modifies
    the virtual memory at mremap's new address.

    Signed-off-by: Pavel Emelyanov
    Cc: Matt Mackall
    Cc: Xiao Guangrong
    Cc: Glauber Costa
    Cc: Marcelo Tosatti
    Cc: KOSAKI Motohiro
    Cc: Stephen Rothwell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Pavel Emelyanov
     
  • Pull power management and ACPI updates from Rafael Wysocki:
    "This time the total number of ACPI commits is slightly greater than
    the number of cpufreq commits, but Viresh Kumar (who works on cpufreq)
    remains the most active patch submitter.

    To me, the most significant change is the addition of offline/online
    device operations to the driver core (with the Greg's blessing) and
    the related modifications of the ACPI core hotplug code. Next are the
    freezer updates from Colin Cross that should make the freezing of
    tasks a bit less heavy weight.

    We also have a couple of regression fixes, a number of fixes for
    issues that have not been identified as regressions, two new drivers
    and a bunch of cleanups all over.

    Highlights:

    - Hotplug changes to support graceful hot-removal failures.

    It sometimes is necessary to fail device hot-removal operations
    gracefully if they cannot be carried out completely. For example,
    if memory from a memory module being hot-removed has been allocated
    for the kernel's own use and cannot be moved elsewhere, it's
    desirable to fail the hot-removal operation in a graceful way
    rather than to crash the kernel, but currenty a success or a kernel
    crash are the only possible outcomes of an attempted memory
    hot-removal. Needless to say, that is not a very attractive
    alternative and it had to be addressed.

    However, in order to make it work for memory, I first had to make
    it work for CPUs and for this purpose I needed to modify the ACPI
    processor driver. It's been split into two parts, a resident one
    handling the low-level initialization/cleanup and a modular one
    playing the actual driver's role (but it binds to the CPU system
    device objects rather than to the ACPI device objects representing
    processors). That's been sort of like a live brain surgery on a
    patient who's riding a bike.

    So this is a little scary, but since we found and fixed a couple of
    regressions it caused to happen during the early linux-next testing
    (a month ago), nobody has complained.

    As a bonus we remove some duplicated ACPI hotplug code, because the
    ACPI-based CPU hotplug is now going to use the common ACPI hotplug
    code.

    - Lighter weight freezing of tasks.

    These changes from Colin Cross and Mandeep Singh Baines are
    targeted at making the freezing of tasks a bit less heavy weight
    operation. They reduce the number of tasks woken up every time
    during the freezing, by using the observation that the freezer
    simply doesn't need to wake up some of them and wait for them all
    to call refrigerator(). The time needed for the freezer to decide
    to report a failure is reduced too.

    Also reintroduced is the check causing a lockdep warining to
    trigger when try_to_freeze() is called with locks held (which is
    generally unsafe and shouldn't happen).

    - cpufreq updates

    First off, a commit from Srivatsa S Bhat fixes a resume regression
    introduced during the 3.10 cycle causing some cpufreq sysfs
    attributes to return wrong values to user space after resume. The
    fix is kind of fresh, but also it's pretty obvious once Srivatsa
    has identified the root cause.

    Second, we have a new freqdomain_cpus sysfs attribute for the
    acpi-cpufreq driver to provide information previously available via
    related_cpus. From Lan Tianyu.

    Finally, we fix a number of issues, mostly related to the
    CPUFREQ_POSTCHANGE notifier and cpufreq Kconfig options and clean
    up some code. The majority of changes from Viresh Kumar with bits
    from Jacob Shin, Heiko Stübner, Xiaoguang Chen, Ezequiel Garcia,
    Arnd Bergmann, and Tang Yuantian.

    - ACPICA update

    A usual bunch of updates from the ACPICA upstream.

    During the 3.4 cycle we introduced support for ACPI 5 extended
    sleep registers, but they are only supposed to be used if the
    HW-reduced mode bit is set in the FADT flags and the code attempted
    to use them without checking that bit. That caused suspend/resume
    regressions to happen on some systems. Fix from Lv Zheng causes
    those registers to be used only if the HW-reduced mode bit is set.

    Apart from this some other ACPICA bugs are fixed and code cleanups
    are made by Bob Moore, Tomasz Nowicki, Lv Zheng, Chao Guan, and
    Zhang Rui.

    - cpuidle updates

    New driver for Xilinx Zynq processors is added by Michal Simek.

    Multidriver support simplification, addition of some missing
    kerneldoc comments and Kconfig-related fixes come from Daniel
    Lezcano.

    - ACPI power management updates

    Changes to make suspend/resume work correctly in Xen guests from
    Konrad Rzeszutek Wilk, sparse warning fix from Fengguang Wu and
    cleanups and fixes of the ACPI device power state selection
    routine.

    - ACPI documentation updates

    Some previously missing pieces of ACPI documentation are added by
    Lv Zheng and Aaron Lu (hopefully, that will help people to
    uderstand how the ACPI subsystem works) and one outdated doc is
    updated by Hanjun Guo.

    - Assorted ACPI updates

    We finally nailed down the IA-64 issue that was the reason for
    reverting commit 9f29ab11ddbf ("ACPI / scan: do not match drivers
    against objects having scan handlers"), so we can fix it and move
    the ACPI scan handler check added to the ACPI video driver back to
    the core.

    A mechanism for adding CMOS RTC address space handlers is
    introduced by Lan Tianyu to allow some EC-related breakage to be
    fixed on some systems.

    A spec-compliant implementation of acpi_os_get_timer() is added by
    Mika Westerberg.

    The evaluation of _STA is added to do_acpi_find_child() to avoid
    situations in which a pointer to a disabled device object is
    returned instead of an enabled one with the same _ADR value. From
    Jeff Wu.

    Intel BayTrail PCH (Platform Controller Hub) support is added to
    the ACPI driver for Intel Low-Power Subsystems (LPSS) and that
    driver is modified to work around a couple of known BIOS issues.
    Changes from Mika Westerberg and Heikki Krogerus.

    The EC driver is fixed by Vasiliy Kulikov to use get_user() and
    put_user() instead of dereferencing user space pointers blindly.

    Code cleanups are made by Bjorn Helgaas, Nicholas Mazzuca and Toshi
    Kani.

    - Assorted power management updates

    The "runtime idle" helper routine is changed to take the return
    values of the callbacks executed by it into account and to call
    rpm_suspend() if they return 0, which allows us to reduce the
    overall code bloat a bit (by dropping some code that's not
    necessary any more after that modification).

    The runtime PM documentation is updated by Alan Stern (to reflect
    the "runtime idle" behavior change).

    New trace points for PM QoS are added by Sahara
    ().

    PM QoS documentation is updated by Lan Tianyu.

    Code cleanups are made and minor issues are addressed by Bernie
    Thompson, Bjorn Helgaas, Julius Werner, and Shuah Khan.

    - devfreq updates

    New driver for the Exynos5-bus device from Abhilash Kesavan.

    Minor cleanups, fixes and MAINTAINERS update from MyungJoo Ham,
    Abhilash Kesavan, Paul Bolle, Rajagopal Venkat, and Wei Yongjun.

    - OMAP power management updates

    Adaptive Voltage Scaling (AVS) SmartReflex voltage control driver
    updates from Andrii Tseglytskyi and Nishanth Menon."

    * tag 'pm+acpi-3.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (162 commits)
    cpufreq: Fix cpufreq regression after suspend/resume
    ACPI / PM: Fix possible NULL pointer deref in acpi_pm_device_sleep_state()
    PM / Sleep: Warn about system time after resume with pm_trace
    cpufreq: don't leave stale policy pointer in cdbs->cur_policy
    acpi-cpufreq: Add new sysfs attribute freqdomain_cpus
    cpufreq: make sure frequency transitions are serialized
    ACPI: implement acpi_os_get_timer() according the spec
    ACPI / EC: Add HP Folio 13 to ec_dmi_table in order to skip DSDT scan
    ACPI: Add CMOS RTC Operation Region handler support
    ACPI / processor: Drop unused variable from processor_perflib.c
    cpufreq: tegra: call CPUFREQ_POSTCHANGE notfier in error cases
    cpufreq: s3c64xx: call CPUFREQ_POSTCHANGE notfier in error cases
    cpufreq: omap: call CPUFREQ_POSTCHANGE notfier in error cases
    cpufreq: imx6q: call CPUFREQ_POSTCHANGE notfier in error cases
    cpufreq: exynos: call CPUFREQ_POSTCHANGE notfier in error cases
    cpufreq: dbx500: call CPUFREQ_POSTCHANGE notfier in error cases
    cpufreq: davinci: call CPUFREQ_POSTCHANGE notfier in error cases
    cpufreq: arm-big-little: call CPUFREQ_POSTCHANGE notfier in error cases
    cpufreq: powernow-k8: call CPUFREQ_POSTCHANGE notfier in error cases
    cpufreq: pcc: call CPUFREQ_POSTCHANGE notfier in error cases
    ...

    Linus Torvalds
     
  • Pull security subsystem updates from James Morris:
    "In this update, Smack learns to love IPv6 and to mount a filesystem
    with a transmutable hierarchy (i.e. security labels are inherited
    from parent directory upon creation rather than creating process).

    The rest of the changes are maintenance"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: (37 commits)
    tpm/tpm_i2c_infineon: Remove unused header file
    tpm: tpm_i2c_infinion: Don't modify i2c_client->driver
    evm: audit integrity metadata failures
    integrity: move integrity_audit_msg()
    evm: calculate HMAC after initializing posix acl on tmpfs
    maintainers: add Dmitry Kasatkin
    Smack: Fix the bug smackcipso can't set CIPSO correctly
    Smack: Fix possible NULL pointer dereference at smk_netlbl_mls()
    Smack: Add smkfstransmute mount option
    Smack: Improve access check performance
    Smack: Local IPv6 port based controls
    tpm: fix regression caused by section type conflict of tpm_dev_release() in ppc builds
    maintainers: Remove Kent from maintainers
    tpm: move TPM_DIGEST_SIZE defintion
    tpm_tis: missing platform_driver_unregister() on error in init_tis()
    security: clarify cap_inode_getsecctx description
    apparmor: no need to delay vfree()
    apparmor: fix fully qualified name parsing
    apparmor: fix setprocattr arg processing for onexec
    apparmor: localize getting the security context to a few macros
    ...

    Linus Torvalds
     
  • Pull KVM fixes from Paolo Bonzini:
    "On the x86 side, there are some optimizations and documentation
    updates. The big ARM/KVM change for 3.11, support for AArch64, will
    come through Catalin Marinas's tree. s390 and PPC have misc cleanups
    and bugfixes"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (87 commits)
    KVM: PPC: Ignore PIR writes
    KVM: PPC: Book3S PR: Invalidate SLB entries properly
    KVM: PPC: Book3S PR: Allow guest to use 1TB segments
    KVM: PPC: Book3S PR: Don't keep scanning HPTEG after we find a match
    KVM: PPC: Book3S PR: Fix invalidation of SLB entry 0 on guest entry
    KVM: PPC: Book3S PR: Fix proto-VSID calculations
    KVM: PPC: Guard doorbell exception with CONFIG_PPC_DOORBELL
    KVM: Fix RTC interrupt coalescing tracking
    kvm: Add a tracepoint write_tsc_offset
    KVM: MMU: Inform users of mmio generation wraparound
    KVM: MMU: document fast invalidate all mmio sptes
    KVM: MMU: document fast invalidate all pages
    KVM: MMU: document fast page fault
    KVM: MMU: document mmio page fault
    KVM: MMU: document write_flooding_count
    KVM: MMU: document clear_spte_count
    KVM: MMU: drop kvm_mmu_zap_mmio_sptes
    KVM: MMU: init kvm generation close to mmio wrap-around value
    KVM: MMU: add tracepoint for check_mmio_spte
    KVM: MMU: fast invalidate all mmio sptes
    ...

    Linus Torvalds
     
  • Pull regulator updates from Mark Brown:
    "Very quiet release here, as well as the usual driver specific updates
    only a couple of new things:

    - New drivers for TI ABB LDOs and MAX77693 PMICs
    - Support for enabling bypass mode support via device tree"

    * tag 'regulator-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (23 commits)
    regulator: max77693: Remove NULL test for rmatch[i].init_data
    regulator: max77693: Fix trivial typo
    regulator: ab8500-ext: Staticize local symbols
    regulator: max77693: Add max77693 regualtor driver.
    regulator: max8973: fix a typo in documentation
    regulator: max8973: initial DT support
    regulators: max8973: fix multiple instance support
    regulator: of: Added a property to indicate bypass mode support
    regulator: ti-abb: Convert to use devm_ioremap_resource
    regulator: tps62360: Fix crash in i2c_driver .probe
    regulator: ab8500: Provide supply names for the AUX regulators
    regulator: ab8500-ext: Enable for Device Tree
    regulator: ab8500-ext: Register as a device in its own right
    regulator: ab8500-ext: Provide a set_voltage call-back operation
    regulator: ab8500: Ensure AB8500 external registers are probed first
    regulator: core: add regulator_get_linear_step()
    regulator: lp397x: use devm_kzalloc() to make cleanup paths simpler
    regulator: lp872x: support the device tree feature
    regulator: Remove unnecessary include of linux/delay.h from regulator drivers
    regulator: isl6271a: Use NULL instead of 0
    ...

    Linus Torvalds
     
  • Pull clock framework updates from Mike Turquette:
    "The common clock framework changes for 3.11 include new clock drivers
    across several different platforms and architectures, fixes to
    existing drivers, a MAINTAINERS file fix and improvements to the basic
    clock types that allow them to be of use to more platforms than before.

    Only a few fixes to the core framework are included with most all of
    the changes landing in the various clock drivers themselves."

    * tag 'clk-for-linus-3.11' of git://git.linaro.org/people/mturquette/linux: (55 commits)
    clk: tegra: fix ifdef for tegra_periph_reset_assert inline
    clk: tegra: provide tegra_periph_reset_assert alternative
    clk: exynos4: Fix clock aliases for cpufreq related clocks
    clk: samsung: Add MUX_FA macro to pass flag and alias
    clk: add support for Rockchip gate clocks
    clk: vexpress: Make the clock drivers directly available for arm64
    clk: vexpress: Use full node name to identify individual clocks
    clk: tegra: T114: add DFLL DVCO reset control
    clk: tegra: T114: add DFLL source clocks
    clk: tegra: T114: add FCPU clock shaper programming, needed by the DFLL
    clk: gate: add CLK_GATE_HIWORD_MASK
    clk: divider: add CLK_DIVIDER_HIWORD_MASK flag
    clk: mux: add CLK_MUX_HIWORD_MASK
    clk: Always notify whole subtree when reparenting
    MAINTAINERS: make drivers/clk entry match subdirs
    clk: honor CLK_GET_RATE_NOCACHE in clk_set_rate
    clk: use clk_get_rate() for debugfs
    clk: tegra: Use override bits when needed
    clk: tegra: override bits for Tegra30 PLLM
    clk: tegra: override bits for Tegra114 PLLM
    ...

    Linus Torvalds
     
  • Pull spi updates from Mark Brown:
    "A fairly quiet release for the SPI subsystem, the standout changes
    being:

    - Core support for implementing bits per word constraints implemented
    by Stephen Warren, factoring some code out of drivers.

    - Addition of polling mode support for the s3c64xx driver as some
    newer Exynos systems have taken the unusual step of removing
    interrupt support.

    - Use of the in-IP FIFO and generic dmaengine support for the OMAP2
    driver, providing improved performance.

    - Conversion of the mpc512x driver to use the core message queue
    infrastructure.

    The nicest thing being that all the factoring out into common code
    leads to a negative diffstat overall."

    * tag 'spi-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (42 commits)
    spi/s3c64xx: Rely on the compiler eliminating the OF ID table
    spi: s3c64xx: Added support for exynos5440 spi
    spi: s3c64xx: Added provision for dedicated cs pin
    spi: omap2-mcspi: add generic DMA request support to the DT binding
    spi: omap2-mcspi: convert to dma_request_slave_channel_compat()
    spi/s3c64xx: Make wait_for_timeout() function name less generic
    spi: s3c64xx: added support for polling mode
    spi: omap2-mcspi: Add FIFO buffer support
    spi: omap2-mcspi: Move bytes per word calculation to the function
    spi: spi-xilinx: cleanup a check in xilinx_spi_txrx_bufs()
    spi: spi-nuc900: Remove redundant platform_set_drvdata()
    spi: spi-fsl-lib: Make mpc8xxx_spi_work static
    spi: spi-topcliff-pch: Fix sparse warnings
    spi: spi-xilinx: Remove redundant platform_set_drvdata()
    spi: spi-xilinx: Add run run-time endian detection
    spi: mpc512x: use the SPI subsystem's message queue
    spi: mpc512x: improve throughput in the RX/TX func
    spi: mpc512x: minor prep before feature change
    spi: atmel: convert to dma_request_slave_channel_compat()
    spi: sirf: avoid uninitialized-use warning
    ...

    Linus Torvalds
     
  • …/linusw/linux-pinctrl

    Pull pin control changes from Linus Walleij:

    - A large slew of improvements of the Genric pin configuration support,
    and deployment in four different platforms: Rockchip, Super-H PFC,
    ABx500 and TZ1090. Support BIAS_BUS_HOLD, get device tree parsing
    and debugfs support into shape.

    - We also have device tree support with generic naming conventions for
    the generic pin configuration.

    - Delete the unused and confusing direct pinconf API. Now state
    transitions is *the* way to control pins and multiplexing.

    - New drivers for Rockchip, TZ1090, and TZ1090 PDC.

    - Two pin control states related to power management are now handled in
    the device core: "sleep" and "idle", removing a lot of boilerplate
    code in drivers. We do not yet know if this is the final word for
    pin PM, but it already make things a lot easier to handle.

    - Handle sparse GPIO ranges passing a list of disparate pins, and
    utilize these in the new BayTrail (x86 Atom SoC) driver.

    - Make the sunxi (AllWinner) driver handle external interrupts.

    - Make it possible for pinctrl-single to handle the case where several
    pins are managed by a single register, and augment it to handle sleep
    modes.

    - Cleanups and improvements for the abx500 drivers.

    - Move Sirf pin control drivers to their own directory, support
    save/restore of context and add support for the SiRFatlas6 SoC.

    - PMU muxing for the Dove pinctrl driver.

    - Finalization and support for VF610 in the i.MX6 pinctrl driver.

    - Smoothen out various Exynos rough edges.

    - Generic cleanups of various kinds.

    * tag 'pinctrl-for-v3.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (82 commits)
    pinctrl: vt8500: wmt: remove redundant dev_err call in wmt_pinctrl_probe()
    pinctrl: remove bindings for pinconf options needing more thought
    pinctrl: remove slew-rate parameter from tz1090
    pinctrl: set unit for debounce time pinconfig to usec
    pinctrl: more clarifications for generic pull configs
    pinctrl: rip out the direct pinconf API
    pinctrl-tz1090-pdc: add TZ1090 PDC pinctrl driver
    pinctrl-tz1090: add TZ1090 pinctrl driver
    pinctrl: samsung: Staticize drvdata_list
    pinctrl: rockchip: Add missing irq_gc_unlock() call before return error
    pinctrl: abx500: rework error path
    pinctrl: abx500: suppress hardcoded value
    pinctrl: abx500: factorize code
    pinctrl: abx500: fix abx500_gpio_get()
    pinctrl: abx500: fix abx500_pin_config_set()
    pinctrl: abx500: Add device tree support
    sh-pfc: Guard DT parsing with #ifdef CONFIG_OF
    pinctrl: add Intel BayTrail GPIO/pinctrl support
    pinctrl: fix pinconf_ops::pin_config_dbg_parse_modify kerneldoc
    pinctrl: Staticize local symbols
    ...

    Conflicts:
    drivers/net/ethernet/ti/davinci_mdio.c
    drivers/pinctrl/Makefile

    Linus Torvalds
     
  • Pull regmap updates from Mark Brown:
    "A small but useful set of regmap updates this time around:

    - An abstraction for bitfields within a register map contributed by
    Srinivas Kandagatla, allowing drivers to cope more easily when
    hardware designers randomly move things about (mainly when talking
    to things like system controllers).

    - Changes from Lars-Peter Clausen to allow the MMIO regmap to be used
    from hard IRQ context.

    - Small improvements to the cache infrastructure and performance,
    including a default cache sync operation so now all regmaps can
    sync easily.

    There's also a pinctrl driver making use of the new bitfield API,
    merged here for dependency reasons. There will be a simple add/add
    conflict with the pinctrl tree as a result."

    * tag 'regmap-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap:
    pinctrl: st: Remove unnecessary use of of_match_ptr macro
    pinctrl: st: fix return value check
    pinctrl: st: Add pinctrl and pinconf support.
    regmap: debugfs: Suppress cache for partial register files
    regmap: Add regmap_field APIs
    regmap: core: Cache all registers by default when cache is enabled
    regmap: Implemented default cache sync operation
    regmap: Make regmap-mmio usable from atomic contexts
    regmap: regcache: Fixup locking for custom lock callbacks
    regmap: debugfs: Fix return from regmap_debugfs_get_dump_start
    regmap: debugfs: Don't mark lockdep as broken due to debugfs write
    regmap: rbtree: Use range information to allocate nodes
    regmap: rbtree: Factor out node allocation
    regmap: Make regmap_check_range_table() a public API
    regmap: Add support for discarding parts of the register cache

    Linus Torvalds
     
  • Pull GPIO updates from Linus Walleij:
    "Here is a batch of GPIO changes for v3.11. I have agreed with Grant
    to take care of the pull requests for this development cycle.

    No special things are happening in the GPIO tree this time (nice with
    some calm) and I have been extra careful to do regression builds and
    it's well boiled in -next.

    GPIO changes for the v3.11 development cycle:
    - Incremental development for the Langwell (Atom SoC), Xilinx, ICH
    and RCAR drivers.
    - Cleanups from Jingoo Han, Axel Lin, Wei Jongjun, Wolfram Sang,
    Tushar Behera, Sachin Kamat and Yijing Wang"

    * tag 'gpio-for-v3.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (35 commits)
    Gpio/trivial: replace numeric with standard PM state macros
    gpiolib: remove warnning of allocations with IRQs disabled
    gpio: grgpio: Staticize local symbols
    gpio-langwell: remove Withney point support
    gpio: ich: add GPO_BLINK support
    gpio-sta2x11: Convert to use devm_ioremap_resource
    gpio_msm: Convert to use devm_ioremap_resource
    gpio-rcar: Use OUTDT when reading GPIOs configured as output
    gpio-sta2x11: Fix potential NULL pointer dereference
    gpio/omap: omap_gpio_init_context stub must be inline
    gpio: msm-v1: Remove errant __devinit to fix compile
    gpio: devres: make comments proper
    GPIO: xilinx: Enable driver for Xilinx zynq
    DT: Add documentation for gpio-xilinx
    GPIO: xilinx: Use BIT macro
    GPIO: xilinx: Use __raw_readl/__raw_writel IO functions
    GPIO: xilinx: Add support for dual channel
    GPIO: xilinx: Simplify driver probe function
    gpio: sx150x: convert to use devm_* functions
    MAINTAINERS: add linux-gpio mailing list
    ...

    Linus Torvalds
     
  • Pull thermal power-limit update from Tony Luck:
    "Thermal limit warnings are too scary and cause unnecessary concern"

    * tag 'please-pull-mce-therm' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux:
    x86 thermal: Disable power limit notification interrupt by default
    x86 thermal: Delete power-limit-notification console messages

    Linus Torvalds
     
  • Pull "exotic" arch fixes from Geert Uytterhoeven:
    "This is a collection of several exotic architecture fixes, and a few
    other fixes for issues that were detected while doing the former"

    * 'exotic-arch-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: (35 commits)
    lib: Move fonts from drivers/video/console/ to lib/fonts/
    console/font: Refactor font support code selection logic
    Revert "staging/solo6x10: depend on CONFIG_FONTS"
    input: cros_ec_keyb_clear_keyboard() depends on CONFIG_PM_SLEEP
    score: Wire up asm-generic/xor.h
    score: Remove unneeded
    openrisc: Wire up asm-generic/xor.h
    h8300/boot: Use POSIX "$((..))" instead of bashism "$[...]"
    h8300: Mark H83002 and H83048 CPU support broken
    h8300: Switch h8300 to drivers/Kconfig
    h8300: Limit timer channel ranges in Kconfig
    h8300: Wire up asm-generic/xor.h
    h8300: Fill the system call table using a CALL() macro
    h8300: Fix
    h8300: Hardcode symbol prefixes in asm sources
    h8300: add missing definition for read_barries_depends()
    frv: head.S - Remove commented-out initialization code
    cris: Wire up asm-generic/vga.h
    parport: disable PC-style parallel port support on cris
    console: Disable VGA text console support on cris
    ...

    Linus Torvalds