Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating my linux fork #1

Merged
merged 10,000 commits into from
Feb 19, 2015
Merged

updating my linux fork #1

merged 10,000 commits into from
Feb 19, 2015
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Feb 14, 2015

  1. kprobes: makes kprobes/enabled works correctly for optimized kprobes.

    debugfs/kprobes/enabled doesn't work correctly on optimized kprobes.
    Masami Hiramatsu has a test report on x86_64 platform:
    
    https://lkml.org/lkml/2015/1/19/274
    
    This patch forces it to unoptimize kprobe if kprobes_all_disarmed is set.
    It also checks the flag in unregistering path for skipping unneeded
    disarming process when kprobes globally disarmed.
    
    Signed-off-by: Wang Nan <wangnan0@huawei.com>
    Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
    Cc: Ingo Molnar <mingo@kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    WangNan0 authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    69d54b9 View commit details
    Browse the repository at this point in the history
  2. drivers/rtc/rtc-pcf2123.c: add support for devicetree

    Add compatible string "nxp,rtc-pcf2123"
    Document the binding
    
    Signed-off-by: Joshua Clayton <stillcompiling@gmail.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Grant Likely <grant.likely@linaro.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    d4ddi0 authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    3fc7007 View commit details
    Browse the repository at this point in the history
  3. drivers/rtc/rtc-isl12057.c: add alarm support to Intersil ISL12057 RT…

    …C driver
    
    This patch adds alarm support to Intersil ISL12057 driver.  This allows to
    configure the chip to generate an interrupt when the alarm matches current
    time value.  Alarm can be programmed up to one month in the future and is
    accurate to the second.
    
    The patch was developed to support two different configurations: systems
    w/ and w/o RTC chip IRQ line connected to the main CPU.
    
    The latter is the one found on current 3 kernel users of the chip for
    which support was initially developed (Netgear ReadyNAS 102, 104 and 2120
    NAS).  On those devices, the IRQ#2 pin of the chip is not connected to the
    SoC but to a PMIC.  This allows setting an alarm, powering off the device
    and have it wake up when the alarm rings.  To support that configuration
    the driver does the following:
    
     1. it has alarm_irq_enable() function returns -ENOTTY when no IRQ
        is passed to the driver.
     2. it marks the device as a wakeup source in all cases (whether an
        IRQ is passed to the driver or not) to have 'wakealarm' sysfs
        entry created.
     3. it marks the device has not supporting UIE mode when no IRQ is
        passed to the driver (see the commmit message of c9f5c7e)
    
    This specific configuration was tested on a ReadyNAS 102 by setting an
    alarm, powering off the device and see it reboot as expected when the
    alarm rang.
    
    The former configuration was tested on a Netgear ReadyNAS 102 after some
    soldering of the IRQ#2 pin of the RTC chip to a MPP line of the SoC (the
    one used usually handles the reset button).  The test was performed using
    a modified .dts file reflecting this change (see below) and rtc-test.c
    program available in Documentation/rtc.txt.  This test program ran as
    expected, which validates alarm supports, including interrupt support.
    
    As a side note, the ISL12057 remains in the list of trivial devices, i.e.
    no specific DT binding being added by this patch: i2c core automatically
    handles extraction of IRQ line info from .dts file.  For instance, if one
    wants to reference the interrupt line for the alarm in its .dts file,
    adding interrupt and interrupt-parent properties works as expected:
    
              isl12057: isl12057@68 {
                      compatible =3D "isil,isl12057";
                      interrupt-parent =3D <&gpio0>;
                      interrupts =3D <6 IRQ_TYPE_EDGE_FALLING>;
                      reg =3D <0x68>;
              };
    
    FWIW, if someone is looking for a way to test alarm support on a system on
    which the chip IRQ line has the ability to boot the system (e.g.  ReadyNAS
    102, 104, etc):
    
        # echo 0 > /sys/class/rtc/rtc0/wakealarm
        # echo `date '+%s' -d '+ 1 minutes'` > /sys/class/rtc/rtc0/wakealarm
        # shutdown -h now
    
    With the commands above, after a minute, the system comes back to life.
    
    Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Peter Huewe <peter.huewe@infineon.com>
    Cc: Linus Walleij <linus.walleij@linaro.org>
    Cc: Thierry Reding <treding@nvidia.com>
    Cc: Mark Brown <broonie@kernel.org>
    Cc: Grant Likely <grant.likely@linaro.org>
    Cc: Uwe Kleine-König <uwe@kleine-koenig.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    natisbad authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    fd71493 View commit details
    Browse the repository at this point in the history
  4. rtc: rtc-isl12057: add isil,irq2-can-wakeup-machine property for in-t…

    …ree users
    
    Current in-tree users of ISL12057 RTC chip (NETGEAR ReadyNAS 102, 104 and
    2120) do not have the IRQ#2 pin of the chip (associated w/ the Alarm1
    mechanism) connected to their SoC, but to a PMIC (TPS65251 FWIW).  This
    specific hardware configuration allows the NAS to wake up when the alarms
    rings.
    
    Recently introduced alarm support for ISL12057 relies on the provision of
    an "interrupts" property in system .dts file, which previous three users
    will never get.  For that reason, alarm support on those devices is not
    function.  To support this use case, this patch adds a new DT property for
    ISL12057 (isil,irq2-can-wakeup-machine) to indicate that the chip is
    capable of waking up the device using its IRQ#2 pin (even though it does
    not have its IRQ#2 pin connected directly to the SoC).
    
    This specific configuration was tested on a ReadyNAS 102 by setting an
    alarm, powering off the device and see it reboot as expected when the
    alarm rang w/:
    
      # echo `date '+%s' -d '+ 1 minutes'` > /sys/class/rtc/rtc0/wakealarm
      # shutdown -h now
    
    As a side note, the ISL12057 remains in the list of trivial devices,
    because the property is not per se required by the device to work but can
    help handle system w/ specific requirements.  In exchange, the new feature
    is described in details in a specific documentation file.
    
    Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Peter Huewe <peter.huewe@infineon.com>
    Cc: Linus Walleij <linus.walleij@linaro.org>
    Cc: Thierry Reding <treding@nvidia.com>
    Cc: Mark Brown <broonie@kernel.org>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Darshana Padmadas <darshanapadmadas@gmail.com>
    Cc: Rob Herring <rob.herring@calxeda.com>
    Cc: Pawel Moll <pawel.moll@arm.com>
    Cc: Stephen Warren <swarren@wwwdotorg.org>
    Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
    Cc: Grant Likely <grant.likely@linaro.org>
    Cc: Rob Landley <rob@landley.net>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Guenter Roeck <linux@roeck-us.net>
    Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
    Cc: Kumar Gala <galak@codeaurora.org>
    Cc: Uwe Kleine-König <uwe@kleine-koenig.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    natisbad authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    298ff01 View commit details
    Browse the repository at this point in the history
  5. ARM: mvebu: ISL12057 rtc chip can now wake up RN102, RN102 and RN2120

    Now that alarm support for ISL12057 chip is available w/ the specific
    "isil,irq2-can-wakeup-machine" property, let's use that feature of the
    driver dedicated to NETGEAR ReadyNAS 102, 104 and 2120 specific routing of
    RTC Alarm IRQ#2 pin; on those devices, this pin is not connected to the
    SoC but to a PMIC, which allows the device to be powered up when RTC alarm
    rings.
    
    For that to work, the chip needs to be explicitly marked as a device
    wakeup source using this "isil,irq2-can-wakeup-machine" boolean property.
    This makes 'wakealarm' sysfs entry available to configure the alarm.
    
    Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Peter Huewe <peter.huewe@infineon.com>
    Cc: Linus Walleij <linus.walleij@linaro.org>
    Cc: Thierry Reding <treding@nvidia.com>
    Cc: Mark Brown <broonie@kernel.org>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Darshana Padmadas <darshanapadmadas@gmail.com>
    Cc: Rob Herring <rob.herring@calxeda.com>
    Cc: Pawel Moll <pawel.moll@arm.com>
    Cc: Stephen Warren <swarren@wwwdotorg.org>
    Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
    Cc: Grant Likely <grant.likely@linaro.org>
    Cc: Rob Landley <rob@landley.net>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Guenter Roeck <linux@roeck-us.net>
    Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
    Cc: Kumar Gala <galak@codeaurora.org>
    Cc: Uwe Kleine-König <uwe@kleine-koenig.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    natisbad authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    1a67e25 View commit details
    Browse the repository at this point in the history
  6. drivers/rtc/rtc-imxdi.c: trivial clean up code

    Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jbeptx authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    6df17a6 View commit details
    Browse the repository at this point in the history
  7. drivers/rtc/rtc-imxdi.c: add more known register bits

    Intended for monitoring and controlling the security features.  These bits
    are required to bring this unit back to live after a security violation
    event was detected.  The code to bring it back to live will follow after a
    vendor clearance.
    
    Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jbeptx authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    46edeff View commit details
    Browse the repository at this point in the history
  8. drivers/rtc/rtc-at91sam9.c: constify struct regmap_config

    The regmap_config struct may be const because it is not modified by the
    driver and regmap_init() accepts pointer to const.
    
    Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    krzk authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    bddd8dd View commit details
    Browse the repository at this point in the history
  9. drivers/rtc/rtc-isl12057.c: constify struct regmap_config

    The regmap_config struct may be const because it is not modified by the
    driver and regmap_init() accepts pointer to const.
    
    Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    krzk authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    1ef2816 View commit details
    Browse the repository at this point in the history
  10. drivers/rtc/rtc-rk808.c: fix rtc time reading issue

    After we set the GET_TIME bit, the rtc time can't be read immediately.  We
    should wait up to 31.25 us, about one cycle of 32khz.  Otherwise reading
    RTC time will return a old time.  If we clear the GET_TIME bit after
    setting, the time of i2c transfer is certainly more than 31.25us.
    
    Doug said:
    
    : I think we are safe.  At 400kHz (the max speed of this part) each bit can
    : be transferred no faster than 2.5us.  In order to do a valid i2c
    : transaction we need to _at least_ write the address of the device and the
    : data onto the bus, which is 16 bits.  16 * 2.5us = 40us.  That's above the
    : 31.25us
    
    [akpm@linux-foundation.org: tweak comment per review discussion]
    Signed-off-by: Chris Zhong <zyw@rock-chips.com>
    Reviewed-by: Doug Anderson <dianders@chromium.org>
    Cc: Sonny Rao <sonnyrao@chromium.org>
    Cc: Heiko Stübner <heiko@sntech.de>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    zywang33 authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    c412c60 View commit details
    Browse the repository at this point in the history
  11. of: add vendor prefix for Abracon Corporation

    This series adds support for Abracon AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC
    chip. Unlike many RTC chips, it includes an internal oscillator which
    spares room on the PCB. It also has some interesting features, like
    battery low detection (which the driver in this series supports). The
    only small "limitation" (mainly due to what RTC subsystem expects from
    RTC chips) is the fact that its alarm is accurate to the second. This
    series provides a solution (described below) for that limitation using
    another mechanism of the chip.
    
    I decided to split support between three different patches for
    this v0:
    
    - Patch 1/3: it simply references Abracon Corporation in vendor-prefixes
      documentation file. As Abracon has no NASDAQ ticker symbol; I have
      decided to use "abcn" (I initially started my work w/ "ab" but later
      changed for "abcn" which looked more meaningful)
    - Patch 2/3: it adds initial support for the chip and provides the
      ability to read/write time and also read/write alarm. As the alarm
      the chip provides is accurate to the minute, the support provided
      by this patch also has this limitation (e.g. UIE mode is not
      supported).
    - Patch 3/3: the chip supports a watchdog timer which can be used to
      extend the alarm mechanism in patch 2/3 in order to provide support
      for alarms under one minute (e.g. support UIE mode). In practice,
      the logic I implemented is to use the watchdog timer for alarms which
      are at most 4 minutes in the future and use the common alarm mechanism
      for alarms which are set to larger values. With that additional patch
      the device fully passes the rtctest.c program.
    
    I decided to split the driver between two patches (2 and 3 of 3) in
    order to ease review: patch 2 should be pretty straightforward to read
    for someone familiar w/ RTC subsystem. Patch 3 only extends what is in
    patch 2 regarding alarms.
    
    This patch (of 3):
    
    Documentation/devicetree/bindings/vendor-prefixes.txt: add vendor prefix
    for Abracon Corporation
    
    Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Peter Huewe <peter.huewe@infineon.com>
    Cc: Linus Walleij <linus.walleij@linaro.org>
    Cc: Thierry Reding <treding@nvidia.com>
    Cc: Mark Brown <broonie@kernel.org>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Rob Herring <robherring2@gmail.com>
    Cc: Pawel Moll <pawel.moll@arm.com>
    Cc: Stephen Warren <swarren@wwwdotorg.org>
    Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
    Cc: Grant Likely <grant.likely@linaro.org>
    Cc: Rob Landley <rob@landley.net>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Guenter Roeck <linux@roeck-us.net>
    Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
    Cc: Kumar Gala <galak@codeaurora.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    natisbad authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    446810f View commit details
    Browse the repository at this point in the history
  12. rtc: add support for Abracon AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC chip

    This patch adds support for Abracon AB-RTCMC-32.768kHz-B5ZE-S3
    RTC/Calendar module w/ I2C interface.
    
    This support includes RTC time reading and setting, Alarm (1 minute
    accuracy) reading and setting, and battery low detection.  The device also
    supports frequency adjustment and two timers but those features are
    currently not implemented in this driver.  Due to alarm accuracy
    limitation (and current lack of timer support in the driver), UIE mode is
    not supported.
    
    Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Peter Huewe <peter.huewe@infineon.com>
    Cc: Linus Walleij <linus.walleij@linaro.org>
    Cc: Thierry Reding <treding@nvidia.com>
    Cc: Mark Brown <broonie@kernel.org>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Rob Herring <robherring2@gmail.com>
    Cc: Pawel Moll <pawel.moll@arm.com>
    Cc: Stephen Warren <swarren@wwwdotorg.org>
    Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
    Cc: Grant Likely <grant.likely@linaro.org>
    Cc: Rob Landley <rob@landley.net>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Guenter Roeck <linux@roeck-us.net>
    Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
    Cc: Kumar Gala <galak@codeaurora.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    natisbad authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    0b2f622 View commit details
    Browse the repository at this point in the history
  13. rtc: rtc-ab-b5ze-s3: add sub-minute alarm support

    Abracon AB-RTCMC-32.768kHz-B5ZE-S3 alarm is only accurate to the minute.
    For that reason, UIE mode is currently not supported by the driver.  But
    the device provides a watchdog timer which can be coupled with the alarm
    mechanism to extend support and provide sub-minute alarm capability.
    
    This patch implements that extension.  More precisely, it makes use of the
    watchdog timer for alarms which are less that four minutes in the future
    (with second accuracy) and use standard alarm mechanism for other alarms
    (with minute accuracy).
    
    Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Peter Huewe <peter.huewe@infineon.com>
    Cc: Linus Walleij <linus.walleij@linaro.org>
    Cc: Thierry Reding <treding@nvidia.com>
    Cc: Mark Brown <broonie@kernel.org>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Rob Herring <robherring2@gmail.com>
    Cc: Pawel Moll <pawel.moll@arm.com>
    Cc: Stephen Warren <swarren@wwwdotorg.org>
    Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
    Cc: Grant Likely <grant.likely@linaro.org>
    Cc: Rob Landley <rob@landley.net>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Guenter Roeck <linux@roeck-us.net>
    Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
    Cc: Kumar Gala <galak@codeaurora.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    natisbad authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    c8a1d8a View commit details
    Browse the repository at this point in the history
  14. rtc: armada38x: add the device tree binding documentation

    The Marvell Armada 38x SoCs contains an RTC which differs from the RTC
    used in the other mvebu SoCs until now.  This forth version of the patch
    set adds support for this new IP and enable it in the Device Tree of the
    Armada 38x SoC.
    
    This patch (of 5):
    
    The Armada 38x SoCs come with a new RTC which differs from the one used in
    the other mvebu SoCs until now.  This patch describes the binding of this
    RTC.
    
    Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Andrew Lunn <andrew@lunn.ch>
    Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
    Cc: Arnaud Ebalard <arno@natisbad.org>
    Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
    Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
    Cc: Boris BREZILLON <boris.brezillon@free-electrons.com>
    Cc: Lior Amsalem <alior@marvell.com>
    Cc: Tawfik Bayouk <tawfik@marvell.com>
    Cc: Nadav Haklai <nadavh@marvell.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    gclement authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    bb62404 View commit details
    Browse the repository at this point in the history
  15. drivers/rtc/rtc-armada38x: add a new RTC driver for recent mvebu SoCs

    The new mvebu SoCs come with a new RTC driver. This patch adds the
    support for this new IP which is currently found in the Armada 38x
    SoCs.
    
    This RTC provides two alarms, but only the first one is used in the
    driver. The RTC also allows using periodic interrupts.
    
    Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
    Reviewed-by: Arnaud Ebalard <arno@natisbad.org>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Andrew Lunn <andrew@lunn.ch>
    Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
    Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
    Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
    Cc: Boris BREZILLON <boris.brezillon@free-electrons.com>
    Cc: Lior Amsalem <alior@marvell.com>
    Cc: Tawfik Bayouk <tawfik@marvell.com>
    Cc: Nadav Haklai <nadavh@marvell.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    gclement authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    a3a4280 View commit details
    Browse the repository at this point in the history
  16. MAINTAINERS: add the RTC driver for the Armada38x

    Put it in the mvebu entry.
    
    Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Andrew Lunn <andrew@lunn.ch>
    Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
    Cc: Arnaud Ebalard <arno@natisbad.org>
    Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
    Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
    Cc: Boris BREZILLON <boris.brezillon@free-electrons.com>
    Cc: Lior Amsalem <alior@marvell.com>
    Cc: Tawfik Bayouk <tawfik@marvell.com>
    Cc: Nadav Haklai <nadavh@marvell.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    gclement authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    c6a95db View commit details
    Browse the repository at this point in the history
  17. ARM: mvebu: add Device Tree description of RTC on Armada 38x

    The Marvell Armada 38x SoCs contains an RTC which differs from the RTC
    used in the other mvebu SoCs until now.  This commit adds the Device Tree
    description of this interface at the SoC level.
    
    Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Andrew Lunn <andrew@lunn.ch>
    Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
    Cc: Arnaud Ebalard <arno@natisbad.org>
    Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
    Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
    Cc: Boris BREZILLON <boris.brezillon@free-electrons.com>
    Cc: Lior Amsalem <alior@marvell.com>
    Cc: Tawfik Bayouk <tawfik@marvell.com>
    Cc: Nadav Haklai <nadavh@marvell.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    gclement authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    a73c730 View commit details
    Browse the repository at this point in the history
  18. ARM: mvebu: enable Armada 38x RTC driver in mvebu_v7_defconfig

    Now that the Armada 38x RTC driver has been pushed, let's enable it in
    mvebu_v7_defconfig.
    
    Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Andrew Lunn <andrew@lunn.ch>
    Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
    Cc: Arnaud Ebalard <arno@natisbad.org>
    Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
    Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
    Cc: Boris BREZILLON <boris.brezillon@free-electrons.com>
    Cc: Lior Amsalem <alior@marvell.com>
    Cc: Tawfik Bayouk <tawfik@marvell.com>
    Cc: Nadav Haklai <nadavh@marvell.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    gclement authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    a3b30e7 View commit details
    Browse the repository at this point in the history
  19. Merge branch 'akpm' (patches from Andrew)

    Merge fourth set of updates from Andrew Morton:
    
     - the rest of lib/
    
     - checkpatch updates
    
     - a few misc things
    
     - kasan: kernel address sanitizer
    
     - the rtc tree
    
    * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (108 commits)
      ARM: mvebu: enable Armada 38x RTC driver in mvebu_v7_defconfig
      ARM: mvebu: add Device Tree description of RTC on Armada 38x
      MAINTAINERS: add the RTC driver for the Armada38x
      drivers/rtc/rtc-armada38x: add a new RTC driver for recent mvebu SoCs
      rtc: armada38x: add the device tree binding documentation
      rtc: rtc-ab-b5ze-s3: add sub-minute alarm support
      rtc: add support for Abracon AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC chip
      of: add vendor prefix for Abracon Corporation
      drivers/rtc/rtc-rk808.c: fix rtc time reading issue
      drivers/rtc/rtc-isl12057.c: constify struct regmap_config
      drivers/rtc/rtc-at91sam9.c: constify struct regmap_config
      drivers/rtc/rtc-imxdi.c: add more known register bits
      drivers/rtc/rtc-imxdi.c: trivial clean up code
      ARM: mvebu: ISL12057 rtc chip can now wake up RN102, RN102 and RN2120
      rtc: rtc-isl12057: add isil,irq2-can-wakeup-machine property for in-tree users
      drivers/rtc/rtc-isl12057.c: add alarm support to Intersil ISL12057 RTC driver
      drivers/rtc/rtc-pcf2123.c: add support for devicetree
      kprobes: makes kprobes/enabled works correctly for optimized kprobes.
      kprobes: set kprobes_all_disarmed earlier to enable re-optimization.
      init: remove CONFIG_INIT_FALLBACK
      ...
    torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    83e047c View commit details
    Browse the repository at this point in the history
  20. Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6

    Pull crypto update from Herbert Xu:
     "Here is the crypto update for 3.20:
    
       - Added 192/256-bit key support to aesni GCM.
       - Added MIPS OCTEON MD5 support.
       - Fixed hwrng starvation and race conditions.
       - Added note that memzero_explicit is not a subsitute for memset.
       - Added user-space interface for crypto_rng.
       - Misc fixes"
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (71 commits)
      crypto: tcrypt - do not allocate iv on stack for aead speed tests
      crypto: testmgr - limit IV copy length in aead tests
      crypto: tcrypt - fix buflen reminder calculation
      crypto: testmgr - mark rfc4106(gcm(aes)) as fips_allowed
      crypto: caam - fix resource clean-up on error path for caam_jr_init
      crypto: caam - pair irq map and dispose in the same function
      crypto: ccp - terminate ccp_support array with empty element
      crypto: caam - remove unused local variable
      crypto: caam - remove dead code
      crypto: caam - don't emit ICV check failures to dmesg
      hwrng: virtio - drop extra empty line
      crypto: replace scatterwalk_sg_next with sg_next
      crypto: atmel - Free memory in error path
      crypto: doc - remove colons in comments
      crypto: seqiv - Ensure that IV size is at least 8 bytes
      crypto: cts - Weed out non-CBC algorithms
      MAINTAINERS: add linux-crypto to hw random
      crypto: cts - Remove bogus use of seqiv
      crypto: qat - don't need qat_auth_state struct
      crypto: algif_rng - fix sparse non static symbol warning
      ...
    torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    fee5429 View commit details
    Browse the repository at this point in the history
  21. CRISv32: Remove unnecessary KERN_INFO from sync_serial

    Remove unnecessary KERN_INFO in sync_serial.c
    
    Signed-off-by: Masanari Iida <standby24x7@gmail.com>
    Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
    standby24x7 authored and Jesper Nilsson committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    10b3097 View commit details
    Browse the repository at this point in the history
  22. CRIS: uaccess: fix sparse errors

    virtio wants to read bitwise types from userspace using get_user.  At the
    moment this triggers sparse errors, since the value is passed through an
    integer.
    
    Fix that up using __force.
    
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
    mstsirkin authored and Jesper Nilsson committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    458e319 View commit details
    Browse the repository at this point in the history
  23. CRIS: macro whitespace fixes in uaccess.h

    While working on arch/cris/include/asm/uaccess.h, I noticed
    that some macros within this header are made harder to read because they
    violate a coding style rule: space is missing after comma.
    
    Fix it up.
    
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
    mstsirkin authored and Jesper Nilsson committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    83f1588 View commit details
    Browse the repository at this point in the history
  24. CRIS: Whitespace cleanup

    No functional change, just clean up the most obvious.
    
    Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
    Jesper Nilsson committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    9987c19 View commit details
    Browse the repository at this point in the history
  25. Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/borntraeger/linux
    
    Pull ACCESS_ONCE() rule tightening from Christian Borntraeger:
     "Tighten rules for ACCESS_ONCE
    
      This series tightens the rules for ACCESS_ONCE to only work on scalar
      types.  It also contains the necessary fixups as indicated by build
      bots of linux-next.  Now everything is in place to prevent new
      non-scalar users of ACCESS_ONCE and we can continue to convert code to
      READ_ONCE/WRITE_ONCE"
    
    * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/borntraeger/linux:
      kernel: Fix sparse warning for ACCESS_ONCE
      next: sh: Fix compile error
      kernel: tighten rules for ACCESS ONCE
      mm/gup: Replace ACCESS_ONCE with READ_ONCE
      x86/spinlock: Leftover conversion ACCESS_ONCE->READ_ONCE
      x86/xen/p2m: Replace ACCESS_ONCE with READ_ONCE
      ppc/hugetlbfs: Replace ACCESS_ONCE with READ_ONCE
      ppc/kvm: Replace ACCESS_ONCE with READ_ONCE
    torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    c833e17 View commit details
    Browse the repository at this point in the history
  26. mutex: remove unused field "name" in debug mode

    This field is unused and uninitialized since commit 9a11b49
    ("[PATCH] lockdep: better lock debugging")
    
    Signed-off-by: Adrien Schildknecht <adrien+dev@schischi.me>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    schischi authored and torvalds committed Feb 14, 2015
    Configuration menu
    Copy the full SHA
    d347efe View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2015

  1. r8152: restore hw settings

    There is a capability which let the hw could change the settings
    automatically when the power change to ON. However, the USB reset
    would reset the settings to the hw default, so the driver has to
    restore the relative settings. Otherwise, it would influence the
    functions of the hw, and the compatibility for the USB hub and
    USB host controller.
    
    The relative settings are as following.
     - set the power down scale to 96.
     - enable the power saving function of USB 2.0.
     - disable the ALDPS of ECM mode.
     - set burst mode depending on the burst size.
     - enable the flow control of endpoint full.
     - set fifo empty boundary to 32448 bytes.
     - enable the function of exiting LPM when Rx OK occurs.
     - set the connect timer to 1.
    
    Signed-off-by: Hayes Wang <hayeswang@realtek.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    hayesorz authored and davem330 committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    65bab84 View commit details
    Browse the repository at this point in the history
  2. openvswitch: Fix key serialization.

    Fix typo where mask is used rather than key.
    
    Fixes: 74ed7ab("openvswitch: Add support for unique flow IDs.")
    Reported-by: Joe Stringer <joestringer@nicira.com>
    Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
    Acked-by: Joe Stringer <joestringer@nicira.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Pravin B Shelar authored and davem330 committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    26ad0b8 View commit details
    Browse the repository at this point in the history
  3. ipv6: fix ipv6_cow_metrics for non DST_HOST case

    ipv6_cow_metrics() currently assumes only DST_HOST routes require
    dynamic metrics allocation from inetpeer.  The assumption breaks
    when ndisc discovered router with RTAX_MTU and RTAX_HOPLIMIT metric.
    Refer to ndisc_router_discovery() in ndisc.c and note that dst_metric_set()
    is called after the route is created.
    
    This patch creates the metrics array (by calling dst_cow_metrics_generic) in
    ipv6_cow_metrics().
    
    Test:
    radvd.conf:
    interface qemubr0
    {
    	AdvLinkMTU 1300;
    	AdvCurHopLimit 30;
    
    	prefix fd00:face:face:face::/64
    	{
    		AdvOnLink on;
    		AdvAutonomous on;
    		AdvRouterAddr off;
    	};
    };
    
    Before:
    [root@qemu1 ~]# ip -6 r show | egrep -v unreachable
    fd00:face:face:face::/64 dev eth0  proto kernel  metric 256  expires 27sec
    fe80::/64 dev eth0  proto kernel  metric 256
    default via fe80::74df:d0ff:fe23:8ef2 dev eth0  proto ra  metric 1024  expires 27sec
    
    After:
    [root@qemu1 ~]# ip -6 r show | egrep -v unreachable
    fd00:face:face:face::/64 dev eth0  proto kernel  metric 256  expires 27sec mtu 1300
    fe80::/64 dev eth0  proto kernel  metric 256  mtu 1300
    default via fe80::74df:d0ff:fe23:8ef2 dev eth0  proto ra  metric 1024  expires 27sec mtu 1300 hoplimit 30
    
    Fixes: 8e2ec63 (ipv6: don't use inetpeer to store metrics for routes.)
    Signed-off-by: Martin KaFai Lau <kafai@fb.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    iamkafai authored and davem330 committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    3b47117 View commit details
    Browse the repository at this point in the history
  4. net: phy: micrel: disable NAND-tree for KSZ8021, KSZ8031, KSZ8051, KS…

    …Z8081
    
    NAND-tree is used to check wiring between MAC and PHY using NAND gates
    on the PHY side, hence the name.
    
    NAND-tree initial status is latched at reset by probing the IRQ pin.
    However some devices are sharing the PHY IRQ pin with other peripherals
    such as Atmel SAMA5D[34]x-EK boards when using the optional TM7000
    display module, therefore they are switching the PHY in NAND-tree test
    mode depending on the current IRQ line status at reset.
    
    This patch ensure PHY is not in NAND-tree test mode for all Micrel PHYs
    using IRQ line as a NAND-tree toggle mode at reset.
    
    Signed-off-by: Sylvain Rochet <sylvain.rochet@finsecur.com>
    Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Sylvain Rochet authored and davem330 committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    2b0ba96 View commit details
    Browse the repository at this point in the history
  5. net/core: Fix warning while make xmldocs caused by dev.c

    This patch fix following warning wile make xmldocs.
    
      Warning(.//net/core/dev.c:5345): No description found
      for parameter 'bonding_info'
      Warning(.//net/core/dev.c:5345): Excess function parameter
      'netdev_bonding_info' description in 'netdev_bonding_info_change'
    
    This warning starts to appear after following patch was added
    into Linus's tree during merger period.
    
    commit 61bd385
    net/core: Add event for a change in slave state
    
    Signed-off-by: Masanari Iida <standby24x7@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    standby24x7 authored and davem330 committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    4a26e45 View commit details
    Browse the repository at this point in the history
  6. net: spelling fixes

    Spelling errors caught by codespell.
    
    Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    shemminger authored and davem330 committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    ca9f1fd View commit details
    Browse the repository at this point in the history
  7. mtd: hisilicon: && vs & typo

    The intent was to mask away some bits here, not to test true or false.
    
    Fix: 54f531f ('mtd: hisilicon: add a new NAND controller driver for hisilicon hip04 Soc')
    Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
    Signed-off-by: Brian Norris <computersforpeace@gmail.com>
    Dan Carpenter authored and computersforpeace committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    dd58d38 View commit details
    Browse the repository at this point in the history
  8. tpm: fix suspend/resume paths for TPM 2.0

    Fixed suspend/resume paths for TPM 2.0 and consolidated all the
    associated code to the tpm_pm_suspend() and tpm_pm_resume()
    functions. Resume path should be handled by the firmware, i.e.
    Startup(CLEAR) for hibernate and Startup(STATE) for suspend.
    
    There might be some non-PC embedded devices in the future where
    Startup() is not the handled by the FW but fixing the code for
    those IMHO should be postponed until there is hardware available
    to test the fixes although extra Startup in the driver code is
    essentially a NOP.
    
    Added Shutdown(CLEAR) to the remove paths of TIS and CRB drivers.
    Changed tpm2_shutdown() to a void function because there isn't
    much you can do except print an error message if this fails with
    a system error.
    
    Fixes: aec04cb ("tpm: TPM 2.0 FIFO Interface")
    Fixes: 30fc8d1 ("tpm: TPM 2.0 CRB Interface")
    [phuewe: both did send TPM_Shutdown on resume which 'disables' the TPM
    and did not send TPM2_Shutdown on teardown which leads some TPM2.0 to
    believe there was an attack (no TPM2_Shutdown = no orderly shutdown =
    attack)]
    
    Reported-by: Peter Hüwe <PeterHuewe@gmx.de>
    Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
    Tested-by: Scot Doyle <lkml14@scotdoyle.com>
    Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
    Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
    Jarkko Sakkinen authored and PeterHuewe committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    74d6b3c View commit details
    Browse the repository at this point in the history
  9. tpm, tpm_tis: fix TPM 2.0 probing

    If during transmission system error was returned, the logic was to
    incorrectly deduce that chip is a TPM 1.x chip. This patch fixes this
    issue. Also, this patch changes probing so that message tag is used as the
    measure for TPM 2.x, which should be much more stable. A separate function
    called tpm2_probe() is encapsulated because it can be used with any
    chipset.
    
    Fixes: aec04cb ("tpm: TPM 2.0 FIFO Interface")
    Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
    Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
    Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
    Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
    Jarkko Sakkinen authored and PeterHuewe committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    4d5f205 View commit details
    Browse the repository at this point in the history
  10. vhost_net: fix wrong iter offset when setting number of buffers

    In commit ba7438a ("vhost: don't bother copying iovecs in
    handle_rx(), kill memcpy_toiovecend()"), we advance iov iter fixup
    sizeof(struct virtio_net_hdr) bytes and fill the number of buffers
    after doing the socket recvmsg(). This work well but was broken after
    commit 6e03f89 ("Merge
    git://git.kernel.org/pub/scm/linux/kernel/git/davem/net") which tries
    to advance sizeof(struct virtio_net_hdr_mrg_rxbuf). It will fill the
    number of buffers at the wrong place. This patch fixes this.
    
    Fixes 6e03f89
    ("Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net")
    Cc: David S. Miller <davem@davemloft.net>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Cc: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: Jason Wang <jasowang@redhat.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    jasowang authored and davem330 committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    0960b64 View commit details
    Browse the repository at this point in the history
  11. com20020-pci: add support for eae single card

    Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    mgrzeschik authored and davem330 committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    d95e2fe View commit details
    Browse the repository at this point in the history
  12. rtnetlink: call ->dellink on failure when ->newlink exists

    Ignacy reported that when eth0 is down and add a vlan device
    on top of it like:
    
      ip link add link eth0 name eth0.1 up type vlan id 1
    
    We will get a refcount leak:
    
      unregister_netdevice: waiting for eth0.1 to become free. Usage count = 2
    
    The problem is when rtnl_configure_link() fails in rtnl_newlink(),
    we simply call unregister_device(), but for stacked device like vlan,
    we almost do nothing when we unregister the upper device, more work
    is done when we unregister the lower device, so call its ->dellink().
    
    Reported-by: Ignacy Gawedzki <ignacy.gawedzki@green-communications.fr>
    Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    congwang authored and davem330 committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    7afb888 View commit details
    Browse the repository at this point in the history
  13. Added Little Endian support to vtpm module

    The tpm_ibmvtpm module is affected by an unaligned access problem.
    ibmvtpm_crq_get_version failed with rc=-4 during boot when vTPM is
    enabled in Power partition, which supports both little endian and
    big endian modes.
    
    We added little endian support to fix this problem:
    1) added cpu_to_be64 calls to ensure BE data is sent from an LE OS.
    2) added be16_to_cpu and be32_to_cpu calls to make sure data received
       is in LE format on a LE OS.
    
    Signed-off-by: Hon Ching(Vicky) Lo <honclo@linux.vnet.ibm.com>
    Signed-off-by: Joy Latten <jmlatten@linux.vnet.ibm.com>
    Cc: <stable@vger.kernel.org>
    [phuewe: manually applied the patch :( ]
    Reviewed-by: Ashley Lai <ashley@ahsleylai.com>
    Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
    honclo authored and PeterHuewe committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    eb71f8a View commit details
    Browse the repository at this point in the history
  14. Merge branch 'for-linus-v3.20' of git://git.infradead.org/linux-ubifs

    Pull UBI and UBIFS updates from Richard Weinberger:
     - cleanups and bug fixes all over UBI and UBIFS
     - block-mq support for UBI Block
     - UBI volumes can now be renamed while they are in use
     - security.* XATTR support for UBIFS
     - a maintainer update
    
    * 'for-linus-v3.20' of git://git.infradead.org/linux-ubifs:
      UBI: block: Fix checking for NULL instead of IS_ERR()
      UBI: block: Continue creating ubiblocks after an initialization error
      UBIFS: return -EINVAL if log head is empty
      UBI: Block: Explain usage of blk_rq_map_sg()
      UBI: fix soft lockup in ubi_check_volume()
      UBI: Fastmap: Care about the protection queue
      UBIFS: add a couple of extra asserts
      UBI: do propagate positive error codes up
      UBI: clean-up printing helpers
      UBI: extend UBI layer debug/messaging capabilities - cosmetics
      UBIFS: add ubifs_err() to print error reason
      UBIFS: Add security.* XATTR support for the UBIFS
      UBIFS: Add xattr support for symlinks
      UBI: Block: Add blk-mq support
      UBI: Add initial support for scatter gather
      UBI: rename_volumes: Use UBI_METAONLY
      UBI: Implement UBI_METAONLY
      Add myself as UBI co-maintainer
    torvalds committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    8c988ae View commit details
    Browse the repository at this point in the history
  15. Merge tag 'usb-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/gregkh/usb
    
    Pull USB patches from Greg KH:
     "Here's the big pull request for the USB driver tree for 3.20-rc1.
    
      Nothing major happening here, just lots of gadget driver updates, new
      device ids, and a bunch of cleanups.
    
      All of these have been in linux-next for a while with no reported
      issues"
    
    * tag 'usb-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (299 commits)
      usb: musb: fix device hotplug behind hub
      usb: dwc2: Fix a bug in reading the endpoint directions from reg.
      staging: emxx_udc: fix the build error
      usb: Retry port status check on resume to work around RH bugs
      Revert "usb: Reset USB-3 devices on USB-3 link bounce"
      uhci-hub: use HUB_CHAR_*
      usb: kconfig: replace PPC_OF with PPC
      ehci-pci: disable for Intel MID platforms (update)
      usb: gadget: Kconfig: use bool instead of boolean
      usb: musb: blackfin: remove incorrect __exit_p()
      USB: fix use-after-free bug in usb_hcd_unlink_urb()
      ehci-pci: disable for Intel MID platforms
      usb: host: pci_quirks: joing string literals
      USB: add flag for HCDs that can't receive wakeup requests (isp1760-hcd)
      USB: usbfs: allow URBs to be reaped after disconnection
      cdc-acm: kill unnecessary messages
      cdc-acm: add sanity checks
      usb: phy: phy-generic: Fix USB PHY gpio reset
      usb: dwc2: fix USB core dependencies
      usb: renesas_usbhs: fix NULL pointer dereference in dma_release_channel()
      ...
    torvalds committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    e298767 View commit details
    Browse the repository at this point in the history
  16. timekeeping: Make it safe to use the fast timekeeper while suspended

    Theoretically, ktime_get_mono_fast_ns() may be executed after
    timekeeping has been suspended (or before it is resumed) which
    in turn may lead to undefined behavior, for example, when the
    clocksource read from timekeeping_get_ns() called by it is
    not accessible at that time.
    
    Prevent that from happening by setting up a dummy readout base for
    the fast timekeeper during timekeeping_suspend() such that it will
    always return the same number of cycles.
    
    After the last timekeeping_update() in timekeeping_suspend() the
    clocksource is read and the result is stored as cycles_at_suspend.
    The readout base from the current timekeeper is copied onto the
    dummy and the ->read pointer of the dummy is set to a routine
    unconditionally returning cycles_at_suspend.  Next, the dummy is
    passed to update_fast_timekeeper().
    
    Then, ktime_get_mono_fast_ns() will work until the subsequent
    timekeeping_resume() and the proper readout base for the fast
    timekeeper will be restored by the timekeeping_update() called
    right after clearing timekeeping_suspended.
    
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Acked-by: John Stultz <john.stultz@linaro.org>
    Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
    rafaeljw committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    060407a View commit details
    Browse the repository at this point in the history
  17. PM / sleep: Make it possible to quiesce timers during suspend-to-idle

    The efficiency of suspend-to-idle depends on being able to keep CPUs
    in the deepest available idle states for as much time as possible.
    Ideally, they should only be brought out of idle by system wakeup
    interrupts.
    
    However, timer interrupts occurring periodically prevent that from
    happening and it is not practical to chase all of the "misbehaving"
    timers in a whack-a-mole fashion.  A much more effective approach is
    to suspend the local ticks for all CPUs and the entire timekeeping
    along the lines of what is done during full suspend, which also
    helps to keep suspend-to-idle and full suspend reasonably similar.
    
    The idea is to suspend the local tick on each CPU executing
    cpuidle_enter_freeze() and to make the last of them suspend the
    entire timekeeping.  That should prevent timer interrupts from
    triggering until an IO interrupt wakes up one of the CPUs.  It
    needs to be done with interrupts disabled on all of the CPUs,
    though, because otherwise the suspended clocksource might be
    accessed by an interrupt handler which might lead to fatal
    consequences.
    
    Unfortunately, the existing ->enter callbacks provided by cpuidle
    drivers generally cannot be used for implementing that, because some
    of them re-enable interrupts temporarily and some idle entry methods
    cause interrupts to be re-enabled automatically on exit.  Also some
    of these callbacks manipulate local clock event devices of the CPUs
    which really shouldn't be done after suspending their ticks.
    
    To overcome that difficulty, introduce a new cpuidle state callback,
    ->enter_freeze, that will be guaranteed (1) to keep interrupts
    disabled all the time (and return with interrupts disabled) and (2)
    not to touch the CPU timer devices.  Modify cpuidle_enter_freeze() to
    look for the deepest available idle state with ->enter_freeze present
    and to make the CPU execute that callback with suspended tick (and the
    last of the online CPUs to execute it with suspended timekeeping).
    
    Suggested-by: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
    rafaeljw committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    124cf91 View commit details
    Browse the repository at this point in the history
  18. intel_idle: Add ->enter_freeze callbacks

    Add an ->enter_freeze callback routine, intel_idle_freeze(), to
    the intel_idle driver and point the ->enter_freeze callback
    pointers of all of the driver's state objects to it.
    
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
    rafaeljw committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    5fe2e52 View commit details
    Browse the repository at this point in the history
  19. ACPI / idle: Implement ->enter_freeze callback routine

    Add an ->enter_freeze callback routine, acpi_idle_enter_freeze(), to
    the ACPI cpuidle driver and point ->enter_freeze to it for all the
    C2-type and C3-type states that don't need to fall back to C1
    (which may be halt-induced and that will re-enable interrupts on
    exit from idle, which ->enter_freeze cannot do).
    
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
    rafaeljw committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    5f50818 View commit details
    Browse the repository at this point in the history
  20. Merge tag 'char-misc-3.20-rc1' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/gregkh/char-misc
    
    Pull char / misc patches from Greg KH:
     "Here's the big char/misc driver update for 3.20-rc1.
    
      Lots of little things in here, all described in the changelog.
      Nothing major or unusual, except maybe the binder selinux stuff, which
      was all acked by the proper selinux people and they thought it best to
      come through this tree.
    
      All of this has been in linux-next with no reported issues for a while"
    
    * tag 'char-misc-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (90 commits)
      coresight: fix function etm_writel_cp14() parameter order
      coresight-etm: remove check for unknown Kconfig macro
      coresight: fixing CPU hwid lookup in device tree
      coresight: remove the unnecessary function coresight_is_bit_set()
      coresight: fix the debug AMBA bus name
      coresight: remove the extra spaces
      coresight: fix the link between orphan connection and newly added device
      coresight: remove the unnecessary replicator property
      coresight: fix the replicator subtype value
      pdfdocs: Fix 'make pdfdocs' failure for 'uio-howto.tmpl'
      mcb: Fix error path of mcb_pci_probe
      virtio/console: verify device has config space
      ti-st: clean up data types (fix harmless memory corruption)
      mei: me: release hw from reset only during the reset flow
      mei: mask interrupt set bit on clean reset bit
      extcon: max77693: Constify struct regmap_config
      extcon: adc-jack: Release IIO channel on driver remove
      extcon: Remove duplicated include from extcon-class.c
      Drivers: hv: vmbus: hv_process_timer_expiration() can be static
      Drivers: hv: vmbus: serialize Offer and Rescind offer
      ...
    torvalds committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    4ba6307 View commit details
    Browse the repository at this point in the history
  21. Merge tag 'driver-core-3.20-rc1' of git://git.kernel.org/pub/scm/linu…

    …x/kernel/git/gregkh/driver-core
    
    Pull driver core patches from Greg KH:
     "Really tiny set of patches for this kernel.  Nothing major, all
      described in the shortlog and have been in linux-next for a while"
    
    * tag 'driver-core-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
      sysfs: fix warning when creating a sysfs group without attributes
      firmware_loader: handle timeout via wait_for_completion_interruptible_timeout()
      firmware_loader: abort request if wait_for_completion is interrupted
      firmware: Correct function name in comment
      device: Change dev_<level> logging functions to return void
      device: Fix dev_dbg_once macro
    torvalds committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    9682ec9 View commit details
    Browse the repository at this point in the history
  22. Merge tag 'staging-3.20-rc1' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/gregkh/staging
    
    Pull staging drivers patches from Greg KH:
     "Here's the big staging driver tree update for 3.20-rc1.
    
      Lots of little things in here, adding up to lots of overall cleanups.
      The IIO driver updates are also in here as they cross the staging tree
      boundry a lot.  I2O has moved into staging as well, as a plan to drop
      it from the tree eventually as that's a dead subsystem.
    
      All of this has been in linux-next with no reported issues for a
      while"
    
    * tag 'staging-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (740 commits)
      staging: lustre: lustre: libcfs: define symbols as static
      staging: rtl8712: Do coding style cleanup
      staging: lustre: make obd_updatemax_lock static
      staging: rtl8188eu: core: switch with redundant cases
      staging: rtl8188eu: odm: conditional setting with no effect
      staging: rtl8188eu: odm: condition with no effect
      staging: ft1000: fix braces warning
      staging: sm7xxfb: fix remaining CamelCase
      staging: sm7xxfb: fix CamelCase
      staging: rtl8723au: multiple condition with no effect - if identical to else
      staging: sm7xxfb: make smtc_scr_info static
      staging/lustre/mdc: Initialize req in mdc_enqueue for !it case
      staging/lustre/clio: Do not allow group locks with gid 0
      staging/lustre/llite: don't add to page cache upon failure
      staging/lustre/llite: Add exception entry check after radix_tree
      staging/lustre/libcfs: protect kkuc_groups from write access
      staging/lustre/fld: refer to MDT0 for fld lookup in some cases
      staging/lustre/llite: Solve a race to access lli_has_smd in read case
      staging/lustre/ptlrpc: hold rq_lock when modify rq_flags
      staging/lustre/lnet: portal spreading rotor should be unsigned
      ...
    torvalds committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    46f7b63 View commit details
    Browse the repository at this point in the history
  23. Merge tag 'tty-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/gregkh/tty
    
    Pull tty/serial driver patches from Greg KH:
     "Here's the big tty/serial driver update for 3.20-rc1.  Nothing huge
      here, just lots of driver updates and some core tty layer fixes as
      well.  All have been in linux-next with no reported issues"
    
    * tag 'tty-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (119 commits)
      serial: 8250: Fix UART_BUG_TXEN workaround
      serial: driver for ETRAX FS UART
      tty: remove unused variable sprop
      serial: of-serial: fetch line number from DT
      serial: samsung: earlycon support depends on CONFIG_SERIAL_SAMSUNG_CONSOLE
      tty/serial: serial8250_set_divisor() can be static
      tty/serial: Add Spreadtrum sc9836-uart driver support
      Documentation: DT: Add bindings for Spreadtrum SoC Platform
      serial: samsung: remove redundant interrupt enabling
      tty: Remove external interface for tty_set_termios()
      serial: omap: Fix RTS handling
      serial: 8250_omap: Use UPSTAT_AUTORTS for RTS handling
      serial: core: Rework hw-assisted flow control support
      tty/serial: 8250_early: Add support for PXA UARTs
      tty/serial: of_serial: add support for PXA/MMP uarts
      tty/serial: of_serial: add DT alias ID handling
      serial: 8250: Prevent concurrent updates to shadow registers
      serial: 8250: Use canary to restart console after suspend
      serial: 8250: Refactor XR17V35X divisor calculation
      serial: 8250: Refactor divisor programming
      ...
    torvalds committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    a972412 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2015

  1. Merge tag 'cris-for-3.20' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/jesper/cris
    
    Pull CRIS changes from Jesper Nilsson.
    
    * tag 'cris-for-3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/jesper/cris:
      CRIS: Whitespace cleanup
      CRIS: macro whitespace fixes in uaccess.h
      CRIS: uaccess: fix sparse errors
      CRISv32: Remove unnecessary KERN_INFO from sync_serial
      CRIS: Fix missing NR_CPUS in menuconfig
      CRISv32: Avoid warning of unused variable
      CRIS: Avoid warning in cris mm/fault.c
      CRIS: Export csum_partial_copy_nocheck
    torvalds committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    1fa185e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd07db5 View commit details
    Browse the repository at this point in the history
  3. Don't leak a key reference if request_key() tries to use a revoked ke…

    …yring
    
    If a request_key() call to allocate and fill out a key attempts to insert the
    key structure into a revoked keyring, the key will leak, using memory and part
    of the user's key quota until the system reboots. This is from a failure of
    construct_alloc_key() to decrement the key's reference count after the attempt
    to insert into the requested keyring is rejected.
    
    key_put() needs to be called in the link_prealloc_failed callpath to ensure
    the unused key is released.
    
    Signed-off-by: David Jeffery <djeffery@redhat.com>
    Signed-off-by: David Howells <dhowells@redhat.com>
    Signed-off-by: James Morris <james.l.morris@oracle.com>
    David Jeffery authored and James Morris committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    d0709f1 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'smack-for-3.20-rebased' of git://git.gitorious.org/smac…

    …k-next/kernel into for-linus
    James Morris committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    0d309cb View commit details
    Browse the repository at this point in the history
  5. MAINTAINERS: update arch/nios2 git tree

    Signed-off-by: Ley Foon Tan <lftan@altera.com>
    Ley Foon Tan committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    08c283c View commit details
    Browse the repository at this point in the history
  6. md/raid1: round up to bdev_logical_block_size in narrow_write_error

    This modifies raid1's narrow_write_error to round up block_sectors to the
    device's logical block size.
    
    This prevents sd complaining about "Bad block number requested" for non-512-byte
    sector disks.
    
    Signed-off-by: Nate Dailey <nate.dailey@stratus.com>
    Signed-off-by: NeilBrown <neilb@suse.de>
    nhdailey authored and neilbrown committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    ab713cd View commit details
    Browse the repository at this point in the history
  7. md/raid10: round up to bdev_logical_block_size in narrow_write_error.

    RAID10 version of earlier fix for RAID1.  We must never initiate
    IO with sizes less that logical_block_size.
    
    Signed-off-by: NeilBrown <neilb@suse.de>
    neilbrown committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    f04ebb0 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'drm-next-3.20' of git://people.freedesktop.org/~agd5f/l…

    …inux into drm-next
    
    two important bug fixes for radeon
    
    * 'drm-next-3.20' of git://people.freedesktop.org/~agd5f/linux:
      drm/radeon: fix voltage setup on hawaii
      drm/radeon/dp: Set EDP_CONFIGURATION_SET for bridge chips if necessary
    airlied committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    45ee2db View commit details
    Browse the repository at this point in the history
  9. dmaenegine: edma: fix sparse warnings

    this patch fixes following sparse warnings:
    
    edma.c:537:32: warning: symbol 'edma_prep_dma_memcpy' was not declared. Should it be static?
    edma.c:1070:6: warning: symbol 'edma_filter_fn' was not declared. Should it be static?
    
    Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    prabhakarlad authored and Vinod Koul committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    b7a4fd5 View commit details
    Browse the repository at this point in the history
  10. dmaengine: rcar-dmac: Fix spinlock issues in interrupt

    The rcar_dmac_desc_put() function is called in interrupt context and
    must thus use spin_lock_irqsave() instead of spin_lock_irq().
    
    Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
    Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    Laurent Pinchart authored and Vinod Koul committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    f391507 View commit details
    Browse the repository at this point in the history
  11. dmaengine: rcar-dmac: Fix oops due to unintialized list in error ISR

    The error interrupt handler stops and reinitializes all channels. This
    causes a crash for channels that have never been used, as their
    descriptor lists are uninitialized. Fix it by initializing the
    descriptor lists at probe time.
    
    Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
    Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    Laurent Pinchart authored and Vinod Koul committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    f7638c9 View commit details
    Browse the repository at this point in the history
  12. dmaengine: rcar-dmac: Allocate hardware descriptors with DMAC device

    When wired to an IOMMU to access data, the DMAC accesses the hardware
    descriptors through the IOMMU as well. We're using the DMA mapping API
    to allocate the descriptors, but with a NULL device at the moment, which
    prevents IOMMU mappings from being created. Fix this by passing the DMAC
    device instead.
    
    Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
    Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    Laurent Pinchart authored and Vinod Koul committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    6a63480 View commit details
    Browse the repository at this point in the history
  13. dmaengine: rcar-dmac: Work around descriptor mode IOMMU errata

    When descriptor memory is accessed through an IOMMU the DMADAR register
    isn't initialized automatically from the first descriptor at beginning
    of transfer by the DMAC like it should. Initialize it manually with the
    destination address of the first chunk.
    
    Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
    Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    Laurent Pinchart authored and Vinod Koul committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    3f46306 View commit details
    Browse the repository at this point in the history
  14. dmaengine: rcar-dmac: Disable channel 0 when using IOMMU

    A still unconfirmed hardware bug prevents the IPMMU microTLB 0 to be
    flushed correctly, resulting in memory corruption. DMAC 0 channel 0 is
    connected to microTLB 0 on currently supported platforms, so we can't
    use it with the IPMMU. As the IOMMU API operates at the device level we
    can't disable it selectively, so ignore channel 0 for now if the device
    is part of an IOMMU group.
    
    Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
    Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    Laurent Pinchart authored and Vinod Koul committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    be6893e View commit details
    Browse the repository at this point in the history
  15. dmaengine: pl330: improve pl330_tx_status() function

    This patch adds possibility to read residue of DMA transfer. It's useful
    when we want to know how many bytes have been transferred before we
    terminate channel. It can take place, for example, on timeout interrupt.
    
    Signed-off-by: Lukasz Czerwinski <l.czerwinski@samsung.com>
    Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    Robert Baldyga authored and Vinod Koul committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    aee4d1f View commit details
    Browse the repository at this point in the history
  16. dmaengine: pl330: add DMA_PAUSE feature

    DMA_PAUSE command is used for halting DMA transfer on chosen channel.
    It can be useful when we want to safely read residue before terminating
    all requests on channel. Otherwise there can be situation when some data
    is transferred before channel termination but after reading residue,
    which obviously results with data loss. To avoid this situation we can
    pause channel, read residue and then terminate all requests.
    This scenario is common, for example, in serial port drivers.
    
    Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    Robert Baldyga authored and Vinod Koul committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    88987d2 View commit details
    Browse the repository at this point in the history
  17. nios2: add kgdb support

    Signed-off-by: Ley Foon Tan <lftan@altera.com>
    Ley Foon Tan committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    d16d2be View commit details
    Browse the repository at this point in the history
  18. nfsd4: fix v3-less build

    Includes of pnfs.h in export.c and fcntl.c also bring in xdr4.h, which
    won't build without CONFIG_NFSD_V3, breaking non-V3 builds.  Ifdef-out
    most of pnfs.h in that case.
    
    Reported-by: Bas Peters <baspeters93@gmail.com>
    Reported-by: Jim Davis <jim.epost@gmail.com>
    Tested-by: Guenter Roeck <linux@roeck-us.net>
    Fixes: 9cf514c "nfsd: implement pNFS operations"
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
    J. Bruce Fields committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    a51f25a View commit details
    Browse the repository at this point in the history
  19. mfd: intel_soc_pmic: Add missing error check for devm_kzalloc

    This patch add a missing check on the return value of devm_kzalloc,
    which would cause a NULL pointer dereference in a OOM situation.
    
    Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com>
    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    KiranPadwal authored and Lee Jones committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    0a65fbf View commit details
    Browse the repository at this point in the history
  20. Revert "locks: keep a count of locks on the flctx lists"

    This reverts commit 9bd0f45.
    
    Linus rightly pointed out that I failed to initialize the counters
    when adding them, so they don't work as expected. Just revert this
    patch for now.
    
    Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
    Jeff Layton committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    e084c1b View commit details
    Browse the repository at this point in the history
  21. Fix docs build failure caused by i2o removal

    The movement of the I2O tree into staging broke the DocBook build.  Rather
    than redirect the i2o references into staging, it seems better to just
    remove them since this code is on its way out anyway.
    
    Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: Jonathan Corbet <corbet@lwn.net>
    Jonathan Corbet committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    c20f29f View commit details
    Browse the repository at this point in the history
  22. parisc: Wire up execveat syscall

    Signed-off-by: Helge Deller <deller@gmx.de>
    hdeller committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    fb96a79 View commit details
    Browse the repository at this point in the history
  23. parisc: Add error checks when building up signal trampoline handler

    Add checks if the userspace trampoline code was correctly generated by the
    signal trampoline generation code. In addition only flush caches as needed and
    fix the old flushing code which didn't flushed all generated instructions.
    
    Signed-off-by: Helge Deller <deller@gmx.de>
    hdeller committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    0bd1e94 View commit details
    Browse the repository at this point in the history
  24. parisc: hpux - Drop support for HP-UX binaries

    This patch series drops the support for 32bit HP-UX binaries.
    
    The HP-UX compat layer has always been incomplete and it's unlikely that
    someone will ever implement it.
    
    Furthermore those two commits which enhance the compatibility of Linux on parisc
    to other architectures:
     f5a408d: parisc: Make EWOULDBLOCK be equal to EAGAIN on parisc
     1f25df2: parisc: Reduce SIGRTMIN from 37 to 32 to behave like other Linux architectures
    basically make it impossible to implement the HP-UX support correctly.
    
    Signed-off-by: Helge Deller <deller@gmx.de>
    hdeller committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    04c1614 View commit details
    Browse the repository at this point in the history
  25. parisc: hpux - Do not compile hpux subdirectory

    Signed-off-by: Helge Deller <deller@gmx.de>
    hdeller committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    e28f295 View commit details
    Browse the repository at this point in the history
  26. parisc: hpux - Delete files in hpux subdirectory

    Signed-off-by: Helge Deller <deller@gmx.de>
    hdeller committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    863722e View commit details
    Browse the repository at this point in the history
  27. parisc: hpux - Remove hpux gateway page

    Drop code to create HP-UX gateway page and syscall entry code.
    
    Signed-off-by: Helge Deller <deller@gmx.de>
    hdeller committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    c78c2b7 View commit details
    Browse the repository at this point in the history
  28. parisc: hpux - Remove HPUX syscall numbers

    Signed-off-by: Helge Deller <deller@gmx.de>
    hdeller committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    cf635f8 View commit details
    Browse the repository at this point in the history
  29. parisc/uaccess: fix sparse errors

    virtio wants to read bitwise types from userspace using get_user.  At the
    moment this triggers sparse errors, since the value is passed through an
    integer.
    
    Fix that up using __force.
    
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    Acked-by: Helge Deller <deller@gmx.de>
    Signed-off-by: Helge Deller <deller@gmx.de>
    mstsirkin authored and hdeller committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    876b2a0 View commit details
    Browse the repository at this point in the history
  30. Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/gerg/m68knommu
    
    Pull m68knommu fixes from Greg Ungerer:
     "Nothing big, only a small collection of minor cleanups/fixes"
    
    * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
      arch: m68k: 68360: config: Remove unused function
      m68knommu: fix irq handler types in 68360/commproc.c
      m68k: remove check for CONFIG_BSEIP
    torvalds committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    ea44a16 View commit details
    Browse the repository at this point in the history
  31. Merge tag 'arc-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/vgupta/arc
    
    Pull ARC updates from Vineet Gupta:
     "Some fixes, nothing too exciting this time as well..."
    
    * tag 'arc-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
      ARC: fix page address calculation if PAGE_OFFSET != LINUX_LINK_BASE
      ARC: Fix earlycon build breakage
      ARC: Dynamically determine BASE_BAUD from DeviceTree
      arc: Remove unused prepare_to_copy()
      ARC: use ACCESS_ONCE in cmpxchg loop
      ARC: add some more comments to ret_from_fork
      ARC: fix /proc/cpuinfo for offline cpus
    torvalds committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    a68fb48 View commit details
    Browse the repository at this point in the history
  32. Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/li…

    …nux/kernel/git/tip/tip
    
    Pull x86 perf updates from Ingo Molnar:
     "This series tightens up RDPMC permissions: currently even highly
      sandboxed x86 execution environments (such as seccomp) have permission
      to execute RDPMC, which may leak various perf events / PMU state such
      as timing information and other CPU execution details.
    
      This 'all is allowed' RDPMC mode is still preserved as the
      (non-default) /sys/devices/cpu/rdpmc=2 setting.  The new default is
      that RDPMC access is only allowed if a perf event is mmap-ed (which is
      needed to correctly interpret RDPMC counter values in any case).
    
      As a side effect of these changes CR4 handling is cleaned up in the
      x86 code and a shadow copy of the CR4 value is added.
    
      The extra CR4 manipulation adds ~ <50ns to the context switch cost
      between rdpmc-capable and rdpmc-non-capable mms"
    
    * 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      perf/x86: Add /sys/devices/cpu/rdpmc=2 to allow rdpmc for all tasks
      perf/x86: Only allow rdpmc if a perf_event is mapped
      perf: Pass the event to arch_perf_update_userpage()
      perf: Add pmu callbacks to track event mapping and unmapping
      x86: Add a comment clarifying LDT context switching
      x86: Store a per-cpu shadow copy of CR4
      x86: Clean up cr4 manipulation
    torvalds committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    3750771 View commit details
    Browse the repository at this point in the history
  33. Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/tip/tip
    
    Pull irqchip updates from Ingo Molnar:
     "Various irqchip driver updates, plus a genirq core update that allows
      the initial spreading of irqs amonst CPUs without having to do it from
      user-space"
    
    * 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      genirq: Fix null pointer reference in irq_set_affinity_hint()
      irqchip: gic: Allow interrupt level to be set for PPIs
      irqchip: mips-gic: Handle pending interrupts once in __gic_irq_dispatch()
      irqchip: Conexant CX92755 interrupts controller driver
      irqchip: Devicetree: document Conexant Digicolor irq binding
      irqchip: omap-intc: Remove unused legacy interface for omap2
      irqchip: omap-intc: Fix support for dm814 and dm816
      irqchip: mtk-sysirq: Get irq number from register resource size
      irqchip: renesas-intc-irqpin: r8a7779 IRLM setup support
      genirq: Set initial affinity in irq_set_affinity_hint()
    torvalds committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    3c6847e View commit details
    Browse the repository at this point in the history
  34. Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/tip/tip
    
    Pull clocksource updates from Ingo Molnar:
     "The main change in this tree is the addition of various new SoC
      clocksource/clockevents drivers: Conexant Digicolor SoCs, rockchip
      rk3288 board, asm9260 for MIPS and versatile AB/PB boards"
    
    * 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      dts: versatile: Add sysregs node
      clocksource: versatile: Adapt for Versatile AB and PB boards
      dt/bindings: Add binding for Versatile system registers
      clocksource: Driver for Conexant Digicolor SoC timer
      clocksource: devicetree: Document Conexant Digicolor timer binding
      clockevents: rockchip: Add rockchip timer for rk3288
      ARM: clocksource: Add asm9260_timer driver
      clocksource: marco: Rename marco to atlas7
      clocksource: sirf: Remove unused variable
    torvalds committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    8c334ce View commit details
    Browse the repository at this point in the history
  35. Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux

    Pull drm updates from Dave Airlie:
     "This is the main drm pull, it has a shared branch with some alsa
      crossover but everything should be acked by relevant people.
    
      New drivers:
         - ATMEL HLCDC driver
         - designware HDMI core support (used in multiple SoCs).
    
      core:
         - lots more atomic modesetting work, properties and atomic ioctl
           (hidden under option)
         - bridge rework allows support for Samsung exynos chromebooks to
           work finally.
         - some more panels supported
    
      i915:
         - atomic plane update support
         - DSI uses shared DSI infrastructure
         - Skylake basic support is all merged now
         - component framework used for i915/snd-hda interactions
         - write-combine cpu memory mappings
         - engine init code refactored
         - full ppgtt enabled where execlists are enabled.
         - cherryview rps/gpu turbo and pipe CRC support.
    
      radeon:
         - indirect draw support for evergreen/cayman
         - SMC and manual fan control for SI/CI
         - Displayport audio support
    
      amdkfd:
         - SDMA usermode queue support
         - replace suballocator usage with more suitable one
         - rework for allowing interfacing to more than radeon
    
      nouveau:
         - major renaming in prep for later splitting work
         - merge arm platform driver into nouveau
         - GK20A reclocking support
    
      msm:
         - conversion to atomic modesetting
         - YUV support for mdp4/5
         - eDP support
         - hw cursor for mdp5
    
      tegra:
         - conversion to atomic modesetting
         - better suspend/resume support for child devices
    
      rcar-du:
         - interlaced support
    
      imx:
         - move to using dw_hdmi shared support
         - mode_fixup support
    
      sti:
         - DVO support
         - HDMI infoframe support
    
      exynos:
         - refactoring and cleanup, removed lots of internal unnecessary
           abstraction
         - exynos7 DECON display controller support
    
      Along with the usual bunch of fixes, cleanups etc"
    
    * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (724 commits)
      drm/radeon: fix voltage setup on hawaii
      drm/radeon/dp: Set EDP_CONFIGURATION_SET for bridge chips if necessary
      drm/radeon: only enable kv/kb dpm interrupts once v3
      drm/radeon: workaround for CP HW bug on CIK
      drm/radeon: Don't try to enable write-combining without PAT
      drm/radeon: use 0-255 rather than 0-100 for pwm fan range
      drm/i915: Clamp efficient frequency to valid range
      drm/i915: Really ignore long HPD pulses on eDP
      drm/exynos: Add DECON driver
      drm/i915: Correct the base value while updating LP_OUTPUT_HOLD in MIPI_PORT_CTRL
      drm/i915: Insert a command barrier on BLT/BSD cache flushes
      drm/i915: Drop vblank wait from intel_dp_link_down
      drm/exynos: fix NULL pointer reference
      drm/exynos: remove exynos_plane_dpms
      drm/exynos: remove mode property of exynos crtc
      drm/exynos: Remove exynos_plane_dpms() call with no effect
      drm/i915: Squelch overzealous uncore reset WARN_ON
      drm/i915: Take runtime pm reference on hangcheck_info
      drm/i915: Correct the IOSF Dev_FN field for IOSF transfers
      drm/exynos: fix DMA_ATTR_NO_KERNEL_MAPPING usage
      ...
    torvalds committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    796e1c5 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2015

  1. rtc: isl12022: deprecate use of isl in compatible string for isil

    "isil" and "isl" prefixes are used at various locations inside the kernel
    to reference Intersil corporation.  This patch is part of a series fixing
    those locations were "isl" is used in compatible strings to use the now
    expected "isil" prefix instead (NASDAQ symbol for Intersil and most used
    version).  The old compatible string is kept for backward compatibility.
    
    Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
    Cc: Rob Herring <robh+dt@kernel.org>
    Cc: Pawel Moll <pawel.moll@arm.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
    Cc: Kumar Gala <galak@codeaurora.org>
    Cc: Russell King <linux@arm.linux.org.uk>
    Cc: Stephen Warren <swarren@wwwdotorg.org>
    Cc: Thierry Reding <thierry.reding@gmail.com>
    Cc: Alexandre Courbot <gnurou@gmail.com>
    Cc: Uwe Kleine-Knig <uwe@kleine-koenig.org>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Peter Huewe <peter.huewe@infineon.com>
    Cc: Linus Walleij <linus.walleij@linaro.org>
    Cc: Mark Brown <broonie@kernel.org>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Darshana Padmadas <darshanapadmadas@gmail.com>
    Cc: Grant Likely <grant.likely@linaro.org>
    Cc: Rob Landley <rob@landley.net>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Guenter Roeck <linux@roeck-us.net>
    Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
    Cc: Uwe Kleine-König <uwe@kleine-koenig.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    natisbad authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    c5cd827 View commit details
    Browse the repository at this point in the history
  2. rtc: isl12057: deprecate use of isl in compatible string for isil

    "isil" and "isl" prefixes are used at various locations inside the kernel
    to reference Intersil corporation.  This patch is part of a series fixing
    those locations were "isl" is used in compatible strings to use the now
    expected "isil" prefix instead (NASDAQ symbol for Intersil and most used
    version).  The old compatible string is kept for backward compatibility.
    
    Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
    Cc: Rob Herring <robh+dt@kernel.org>
    Cc: Pawel Moll <pawel.moll@arm.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
    Cc: Kumar Gala <galak@codeaurora.org>
    Cc: Russell King <linux@arm.linux.org.uk>
    Cc: Stephen Warren <swarren@wwwdotorg.org>
    Cc: Thierry Reding <thierry.reding@gmail.com>
    Cc: Alexandre Courbot <gnurou@gmail.com>
    Cc: Uwe Kleine-Knig <uwe@kleine-koenig.org>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Peter Huewe <peter.huewe@infineon.com>
    Cc: Linus Walleij <linus.walleij@linaro.org>
    Cc: Mark Brown <broonie@kernel.org>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Darshana Padmadas <darshanapadmadas@gmail.com>
    Cc: Grant Likely <grant.likely@linaro.org>
    Cc: Rob Landley <rob@landley.net>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Guenter Roeck <linux@roeck-us.net>
    Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
    Cc: Uwe Kleine-König <uwe@kleine-koenig.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    natisbad authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    401b3c6 View commit details
    Browse the repository at this point in the history
  3. staging: iio: isl29028: deprecate use of isl in compatible string for…

    … isil
    
    "isil" and "isl" prefixes are used at various locations inside the kernel
    to reference Intersil corporation.  This patch is part of a series fixing
    those locations were "isl" is used in compatible strings to use the now
    expected "isil" prefix instead (NASDAQ symbol for Intersil and most used
    version).  The old compatible string is kept for backward compatibility.
    
    Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
    Cc: Rob Herring <robh+dt@kernel.org>
    Cc: Pawel Moll <pawel.moll@arm.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
    Cc: Kumar Gala <galak@codeaurora.org>
    Cc: Russell King <linux@arm.linux.org.uk>
    Cc: Stephen Warren <swarren@wwwdotorg.org>
    Cc: Thierry Reding <thierry.reding@gmail.com>
    Cc: Alexandre Courbot <gnurou@gmail.com>
    Cc: Uwe Kleine-Knig <uwe@kleine-koenig.org>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Peter Huewe <peter.huewe@infineon.com>
    Cc: Linus Walleij <linus.walleij@linaro.org>
    Cc: Mark Brown <broonie@kernel.org>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Darshana Padmadas <darshanapadmadas@gmail.com>
    Cc: Grant Likely <grant.likely@linaro.org>
    Cc: Rob Landley <rob@landley.net>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Guenter Roeck <linux@roeck-us.net>
    Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
    Cc: Uwe Kleine-König <uwe@kleine-koenig.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    natisbad authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    37e5157 View commit details
    Browse the repository at this point in the history
  4. arm: dts: zynq: update isl9305 compatible string to use isil vendor p…

    …refix
    
    "isil" and "isl" prefixes are used at various locations inside the kernel
    to reference Intersil corporation.  This patch is part of a series fixing
    those locations were "isl" is used in compatible strings to use the now
    expected "isil" prefix instead (NASDAQ symbol for Intersil and most used
    version).
    
    Note: isl9305 is an I2C device so the patch does not in fact currently
    depend on the introduction of "isil"-based compatible string in isl9305
    driver (provided by another patch) because I2C core does not check the
    prefix yet.
    
    Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
    Cc: Rob Herring <robh+dt@kernel.org>
    Cc: Pawel Moll <pawel.moll@arm.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
    Cc: Kumar Gala <galak@codeaurora.org>
    Cc: Russell King <linux@arm.linux.org.uk>
    Cc: Stephen Warren <swarren@wwwdotorg.org>
    Cc: Thierry Reding <thierry.reding@gmail.com>
    Cc: Alexandre Courbot <gnurou@gmail.com>
    Cc: Uwe Kleine-Knig <uwe@kleine-koenig.org>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Peter Huewe <peter.huewe@infineon.com>
    Cc: Linus Walleij <linus.walleij@linaro.org>
    Cc: Mark Brown <broonie@kernel.org>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Darshana Padmadas <darshanapadmadas@gmail.com>
    Cc: Grant Likely <grant.likely@linaro.org>
    Cc: Rob Landley <rob@landley.net>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Guenter Roeck <linux@roeck-us.net>
    Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
    Cc: Uwe Kleine-König <uwe@kleine-koenig.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    natisbad authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    b4770fe View commit details
    Browse the repository at this point in the history
  5. mm: fix XIP fault vs truncate race

    DAX is a replacement for the variation of XIP currently supported by the
    ext2 filesystem.  We have three different things in the tree called 'XIP',
    and the new focus is on access to data rather than executables, so a name
    change was in order.  DAX stands for Direct Access.  The X is for
    eXciting.
    
    The new focus on data access has resulted in more careful attention to
    races that exist in the current XIP code, but are not hit by the use-case
    that it was designed for.  XIP's architecture worked fine for ext2, but
    DAX is architected to work with modern filsystems such as ext4 and XFS.
    DAX is not intended for use with btrfs; the value that btrfs adds relies
    on manipulating data and writing data to different locations, while DAX's
    value is for write-in-place and keeping the kernel from touching the data.
    
    DAX was developed in order to support NV-DIMMs, but it's become clear that
    its usefuless extends beyond NV-DIMMs and there are several potential
    customers including the tracing machinery.  Other people want to place the
    kernel log in an area of memory, as long as they have a BIOS that does not
    clear DRAM on reboot.
    
    Patch 1 is a bug fix, probably worth including in 3.18.
    
    Patches 2 & 3 are infrastructure for DAX.
    
    Patches 4-8 replace the XIP code with its DAX equivalents, transforming
    ext2 to use the DAX code as we go.  Note that patch 10 is the
    Documentation patch.
    
    Patches 9-15 clean up after the XIP code, removing the infrastructure
    that is no longer needed and renaming various XIP things to DAX.
    Most of these patches were added after Jan found things he didn't
    like in an earlier version of the ext4 patch ... that had been copied
    from ext2.  So ext2 i being transformed to do things the same way that
    ext4 will later.  The ability to mount ext2 filesystems with the 'xip'
    option is retained, although the 'dax' option is now preferred.
    
    Patch 16 adds some DAX infrastructure to support ext4.
    
    Patch 17 adds DAX support to ext4.  It is broadly similar to ext2's DAX
    support, but it is more efficient than ext4's due to its support for
    unwritten extents.
    
    Patch 18 is another cleanup patch renaming XIP to DAX.
    
    My thanks to Mathieu Desnoyers for his reviews of the v11 patchset.  Most
    of the changes below were based on his feedback.
    
    This patch (of 18):
    
    Pagecache faults recheck i_size after taking the page lock to ensure that
    the fault didn't race against a truncate.  We don't have a page to lock in
    the XIP case, so use i_mmap_lock_read() instead.  It is locked in the
    truncate path in unmap_mapping_range() after updating i_size.  So while we
    hold it in the fault path, we are guaranteed that either i_size has
    already been updated in the truncate path, or that the truncate will
    subsequently call zap_page_range_single() and so remove the mapping we
    have just inserted.
    
    There is a window of time in which i_size has been reduced and the thread
    has a mapping to a page which will be removed from the file, but this is
    harmless as the page will not be allocated to a different purpose before
    the thread's access to it is revoked.
    
    [akpm@linux-foundation.org: switch to i_mmap_lock_read(), add comment in unmap_single_vma()]
    Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    Reviewed-by: Jan Kara <jack@suse.cz>
    Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Andreas Dilger <andreas.dilger@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Matthew Wilcox authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    283307c View commit details
    Browse the repository at this point in the history
  6. mm: allow page fault handlers to perform the COW

    Currently COW of an XIP file is done by first bringing in a read-only
    mapping, then retrying the fault and copying the page.  It is much more
    efficient to tell the fault handler that a COW is being attempted (by
    passing in the pre-allocated page in the vm_fault structure), and allow
    the handler to perform the COW operation itself.
    
    The handler cannot insert the page itself if there is already a read-only
    mapping at that address, so allow the handler to return VM_FAULT_LOCKED
    and set the fault_page to be NULL.  This indicates to the MM code that the
    i_mmap_lock is held instead of the page lock.
    
    Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Andreas Dilger <andreas.dilger@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jan Kara <jack@suse.cz>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Matthew Wilcox authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    2e4cdab View commit details
    Browse the repository at this point in the history
  7. vfs,ext2: introduce IS_DAX(inode)

    Use an inode flag to tag inodes which should avoid using the page cache.
    Convert ext2 to use it instead of mapping_is_xip().  Prevent I/Os to files
    tagged with the DAX flag from falling back to buffered I/O.
    
    Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    Reviewed-by: Jan Kara <jack@suse.cz>
    Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Andreas Dilger <andreas.dilger@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Matthew Wilcox authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    fbbbad4 View commit details
    Browse the repository at this point in the history
  8. dax,ext2: replace XIP read and write with DAX I/O

    Use the generic AIO infrastructure instead of custom read and write
    methods.  In addition to giving us support for AIO, this adds the missing
    locking between read() and truncate().
    
    Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
    Reviewed-by: Jan Kara <jack@suse.cz>
    Cc: Andreas Dilger <andreas.dilger@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Matthew Wilcox authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    d475c63 View commit details
    Browse the repository at this point in the history
  9. dax,ext2: replace ext2_clear_xip_target with dax_clear_blocks

    This is practically generic code; other filesystems will want to call it
    from other places, but there's nothing ext2-specific about it.
    
    Make it a little more generic by allowing it to take a count of the number
    of bytes to zero rather than fixing it to a single page.  Thanks to Dave
    Hansen for suggesting that I need to call cond_resched() if zeroing more
    than one page.
    
    Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    Cc: Andreas Dilger <andreas.dilger@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jan Kara <jack@suse.cz>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Matthew Wilcox authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    289c6ae View commit details
    Browse the repository at this point in the history
  10. dax,ext2: replace the XIP page fault handler with the DAX page fault …

    …handler
    
    Instead of calling aops->get_xip_mem from the fault handler, the
    filesystem passes a get_block_t that is used to find the appropriate
    blocks.
    
    This requires that all architectures implement copy_user_page().  At the
    time of writing, mips and arm do not.  Patches exist and are in progress.
    
    [akpm@linux-foundation.org: remap_file_pages went away]
    Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    Reviewed-by: Jan Kara <jack@suse.cz>
    Cc: Andreas Dilger <andreas.dilger@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Cc: Russell King <rmk@arm.linux.org.uk>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Matthew Wilcox authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    f7ca90b View commit details
    Browse the repository at this point in the history
  11. dax,ext2: replace xip_truncate_page with dax_truncate_page

    It takes a get_block parameter just like nobh_truncate_page() and
    block_truncate_page()
    
    Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Andreas Dilger <andreas.dilger@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jan Kara <jack@suse.cz>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Matthew Wilcox authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    4c0ccfe View commit details
    Browse the repository at this point in the history
  12. dax: replace XIP documentation with DAX documentation

    Based on the original XIP documentation, this documents the current state
    of affairs, and includes instructions on how users can enable DAX if their
    devices and kernel support it.
    
    Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
    Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
    Cc: Andreas Dilger <andreas.dilger@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jan Kara <jack@suse.cz>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Matthew Wilcox authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    95ec8da View commit details
    Browse the repository at this point in the history
  13. vfs: remove get_xip_mem

    All callers of get_xip_mem() are now gone.  Remove checks for it,
    initialisers of it, documentation of it and the only implementation of it.
     Also remove mm/filemap_xip.c as it is now empty.  Also remove
    documentation of the long-gone get_xip_page().
    
    Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    Cc: Andreas Dilger <andreas.dilger@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jan Kara <jack@suse.cz>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Matthew Wilcox authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    e748dcd View commit details
    Browse the repository at this point in the history
  14. ext2: remove ext2_xip_verify_sb()

    Jan Kara pointed out that calling ext2_xip_verify_sb() in ext2_remount()
    doesn't make sense, since changing the XIP option on remount isn't
    allowed.  It also doesn't make sense to re-check whether blocksize is
    supported since it can't change between mounts.
    
    Replace the call to ext2_xip_verify_sb() in ext2_fill_super() with the
    equivalent check and delete the definition.
    
    Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    Cc: Andreas Dilger <andreas.dilger@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jan Kara <jack@suse.cz>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Matthew Wilcox authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    0de4830 View commit details
    Browse the repository at this point in the history
  15. ext2: remove ext2_use_xip

    Replace ext2_use_xip() with test_opt(XIP) which expands to the same code
    
    Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Andreas Dilger <andreas.dilger@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jan Kara <jack@suse.cz>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Matthew Wilcox authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    ed87e92 View commit details
    Browse the repository at this point in the history
  16. ext2: remove xip.c and xip.h

    These files are now empty, so delete them
    
    Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Andreas Dilger <andreas.dilger@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jan Kara <jack@suse.cz>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Matthew Wilcox authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    0764238 View commit details
    Browse the repository at this point in the history
  17. vfs,ext2: remove CONFIG_EXT2_FS_XIP and rename CONFIG_FS_XIP to CONFI…

    …G_FS_DAX
    
    The fewer Kconfig options we have the better.  Use the generic
    CONFIG_FS_DAX to enable XIP support in ext2 as well as in the core.
    
    Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    Cc: Andreas Dilger <andreas.dilger@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jan Kara <jack@suse.cz>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Matthew Wilcox authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    6cd176a View commit details
    Browse the repository at this point in the history
  18. ext2: remove ext2_aops_xip

    We shouldn't need a special address_space_operations any more
    
    Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Andreas Dilger <andreas.dilger@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jan Kara <jack@suse.cz>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Matthew Wilcox authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    97443aa View commit details
    Browse the repository at this point in the history
  19. ext2: get rid of most mentions of XIP in ext2

    To help people transition, accept the 'xip' mount option (and report it in
    /proc/mounts), but print a message encouraging people to switch over to
    the 'dax' option.
    
    Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Andreas Dilger <andreas.dilger@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jan Kara <jack@suse.cz>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Matthew Wilcox authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    9c3ce9e View commit details
    Browse the repository at this point in the history
  20. dax: add dax_zero_page_range

    This new function allows us to support hole-punch for DAX files by zeroing
    a partial page, as opposed to the dax_truncate_page() function which can
    only truncate to the end of the page.  Reimplement dax_truncate_page() to
    call dax_zero_page_range().
    
    [ross.zwisler@linux.intel.com: ported to 3.13-rc2]
    [akpm@linux-foundation.org: fix typos in comments]
    Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
    Cc: Andreas Dilger <andreas.dilger@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jan Kara <jack@suse.cz>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Matthew Wilcox authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    25726bc View commit details
    Browse the repository at this point in the history
  21. ext4: add DAX functionality

    This is a port of the DAX functionality found in the current version of
    ext2.
    
    [matthew.r.wilcox@intel.com: heavily tweaked]
    [akpm@linux-foundation.org: remap_pages went away]
    Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jan Kara <jack@suse.cz>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Ross Zwisler authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    923ae0f View commit details
    Browse the repository at this point in the history
  22. brd: rename XIP to DAX

    Since this is relating to FS_XIP, not KERNEL_XIP, it should be called
    DAX instead of XIP.
    
    Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    Cc: Andreas Dilger <andreas.dilger@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jan Kara <jack@suse.cz>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Matthew Wilcox authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    a7a97fc View commit details
    Browse the repository at this point in the history
  23. dax: does not work correctly with virtual aliasing caches

    The DAX code accesses the underlying storage through the kernel's linear
    mapping, which may not be cache-coherent with user mappings on ARM, MIPS
    or SPARC.  Temporarily disable the DAX code until this problem is
    resolved.
    
    The original XIP code also had this problem, but it was never noticed.
    
    Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
    Cc: Andreas Dilger <andreas.dilger@intel.com>
    Cc: Boaz Harrosh <boaz@plexistor.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Dave Chinner <david@fromorbit.com>
    Cc: Jan Kara <jack@suse.cz>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
    Cc: Theodore Ts'o <tytso@mit.edu>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: Russell King <rmk@arm.linux.org.uk>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Matthew Wilcox authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    d92576f View commit details
    Browse the repository at this point in the history
  24. MAINTAINERS: fix spelling mistake & remove trailing WS

    Signed-off-by: Akash Shende <akash0x53s@gmail.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    akash0x53 authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    6f9e245 View commit details
    Browse the repository at this point in the history
  25. ocfs2: prepare some interfaces used in append direct io

    Currently in case of append O_DIRECT write (block not allocated yet),
    ocfs2 will fall back to buffered I/O.  This has some disadvantages.
    Firstly, it is not the behavior as expected.  Secondly, it will consume
    huge page cache, e.g.  in mass backup scenario.  Thirdly, modern
    filesystems such as ext4 support this feature.
    
    In this patch set, the direct I/O write doesn't fallback to buffer I/O
    write any more because the allocate blocks are enabled in direct I/O now.
    
    This patch (of 9):
    
    Prepare some interfaces which will be used in append O_DIRECT write.
    
    Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
    Cc: Weiwei Wang <wangww631@huawei.com>
    Cc: Mark Fasheh <mfasheh@suse.com>
    Cc: Joel Becker <jlbec@evilplan.org>
    Cc: Xuejiufei <xuejiufei@huawei.com>
    Cc: Junxiao Bi <junxiao.bi@oracle.com>
    Cc: alex chen <alex.chen@huawei.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    josephhz authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    026749a View commit details
    Browse the repository at this point in the history
  26. ocfs2: add functions to add and remove inode in orphan dir

    Add functions to add inode to orphan dir and remove inode in orphan dir.
    Here we do not call ocfs2_prepare_orphan_dir and ocfs2_orphan_add
    directly.  Because append O_DIRECT will add inode to orphan two and may
    result in more than one orphan entry for the same inode.
    
    [akpm@linux-foundation.org: avoid dynamic stack allocation]
    Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
    Cc: Weiwei Wang <wangww631@huawei.com>
    Cc: Junxiao Bi <junxiao.bi@oracle.com>
    Cc: Joel Becker <jlbec@evilplan.org>
    Cc: Mark Fasheh <mfasheh@suse.com>
    Cc: Xuejiufei <xuejiufei@huawei.com>
    Cc: alex chen <alex.chen@huawei.com>
    Cc: Fengguang Wu <fengguang.wu@gmail.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    josephhz authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    06ee5c7 View commit details
    Browse the repository at this point in the history
  27. ocfs2: add orphan recovery types in ocfs2_recover_orphans

    Define two orphan recovery types, which indicates if need truncate file or
    not.
    
    Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
    Cc: Weiwei Wang <wangww631@huawei.com>
    Cc: Junxiao Bi <junxiao.bi@oracle.com>
    Cc: Joel Becker <jlbec@evilplan.org>
    Cc: Mark Fasheh <mfasheh@suse.com>
    Cc: Xuejiufei <xuejiufei@huawei.com>
    Cc: alex chen <alex.chen@huawei.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    josephhz authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    ed460cf View commit details
    Browse the repository at this point in the history
  28. ocfs2: implement ocfs2_direct_IO_write

    Implement ocfs2_direct_IO_write.  Add the inode to orphan dir first, and
    then delete it once append O_DIRECT finished.
    
    This is to make sure block allocation and inode size are consistent.
    
    [akpm@linux-foundation.org: fix it for "block: Add discard flag to blkdev_issue_zeroout() function"]
    Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
    Cc: Weiwei Wang <wangww631@huawei.com>
    Cc: Junxiao Bi <junxiao.bi@oracle.com>
    Cc: Joel Becker <jlbec@evilplan.org>
    Cc: Mark Fasheh <mfasheh@suse.com>
    Cc: Xuejiufei <xuejiufei@huawei.com>
    Cc: alex chen <alex.chen@huawei.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    josephhz authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    24c40b3 View commit details
    Browse the repository at this point in the history
  29. ocfs2: allocate blocks in ocfs2_direct_IO_get_blocks

    Allow blocks allocation in ocfs2_direct_IO_get_blocks.
    
    Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
    Cc: Weiwei Wang <wangww631@huawei.com>
    Cc: Junxiao Bi <junxiao.bi@oracle.com>
    Cc: Joel Becker <jlbec@evilplan.org>
    Cc: Mark Fasheh <mfasheh@suse.com>
    Cc: Xuejiufei <xuejiufei@huawei.com>
    Cc: alex chen <alex.chen@huawei.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    josephhz authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    49255dc View commit details
    Browse the repository at this point in the history
  30. ocfs2: do not fallback to buffer I/O write if appending

    Now we can do direct io and do not fallback to buffered IO any more in
    case of append O_DIRECT write.
    
    Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
    Cc: Weiwei Wang <wangww631@huawei.com>
    Cc: Joel Becker <jlbec@evilplan.org>
    Cc: Junxiao Bi <junxiao.bi@oracle.com>
    Cc: Mark Fasheh <mfasheh@suse.com>
    Cc: Xuejiufei <xuejiufei@huawei.com>
    Cc: alex chen <alex.chen@huawei.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    josephhz authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    d943d59 View commit details
    Browse the repository at this point in the history
  31. ocfs2: complete the rest request through buffer io

    Complte the rest request thourgh buffer io after direct write performed.
    
    Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
    Cc: Weiwei Wang <wangww631@huawei.com>
    Cc: Joel Becker <jlbec@evilplan.org>
    Cc: Junxiao Bi <junxiao.bi@oracle.com>
    Cc: Mark Fasheh <mfasheh@suse.com>
    Cc: Xuejiufei <xuejiufei@huawei.com>
    Cc: alex chen <alex.chen@huawei.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    josephhz authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    3a83b34 View commit details
    Browse the repository at this point in the history
  32. ocfs2: wait for orphan recovery first once append O_DIRECT write crash

    If one node has crashed with orphan entry leftover, another node which do
    append O_DIRECT write to the same file will override the
    i_dio_orphaned_slot.  Then the old entry won't be cleaned forever.  If
    this case happens, we let it wait for orphan recovery first.
    
    Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
    Cc: Weiwei Wang <wangww631@huawei.com>
    Cc: Joel Becker <jlbec@evilplan.org>
    Cc: Junxiao Bi <junxiao.bi@oracle.com>
    Cc: Mark Fasheh <mfasheh@suse.com>
    Cc: Xuejiufei <xuejiufei@huawei.com>
    Cc: alex chen <alex.chen@huawei.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    josephhz authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    4813962 View commit details
    Browse the repository at this point in the history
  33. ocfs2: set append dio as a ro compat feature

    Intruduce a bit OCFS2_FEATURE_RO_COMPAT_APPEND_DIO and check it in
    write flow. If the bit is not set, fall back to the old way.
    
    Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
    Cc: Weiwei Wang <wangww631@huawei.com>
    Cc: Joel Becker <jlbec@evilplan.org>
    Cc: Junxiao Bi <junxiao.bi@oracle.com>
    Cc: Mark Fasheh <mfasheh@suse.com>
    Cc: Xuejiufei <xuejiufei@huawei.com>
    Cc: alex chen <alex.chen@huawei.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    josephhz authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    160cc26 View commit details
    Browse the repository at this point in the history
  34. powerpc: drop _PAGE_FILE and pte_file()-related helpers

    We've replaced remap_file_pages(2) implementation with emulation.  Nobody
    creates non-linear mapping anymore.
    
    Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Michael Ellerman <mpe@ellerman.id.au>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    kiryl authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    780fc56 View commit details
    Browse the repository at this point in the history
  35. lib/Kconfig: use bool instead of boolean

    Keyword 'boolean' for type definition attributes is considered
    deprecated and, therefore, should not be used anymore.
    
    See http://lkml.kernel.org/r/cover.1418003065.git.cj@linux.com
    See http://lkml.kernel.org/r/1419108071-11607-1-git-send-email-cj@linux.com
    
    Signed-off-by: Christoph Jaeger <cj@linux.com>
    Cc: Russell King <linux@arm.linux.org.uk>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    christophjaeger authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    841c009 View commit details
    Browse the repository at this point in the history
  36. MAINTAINERS: add entry for Maxim PMICs on Samsung boards

    Add myself and Chanwoo Choi as supporters to help in reviewing patches
    for Maxim 77686 PMIC and Maxim 14577/77693 MUIC drivers:
     - mfd (all of them),
     - extcon (extcon-max14577.c, extcon-max77693.c),
     - regulator (all of them),
     - clock (clk-max77686.c),
     - RTC (rtc-max77686.c).
    
    Lately I am the author of contributors to them. These drivers are used
    on Exynos-based boards (Trats 2, Gear 1 and Gear 2).
    
    Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
    Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
    Cc: Chanwoo Choi <cw00.choi@samsung.com>
    Cc: Samuel Ortiz <sameo@linux.intel.com>
    Cc: Lee Jones <lee.jones@linaro.org>
    Cc: Liam Girdwood <lgirdwood@gmail.com>
    Cc: Mark Brown <broonie@kernel.org>
    Cc: Mike Turquette <mturquette@linaro.org>
    Cc: Stephen Boyd <sboyd@codeaurora.org>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Acked-by: Mark Brown <broonie@kernel.org>
    Acked-by: Lee Jones <lee.jones@linaro.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    krzk authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    befeb59 View commit details
    Browse the repository at this point in the history
  37. rtc: add driver for DS1685 family of real time clocks

    This adds a driver for the Dallas/Maxim DS1685-family of RTC chips.  It
    supports the DS1685/DS1687, DS1688/DS1691, DS1689/DS1693, DS17285/DS17287,
    DS17485/DS17487, and DS17885/DS17887 RTC chips.  These chips are commonly
    found in SGI O2 and SGI Octane systems.  It was originally derived from a
    driver patch submitted by Matthias Fuchs many years ago for use in
    EPPC-405-UC modules, which also used these RTCs.  In addition to the
    time-keeping functions, this RTC also handles the shutdown mechanism of
    the O2 and Octane and acts as a partial NVRAM for the boot PROMS in these
    systems.
    
    Verified on both an SGI O2 and an SGI Octane.
    
    Signed-off-by: Joshua Kinard <kumba@gentoo.org>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Kumba42 authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    aaaf5fb View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    eb928d4 View commit details
    Browse the repository at this point in the history
  39. virtio_net: unconditionally define struct virtio_net_hdr_v1.

    This was introduced in commit ed9ecb0,
    but only defined if !VIRTIO_NET_NO_LEGACY.  We should always define
    it: easier for users to have conditional legacy code.
    
    Suggested-by: "Michael S. Tsirkin" <mst@redhat.com>
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    e68c48f View commit details
    Browse the repository at this point in the history
  40. virtio: don't set VIRTIO_CONFIG_S_DRIVER_OK twice.

    I noticed this with the console device.  It's not *wrong*, just a bit
    weird.
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    rustyrussell committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    5b40a7d View commit details
    Browse the repository at this point in the history
  41. EDAC, amd64_edac: Prevent OOPS with >16 memory controllers

    When DRAM errors occur on memory controllers after EDAC_MAX_MCS (16),
    the kernel fatally dereferences unallocated structures, see splat below;
    this occurs on at least NumaConnect systems.
    
    Fix by checking if a memory controller info structure was found.
    
    BUG: unable to handle kernel NULL pointer dereference at 0000000000000320
    IP: [<ffffffff819f714f>] decode_bus_error+0x2f/0x2b0
    PGD 2f8b5a3067 PUD 2f8b5a2067 PMD 0
    Oops: 0000 [#2] SMP
    Modules linked in:
    CPU: 224 PID: 11930 Comm: stream_c.exe.gn Tainted: G   D    3.19.0 #1
    Hardware name: Supermicro H8QGL/H8QGL, BIOS 3.5b    01/28/2015
    task: ffff8807dbfb8c00 ti: ffff8807dd16c000 task.ti: ffff8807dd16c000
    RIP: 0010:[<ffffffff819f714f>] [<ffffffff819f714f>] decode_bus_error+0x2f/0x2b0
    RSP: 0000:ffff8907dfc03c48 EFLAGS: 00010297
    RAX: 0000000000000001 RBX: 9c67400010080a13 RCX: 0000000000001dc6
    RDX: 000000001dc61dc6 RSI: ffff8907dfc03df0 RDI: 000000000000001c
    RBP: ffff8907dfc03ce8 R08: 0000000000000000 R09: 0000000000000022
    R10: ffff891fffa30380 R11: 00000000001cfc90 R12: 0000000000000008
    R13: 0000000000000000 R14: 000000000000001c R15: 00009c6740001000
    FS: 00007fa97ee18700(0000) GS:ffff8907dfc00000(0000) knlGS:0000000000000000
    CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    CR2: 0000000000000320 CR3: 0000003f889b8000 CR4: 00000000000407e0
    Stack:
     0000000000000000 ffff8907dfc03df0 0000000000000008 9c67400010080a13
     000000000000001c 00009c6740001000 ffff8907dfc03c88 ffffffff810e4f9a
     ffff8907dfc03ce8 ffffffff81b375b9 0000000000000000 0000000000000010
    Call Trace:
     <IRQ>
     ? vprintk_default
     ? printk
     amd_decode_mce
     notifier_call_chain
     atomic_notifier_call_chain
     mce_log
     machine_check_poll
     mce_timer_fn
     ? mce_cpu_restart
     call_timer_fn.isra.29
     run_timer_softirq
     __do_softirq
     irq_exit
     smp_apic_timer_interrupt
     apic_timer_interrupt
     <EOI>
     ? down_read_trylock
     __do_page_fault
     ? __schedule
     do_page_fault
     page_fault
    
    Signed-off-by: Daniel J Blueman <daniel@numascale.com>
    Link: http://lkml.kernel.org/r/1424144078-24589-1-git-send-email-daniel@numascale.com
    Cc: stable@vger.kernel.org
    [ Boris: massage commit message ]
    Signed-off-by: Borislav Petkov <bp@suse.de>
    dblueman authored and suryasaimadhu committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    0c510cc View commit details
    Browse the repository at this point in the history
  42. parisc: macro whitespace fixes

    While working on arch/parisc/include/asm/uaccess.h, I noticed that some
    macros within this header are made harder to read because they violate a
    coding style rule: space is missing after comma.
    
    Fix it up.
    
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: Helge Deller <deller@gmx.de>
    mstsirkin authored and hdeller committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    b9762e7 View commit details
    Browse the repository at this point in the history
  43. parisc: Remove unused function

    Remove the function smp_send_start() that is not used anywhere.
    
    This was partially found by using a static code analysis program called cppcheck.
    
    Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
    Signed-off-by: Helge Deller <deller@gmx.de>
    Rickard Strandqvist authored and hdeller committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    3d66b81 View commit details
    Browse the repository at this point in the history
  44. fs/binfmt_som: Drop kernel support for HP-UX SOM binaries

    The parisc arch has been the only user of HP-UX SOM binaries.
    
    Support for HP-UX executables was never finished and since we now drop support
    for the HP-UX compat layer anyway, it does not makes sense to keep the
    BINFMT_SOM support.
    
    Cc: linux-fsdevel@vger.kernel.org
    Cc: linux-parisc@vger.kernel.org
    Signed-off-by: Helge Deller <deller@gmx.de>
    hdeller committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    35e88d5 View commit details
    Browse the repository at this point in the history
  45. Merge branch 'akpm' (patches from Andrew)

    Merge fifth set of updates from Andrew Morton:
    
     - A few things which were awaiting merges from linux-next:
         - rtc
         - ocfs2
         - misc others
    
     - Willy's "dax" feature: direct fs access to memory (mainly NV-DIMMs)
       which isn't backed by pageframes.
    
    * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (37 commits)
      rtc: add driver for DS1685 family of real time clocks
      MAINTAINERS: add entry for Maxim PMICs on Samsung boards
      lib/Kconfig: use bool instead of boolean
      powerpc: drop _PAGE_FILE and pte_file()-related helpers
      ocfs2: set append dio as a ro compat feature
      ocfs2: wait for orphan recovery first once append O_DIRECT write crash
      ocfs2: complete the rest request through buffer io
      ocfs2: do not fallback to buffer I/O write if appending
      ocfs2: allocate blocks in ocfs2_direct_IO_get_blocks
      ocfs2: implement ocfs2_direct_IO_write
      ocfs2: add orphan recovery types in ocfs2_recover_orphans
      ocfs2: add functions to add and remove inode in orphan dir
      ocfs2: prepare some interfaces used in append direct io
      MAINTAINERS: fix spelling mistake & remove trailing WS
      dax: does not work correctly with virtual aliasing caches
      brd: rename XIP to DAX
      ext4: add DAX functionality
      dax: add dax_zero_page_range
      ext2: get rid of most mentions of XIP in ext2
      ext2: remove ext2_aops_xip
      ...
    torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    c397f8f View commit details
    Browse the repository at this point in the history
  46. Merge tag 'fixes-non-critical-for-linus' of git://git.kernel.org/pub/…

    …scm/linux/kernel/git/arm/arm-soc
    
    Pull ARM SoC non-critical fixes from Olof Johansson:
     "Here's a small collection of fixes accrued during the last release
      that weren't considered severe enough to merge during the -rc series.
    
      A few of these are around resurrecting TI81xx support that's been
      broken for quite a while, the rest are smaller fixes -- most for PXA
      but a few across the board.
    
      There are also some updates to MAINTAINERS here, in particular for
      Broadcom platforms"
    
    * tag 'fixes-non-critical-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (23 commits)
      MAINTAINERS: fix git repositories for Broadcom SoCs
      ARM: pxa: fix broken isa interrupts for zeus and viper
      ARM: DRA7: hwmod: Fix boot crash with DEBUG_LL enabled on UART3
      ARM: OMAP: DRA7: hwmod: Make gpmc software supervised as the smart idle is broken
      ARM: AM43xx: hwmod: set DSS submodule parent hwmods
      ARM: OMAP2+: hwmod: print error if wait_target_ready() failed
      MAINTAINERS: add maintainer for OMAP hwmod data
      ARM: OMAP2+: Disable omap3 PM init for ti81xx
      ARM: OMAP2+: Fix reboot for 81xx
      ARM: OMAP2+: Fix dm814 and dm816 for clocks and timer init
      ARM: OMAP2+: Fix ti81xx class type
      ARM: OMAP2+: Fix ti81xx devtype
      ARM: OMAP2+: Fix error handling for omap2_clk_enable_init_clocks
      MAINTAINERS: add a git entry for BMIPS-based BCM7xxx SoCs
      MAINTAINERS: add a git entry for BCM7xxx ARM-based SoCs
      MAINTAINERS: update Broadcom Cygnus SoC git tree
      MAINTAINERS: move BCM63xx ARM-based SoCs git tree
      hx4700: regulator: declare full constraints
      ARM: pxa: add regulator_has_full_constraints to spitz board file
      ARM: pxa: add regulator_has_full_constraints to poodle board file
      ...
    torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    4025fa9 View commit details
    Browse the repository at this point in the history
  47. Merge tag 'cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/arm/arm-soc
    
    Pull ARM SoC cleanups from Olof Johansson:
     "This is a good healthy set of various code removals.  Total net delta
      is 8100 lines removed.
    
      Among the larger cleanups are:
    
       - Removal of old Samsung S3C DMA infrastructure by Arnd
       - Removal of the non-DT version of the 'lager' board by Magnus Damm
       - General stale code removal on OMAP and Davinci by Rickard Strandqvist
       - Removal of non-DT support on am3517 platforms by Tony Lindgren
    
      ... plus several other cleanups of various platforms across the board"
    
    * tag 'cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (47 commits)
      ARM: sirf: drop redundant function and marco declaration
      arm: omap: specify PMUs are for ARMv7 CPUs
      arm: shmobile: specify PMUs are for ARMv7 CPUs
      arm: iop: specify PMUs are for XScale CPUs
      arm: pxa: specify PMUs are for XScale CPUs
      arm: realview: specify PMU types
      ARM: SAMSUNG: remove unused DMA infrastructure
      ARM: OMAP3: Add back Kconfig option MACH_OMAP3517EVM for ASoC
      ARM: davinci: Remove CDCE949 driver
      ARM: at91: remove useless at91rm9200_set_type()
      ARM: at91: remove useless at91rm9200_dt_initialize()
      ARM: at91: move debug-macro.S into the common space
      ARM: at91: remove useless at91_sysirq_mask_rtx
      ARM: at91: remove useless config MACH_AT91SAM9_DT
      ARM: at91: remove useless config MACH_AT91RM9200_DT
      ARM: at91: remove unused mach/memory.h
      ARM: at91: remove useless header file includes
      ARM: at91: remove unneeded header file
      rtc: at91/Kconfig: remove useless options
      ARM: at91/Documentation: add a README for Atmel SoCs
      ...
    torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    ea7531a View commit details
    Browse the repository at this point in the history
  48. debugfs: Provide a file creation function that also takes an initial …

    …size
    
    Provide a file creation function that also takes an initial size so that the
    caller doesn't have to set i_size, thus meaning that we don't have to call
    deal with ->d_inode in the callers.
    
    Signed-off-by: David Howells <dhowells@redhat.com>
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    dhowells authored and Al Viro committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    e59b4e9 View commit details
    Browse the repository at this point in the history
  49. Merge tag 'soc-for-linus' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/arm/arm-soc
    
    Pull ARM SoC platform changes from Olof Johansson:
     "New and updated SoC support.  Also included are some cleanups where
      the platform maintainers hadn't separated cleanups from new developent
      in separate branches.
    
      Some of the larger things worth pointing out:
    
       - A large set of changes from Alexandre Belloni and Nicolas Ferre
         preparing at91 platforms for multiplatform and cleaning up quite a
         bit in the process.
    
       - Removal of CSR's "Marco" SoC platform that never made it out to the
         market.  We love seeing these since it means the vendor published
         support before product was out, which is exactly what we want!
    
      New platforms this release are:
    
       - Conexant Digicolor (CX92755 SoC)
       - Hisilicon HiP01 SoC
       - CSR/sirf Atlas7 SoC
       - ST STiH418 SoC
       - Common code changes for Nvidia Tegra132 (64-bit SoC)
    
      We're seeing more and more platforms having a harder time labelling
      changes as cleanups vs new development -- which is a good sign that
      we've come quite far on the cleanup effort.  So over time we might
      start combining the cleanup and new-development branches more"
    
    * tag 'soc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (124 commits)
      ARM: at91/trivial: unify functions and machine names
      ARM: at91: remove at91_dt_initialize and machine init_early()
      ARM: at91: change board files into SoC files
      ARM: at91: remove at91_boot_soc
      ARM: at91: move alternative initial mapping to board-dt-sama5.c
      ARM: at91: merge all SOC_AT91SAM9xxx
      ARM: at91: at91rm9200: set idle and restart from rm9200_dt_device_init()
      ARM: digicolor: select syscon and timer
      ARM: zynq: Simplify SLCR initialization
      ARM: zynq: PM: Fixed simple typo.
      ARM: zynq: Setup default gpio number for Xilinx Zynq
      ARM: digicolor: add low level debug support
      ARM: initial support for Conexant Digicolor CX92755 SoC
      ARM: OMAP2+: Add dm816x hwmod support
      ARM: OMAP2+: Add clock domain support for dm816x
      ARM: OMAP2+: Add board-generic.c entry for ti81xx
      ARM: at91: pm: remove warning to remove SOC_AT91SAM9263 usage
      ARM: at91: remove unused mach/system_rev.h
      ARM: at91: stop using HAVE_AT91_DBGUx
      ARM: at91: fix ordering of SRAM and PM initialization
      ...
    torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    878ba61 View commit details
    Browse the repository at this point in the history
  50. Merge tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/arm/arm-soc
    
    Pull ARM SoC DT updates from Olof Johansson:
     "DT changes continue to be the bulk of our merge window contents.
    
      We continue to have a large set of changes across the board as new
      platforms and drivers are added.
    
      Some of the new platforms are:
       - Alphascale ASM9260
       - Marvell Armada 388
       - CSR Atlas7
       - TI Davinci DM816x
       - Hisilicon HiP01
       - ST STiH418
    
      There have also been some sweeping changes, including relicensing of
      DTS contents from GPL to GPLv2+/X11 so that the same files can be
      reused in other non-GPL projects more easily.  There's also been
      changes to the DT Makefile to make it a little less conflict-ridden
      and churny down the road"
    
    * tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (330 commits)
      ARM: dts: Add PPMU node for exynos4412-trats2
      ARM: dts: Add PPMU node for exynos3250-monk and exynos3250-rinato
      ARM: dts: Add PPMU dt node for exynos4 and exynos4210
      ARM: dts: Add PPMU dt node for exynos3250
      ARM: dts: add mipi dsi device node for exynos4415
      ARM: dts: add fimd device node for exynos4415
      ARM: dts: Add syscon phandle to the video-phy node for Exynos4
      ARM: dts: Add sound nodes for exynos4412-trats2
      ARM: dts: Fix CLK_MOUT_CAMn parent clocks assignment for exynos4412-trats2
      ARM: dts: Fix CLK_UART_ISP_SCLK clock assignment in exynos4x12.dtsi
      ARM: dts: Add max77693 charger node for exynos4412-trats2
      ARM: dts: Switch max77686 regulators to GPIO control for exynos4412-trats2
      ARM: dts: Add suspend configuration for max77686 regulators for exynos4412-trats2
      ARM: dts: Add Maxim 77693 fuel gauge node for exynos4412-trats2
      ARM: dts: am57xx-beagle-x15: Fix USB2 mode
      ARM: dts: am57xx-beagle-x15: Add extcon nodes for USB
      ARM: dts: dra72-evm: Add extcon nodes for USB
      ARM: dts: dra7-evm: Add extcon nodes for USB
      ARM: dts: rockchip: move the hdmi ddc-i2c-bus property to the actual boards
      ARM: dts: rockchip: enable vops and hdmi output on rk3288-firefly and -evb
      ...
    torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    a233bb7 View commit details
    Browse the repository at this point in the history
  51. Merge tag 'drivers-for-linus' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/arm/arm-soc
    
    Pull ARM SoC driver updates from Olof Johansson:
     "These are changes for drivers that are intimately tied to some SoC and
      for some reason could not get merged through the respective subsystem
      maintainer tree.
    
      This time around, much of this is for at91, with the bulk of it being
      syscon and udc drivers.
    
      Also, there's:
       - coupled cpuidle support for Samsung Exynos4210
       - Renesas 73A0 common-clk work
       - of/platform changes to tear down DMA mappings on device destruction
       - a few updates to the TI Keystone knav code"
    
    * tag 'drivers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (26 commits)
      cpuidle: exynos: add coupled cpuidle support for exynos4210
      ARM: EXYNOS: apply S5P_CENTRAL_SEQ_OPTION fix only when necessary
      soc: ti: knav_qmss_queue: change knav_range_setup_acc_irq to static
      soc: ti: knav_qmss_queue: makefile tweak to build as dynamic module
      pcmcia: at91_cf: depend on !ARCH_MULTIPLATFORM
      soc: ti: knav_qmss_queue: export API calls for use by user driver
      of/platform: teardown DMA mappings on device destruction
      usb: gadget: at91_udc: Allocate udc instance
      usb: gadget: at91_udc: Update DT binding documentation
      usb: gadget: at91_udc: Rework for multi-platform kernel support
      usb: gadget: at91_udc: Simplify probe and remove functions
      usb: gadget: at91_udc: Remove non-DT handling code
      usb: gadget: at91_udc: Document DT clocks and clock-names property
      usb: gadget: at91_udc: Drop uclk clock
      usb: gadget: at91_udc: Fix clock names
      mfd: syscon: Add Atmel SMC binding doc
      mfd: syscon: Add atmel-smc registers definition
      mfd: syscon: Add Atmel Matrix bus DT binding documentation
      mfd: syscon: Add atmel-matrix registers definition
      clk: shmobile: fix sparse NULL pointer warning
      ...
    torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    1865678 View commit details
    Browse the repository at this point in the history
  52. Merge tag 'defconfig-for-linus' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/arm/arm-soc
    
    Pull ARM SoC defconfig changes from Olof Johansson:
     "Most of these changes are to enable new drivers that have been merged,
      or various additions to make defconfigs more useful.  There's also a
      set of patches trimming down omap2plus kernel size a bit since it is
      quite large"
    
    * tag 'defconfig-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (39 commits)
      ARM: config: add DEVTMPFS option by default to keystone config
      ARM: multi_v7_defconfig: Enable Exynos5420 Multi-Cluster PM support
      ARM: shmobile: Select CONFIG_REGULATOR in defconfig once again
      ARM: exynos_defconfig: Enable CONFIG_FHANDLE
      ARM: exynos_defconfig: Enable PMIC and MUIC drivers for Gears and Trats2
      ARM: exynos_defconfig: Enable CONFIG_LOCKUP_DETECTOR
      ARM: config: enable ARCH_HIP01
      ARM: omap2plus_defconfig: Enable OHCI & EHCI HCD support
      ARM: omap2plus_defconfig: Enable misc options for BeagleBoard-X15 platform
      ARM: imx_v6_v7_defconfig: enable more USB functions
      ARM: imx_v6_v7_defconfig: Select CONFIG_FB_MXS
      ARM: omap2plus_defconfig: Enable pcf857x
      ARM: omap2plus_defconfig: Add NOR flash support
      ARM: omap2plus_defconfig: Enable support for davinci_emac
      ARM: multi_v7_defconfig: Enable MiPHY28lp - ST's Generic (SATA, PCIe & USB3) PHY
      ARM: efm32: update defconfig
      ARM: at91: sama5: enable atmel-isi and ov2640 in defconfig
      ARM: multi_v7_defconfig: Enable Hip01 platform
      ARM: config: multi_v7: Update it for Keystone defconfig
      ARM: shmobile: Enable kzm9g board in multiplatform defconfig
      ...
    torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    03a40e2 View commit details
    Browse the repository at this point in the history
  53. Merge tag '64bit-for-linus' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/arm/arm-soc
    
    Pull ARM SoC 64-bit changes and additions from Olof Johansson:
     "The 64-bit set of updates this release cycle adds support for three
      new platforms:
    
       - Samsunc Exynos 7
       - Freescale LS2085a
       - Mediatek MT8173
    
      For all these, the changes mostly consititude additions of DT
      contents, but also some Kconfig entries to allow dependency/selection
      of drivers per-platform, etc"
    
    * tag '64bit-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
      arm64: Kconfig: clean up two no-op Kconfig options from CONFIG_ARCH_TEGRA*
      arm64: Fix sort of platform Kconfig entries
      arm64: Add support for FSL's LS2085A SoC in Kconfig and defconfig
      arm64: Add DTS support for FSL's LS2085A SoC
      arm64: mediatek: Add MT8173 SoC Kconfig and defconfig
      arm64: dts: Add mediatek MT8173 SoC and evaluation board dts and Makefile
      Document: DT: Add bindings for mediatek MT8173 SoC Platform
      arm64: Add Tegra132 support
      arm64: Enable ARMv8 based exynos7 SoC support
      arm64: dts: Add nodes for mmc, i2c, rtc, watchdog, adc on exynos7
      arm64: dts: Add PMU DT node for exynos7 SoC
      arm64: dts: Add initial pinctrl support to exynos7
      arm64: dts: Add initial device tree support for exynos7
    torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    cc4f9c2 View commit details
    Browse the repository at this point in the history
  54. net: dsa: Set valid phy interface type

    If the phy interface mode is not found in devicetree, or if devicetree
    is not configured, of_get_phy_mode returns -ENODEV. The current code
    sets the phy interface mode to the return value from of_get_phy_mode
    without checking if it is valid.
    
    This invalid phy interface mode is passed as parameter to of_phy_connect
    or to phy_connect_direct. This sets the phy interface mode to the invalid
    value, which in turn causes problems for any code using phydev->interface.
    
    Fixes: b31f65f ("net: dsa: slave: Fix autoneg for phys on switch MDIO bus")
    Fixes: 0d8bcdd ("net: dsa: allow for more complex PHY setups")
    Cc: Florian Fainelli <f.fainelli@gmail.com>
    Cc: Andrew Lunn <andrew@lunn.ch>
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    Acked-by: Florian Fainelli <f.fainelli@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    groeck authored and davem330 committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    1933492 View commit details
    Browse the repository at this point in the history
  55. locks: only remove leases associated with the file being closed

    We don't want to remove all leases just because one filp was closed.
    
    Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
    Jeff Layton committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    c4e136c View commit details
    Browse the repository at this point in the history
  56. locks: remove conditional lock release in middle of flock_lock_file

    As Linus pointed out:
    
        Say we have an existing flock, and now do a new one that conflicts. I
        see what looks like three separate bugs.
    
         - We go through the first loop, find a lock of another type, and
        delete it in preparation for replacing it
    
         - we *drop* the lock context spinlock.
    
         - BUG #1? So now there is no lock at all, and somebody can come in
        and see that unlocked state. Is that really valid?
    
         - another thread comes in while the first thread dropped the lock
        context lock, and wants to add its own lock. It doesn't see the
        deleted or pending locks, so it just adds it
    
         - the first thread gets the context spinlock again, and adds the lock
        that replaced the original
    
         - BUG #2? So now there are *two* locks on the thing, and the next
        time you do an unlock (or when you close the file), it will only
        remove/replace the first one.
    
    ...remove the "drop the spinlock" code in the middle of this function as
    it has always been suspicious. This should eliminate the potential race
    that can leave two locks for the same struct file on the list.
    
    He also pointed out another thing as a bug -- namely that you
    flock_lock_file removes the lock from the list unconditionally when
    doing a lock upgrade, without knowing whether it'll be able to set the
    new lock. Bruce pointed out that this is expected behavior and may help
    prevent certain deadlock situations.
    
    We may want to revisit that at some point, but it's probably best that
    we do so in the context of a different patchset.
    
    Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
    Jeff Layton committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    267f112 View commit details
    Browse the repository at this point in the history
  57. watchdog: ImgTec PDC Watchdog Timer Driver

    This commit adds support for ImgTec PowerDown Controller Watchdog Timer.
    
    Reviewed-by: Andrew Bresticker <abrestic@chromium.org>
    Signed-off-by: Naidu Tellapati <Naidu.Tellapati@imgtec.com>
    Signed-off-by: Jude Abraham <Jude.Abraham@imgtec.com>
    [ezequiel: Minor style fixes]
    Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    tellapati authored and Wim Van Sebroeck committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    9393766 View commit details
    Browse the repository at this point in the history
  58. DT: watchdog: Add ImgTec PDC Watchdog Timer binding documentation

    Add the devicetree binding document for ImgTec PDC Watchdog Timer.
    
    Reviewed-by: Andrew Bresticker <abrestic@chromium.org>
    Signed-off-by: Naidu Tellapati <Naidu.Tellapati@imgtec.com>
    Signed-off-by: Jude Abraham <Jude.Abraham@gmail.com>
    Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    tellapati authored and Wim Van Sebroeck committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    1888e7a View commit details
    Browse the repository at this point in the history
  59. watchdog: imx2: Constify struct regmap_config and watchdog_ops

    The regmap_config struct may be const because it is not modified by the
    driver and regmap_init() accepts pointer to const. Make struct
    watchdog_ops const as well.
    
    Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    krzk authored and Wim Van Sebroeck committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    4bd8ce3 View commit details
    Browse the repository at this point in the history
  60. watchdog: it87_wdt: add IT8783 ID

    IT8783 watchdog works as in IT872x
    
    Tested on Adlink cPCI-6520 boards
    
    Signed-off-by: Paolo Teti <paolo.teti@gmail.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    paoloteti authored and Wim Van Sebroeck committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    f83918f View commit details
    Browse the repository at this point in the history
  61. watchdog: hpwdt: Fix initialization message in hpwdt.c

    allow_kdump was enabled as default since following commit.
    
    commit a089361,
    watchdog: hpwdt: Unregister NMI events on exit.
    
    But the initialization message was not modified.
    So it still shows
    
      HP Watchdog Timer Driver: NMI decoding initialized,
      allow kernel dump: ON (default = 0/OFF)    <=
    
    This "default = 0/OFF" message may confuse users.
    Fix it as "default = 1/ON".
    
    Signed-off-by: Masanari Iida <standby24x7@gmail.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    standby24x7 authored and Wim Van Sebroeck committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    b91b5be View commit details
    Browse the repository at this point in the history
  62. watchdog: rt2880_wdt: minor clean up

    Replace device_reset() with devm_reset_control_get() + reset_control_deassert().
    Make use of watchdog_init_timeout() instead of setting the timeout manually.
    
    Signed-off-by: John Crispin <blogic@openwrt.org>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    John Crispin authored and Wim Van Sebroeck committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    a6f8f81 View commit details
    Browse the repository at this point in the history
  63. watchdog: Fix omap watchdogs to enable the magic close bit

    This allows testing the watchdog easily with distros just by
    doing pkill -9 watchdog.
    
    Reported-by: Thomas Dziedzic <gostrc@gmail.com>
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    Acked-by: Aaro Koskinen <aaro.koskinen@iki.fi>
    Reviewed-by: Felipe Balbi <balbi@ti.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    tmlind authored and Wim Van Sebroeck committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    fb1cbea View commit details
    Browse the repository at this point in the history
  64. watchdog: Add driver for Mediatek watchdog

    This patch adds a driver for the Mediatek SoC integrated
    watchdog. This driver supports watchdog and software reset
    for mt65xx and mt81xx SoCs.
    
    Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
    Tested-by: Eddie Huang <eddie.huang@mediatek.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    mbgg authored and Wim Van Sebroeck committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    a44a455 View commit details
    Browse the repository at this point in the history
  65. ARM: mediatek: dts: Add bindings for watchdog

    Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    mbgg authored and Wim Van Sebroeck committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    9a4c880 View commit details
    Browse the repository at this point in the history
  66. watchdog: da9063: Add restart handler support

    Register a restart handler for the da9063 watchdog.  System restart is
    triggered by sending the shutdown command to the PMIC.
    As more-suitable restart handlers may exist, the priority of the
    watchdog restart handler is set to 128.
    
    The actual restart method was inspired by a platform-specific patch from
    the BSP by Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>.
    
    Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Acked-by: Steve Twiss <stwiss.opensource@diasemi.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    geertu authored and Wim Van Sebroeck committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    396f163 View commit details
    Browse the repository at this point in the history
  67. watchdog: gpio_wdt: Add "always_running" feature to GPIO watchdog

    On some chips, like the TPS386000, the trigger cannot be disabled
    and the CPU must keep toggling the line at all times. Add a switch
    "always_running" to keep toggling the GPIO line regardless of the
    state of the soft part of the watchdog. The "armed" member keeps
    track of whether a timeout must also cause a reset.
    
    Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    MikeLooijmans authored and Wim Van Sebroeck committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    ba804a9 View commit details
    Browse the repository at this point in the history
  68. watchdog: bcm47xx_wdt.c: add restart handler support

    Just like in case of other watchdog drivers, use the new kernel core
    API to provide restart support.
    
    Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    rmilecki authored and Wim Van Sebroeck committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    1cc7495 View commit details
    Browse the repository at this point in the history
  69. watchdog: w83627hf_wdt: Add support for NCT6791 and NCT6792

    The watchdog functionality in both chips is almost identical to NCT6779.
    
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    groeck authored and Wim Van Sebroeck committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    a77841d View commit details
    Browse the repository at this point in the history
  70. watchdog: dw_wdt: pat the watchdog before enabling it

    On some dw_wdt implementations the "top" register may be initted to 0
    at bootup.  In such a case, each "pat" of the watchdog will reset the
    timer to 0xffff.  That's pretty short.
    
    The input clock of the wdt can be any of a wide range of values.  On
    an rk3288 system, I've seen the wdt clock be 24.75 MHz.  That means
    each tick is ~40ns and we'll count to 0xffff in ~2.6ms.
    
    Because of the above two facts, it's a really good idea to pat the
    watchdog after initting the "top" register properly and before
    enabling the watchdog.  If you don't then there's no way we'll get the
    next heartbeat in time.
    
    Jisheng Zhang fixed this problem on some dw_wdt versions by using the
    TOP_INIT feature.  However, the dw_wdt on rk3288 doesn't have TOP_INIT
    so it's a good idea to also pat the watchdog manually.
    
    Signed-off-by: Doug Anderson <dianders@chromium.org>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    dianders authored and Wim Van Sebroeck committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    a008501 View commit details
    Browse the repository at this point in the history
  71. watchdog: dw_wdt: Try to get a 30 second watchdog by default

    The dw_wdt_set_top() function takes in a value in seconds.  In
    dw_wdt_open() we were calling it with a value that's supposed to
    represent the maximum value programmed into the "top" register with a
    comment saying that we were trying to set the watchdog to its maximum
    value.  Instead we ended up setting the watchdog to ~15 seconds.
    
    Let's fix this.  However, setting things to the "max" gives me an 86
    second watchdog in the system I'm looking at.  86 seconds feels a
    little too long.  We'll explicitly choose 30 seconds as a more
    reasonable value.
    
    NOTE: Ideally this driver should be transitioned to be a real watchdog
    driver.  Then we could use "watchdog_init_timeout" and let the timeout
    be specified in a number of ways (device tree, module parameter, etc).
    This patch should be considered a bit of a stopgap solution.
    
    Signed-off-by: Doug Anderson <dianders@chromium.org>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    dianders authored and Wim Van Sebroeck committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    b5ade9b View commit details
    Browse the repository at this point in the history
  72. dt: watchdog: Add DT binding documentation for jz4740 watchdog timer

    Add binding for jz4740 watchdog timer. It is a simple watchdog timer.
    
    Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    Zubair Lutfullah Kakakhel authored and Wim Van Sebroeck committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    73af152 View commit details
    Browse the repository at this point in the history
  73. watchdog: jz4740: Add DT support

    Add DT support to the jz4740 driver. Simple of_match_ptr. No other
    modification for probe needed
    
    Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    Zubair Lutfullah Kakakhel authored and Wim Van Sebroeck committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    6b96c72 View commit details
    Browse the repository at this point in the history
  74. watchdog: bcm47xx_wdt.c: allow enabling on BCM5301X arch

    BCM5301X (ARCH_BCM_5301X) is a new Broadcom architecture using the same
    SoC bus driver (bcma) as BCM47XX but based on ARM instead of MIPS.
    
    Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
    Reviewed-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
    rmilecki authored and Wim Van Sebroeck committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    9461343 View commit details
    Browse the repository at this point in the history
  75. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/jmorris/linux-security
    
    Pull security subsystem fixes from James Morris.
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
      Don't leak a key reference if request_key() tries to use a revoked keyring
      Added Little Endian support to vtpm module
      tpm, tpm_tis: fix TPM 2.0 probing
      tpm: fix suspend/resume paths for TPM 2.0
      Smack: secmark connections
    torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    1d9e714 View commit details
    Browse the repository at this point in the history
  76. locks: fix list insertion when lock is split in two

    In the case where we're splitting a lock in two, the current code
    the new "left" lock in the incorrect spot. It's inserted just
    before "right" when it should instead be inserted just before the
    new lock.
    
    When we add a new lock, set "fl" to that value so that we can
    add "left" before it.
    
    Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
    Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
    Jeff Layton committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    2e2f756 View commit details
    Browse the repository at this point in the history
  77. Merge tag 'suspend-to-idle-3.20-rc1' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/rafael/linux-pm
    
    Pull suspend-to-idle updates from Rafael Wysocki:
     "Suspend-to-idle timer quiescing support for v3.20-rc1
    
      Until now suspend-to-idle has not been able to save much more energy
      than runtime PM because of timer interrupts that periodically bring
      CPUs out of idle while they are waiting for a wakeup interrupt.  Of
      course, the timer interrupts are not wakeup ones, so the handling of
      them can be deferred until a real wakeup interrupt happens, but at the
      same time we don't want to mass-expire timers at that point.
    
      The solution is to suspend the entire timekeeping when the last CPU is
      entering an idle state and resume it when the first CPU goes out of
      idle.  That has to be done with care, though, so as to avoid accessing
      suspended clocksources etc.  end we need extra support from idle
      drivers for that.
    
      This series of commits adds support for quiescing timers during
      suspend-to-idle and adds the requisite callbacks to intel_idle and the
      ACPI cpuidle driver"
    
    * tag 'suspend-to-idle-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
      ACPI / idle: Implement ->enter_freeze callback routine
      intel_idle: Add ->enter_freeze callbacks
      PM / sleep: Make it possible to quiesce timers during suspend-to-idle
      timekeeping: Make it safe to use the fast timekeeper while suspended
      timekeeping: Pass readout base to update_fast_timekeeper()
      PM / sleep: Re-implement suspend-to-idle handling
    torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    99fa0ad View commit details
    Browse the repository at this point in the history
  78. Merge tag 'nios2-v3.20-rc1' of git://git.rocketboards.org/linux-socfp…

    …ga-next
    
    Pull arch/nios2 update from Ley Foon Tan:
     "Here is the nios2 update for 3.20:
    
       - add early printk support
       - add kgdb support
       - add compressed kernel support
       - bugfixes"
    
    * tag 'nios2-v3.20-rc1' of git://git.rocketboards.org/linux-socfpga-next:
      nios2: add kgdb support
      MAINTAINERS: update arch/nios2 git tree
      nios2: default CONFIG_NIOS2_BOOT_LINK_OFFSET to 8MB
      nios2: Add support for compressed kernel
      nios2: add early printk support
      nios2: Port OOM changes to do_page_fault()
      nios2: Remove unused prepare_to_copy()
    torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    b0f0c26 View commit details
    Browse the repository at this point in the history
  79. Merge branch 'parisc-3.20-1' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/deller/parisc-linux
    
    Pull parisc update from Helge Deller:
     "The major change in here is the removal of the old HP-UX compat code
      which should have made it possible to load and execute 32-bit HP-UX
      binaries on PA-RISC Linux.  Since it was never functional and since
      nobody cares about old 32-bit HPUX binaries any longer, it's now time
      to free up 3200 lines of kernel code (CONFIG_HPUX and
      CONFIG_BINFMT_SOM).
    
      Other than that we wire up the execveat() syscall, fix sparse errors
      and have some whitespace cleanups"
    
    * 'parisc-3.20-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
      fs/binfmt_som: Drop kernel support for HP-UX SOM binaries
      parisc: Remove unused function
      parisc: macro whitespace fixes
      parisc/uaccess: fix sparse errors
      parisc: hpux - Remove HPUX syscall numbers
      parisc: hpux - Remove hpux gateway page
      parisc: hpux - Delete files in hpux subdirectory
      parisc: hpux - Do not compile hpux subdirectory
      parisc: hpux - Drop support for HP-UX binaries
      parisc: Add error checks when building up signal trampoline handler
      parisc: Wire up execveat syscall
    torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    9cd7737 View commit details
    Browse the repository at this point in the history
  80. fs/befs/linuxvfs.c: remove unnecessary casting

    Fix the following coccinelle warning:
    
      fs/befs/linuxvfs.c:278:14-36: WARNING: casting value returned by memory allocation function to (struct befs_inode_info *) is useless.
    
    [akpm@linux-foundation.org: avoid 80-col ugliness]
    Signed-off-by: Fabian Frederick <fabf@skynet.be>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Fabian Frederick authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    111d639 View commit details
    Browse the repository at this point in the history
  81. fs/coda/dir.c: forward declaration clean-up

    - Move operation structures to avoid forward declarations.
    
    - Fix some checkpatch warnings:
    
    WARNING: Missing a blank line after declarations
    +		struct inode *host_inode = file_inode(host_file);
    +		mutex_lock(&host_inode->i_mutex);
    
    ERROR: that open brace { should be on the previous line
    +const struct dentry_operations coda_dentry_operations =
    +{
    
    ERROR: that open brace { should be on the previous line
    +const struct inode_operations coda_dir_inode_operations =
    +{
    
    Signed-off-by: Fabian Frederick <fabf@skynet.be>
    Cc: Jan Harkes <jaharkes@cs.cmu.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Fabian Frederick authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    b625032 View commit details
    Browse the repository at this point in the history
  82. fs/ufs/super.c: remove unnecessary casting

    Fix the following coccinelle warning:
    
      fs/ufs/super.c:1418:7-28: WARNING: casting value returned by memory allocation function to (struct ufs_inode_info *) is useless.
    
    Signed-off-by: Fabian Frederick <fabf@skynet.be>
    Cc: Evgeniy Dushistov <dushistov@mail.ru>
    Cc: Joe Perches <joe@perches.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Fabian Frederick authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    61da3ae View commit details
    Browse the repository at this point in the history
  83. fs/ufs/super.c: fix potential race condition

    Let locking subsystem decide on mutex management.  As reported by Andrew
    Morton this patch fixes a bug:
    
    : lock_ufs() is assuming that on non-preempt uniprocessor, the calling
    : code will run atomically up to the matching unlock_ufs().
    :
    : But that isn't true. The very first site I looked at (ufs_frag_map)
    : does sb_bread() under lock_ufs().  And sb_bread() will call schedule(),
    : very commonly.
    :
    : The ->mutex_owner stuff is a bit hacky but should work OK.
    
    Signed-off-by: Fabian Frederick <fabf@skynet.be>
    Cc: Evgeniy Dushistov <dushistov@mail.ru>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Fabian Frederick authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    ed3ad79 View commit details
    Browse the repository at this point in the history
  84. fs/reiserfs/inode.c: replace 0 by NULL for pointers

    Fix sparse warning:
    
      fs/reiserfs/inode.c:2769:19: warning: Using plain integer as NULL pointer
    
    Signed-off-by: Fabian Frederick <fabf@skynet.be>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Fabian Frederick authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    714b71a View commit details
    Browse the repository at this point in the history
  85. fs: fat: use MSDOS_SB macro to get msdos_sb_info

    Use the MSDOS_SB macro to get msdos_sb_info, instead of coding it
    directly.
    
    Signed-off-by: Fred Chou <fred.chou.nd@gmail.com>
    Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    fredchound authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    d6bd428 View commit details
    Browse the repository at this point in the history
  86. ptrace: remove linux/compat.h inclusion under CONFIG_COMPAT

    Commit 84c751b ("ptrace: add ability to retrieve signals without
    removing from a queue (v4)") includes <linux/compat.h> globally in
    ptrace.c
    
    This patch removes inclusion under if defined CONFIG_COMPAT.
    
    Signed-off-by: Fabian Frederick <fabf@skynet.be>
    Acked-by: Oleg Nesterov <oleg@redhat.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Fabian Frederick authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    1cca338 View commit details
    Browse the repository at this point in the history
  87. signal: use current->state helpers

    Call __set_current_state() instead of assigning the new state directly.
    These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments, keeping
    track of who changed the state.
    
    Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
    Acked-by: Oleg Nesterov <oleg@redhat.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Davidlohr Bueso authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    1df0135 View commit details
    Browse the repository at this point in the history
  88. kexec: remove never used member destination in kimage

    struct kimage has a member destination which is used to store the real
    destination address of each page when load segment from user space buffer
    to kernel.  But we never retrieve the value stored in kimage->destination,
    so this member variable in kimage and its assignment operation are
    redundent code.
    
    I guess for_each_kimage_entry just does the work that kimage->destination
    is expected to do.
    
    So in this patch just make a cleanup to remove it.
    
    Signed-off-by: Baoquan He <bhe@redhat.com>
    Cc: "Eric W. Biederman" <ebiederm@xmission.com>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Baoquan He authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    73d7e3e View commit details
    Browse the repository at this point in the history
  89. kexec: fix a typo in comment

    Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
    Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
    Acked-by: Vivek Goyal <vgoyal@redhat.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    0xAX authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    ad69934 View commit details
    Browse the repository at this point in the history
  90. kexec: Fix make headers_check

    Remove the unneded declaration for a kexec_load() routine.
    
    Fixes errors like these when running 'make headers_check':
    
    include/uapi/linux/kexec.h: userspace cannot reference function or variable defined in the kernel
    
    Paul said:
    
    : The kexec_load declaration isn't very useful for userspace, see the patch
    : I submitted in http://lkml.kernel.org/r/1389791824.17407.9.camel@x220 .
    : And After my attempt the export of that declaration has also been
    : discussed in
    : http://lkml.kernel.org/r/115373b6ac68ee7a305975896e1c4971e8e51d4c.1408731991.git.geoff@infradead.org
    :
    : In that last discussion no one has been able to point to an actual user of
    : it.  So, as far as I can tell, no one actually uses it.  Which makes
    : sense, because including this header by itself doesn't give one access to
    : a useful definition of kexec_load.  So why bother with the declaration?
    
    Signed-off-by: Geoff Levand <geoff@infradead.org>
    Acked-by: Paul Bolle <pebolle@tiscali.nl>
    Cc: H. Peter Anvin <hpa@zytor.com>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Maximilian Attems <max@stro.at>
    Cc: Michal Marek <mmarek@suse.cz>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    glevand authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    9dc5c05 View commit details
    Browse the repository at this point in the history
  91. kexec: simplify conditional

    Simplify the code around one of the conditionals in the kexec_load syscall
    routine.
    
    The original code was confusing with a redundant check on KEXEC_ON_CRASH
    and comments outside of the conditional block.  This change switches the
    order of the conditional check, and cleans up the comments for the
    conditional.  There is no functional change to the code.
    
    Signed-off-by: Geoff Levand <geoff@infradead.org>
    Acked-by: Vivek Goyal <vgoyal@redhat.com>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: H. Peter Anvin <hpa@zytor.com>
    Cc: Maximilian Attems <max@stro.at>
    Cc: Michal Marek <mmarek@suse.cz>
    Cc: Paul Bolle <pebolle@tiscali.nl>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    glevand authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    518a0c7 View commit details
    Browse the repository at this point in the history
  92. kexec: add bit definitions for kimage entry flags

    Define new kexec preprocessor macros IND_*_BIT that define the bit
    position of the kimage entry flags.  Change the existing IND_* flag macros
    to be defined as bit shifts of the corresponding IND_*_BIT macros.  Also
    wrap all C language code in kexec.h with #if !defined(__ASSEMBLY__) so
    assembly files can include kexec.h to get the IND_* and IND_*_BIT macros.
    
    Some CPU instruction sets have tests for bit position which are convenient
    in implementing routines that operate on the kimage entry list.  The
    addition of these bit position macros in a common location will avoid
    duplicate definitions and the chance that changes to the IND_* flags will
    not be propagated to assembly files.
    
    Signed-off-by: Geoff Levand <geoff@infradead.org>
    Acked-by: Vivek Goyal <vgoyal@redhat.com>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: H. Peter Anvin <hpa@zytor.com>
    Cc: Maximilian Attems <max@stro.at>
    Cc: Michal Marek <mmarek@suse.cz>
    Cc: Paul Bolle <pebolle@tiscali.nl>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    glevand authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    cf2df63 View commit details
    Browse the repository at this point in the history
  93. kexec: add IND_FLAGS macro

    Add a new kexec preprocessor macro IND_FLAGS, which is the bitwise OR of
    all the possible kexec IND_ kimage_entry indirection flags.  Having this
    macro allows for simplified code in the prosessing of the kexec
    kimage_entry items.  Also, remove the local powerpc definition and use the
    generic one.
    
    Signed-off-by: Geoff Levand <geoff@infradead.org>
    Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Acked-by: Vivek Goyal <vgoyal@redhat.com>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Maximilian Attems <max@stro.at>
    Cc: Michal Marek <mmarek@suse.cz>
    Cc: H. Peter Anvin <hpa@zytor.com>
    Cc: Paul Bolle <pebolle@tiscali.nl>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    glevand authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    b28c2ee View commit details
    Browse the repository at this point in the history
  94. vmcore: fix PT_NOTE n_namesz, n_descsz overflow issue

    When updating PT_NOTE header size (ie.  p_memsz), an overflow issue
    happens with the following bogus note entry:
    
      n_namesz = 0xFFFFFFFF
      n_descsz = 0x0
      n_type   = 0x0
    
    This kind of note entry should be dropped during updating p_memsz.  But
    because n_namesz is 32bit, after (n_namesz + 3) & (~3), it's overflow to
    0x0, the note entry size looks sane and reserved.
    
    When userspace (eg.  crash utility) is trying to access such bogus note,
    it could lead to an unexpected behavior (eg.  crash utility segment fault
    because it's reading bogus address).
    
    The source of bogus note hasn't been identified yet.  At least we could
    drop the bogus note so user space wouldn't be surprised.
    
    Signed-off-by: WANG Chao <chaowang@redhat.com>
    Cc: Dave Anderson <anderson@redhat.com>
    Cc: Baoquan He <bhe@redhat.com>
    Cc: Randy Wright <rwright@hp.com>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
    Cc: Fabian Frederick <fabf@skynet.be>
    Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
    Cc: Rashika Kheria <rashika.kheria@gmail.com>
    Cc: Greg Pearson <greg.pearson@hp.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    WANG Chao authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    34b4776 View commit details
    Browse the repository at this point in the history
  95. lib/rbtree.c: fix typo in comment

    Signed-off-by: John de la Garza <john@jjdev.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    johndela1 authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    7647f14 View commit details
    Browse the repository at this point in the history
  96. eventfd: don't take the spinlock in eventfd_poll

    The spinlock in eventfd_poll is trying to protect the count of events so
    it can decide if it should return POLLIN, POLLERR, or POLLOUT.  But,
    because of the way we drop the lock after calling poll_wait, and drop it
    again before returning, we have the same pile of races with the lock as
    we do with a single read of ctx->count().
    
    This replaces the lock with a read barrier and single read.
    
    eventfd_write does a single bump of ctx->count, so this should not add
    new races with adding events.  eventfd_read is similar, it will do a
    single decrement with the lock held, and so we're making the race with
    concurrent readers slightly larger.
    
    This spinlock is the top CPU user in kernel code during one of our
    workloads.  Removing it gives us a ~2% boost.
    
    [arnd@arndb.de: avoid unused variable warning]
    [dan.carpenter@oracle.com: type bug in eventfd_poll()]
    Signed-off-by: Chris Mason <clm@fb.com>
    Cc: Davide Libenzi <davidel@xmailserver.org>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    masoncl authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    e22553e View commit details
    Browse the repository at this point in the history
  97. fs/affs: fix casting in printed messages

      - "inode.i_ino" is "unsigned long",
      - "loff_t" is always "unsigned long long",
      - "sector_t" should be cast to "unsigned long long" for printing,
      - "u32" should not be cast to "unsigned int" for printing.
    
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    geertu authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    08fe100 View commit details
    Browse the repository at this point in the history
  98. fs/affs/file.c: replace if/BUG by BUG_ON

    Signed-off-by: Fabian Frederick <fabf@skynet.be>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Fabian Frederick authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    afe305d View commit details
    Browse the repository at this point in the history
  99. fs/affs/file.c: fix direct IO writes beyond EOF

    Use the same fallback to normal IO in case of write
    operations beyond EOF as fat direct IO. This patch fixes
    
    fsx file -d -Z -r 4096 -w 4096
    
    Report:
      129(129 mod 256): TRUNCATE DOWN from 0x3ff01 to 0xb3f6
      130(130 mod 256): WRITE    0x22000 thru 0x2dfff (0xc000 bytes) HOLE
    
    Thanks to Jan for helping me on this problem.
    
    The ideal solution suggested by Jan Kara would be to use
    cont_write_begin() but affs direct_IO shouldn't be used a lot anyway...
    
    Signed-off-by: Fabian Frederick <fabf@skynet.be>
    Reviewed-by: Jan Kara <jack@suse.cz>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Fabian Frederick authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    92b2070 View commit details
    Browse the repository at this point in the history
  100. fs/affs/super.c: destroy sbi mutex in affs_kill_sb()

    Call mutex_destroy() on superblock mutex in affs_kill_sb() otherwise mutex
    debugging code isn't able to detect that mutex is used after being freed.
    (thanks to Jan Kara for complete definition).
    
    Signed-off-by: Fabian Frederick <fabf@skynet.be>
    Cc: Jan Kara <jack@suse.cz>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Fabian Frederick authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    4d29e57 View commit details
    Browse the repository at this point in the history
  101. fs/affs: use unsigned int for string lengths

    - Some min() were used with different types.
    
    - Create a new variable in __affs_hash_dentry() to process
      affs_check_name()/min() return
    
    Signed-off-by: Fabian Frederick <fabf@skynet.be>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Fabian Frederick authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    eeb36f8 View commit details
    Browse the repository at this point in the history
  102. fs/affs: define AFFSNAMEMAX to replace constant use

    30 was used all over the place to compare name length against
    AFFS maximum name length.
    
    Signed-off-by: Fabian Frederick <fabf@skynet.be>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Fabian Frederick authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    f157853 View commit details
    Browse the repository at this point in the history
  103. fs/affs/amigaffs.c: remove else after return

    else is unnecessary after return -ENAMETOOLONG
    
    Signed-off-by: Fabian Frederick <fabf@skynet.be>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Fabian Frederick authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    b4478e3 View commit details
    Browse the repository at this point in the history
  104. fs/affs/bitmap.c: remove unnecessary return

    return is not needed at the end of function.
    
    Signed-off-by: Fabian Frederick <fabf@skynet.be>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Fabian Frederick authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    211c2af View commit details
    Browse the repository at this point in the history
  105. fs/affs/inode.c: remove double extern affs_symlink_inode_operations

    affs_symlink_inode_operations was already declared extern in affs.h
    
    Signed-off-by: Fabian Frederick <fabf@skynet.be>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Fabian Frederick authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    0cdfe18 View commit details
    Browse the repository at this point in the history
  106. fs/affs/super.c: fix switch indentation

    Fix checkpatch error:
    
      ERROR: switch and case should be at the same indent
    
    Signed-off-by: Fabian Frederick <fabf@skynet.be>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Fabian Frederick authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    0445f01 View commit details
    Browse the repository at this point in the history
  107. scripts/gdb: add infrastructure

    This provides the basic infrastructure to load kernel-specific python
    helper scripts when debugging the kernel in gdb.
    
    The loading mechanism is based on gdb loading for <objfile>-gdb.py when
    opening <objfile>.  Therefore, this places a corresponding link to the
    main helper script into the output directory that contains vmlinux.
    
    The main scripts will pull in submodules containing Linux specific gdb
    commands and functions.  To avoid polluting the source directory with
    compiled python modules, we link to them from the object directory.
    
    Due to gdb.parse_and_eval and string redirection for gdb.execute, we
    depend on gdb >= 7.2.
    
    This feature is enabled via CONFIG_GDB_SCRIPTS.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Acked-by: Michal Marek <mmarek@suse.cz>		[kbuild stuff]
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    3ee7b3f View commit details
    Browse the repository at this point in the history
  108. scripts/gdb: add cache for type objects

    Type lookups are very slow in gdb-python which is often noticeable when
    iterating over a number of objects.  Introduce the helper class CachedType
    that keeps a reference to a gdb.Type object but also refreshes it after an
    object file has been loaded.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    2b51482 View commit details
    Browse the repository at this point in the history
  109. scripts/gdb: add container_of helper and convenience function

    Provide an internal helper with container_of semantics.  As type lookups
    are very slow in gdb-python and we need a type "long" for this, cache the
    reference to this type object.  Then export the helper also as a
    convenience function form use at the gdb command line.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    b0fecd8 View commit details
    Browse the repository at this point in the history
  110. scripts/gdb: add module iteration class

    Will soon be used for loading symbols, printing global variables or
    listing modules.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    850202e View commit details
    Browse the repository at this point in the history
  111. scripts/gdb: add lx-symbols command

    This is probably the most useful helper when debugging kernel modules:
    lx-symbols first reloads vmlinux.  Then it searches recursively for *.ko
    files in the specified paths and the current directory.  Finally it walks
    the kernel's module list, issuing the necessary add-symbol-file command
    for each loaded module so that gdb knows which module symbol corresponds
    to which address.  It also looks up variable sections (bss, data, rodata)
    and appends their address to the add-symbole-file command line.  This
    allows to access global module variables just like any other variable.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    6605172 View commit details
    Browse the repository at this point in the history
  112. kernel/module.c: do not inline do_init_module()

    This provides a reliable breakpoint target, required for automatic symbol
    loading via the gdb helper command 'lx-symbols'.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Acked-by: Rusty Russell <rusty@rustcorp.com.au>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    be02a18 View commit details
    Browse the repository at this point in the history
  113. scripts/gdb: add automatic symbol reloading on module insertion

    This installs a silent breakpoint on the do_init_module function.  The
    breakpoint handler will try to load symbols from the module files found
    during lx-symbols execution.  This way, breakpoints can be set to module
    initialization functions, and there is no need to explicitly call
    lx-symbols after (re-)loading a module.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    82b41e3 View commit details
    Browse the repository at this point in the history
  114. scripts/gdb: add internal helper and convenience function to look up …

    …a module
    
    Add the internal helper get_module_by_name to obtain the module structure
    corresponding to the given name.  Also export this service as a
    convenience function.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    7b599ef View commit details
    Browse the repository at this point in the history
  115. scripts/gdb: add get_target_endianness helper

    Parse the target endianness from the output of "show endian" and cache the
    result to return it via the new helper get_target_endiannes.  We will need
    it for reading integers from buffers that contain target memory.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    7f99496 View commit details
    Browse the repository at this point in the history
  116. scripts/gdb: add read_u16/32/64 helpers

    Add helpers for reading integers from target memory buffers.  Required
    when caching the memory access is more efficient than reading individual
    values via gdb.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    78e8781 View commit details
    Browse the repository at this point in the history
  117. scripts/gdb: add lx-dmesg command

    This pokes into the log buffer of the debugged kernel, dumping it to the
    gdb console.  Helping in case the target should or can no longer execute
    dmesg itself.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Kay Sievers <kay@vrfy.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    ae7dbaa View commit details
    Browse the repository at this point in the history
  118. scripts/gdb: add task iteration class

    This class allows to iterate over all tasks of the target.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    7704d58 View commit details
    Browse the repository at this point in the history
  119. scripts/gdb: add helper and convenience function to look up tasks

    Add the helper task_by_pid that can look up a task by its PID.  Also
    export it as a convenience function.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    4752871 View commit details
    Browse the repository at this point in the history
  120. scripts/gdb: add is_target_arch helper

    This helper caches to result of "show architecture" and matches the
    provided arch (sub-)string against that output.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    b24e2d2 View commit details
    Browse the repository at this point in the history
  121. scripts/gdb: add internal helper and convenience function to retrieve…

    … thread_info
    
    Add the internal helper get_thread_info that calculates the thread_info
    from a given task variable.  Also export this service as a convenience
    function.
    
    Note: ia64 version is untested.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Tony Luck <tony.luck@intel.com>
    Cc: Fenghua Yu <fenghua.yu@intel.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    cf7492e View commit details
    Browse the repository at this point in the history
  122. scripts/gdb: add get_gdbserver_type helper

    This helper probes the type of the gdb server.  Supported are QEMU and
    KGDB so far.  Knowledge about the gdb server is required e.g.  to
    retrieve the current CPU or current task.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    a4d8679 View commit details
    Browse the repository at this point in the history
  123. scripts/gdb: add internal helper and convenience function for per-cpu…

    … lookup
    
    This function allows to obtain a per-cpu variable, either of the current
    or an explicitly specified CPU.
    
    Note: sparc64 version is untested.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    fe7f9ed View commit details
    Browse the repository at this point in the history
  124. scripts/gdb: add lx_current convenience function

    This is a shorthand for *$lx_per_cpu("current_task"), i.e.  a convenience
    function to retrieve the currently running task of the active context.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    116b47b View commit details
    Browse the repository at this point in the history
  125. scripts/gdb: add class to iterate over CPU masks

    Will be used first to count module references.  It is optimized to read
    the mask only once per stop.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    3d4cd9c View commit details
    Browse the repository at this point in the history
  126. scripts/gdb: add lx-lsmod command

    This adds a lsmod-like command to list all currently loaded modules of the
    target.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    5403727 View commit details
    Browse the repository at this point in the history
  127. scripts/gdb: add basic documentation

    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Rob Landley <rob@landley.net>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    bda1a92 View commit details
    Browse the repository at this point in the history
  128. scripts/gdb: port to python3 / gdb7.7

    I tried to use these scripts in an ubuntu 14.04 host (gdb 7.7 compiled
    against python 3.3) but there were several errors.
    
    I believe this patch fixes these issues so that the commands now work (I
    tested lx-symbols, lx-dmesg, lx-lsmod).
    
    Main issues that needed to be resolved:
    
      * In python 2 iterators have a "next()" method. In python 3 it is
        __next__() instead (so let's just add both).
    
      * In older python versions there was an implicit conversion
        in object.__format__() (used when an object is in string.format())
        where it was converting the object to str first and then
        calling str's __format__(). This has now been removed so
        we must explicitly convert to str the objects for which
        we need to keep this behavior.
    
      * In dmesg.py: in python 3 log_buf is now a "memoryview" object
        which needs to be converted to a string in order to use string
        methods like "splitlines()". Luckily memoryview exists in
        python 2.7.6 as well, so we can convert log_buf to memoryview
        and use the same code in both python 2 and python 3.
    
    This version of the patch has now been tested with gdb 7.7 and both python
    3.4 and python 2.7.6 (I think asking for at least python 2.7.6 is a
    reasonable requirement instead of complicating the code with version
    checks etc).
    
    Signed-off-by: Pantelis Koukousoulas <pktoss@gmail.com>
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    pkt authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    276d97d View commit details
    Browse the repository at this point in the history
  129. scripts/gdb: ignore byte-compiled python files

    Using the gdb scripts leaves byte-compiled python files in the scripts/
    directory.  These should be ignored by git.
    
    [jan.kiszka@siemens.com: drop redundant mrproper rule as suggested by Michal]
    Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Michal Marek <mmarek@suse.cz>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    daniel-thompson authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    2478a8a View commit details
    Browse the repository at this point in the history
  130. scripts/gdb: use a generator instead of iterator for task list

    The iterator does not return any task_struct from the thread_group list
    because the first condition in the 'if not t or ...' will only be the
    first time None.
    
    Instead of keeping track of the state ourself in the next() function, we
    fall back using Python's generator.
    
    Signed-off-by: Daniel Wagner <daniel.wagner@bmw-carit.de>
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Daniel Wagner authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    54e2289 View commit details
    Browse the repository at this point in the history
  131. scripts/gdb: convert ModuleList to generator function

    Analogously to the task list, convert the module list to a generator
    function.  It noticeably simplifies the code.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    fffb944 View commit details
    Browse the repository at this point in the history
  132. scripts/gdb: convert CpuList to generator function

    Yet another code simplification.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    a77e15e View commit details
    Browse the repository at this point in the history
  133. scripts/gdb: define maintainer

    I'm proposing myself for keeping an eye on these scripts and integrating
    contributions.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    158daf1 View commit details
    Browse the repository at this point in the history
  134. scripts/gdb: disable pagination while printing from breakpoint handler

    While reporting the (refreshed) list of modules on automatic updates we
    may hit the page boundary of the output console and cause a stop if
    pagination is enabled.  However, gdb does not accept user input while
    running over the breakpoint handler.  So we get stuck, and the user is
    forced to interrupt gdb.
    
    Resolve this by disabling pagination during automatic symbol updates.  We
    restore the user's configuration once done.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Ben Widawsky <ben@bwidawsk.net>
    Cc: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    a9c5bcf View commit details
    Browse the repository at this point in the history
  135. ipc,sem: use current->state helpers

    Call __set_current_state() instead of assigning the new state directly.
    These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments, keeping
    track of who changed the state.
    
    Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Davidlohr Bueso authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    52644c9 View commit details
    Browse the repository at this point in the history
  136. samples/seccomp: improve label helper

    Fixes a potential corruption with uninitialized stack memory in the
    seccomp BPF sample program.
    
    [akpm@linux-foundation.org: coding-style fixlet]
    Signed-off-by: Kees Cook <keescook@chromium.org>
    Reported-by: Robert Swiecki <swiecki@google.com>
    Tested-by: Robert Swiecki <swiecki@google.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    kees authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    3a9af0b View commit details
    Browse the repository at this point in the history
  137. seccomp: cap SECCOMP_RET_ERRNO data to MAX_ERRNO

    The value resulting from the SECCOMP_RET_DATA mask could exceed MAX_ERRNO
    when setting errno during a SECCOMP_RET_ERRNO filter action.  This makes
    sure we have a reliable value being set, so that an invalid errno will not
    be ignored by userspace.
    
    Signed-off-by: Kees Cook <keescook@chromium.org>
    Reported-by: Dmitry V. Levin <ldv@altlinux.org>
    Cc: Andy Lutomirski <luto@amacapital.net>
    Cc: Will Drewry <wad@chromium.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    kees authored and torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    580c57f View commit details
    Browse the repository at this point in the history
  138. Merge branch 'akpm' (patches from Andrew)

    Merge yet more updates from Andrew Morton:
    
     - a pile of minor fs fixes and cleanups
    
     - kexec updates
    
     - random misc fixes in various places: vmcore, rbtree, eventfd, ipc, seccomp.
    
     - a series of python-based kgdb helper scripts
    
    * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (58 commits)
      seccomp: cap SECCOMP_RET_ERRNO data to MAX_ERRNO
      samples/seccomp: improve label helper
      ipc,sem: use current->state helpers
      scripts/gdb: disable pagination while printing from breakpoint handler
      scripts/gdb: define maintainer
      scripts/gdb: convert CpuList to generator function
      scripts/gdb: convert ModuleList to generator function
      scripts/gdb: use a generator instead of iterator for task list
      scripts/gdb: ignore byte-compiled python files
      scripts/gdb: port to python3 / gdb7.7
      scripts/gdb: add basic documentation
      scripts/gdb: add lx-lsmod command
      scripts/gdb: add class to iterate over CPU masks
      scripts/gdb: add lx_current convenience function
      scripts/gdb: add internal helper and convenience function for per-cpu lookup
      scripts/gdb: add get_gdbserver_type helper
      scripts/gdb: add internal helper and convenience function to retrieve thread_info
      scripts/gdb: add is_target_arch helper
      scripts/gdb: add helper and convenience function to look up tasks
      scripts/gdb: add task iteration class
      ...
    torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    e2b74f2 View commit details
    Browse the repository at this point in the history
  139. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/viro/vfs
    
    Pull misc VFS updates from Al Viro:
     "This cycle a lot of stuff sits on topical branches, so I'll be sending
      more or less one pull request per branch.
    
      This is the first pile; more to follow in a few.  In this one are
      several misc commits from early in the cycle (before I went for
      separate branches), plus the rework of mntput/dput ordering on umount,
      switching to use of fs_pin instead of convoluted games in
      namespace_unlock()"
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
      switch the IO-triggering parts of umount to fs_pin
      new fs_pin killing logics
      allow attaching fs_pin to a group not associated with some superblock
      get rid of the second argument of acct_kill()
      take count and rcu_head out of fs_pin
      dcache: let the dentry count go down to zero without taking d_lock
      pull bumping refcount into ->kill()
      kill pin_put()
      mode_t whack-a-mole: chelsio
      file->f_path.dentry is pinned down for as long as the file is open...
      get rid of lustre_dump_dentry()
      gut proc_register() a bit
      kill d_validate()
      ncpfs: get rid of d_validate() nonsense
      selinuxfs: don't open-code d_genocide()
    torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    5065296 View commit details
    Browse the repository at this point in the history
  140. Merge branch 'debugfs_automount' of git://git.kernel.org/pub/scm/linu…

    …x/kernel/git/viro/vfs
    
    Pull debugfs patches from Al Viro:
     "debugfs patches, mostly to make it possible for something like tracefs
      to be transparently automounted on given directory in debugfs.
    
      New primitive in there is debugfs_create_automount(name, parent, func,
      arg), which creates a directory and makes its ->d_automount() return
      func(arg).  Another missing primitive was debugfs_create_file_size() -
      open-coded in quite a few places.  Dave's patch adds it and converts
      the open-code instances to calling it"
    
    * 'debugfs_automount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
      debugfs: Provide a file creation function that also takes an initial size
      new primitive: debugfs_create_automount()
      debugfs: split end_creating() into success and failure cases
      debugfs: take mode-dependent parts of debugfs_get_inode() into callers
      fold debugfs_mknod() into callers
      fold debugfs_create() into caller
      fold debugfs_mkdir() into caller
      debugfs_mknod(): get rid useless arguments
      fold debugfs_link() into caller
      debugfs: kill __create_file()
      debugfs: split the beginning and the end of __create_file() off
      debugfs_{mkdir,create,link}(): get rid of redundant argument
    torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    c6b1de1 View commit details
    Browse the repository at this point in the history
  141. Merge branch 'getname2' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/viro/vfs
    
    Pull getname/putname updates from Al Viro:
     "Rework of getname/getname_kernel/etc., mostly from Paul Moore.  Gets
      rid of quite a pile of kludges between namei and audit..."
    
    * 'getname2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
      audit: replace getname()/putname() hacks with reference counters
      audit: fix filename matching in __audit_inode() and __audit_inode_child()
      audit: enable filename recording via getname_kernel()
      simpler calling conventions for filename_mountpoint()
      fs: create proper filename objects using getname_kernel()
      fs: rework getname_kernel to handle up to PATH_MAX sized filenames
      cut down the number of do_path_lookup() callers
    torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    05016b0 View commit details
    Browse the repository at this point in the history
  142. Merge branch 'iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/viro/vfs
    
    Pull iov_iter updates from Al Viro:
     "More iov_iter work - missing counterpart of iov_iter_init() for
      bvec-backed ones and vfs_read_iter()/vfs_write_iter() - wrappers for
      sync calls of ->read_iter()/->write_iter()"
    
    * 'iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
      fs: add vfs_iter_{read,write} helpers
      new helper: iov_iter_bvec()
    torvalds committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    66dc830 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2015

  1. Merge branch 'lazytime' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/viro/vfs
    
    Pull lazytime mount option support from Al Viro:
     "Lazytime stuff from tytso"
    
    * 'lazytime' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
      ext4: add optimization for the lazytime mount option
      vfs: add find_inode_nowait() function
      vfs: add support for a lazytime mount option
    torvalds committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    0389115 View commit details
    Browse the repository at this point in the history
  2. md/raid5: Fix livelock when array is both resyncing and degraded.

    Commit a785448:
      md: When RAID5 is dirty, force reconstruct-write instead of read-modify-write.
    
    Causes an RCW cycle to be forced even when the array is degraded.
    A degraded array cannot support RCW as that requires reading all data
    blocks, and one may be missing.
    
    Forcing an RCW when it is not possible causes a live-lock and the code
    spins, repeatedly deciding to do something that cannot succeed.
    
    So change the condition to only force RCW on non-degraded arrays.
    
    Reported-by: Manibalan P <pmanibalan@amiindia.co.in>
    Bisected-by: Jes Sorensen <Jes.Sorensen@redhat.com>
    Tested-by: Jes Sorensen <Jes.Sorensen@redhat.com>
    Signed-off-by: NeilBrown <neilb@suse.de>
    Fixes: a785448
    Cc: stable@vger.kernel.org (v3.7+)
    neilbrown committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    26ac107 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'for-3.20' of git://linux-nfs.org/~bfields/linux

    Pull nfsd bugfixes from Bruce Fields:
     "These are fixes for two bugs introduced during the merge window"
    
    * 'for-3.20' of git://linux-nfs.org/~bfields/linux:
      nfsd4: fix v3-less build
      nfsd: fix comparison in fh_fsid_match()
    torvalds committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    533cf7a View commit details
    Browse the repository at this point in the history
  4. Merge tag 'docs-fix' of git://git.lwn.net/linux-2.6

    Pull DocBook build fix from Jonathan Corbet:
     "Fix the DocBook build failure caused by the move of the i2o subsystem
      to the staging tree"
    
    * tag 'docs-fix' of git://git.lwn.net/linux-2.6:
      Fix docs build failure caused by i2o removal
    torvalds committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    fbe4da4 View commit details
    Browse the repository at this point in the history
  5. Merge tag 'please-pull-fixmcelog' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/ras/ras
    
    Pull mcelog regression fix from Tony Luck:
     "Fix regression - functions on the mce notifier chain should not be
      able to decide that an event should not be logged"
    
    * tag 'please-pull-fixmcelog' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras:
      x86/mce: Fix regression. All error records should report via /dev/mcelog
    torvalds committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    d96c757 View commit details
    Browse the repository at this point in the history
  6. Merge tag 'md/3.20-fixes' of git://neil.brown.name/md

    Pull md bugfixes from Neil Brown:
     "Three bug md fixes for 3.20
    
      yet-another-livelock in raid5, and a problem with write errors to
      4K-block devices"
    
    * tag 'md/3.20-fixes' of git://neil.brown.name/md:
      md/raid5: Fix livelock when array is both resyncing and degraded.
      md/raid10: round up to bdev_logical_block_size in narrow_write_error.
      md/raid1: round up to bdev_logical_block_size in narrow_write_error
    torvalds committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    0d695d6 View commit details
    Browse the repository at this point in the history
  7. Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net

    Pull networking updates from David Miller:
    
     1) Missing netlink attribute validation in nft_lookup, from Patrick
        McHardy.
    
     2) Restrict ipv6 partial checksum handling to UDP, since that's the
        only case it works for.  From Vlad Yasevich.
    
     3) Clear out silly device table sentinal macros used by SSB and BCMA
        drivers.  From Joe Perches.
    
     4) Make sure the remote checksum code never creates a situation where
        the remote checksum is applied yet the tunneling metadata describing
        the remote checksum transformation is still present.  Otherwise an
        external entity might see this and apply the checksum again.  From
        Tom Herbert.
    
     5) Use msecs_to_jiffies() where applicable, from Nicholas Mc Guire.
    
     6) Don't explicitly initialize timer struct fields, use setup_timer()
        and mod_timer() instead.  From Vaishali Thakkar.
    
     7) Don't invoke tg3_halt() without the tp->lock held, from Jun'ichi
        Nomura.
    
     8) Missing __percpu annotation in ipvlan driver, from Eric Dumazet.
    
     9) Don't potentially perform skb_get() on shared skbs, also from Eric
        Dumazet.
    
    10) Fix COW'ing of metrics for non-DST_HOST routes in ipv6, from Martin
        KaFai Lau.
    
    11) Fix merge resolution error between the iov_iter changes in vhost and
        some bug fixes that occurred at the same time.  From Jason Wang.
    
    12) If rtnl_configure_link() fails we have to perform a call to
        ->dellink() before unregistering the device.  From WANG Cong.
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (39 commits)
      net: dsa: Set valid phy interface type
      rtnetlink: call ->dellink on failure when ->newlink exists
      com20020-pci: add support for eae single card
      vhost_net: fix wrong iter offset when setting number of buffers
      net: spelling fixes
      net/core: Fix warning while make xmldocs caused by dev.c
      net: phy: micrel: disable NAND-tree for KSZ8021, KSZ8031, KSZ8051, KSZ8081
      ipv6: fix ipv6_cow_metrics for non DST_HOST case
      openvswitch: Fix key serialization.
      r8152: restore hw settings
      hso: fix rx parsing logic when skb allocation fails
      tcp: make sure skb is not shared before using skb_get()
      bridge: netfilter: Move sysctl-specific error code inside #ifdef
      ipv6: fix possible deadlock in ip6_fl_purge / ip6_fl_gc
      ipvlan: add a missing __percpu pcpu_stats
      tg3: Hold tp->lock before calling tg3_halt() from tg3_init_one()
      bgmac: fix device initialization on Northstar SoCs (condition typo)
      qlcnic: Delete existing multicast MAC list before adding new
      net/mlx5_core: Fix configuration of log_uar_page_sz
      sunvnet: don't change gso data on clones
      ...
    torvalds committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    f5af19d View commit details
    Browse the repository at this point in the history
  8. pwm: tegra: Use NSEC_PER_SEC

    Instead of using the literal value for the number of nanoseconds per
    second, use the macro instead to increase readability.
    
    Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
    thierryreding committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    b65af27 View commit details
    Browse the repository at this point in the history
  9. Merge tag 'for-linus-20150216' of git://git.infradead.org/linux-mtd

    Pull MTD updates from Brian Norris:
     "NAND:
    
       - Add new Hisilicon NAND driver for Hip04
       - Add default reboot handler, to ensure all outstanding erase
         transactions complete in time
       - jz4740: convert to use GPIO descriptor API
       - Atmel: add support for sama5d4
       - Change default bitflip threshold to 75% of correction strength
       - Miscellaneous cleanups and bugfixes
    
      SPI NOR:
    
       - Freescale QuadSPI:
       - Fix a few probe() and remove() issues
       - Add a MAINTAINERS entry for this driver
       - Tweak transfer size to increase read performance
       - Add suspend/resume support
       - Add Micron quad I/O support
       - ST FSM SPI: miscellaneous fixes
    
      JFFS2:
    
       - gracefully handle corrupted 'offset' field found on flash
    
      Other:
    
       - bcm47xxpart: add tweaks for a few new devices
       - mtdconcat: set return lengths properly for mtd_write_oob()
       - map_ram: enable use with mtdoops
       - maps: support fallback to ROM/UBI for write-protected NOR flash"
    
    * tag 'for-linus-20150216' of git://git.infradead.org/linux-mtd: (46 commits)
      mtd: hisilicon: && vs & typo
      jffs2: fix handling of corrupted summary length
      mtd: hisilicon: add device tree binding documentation
      mtd: hisilicon: add a new NAND controller driver for hisilicon hip04 Soc
      mtd: avoid registering reboot notifier twice
      mtd: concat: set the return lengths properly
      mtd: kconfig: replace PPC_OF with PPC
      mtd: denali: remove unnecessary stubs
      mtd: nand: remove redundant local variable
      MAINTAINERS: add maintainer entry for FREESCALE QUAD SPI driver
      mtd: fsl-quadspi: improve read performance by increase AHB transfer size
      mtd: fsl-quadspi: Remove unnecessary 'map_failed' label
      mtd: fsl-quadspi: Remove unneeded success/error messages
      mtd: fsl-quadspi: Fix the error paths
      mtd: nand: omap: drop condition with no effect
      mtd: nand: jz4740: Convert to GPIO descriptor API
      mtd: nand: Request strength instead of bytes for soft BCH
      mtd: nand: default bitflip-reporting threshold to 75% of correction strength
      mtd: atmel_nand: introduce a new compatible string for sama5d4 chip
      mtd: atmel_nand: return max bitflips in all sectors in pmecc_correction()
      ...
    torvalds committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    402521b View commit details
    Browse the repository at this point in the history
  10. Merge tag 'firewire-updates' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/ieee1394/linux1394
    
    Pull fireware updates from Stefan Richter:
     "IEEE 1394 subsystem updates:
    
       - Replace made-up, unallocated Vendor and Model values of
         firewire-core's Configuration ROM register root directory by
         properly registered IDs.  (These IDs are visible to peer nodes on
         the bus and locally via sysfs, but they are not involved in
         protocol matching or driver matching, nor are they used in stock
         udev rules)
    
       - Remove some unneccessary code"
    
    * tag 'firewire-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394:
      firewire: core: use correct vendor/model IDs
      firewire: sbp2: remove redundant check for bidi command
      firewire: ohci: Remove unused function
    torvalds committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    a5ac1fb View commit details
    Browse the repository at this point in the history
  11. Merge git://www.linux-watchdog.org/linux-watchdog

    Pull watchdog updates from Wim Van Sebroeck:
     "This adds the following new drivers:
    
       - ImgTec PDC Watchdog Timer Driver,
       - Mediatek SoC integrated watchdog
    
      Add support for BCM5301X, IT8783, NCT6791 and NCT6792 WDT's
    
      Add bcm47xx_wdt and da9063 restart handlers and contains overall
      improvements and fixes"
    
    * git://www.linux-watchdog.org/linux-watchdog:
      watchdog: bcm47xx_wdt.c: allow enabling on BCM5301X arch
      watchdog: jz4740: Add DT support
      dt: watchdog: Add DT binding documentation for jz4740 watchdog timer
      watchdog: dw_wdt: Try to get a 30 second watchdog by default
      watchdog: dw_wdt: pat the watchdog before enabling it
      watchdog: w83627hf_wdt: Add support for NCT6791 and NCT6792
      watchdog: bcm47xx_wdt.c: add restart handler support
      watchdog: gpio_wdt: Add "always_running" feature to GPIO watchdog
      watchdog: da9063: Add restart handler support
      ARM: mediatek: dts: Add bindings for watchdog
      watchdog: Add driver for Mediatek watchdog
      watchdog: Fix omap watchdogs to enable the magic close bit
      watchdog: rt2880_wdt: minor clean up
      watchdog: hpwdt: Fix initialization message in hpwdt.c
      watchdog: it87_wdt: add IT8783 ID
      watchdog: imx2: Constify struct regmap_config and watchdog_ops
      DT: watchdog: Add ImgTec PDC Watchdog Timer binding documentation
      watchdog: ImgTec PDC Watchdog Timer Driver
    torvalds committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    928fce2 View commit details
    Browse the repository at this point in the history
  12. Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave…

    …-dma
    
    Pull dmaengine updates from Vinod Koul:
     "This update brings:
    
       - the big cleanup up by Maxime for device control and slave
         capabilities.  This makes the API much cleaner.
    
       - new IMG MDC driver by Andrew
    
       - new Renesas R-Car Gen2 DMA Controller driver by Laurent along with
         bunch of fixes on rcar drivers
    
       - odd fixes and updates spread over driver"
    
    * 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma: (130 commits)
      dmaengine: pl330: add DMA_PAUSE feature
      dmaengine: pl330: improve pl330_tx_status() function
      dmaengine: rcar-dmac: Disable channel 0 when using IOMMU
      dmaengine: rcar-dmac: Work around descriptor mode IOMMU errata
      dmaengine: rcar-dmac: Allocate hardware descriptors with DMAC device
      dmaengine: rcar-dmac: Fix oops due to unintialized list in error ISR
      dmaengine: rcar-dmac: Fix spinlock issues in interrupt
      dmaenegine: edma: fix sparse warnings
      dmaengine: rcar-dmac: Fix uninitialized variable usage
      dmaengine: shdmac: extend PM methods
      dmaengine: shdmac: use SET_RUNTIME_PM_OPS()
      dmaengine: pl330: fix bug that cause start the same descs in cyclic
      dmaengine: at_xdmac: allow muliple dwidths when doing slave transfers
      dmaengine: at_xdmac: simplify channel configuration stuff
      dmaengine: at_xdmac: introduce save_cc field
      dmaengine: at_xdmac: wait for in-progress transaction to complete after pausing a channel
      ioat: fail self-test if wait_for_completion times out
      dmaengine: dw: define DW_DMA_MAX_NR_MASTERS
      dmaengine: dw: amend description of dma_dev field
      dmatest: move src_off, dst_off, len inside loop
      ...
    torvalds committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    ce1d3fd View commit details
    Browse the repository at this point in the history
  13. Merge tag 'pwm/for-3.20-rc1' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/thierry.reding/linux-pwm
    
    Pull pwm updates from Thierry Reding:
     "This contains two new drivers, one for Allwinner SoCs and the other
      for Imagination Technologies' Pistachio SoC.
    
      Complementing this are a couple of fixes to the Atmel HLCDC PWM and
      STi PWM drivers as well as minor cleanups to the core and the Tegra
      driver"
    
    * tag 'pwm/for-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm:
      pwm: tegra: Use NSEC_PER_SEC
      pwm: Remove unnecessary check before of_node_put()
      pwm: Add device tree binding document for IMG PWM DAC
      pwm: Imagination Technologies PWM DAC driver
      pwm: sti: Maintain a bitmap of configured devices
      pwm: sunxi: document OF bindings
      pwm: Add Allwinner SoC support
      pwm: atmel-hlcdc: Prevent division by zero
      pwm: atmel-hlcdc: Depend on HAVE_CLK
    torvalds committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    9a8b2aa View commit details
    Browse the repository at this point in the history
  14. Merge tag 'mfd-for-linus-3.20' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/lee/mfd
    
    Pull MFD updates from Lee Jones:
     "Changes to existing drivers:
       - fixr platform device collision; da9052, wm8994-core
       - regmap configuration amendments; tps65218
       - fix runtime PM deadlock; rtsx_usb
       - remove unused/superfluous code; db8500-prcmu, omap-usb-host
       - enable watchdog timer; lpc_sch
       - add start/stop RX URBs helpers; dln2
       - remove platform device (DT only); max77686, max77802
       - support suspend and resume; dln2
       - add Device Tree support; da9063
       - extra error checking; intel_soc_pmic
       - const'ify all the things; 88pm860x, hi6421-pmic, intel_soc_pmic,
                                   max77686, lm3533, retu, pcf50633,
                                   davinci_voicecodec, smsc-ece1099,
                                   tps65218, mc13xxx, tps65217, twl-core,
                                   twl6040
    
      New drivers/supported devices:
       - new driver for Richtek RT5033
       - new driver for DA9150 Charger and FuelGauge
       - new driver for Qualcomm Resource Power Manager (RPM)
       - add support for the ir-clk into sun6i-prcm
       - add support for FuelGauge into axp20x"
    
    * tag 'mfd-for-linus-3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (32 commits)
      mfd: intel_soc_pmic: Add missing error check for devm_kzalloc
      mfd: rtsx_usb: Defer autosuspend while card exists
      mfd: devicetree: Add bindings for DA9063
      mfd: da9063: Add device tree support
      regulator: qcom-rpm: Add missing state flag in call to RPM
      mfd: qcom-rpm: Driver for the Qualcomm RPM
      mfd: devicetree: bindings: Add Qualcomm RPM DT binding
      mfd: max77686/802: Remove support for board files
      mfd: omap-usb-host: Remove some unused functions
      mfd: twl6040: Constify struct regmap_config and reg_default array
      mfd: twl-core: Constify struct regmap_config and reg_default array
      mfd: tps65217: Constify struct regmap_config
      mfd: mc13xxx: i2c/spi: Constify struct regmap_config
      mfd: tps65218: Constify struct regmap_config
      mfd: smsc-ece1099: Constify struct regmap_config
      mfd: davinci_voicecodec: Constify struct regmap_config
      mfd: pcf50633: Constify struct regmap_config
      mfd: retu: Constify struct regmap_config
      mfd: lm3533: Constify struct regmap_config
      mfd: max77686: Constify struct regmap_config
      ...
    torvalds committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    5c27700 View commit details
    Browse the repository at this point in the history
  15. Merge tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/rusty/linux
    
    Pull virtio updates from Rusty Russell:
     "OK, this has the big virtio 1.0 implementation, as specified by OASIS.
    
      On top of tht is the major rework of lguest, to use PCI and virtio
      1.0, to double-check the implementation.
    
      Then comes the inevitable fixes and cleanups from that work"
    
    * tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux: (80 commits)
      virtio: don't set VIRTIO_CONFIG_S_DRIVER_OK twice.
      virtio_net: unconditionally define struct virtio_net_hdr_v1.
      tools/lguest: don't use legacy definitions for net device in example launcher.
      virtio: Don't expose legacy net features when VIRTIO_NET_NO_LEGACY defined.
      tools/lguest: use common error macros in the example launcher.
      tools/lguest: give virtqueues names for better error messages
      tools/lguest: more documentation and checking of virtio 1.0 compliance.
      lguest: don't look in console features to find emerg_wr.
      tools/lguest: don't start devices until DRIVER_OK status set.
      tools/lguest: handle indirect partway through chain.
      tools/lguest: insert driver references from the 1.0 spec (4.1 Virtio Over PCI)
      tools/lguest: insert device references from the 1.0 spec (4.1 Virtio Over PCI)
      tools/lguest: rename virtio_pci_cfg_cap field to match spec.
      tools/lguest: fix features_accepted logic in example launcher.
      tools/lguest: handle device reset correctly in example launcher.
      virtual: Documentation: simplify and generalize paravirt_ops.txt
      lguest: remove NOTIFY call and eventfd facility.
      lguest: remove NOTIFY facility from demonstration launcher.
      lguest: use the PCI console device's emerg_wr for early boot messages.
      lguest: always put console in PCI slot #1.
      ...
    torvalds committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    53861af View commit details
    Browse the repository at this point in the history
  16. Merge tag 'pci-v3.20-fixes-1' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/helgaas/pci
    
    Pull PCI resource management fix from Bjorn Helgaas:
     "This fixes a double kfree in code we merged for v3.20:
    
      Remove duplicate kfree in of_pci_get_host_bridge_resources() (Lorenzo
      Pieralisi)"
    
    * tag 'pci-v3.20-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
      of/pci: Remove duplicate kfree in of_pci_get_host_bridge_resources()
    torvalds committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    cad3ab5 View commit details
    Browse the repository at this point in the history
  17. Merge tag 'asm-generic-for-linus' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/arnd/asm-generic
    
    Pull asm-generic uaccess.h cleanup from Arnd Bergmann:
     "Like in 3.19, I once more have a multi-stage cleanup for one
      asm-generic header file, this time the work was done by Michael
      Tsirkin and cleans up the uaccess.h file in asm-generic, as well as
      all architectures for which the respective maintainers did not pick up
      his patches directly"
    
    * tag 'asm-generic-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic: (37 commits)
      sparc32: nocheck uaccess coding style tweaks
      sparc64: nocheck uaccess coding style tweaks
      xtensa: macro whitespace fixes
      sh: macro whitespace fixes
      parisc: macro whitespace fixes
      m68k: macro whitespace fixes
      m32r: macro whitespace fixes
      frv: macro whitespace fixes
      cris: macro whitespace fixes
      avr32: macro whitespace fixes
      arm64: macro whitespace fixes
      arm: macro whitespace fixes
      alpha: macro whitespace fixes
      blackfin: macro whitespace fixes
      sparc64: uaccess_64 macro whitespace fixes
      sparc32: uaccess_32 macro whitespace fixes
      avr32: whitespace fix
      sh: fix put_user sparse errors
      metag: fix put_user sparse errors
      ia64: fix put_user sparse errors
      ...
    torvalds committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    eaa0eda View commit details
    Browse the repository at this point in the history
  18. Merge tag 'locks-v3.20-2' of git://git.samba.org/jlayton/linux

    Pull file locking fixes from Jeff Layton:
     "A small set of patches to fix problems with the recent file locking
      changes that we discussed earlier this week"
    "
    
    * tag 'locks-v3.20-2' of git://git.samba.org/jlayton/linux:
      locks: fix list insertion when lock is split in two
      locks: remove conditional lock release in middle of flock_lock_file
      locks: only remove leases associated with the file being closed
      Revert "locks: keep a count of locks on the flctx lists"
    torvalds committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    b2b89eb View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2015

  1. Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/mmarek/kbuild
    
    Pull kbuild updates from Michal Marek:
    
     - several cleanups in kbuild
    
     - serialize multiple *config targets so that 'make defconfig kvmconfig'
       works
    
     - The cc-ifversion macro got support for an else-branch
    
    * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
      kbuild,gcov: simplify kernel/gcov/Makefile more
      kbuild: allow cc-ifversion to have the argument for false condition
      kbuild,gcov: simplify kernel/gcov/Makefile
      kbuild,gcov: remove unnecessary workaround
      kbuild: do not add $(call ...) to invoke cc-version or cc-fullversion
      kbuild: fix cc-ifversion macro
      kbuild: drop $(version_h) from MRPROPER_FILES
      kbuild: use mixed-targets when two or more config targets are given
      kbuild: remove redundant line from bounds.h/asm-offsets.h
      kbuild: merge bounds.h and asm-offsets.h rules
      kbuild: Drop support for clean-rule
    torvalds committed Feb 19, 2015
    Configuration menu
    Copy the full SHA
    27a22ee View commit details
    Browse the repository at this point in the history
  2. Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/…

    …mmarek/kbuild
    
    Pull misc kbuild changes from Michal Marek:
     "Just a few non-critical kbuild changes:
    
       - builddeb adds the actual distribution name in the changelog
       - documentation fixes"
    
    * 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
      kbuild: trivial - fix the help doc of CONFIG_CC_OPTIMIZE_FOR_SIZE
      kbuild: Update documentation of clean-files and clean-dirs
      builddeb: Try to determine distribution
      builddeb: Update year and git repository URL in debian/copyright
    torvalds committed Feb 19, 2015
    Configuration menu
    Copy the full SHA
    7734334 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/mmarek/kbuild
    
    Pull kconfig updates from Michal Marek:
     "Yann E Morin was supposed to take over kconfig maintainership, but
      this hasn't happened.  So I'm sending a few kconfig patches that I
      collected:
    
       - Fix for missing va_end in kconfig
       - merge_config.sh displays used if given too few arguments
       - s/boolean/bool/ in Kconfig files for consistency, with the plan to
         only support bool in the future"
    
    * 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
      kconfig: use va_end to match corresponding va_start
      merge_config.sh: Display usage if given too few arguments
      kconfig: use bool instead of boolean for type definition attributes
    torvalds committed Feb 19, 2015
    Configuration menu
    Copy the full SHA
    b11a278 View commit details
    Browse the repository at this point in the history
  4. Merge tag 'platform-drivers-x86-v3.20-1' of git://git.infradead.org/u…

    …sers/dvhart/linux-platform-drivers-x86
    
    Pull platform driver update from Darren Hart:
     "This includes a significant update to the toshiba_acpi driver,
      bringing it to feature parity with the Windows driver, followed by
      some needed cleanups.
    
      The other changes are mostly minor updates, quirks, sparse fixes, or
      cleanups.
    
      Details:
    
       - toshiba_acpi:
           Add support for missing features from the Windows driver, bump the
           sysfs version, and clean up the driver.
    
       - thinkpad_acpi:
           BIOS string versions, unhandled hkey events.
    
       - msamsung-laptop:
           Add native backlight quirk, enable better lid handling.
    
       - intel_scu_ipc:
           Read resources from PCI configuration
    
       - other:
           Fix sparse warnings, general cleanups"
    
    * tag 'platform-drivers-x86-v3.20-1' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86: (34 commits)
      toshiba_acpi: Cleanup GPL header
      toshiba_acpi: Cleanup comment blocks and capitalization
      toshiba_acpi: Make use of DEVICE_ATTR_{RO, RW} macros
      toshiba_acpi: Drop the toshiba_ prefix from sysfs function names
      toshiba_acpi: Move sysfs function and struct declarations further down
      Documentation/ABI: Add file describing the sysfs entries for toshiba_acpi
      toshiba_acpi: Clean file according to coding style
      toshiba_acpi: Bump version number to 0.21
      toshiba_acpi: Add support to enable/disable USB 3
      toshiba_acpi: Add support for Panel Power ON
      toshiba_acpi: Add support for Keyboard functions mode
      toshiba_acpi: Add fan entry to sysfs
      toshiba_acpi: Add version entry to sysfs
      thinkpad_acpi: support new BIOS version string pattern
      thinkpad_acpi: unhandled hkey event
      toshiba_acpi: Make toshiba_eco_mode_available more robust
      classmate-laptop: Fix sparse warning (0 as NULL)
      Sony-laptop: Fix sparse warning (make undeclared var static)
      thinkpad_acpi.c: Fix sparse warning (make undeclared var static)
      samsung-laptop.c: Prefer kstrtoint over single variable sscanf
      ...
    torvalds committed Feb 19, 2015
    Configuration menu
    Copy the full SHA
    6ed3e57 View commit details
    Browse the repository at this point in the history
  5. Merge tag 'edac_fixes_for_3.20' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/bp/bp
    
    Pull two EDAC fixes from Borislav Petkov:
    
     - A fix to sb_edac for proper detection on SNB machines
    
     - A fix to amd64_edac to not explode on Numascale machines with more
       than 16 memory controllers, from Daniel J Blueman.
    
    * tag 'edac_fixes_for_3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
      EDAC, amd64_edac: Prevent OOPS with >16 memory controllers
      sb_edac: Fix detection on SNB machines
    torvalds committed Feb 19, 2015
    Configuration menu
    Copy the full SHA
    477ea11 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…

    …rzhang/linux
    
    Pull thermal managament updates from Zhang Rui:
     "Specifics:
    
       - Abstract the code and introduce helper functions for all int340x
         thermal drivers.  From: Srinivas Pandruvada.
    
       - Reorganize the ACPI LPAT table support code so that it can be
         shared for both ACPI PMIC driver and int340x thermal driver.
    
       - Add support for Braswell in intel_soc_dts thermal driver.
    
       - a couple of small fixes/cleanups for step_wise governor and int340x
         thermal driver"
    
    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux:
      Thermal/int340x_thermal: remove unused uuids.
      thermal: step_wise: spelling fixes
      thermal: int340x: fix sparse warning
      Thermal/int340x: LPAT conversion for temperature
      ACPI / PMIC: Use common LPAT table handling functions
      ACPI / LPAT: Common table processing functions
      thermal: Intel SoC DTS: Add Braswell support
      Thermal/int340x/int3402: Provide notification support
      Thermal/int340x/processor_thermal: Add thermal zone support
      Thermal/int340x/int3403: Use int340x thermal API
      Thermal/int340x/int3402: Use int340x thermal API
      Thermal/int340x: Add common thermal zone handler
    torvalds committed Feb 19, 2015
    Configuration menu
    Copy the full SHA
    89d3fa4 View commit details
    Browse the repository at this point in the history