1. 17 Jan, 2016 6 commits
    • Linus Torvalds's avatar
      Merge branch 'parisc-4.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · a4eff16c
      Linus Torvalds authored
      Pull parsic updates from Helge Deller:
       "This patchset includes two major fixes which are both scheduled for
        stable:
      
        First, __ARCH_SI_PREAMBLE_SIZE was defined with a wrong value.
        Second, huge page pte and TLB changes needed protection with a
        spinlock.  Other than that there are just some trivial optimizations
        and cleanups"
      
      * 'parisc-4.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: Protect huge page pte changes with spinlocks
        parisc: Imporove debug info about space registers and TLB configuration
        parisc: Drop parisc-specific NSIGTRAP define
        parisc: Fix __ARCH_SI_PREAMBLE_SIZE
        parisc: Reduce overhead of parisc_requires_coherency()
        parisc: Initialize PCI bridge cache line and default latency
      a4eff16c
    • Linus Torvalds's avatar
      Merge branch 'akpm' (patches from Andrew) · 0cbeafb2
      Linus Torvalds authored
      Merge second patch-bomb from Andrew Morton:
      
       - more MM stuff:
      
          - Kirill's page-flags rework
      
          - Kirill's now-allegedly-fixed THP rework
      
          - MADV_FREE implementation
      
          - DAX feature work (msync/fsync).  This isn't quite complete but DAX
            is new and it's good enough and the guys have a handle on what
            needs to be done - I expect this to be wrapped in the next week or
            two.
      
        - some vsprintf maintenance work
      
        - various other misc bits
      
      * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (145 commits)
        printk: change recursion_bug type to bool
        lib/vsprintf: factor out %pN[F] handler as netdev_bits()
        lib/vsprintf: refactor duplicate code to special_hex_number()
        printk-formats.txt: remove unimplemented %pT
        printk: help pr_debug and pr_devel to optimize out arguments
        lib/test_printf.c: test dentry printing
        lib/test_printf.c: add test for large bitmaps
        lib/test_printf.c: account for kvasprintf tests
        lib/test_printf.c: add a few number() tests
        lib/test_printf.c: test precision quirks
        lib/test_printf.c: check for out-of-bound writes
        lib/test_printf.c: don't BUG
        lib/kasprintf.c: add sanity check to kvasprintf
        lib/vsprintf.c: warn about too large precisions and field widths
        lib/vsprintf.c: help gcc make number() smaller
        lib/vsprintf.c: expand field_width to 24 bits
        lib/vsprintf.c: eliminate potential race in string()
        lib/vsprintf.c: move string() below widen_string()
        lib/vsprintf.c: pull out padding code from dentry_name()
        printk: do cond_resched() between lines while outputting to consoles
        ...
      0cbeafb2
    • Linus Torvalds's avatar
      Merge tag 'gpio-v4.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio · 58cf279a
      Linus Torvalds authored
      Pull GPIO updates from Linus Walleij:
       "Here is the bulk of GPIO changes for v4.5.
      
        Notably there are big refactorings mostly by myself, aimed at getting
        the gpio_chip into a shape that makes me believe I can proceed to
        preserve state for a proper userspace ABI (character device) that has
        already been proposed once, but resulted in the feedback that I need
        to go back and restructure stuff.  So I've been restructuring stuff.
        On the way I ran into brokenness (return code from the get_value()
        callback) and had to fix it.  Also, refactored generic GPIO to be
        simpler.
      
        Some of that is still waiting to trickle down from the subsystems all
        over the kernel that provide random gpio_chips, I've touched every
        single GPIO driver in the kernel now, oh man I didn't know I was
        responsible for so much...
      
        Apart from that we're churning along as usual.
      
        I took some effort to test and retest so it should merge nicely and we
        shook out a couple of bugs in -next.
      
        Infrastructural changes:
      
         - In struct gpio_chip, rename the .dev node to .parent to better
           reflect the fact that this is not the GPIO struct device
           abstraction.  We will add that soon so this would be totallt
           confusing.
      
         - It was noted that the driver .get_value() callbacks was sometimes
           reporting negative -ERR values to the gpiolib core, expecting them
           to be propagated to consumer gpiod_get_value() and gpio_get_value()
           calls.  This was not happening, so as there was a mess of drivers
           returning negative errors and some returning "anything else than
           zero" to indicate that a line was active.  As some would have bit
           31 set to indicate "line active" it clashed with negative error
           codes.  This is fixed by the largeish series clamping values in all
           drivers with !!value to [0,1] and then augmenting the code to
           propagate error codes to consumers.  (Includes some ACKed patches
           in other subsystems.)
      
         - Add a void *data pointer to struct gpio_chip.  The container_of()
           design pattern is indeed very nice, but we want to reform the
           struct gpio_chip to be a non-volative, stateless business, and keep
           states internal to the gpiolib to be able to hold on to the state
           when adding a proper userspace ABI (character device) further down
           the road.  To achieve this, drivers need a handle at the internal
           state that is not dependent on their struct gpio_chip() so we add
           gpiochip_add_data() and gpiochip_get_data() following the pattern
           of many other subsystems.  All the "use gpiochip data pointer"
           patches transforms drivers to this scheme.
      
         - The Generic GPIO chip header has been merged into the general
           <linux/gpio/driver.h> header, and the custom header for that
           removed.  Instead of having a separate mm_gpio_chip struct for
           these generic drivers, merge that into struct gpio_chip,
           simplifying the code and removing the need for separate and
           confusing includes.
      
        Misc improvements:
      
         - Stabilize the way GPIOs are looked up from the ACPI legacy
           specification.
      
         - Incremental driver features for PXA, PCA953X, Lantiq (patches from
           the OpenWRT community), RCAR, Zynq, PL061, 104-idi-48
      
        New drivers:
      
         - Add a GPIO chip to the ALSA SoC AC97 driver.
      
         - Add a new Broadcom NSP SoC driver (this lands in the pinctrl dir,
           but the branch is merged here too to account for infrastructural
           changes).
      
         - The sx150x driver now supports the sx1502"
      
      * tag 'gpio-v4.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (220 commits)
        gpio: generic: make bgpio_pdata always visible
        gpiolib: fix chip order in gpio list
        gpio: mpc8xxx: Do not use gpiochip_get_data() in mpc8xxx_gpio_save_regs()
        gpio: mm-lantiq: Do not use gpiochip_get_data() in ltq_mm_save_regs()
        gpio: brcmstb: Allow building driver for BMIPS_GENERIC
        gpio: brcmstb: Set endian flags for big-endian MIPS
        gpio: moxart: fix build regression
        gpio: xilinx: Do not use gpiochip_get_data() in xgpio_save_regs()
        leds: pca9532: use gpiochip data pointer
        leds: tca6507: use gpiochip data pointer
        hid: cp2112: use gpiochip data pointer
        bcma: gpio: use gpiochip data pointer
        avr32: gpio: use gpiochip data pointer
        video: fbdev: via: use gpiochip data pointer
        gpio: pch: Optimize pch_gpio_get()
        Revert "pinctrl: lantiq: Implement gpio_chip.to_irq"
        pinctrl: nsp-gpio: use gpiochip data pointer
        pinctrl: vt8500-wmt: use gpiochip data pointer
        pinctrl: exynos5440: use gpiochip data pointer
        pinctrl: at91-pio4: use gpiochip data pointer
        ...
      58cf279a
    • Linus Torvalds's avatar
      Merge git://www.linux-watchdog.org/linux-watchdog · 6606b342
      Linus Torvalds authored
      Pull watchdog updates from Wim Van Sebroeck:
       "This adds following items:
      
         - watchdog restart handler support
         - watchdog reboot notifier support
         - watchdog sysfs attributes
         - support for the following new devices: AMD Mullins platform, AMD
           Carrizo platform, meson8b SoC, CSRatlas7, TS-4800, Alphascale
           asm9260-wdt, Zodiac, Sigma Designs SMP86xx/SMP87xx
         - Changes in refcounting for the watchdog core
         - watchdog core improvements
         - and small fixes"
      
      * git://www.linux-watchdog.org/linux-watchdog: (60 commits)
        watchdog: asm9260: remove __init and __exit annotations
        watchdog: Drop pointer to watchdog device from struct watchdog_device
        watchdog: ziirave: Use watchdog infrastructure to create sysfs attributes
        watchdog: Add support for creating driver specific sysfs attributes
        watchdog: kill unref/ref ops
        watchdog: stmp3xxx: Remove unused variables
        watchdog: add MT7621 watchdog support
        hwmon: (sch56xx) Drop watchdog driver data reference count callbacks
        watchdog: da9055_wdt: Drop reference counting
        watchdog: da9052_wdt: Drop reference counting
        watchdog: Separate and maintain variables based on variable lifetime
        watchdog: diag288: Stop re-using watchdog core internal flags
        watchdog: Create watchdog device in watchdog_dev.c
        watchdog: qcom-wdt: Do not set 'dev' in struct watchdog_device
        watchdog: mena21: Do not use device pointer from struct watchdog_device
        watchdog: gpio: Do not use device pointer from struct watchdog_device
        watchdog: tangox: Print info message using pointer to platform device
        watchdog: bcm2835_wdt: Drop log message if watchdog is stopped
        devicetree: watchdog: add binding for Sigma Designs SMP8642 watchdog
        watchdog: add support for Sigma Designs SMP86xx/SMP87xx
        ...
      6606b342
    • Linus Torvalds's avatar
      Merge tag 'sound-4.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · a016af2e
      Linus Torvalds authored
      Pull sound updates from Takashi Iwai:
       "We've had quite busy weeks in this cycle.  Looking at ALSA core, the
        significant changes are a few fixes wrt timer and sequencer ioctls
        that have been revealed by fuzzer recently.  Other than that, ASoC
        core got a few updates about DAI link handling, but these are rather
        straightforward refactoring.
      
        In drivers scene, ASoC received quite lots of new drivers in addition
        to bunch of updates for still ongoing Intel Skylake support and
        topology API.  HD-audio gained a new HDMI/DP hotplug notification via
        component.  FireWire got a pile of code refactoring/updates with
        SCS.1x driver integration.
      
        More highlights are shown below.
      
        [ NOTE: this contains also many commits for DRM.  This is due to the
          pull of drm stable branch into sound tree, as the base of i915 audio
          component work for HD-audio.  The highlights below don't contain
          these DRM changes, as these are supposed to be pulled via drm tree
          in anyway sooner or later.  ]
      
        Core:
         - Handful fixes to harden ALSA timer and sequencer ioctls against
           races reported by syzkaller fuzzer
         - Irq description string can be unique to each card; only for
           HD-audio for now
      
        ASoC:
         - Conversion of the array of DAI links to a list for supporting
           dynamically adding and removing DAI links
         - Topology API enhancements to make everything more component based
           and being able to specify PCM links via topology
         - Some more fixes for the topology code, though it is still not final
           and ready for enabling in production; we really need to get to the
           point where that can be done
         - A pile of changes for Intel SkyLake drivers which hopefully deliver
           some useful initial functionality for systems with this chipset,
           though there is more work still to come
         - Lots of new features and cleanups for the Renesas drivers
         - ANC support for WM5110
         - New drivers: Imagination Technologies IPs, Atmel class D speaker,
           Cirrus CS47L24 and WM1831, Dialog DA7128, Realtek RT5659 and
           RT56156, Rockchip RK3036, TI PC3168A, and AMD ACP
         - Rename PCM1792a driver to be generic pcm179x
      
        HD-Audio:
         - Use audio component for i915 HDMI/DP hotplug handling
         - On-demand binding with i915 driver
         - bdl_pos_adj parameter adjustment for Baytrail controllers
         - Enable power_save_node for CX20722; this shouldn't lead to
           regression, hopefully
         - Kabylake HDMI/DP codec support
         - Quirks for Lenovo E50-80, Dell Latitude E-series, and other Dell
           machines
         - A few code refactoring
      
        FireWire:
         - Lots of code cleanup and refactoring
         - Integrate the support of SCS.1x devices into snd-oxfw driver;
           snd-scs1x driver is obsoleted
      
        USB-audio:
         - Fix possible NULL dereference at disconnection
         - A regression fix for Native Instruments devices
      
        Misc:
         - A few code cleanups of fm801 driver"
      
      * tag 'sound-4.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (722 commits)
        ALSA: timer: Code cleanup
        ALSA: timer: Harden slave timer list handling
        ALSA: hda - Add fixup for Dell Latitidue E6540
        ALSA: timer: Fix race among timer ioctls
        ALSA: hda - add codec support for Kabylake display audio codec
        ALSA: timer: Fix double unlink of active_list
        ALSA: usb-audio: Fix mixer ctl regression of Native Instrument devices
        ALSA: hda - fix the headset mic detection problem for a Dell laptop
        ALSA: hda - Fix white noise on Dell Latitude E5550
        ALSA: hda_intel: add card number to irq description
        ALSA: seq: Fix race at timer setup and close
        ALSA: seq: Fix missing NULL check at remove_events ioctl
        ALSA: usb-audio: Avoid calling usb_autopm_put_interface() at disconnect
        ASoC: hdac_hdmi: remove unused hdac_hdmi_query_pin_connlist
        ASoC: AMD: Add missing include file
        ALSA: hda - Fixup inverted internal mic for Lenovo E50-80
        ALSA: usb: Add native DSD support for Oppo HA-1
        ASoC: Make aux_dev more like a generic component
        ASoC: bcm2835: cleanup includes by ordering them alphabetically
        ASoC: AMD: Manage ACP 2.x SRAM banks power
        ...
      a016af2e
    • Linus Torvalds's avatar
      Merge tag 'docs-4.5' of git://git.lwn.net/linux · e535d74b
      Linus Torvalds authored
      Pull documentation updates from Jon Corbet:
       "A relatively boring cycle in the docs tree.  There's a few kernel-doc
        fixes and various document tweaks.
      
        One patch reaches out of the documentation subtree to fix a comment in
        init/do_mounts_rd.c.  There didn't seem to be anybody more appropriate
        to take that one, so I accepted it"
      
      * tag 'docs-4.5' of git://git.lwn.net/linux: (29 commits)
        thermal: add description for integral_cutoff unit
        Documentation: update libhugetlbfs site url
        Documentation: Explain pci=conf1,conf2 more verbosely
        DMA-API: fix confusing sentence in Documentation/DMA-API.txt
        Documentation: translations: update linux cross reference link
        Documentation: fix typo in CodingStyle
        init, Documentation: Remove ramdisk_blocksize mentions
        Documentation-getdelays: Apply a recommendation from "checkpatch.pl" in main()
        Documentation: HOWTO: update versions from 3.x to 4.x
        Documentation: remove outdated references from translations
        Doc: treewide: Fix grammar "a" to "an"
        Documentation: cpu-hotplug: Fix sysfs mount instructions
        can-doc: Add hint about getting timestamps
        Fix CFQ I/O scheduler parameter name in documentation
        Documentation: arm: remove dead links from Marvell Berlin docs
        Documentation: HOWTO: update code cross reference link
        Doc: Docbook/iio: Fix typo in iio.tmpl
        DocBook: make index.html generation less verbose by default
        DocBook: Cleanup: remove an unused $(call) line
        DocBook: Add a help message for DOCBOOKS env var
        ...
      e535d74b
  2. 16 Jan, 2016 34 commits