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

merge #1

Merged
merged 387 commits into from
Nov 30, 2014
Merged

merge #1

merged 387 commits into from
Nov 30, 2014
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Nov 18, 2014

  1. spi: sirf: fix word width configuration

    commit 8c328a2 ("spi: sirf: Avoid duplicate code in various
    bits_per_word cases") is wrong in setting data width register of
    fifo is not right, it should use sspi->word_width >> 1 to set
    related bits. According to hardware spec, the mapping between
    register value and data width:
    0 - byte
    1 - WORD
    2 - DWORD
    
    Fixes: 8c328a2 ("spi: sirf: Avoid duplicate code in various bits_per_word cases") is wrong in setting data width register of
    Signed-off-by: Qipan Li <Qipan.Li@csr.com>
    Signed-off-by: Barry Song <Baohua.Song@csr.com>
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Cc: stable@vger.kernel.org
    Qipan Li authored and broonie committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    9c4b19a View commit details
    Browse the repository at this point in the history
  2. can: remove unused variable

    these variable were only assigned some values, but then never
    reused again.
    so they are safe to be removed.
    
    Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    sudipm-mukherjee authored and marckleinebudde committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    4e2061b View commit details
    Browse the repository at this point in the history
  3. can: xilinx_can: fix comparison of unsigned variable

    The variable err was of the type u32. It was being compared with < 0, and being
    an unsigned variable the comparison would have been always false.
    
    Moreover, err was getting the return value from set_reset_mode() and
    xcan_set_bittiming(), and both are returning int.
    
    Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
    Reviewed-by: Michal Simek <michal.simek@xilinx.com>
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    sudipm-mukherjee authored and marckleinebudde committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    fb3ec7b View commit details
    Browse the repository at this point in the history
  4. can: xilinx_can: add .ndo_change_mtu function

    Use common can_change_mtu function.
    
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    marckleinebudde committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    92593a0 View commit details
    Browse the repository at this point in the history
  5. can: rcar_can: add .ndo_change_mtu function

    Use common can_change_mtu function.
    
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    marckleinebudde committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    ca976d6 View commit details
    Browse the repository at this point in the history
  6. devicetree: bindings: add sandisk to the vendor prefixes

    Add sandisk to the list of vendors. This prefix should be used
    also for companies absorbed by Sandisk, like M-Systems.
    
    Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
    Signed-off-by: Rob Herring <robh@kernel.org>
    rjarzmik authored and robherring committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    f2a306c View commit details
    Browse the repository at this point in the history
  7. x86, microcode: Update BSPs microcode on resume

    In the situation when we apply early microcode but do *not* apply late
    microcode, we fail to update the BSP's microcode on resume because we
    haven't initialized the uci->mc microcode pointer. So, in order to
    alleviate that, we go and dig out the stashed microcode patch during
    early boot. It is basically the same thing that is done on the APs early
    during boot so do that too here.
    
    Tested-by: alex.schnaidt@gmail.com
    Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=88001
    Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
    Cc: Fenghua Yu <fenghua.yu@intel.com>
    Cc: <stable@vger.kernel.org> # v3.9
    Signed-off-by: Borislav Petkov <bp@suse.de>
    Link: http://lkml.kernel.org/r/20141118094657.GA6635@pd.tnic
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    suryasaimadhu authored and KAGA-KOKO committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    fb86b97 View commit details
    Browse the repository at this point in the history
  8. x86, mm: Set NX across entire PMD at boot

    When setting up permissions on kernel memory at boot, the end of the
    PMD that was split from bss remained executable. It should be NX like
    the rest. This performs a PMD alignment instead of a PAGE alignment to
    get the correct span of memory.
    
    Before:
    ---[ High Kernel Mapping ]---
    ...
    0xffffffff8202d000-0xffffffff82200000  1868K     RW       GLB NX pte
    0xffffffff82200000-0xffffffff82c00000    10M     RW   PSE GLB NX pmd
    0xffffffff82c00000-0xffffffff82df5000  2004K     RW       GLB NX pte
    0xffffffff82df5000-0xffffffff82e00000    44K     RW       GLB x  pte
    0xffffffff82e00000-0xffffffffc0000000   978M                     pmd
    
    After:
    ---[ High Kernel Mapping ]---
    ...
    0xffffffff8202d000-0xffffffff82200000  1868K     RW       GLB NX pte
    0xffffffff82200000-0xffffffff82e00000    12M     RW   PSE GLB NX pmd
    0xffffffff82e00000-0xffffffffc0000000   978M                     pmd
    
    [ tglx: Changed it to roundup(_brk_end, PMD_SIZE) and added a comment.
            We really should unmap the reminder along with the holes
            caused by init,initdata etc. but thats a different issue ]
    
    Signed-off-by: Kees Cook <keescook@chromium.org>
    Cc: Andy Lutomirski <luto@amacapital.net>
    Cc: Toshi Kani <toshi.kani@hp.com>
    Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
    Cc: David Vrabel <david.vrabel@citrix.com>
    Cc: Wang Nan <wangnan0@huawei.com>
    Cc: Yinghai Lu <yinghai@kernel.org>
    Cc: stable@vger.kernel.org
    Link: http://lkml.kernel.org/r/20141114194737.GA3091@www.outflux.net
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    kees authored and KAGA-KOKO committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    45e2a9d View commit details
    Browse the repository at this point in the history
  9. x86, kaslr: Handle Gold linker for finding bss/brk

    When building with the Gold linker, the .bss and .brk areas of vmlinux
    are shown as consecutive instead of having the same file offset. Allow
    for either state, as long as things add up correctly.
    
    Fixes: e602336 ("x86, kaslr: Prevent .bss from overlaping initrd")
    Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de>
    Signed-off-by: Kees Cook <keescook@chromium.org>
    Cc: Junjie Mao <eternal.n08@gmail.com>
    Link: http://lkml.kernel.org/r/20141118001604.GA25045@www.outflux.net
    Cc: stable@vger.kernel.org
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    kees authored and KAGA-KOKO committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    70b61e3 View commit details
    Browse the repository at this point in the history
  10. of: Spelling s/stucture/structure/

    Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Cc: Grant Likely <grant.likely@linaro.org>
    Cc: Rob Herring <robh+dt@kernel.org>
    Signed-off-by: Rob Herring <robh@kernel.org>
    geertu authored and robherring committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    27b3383 View commit details
    Browse the repository at this point in the history
  11. of/irq: Drop obsolete 'interrupts' vs 'interrupts-extended' text

    a9ecdc0 ("of/irq: Fix lookup to use 'interrupts-extended' property
    first") updated the description to say that:
    
      - Both 'interrupts' and 'interrupts-extended' may be present
      - Software should prefer 'interrupts-extended'
      - Software that doesn't comprehend 'interrupts-extended' may use
        'interrupts'
    
    But there is still a paragraph at the end that prohibits having both and
    says 'interrupts' should be preferred.
    
    Remove the contradictory text.
    
    Fixes: a9ecdc0 ("of/irq: Fix lookup to use 'interrupts-extended' property first")
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    CC: stable@vger.kernel.org	# v3.13+
    Acked-by: Brian Norris <computersforpeace@gmail.com>
    Acked-by: Mark Rutland <mark.rutland@arm.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    bjorn-helgaas authored and robherring committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    66865de View commit details
    Browse the repository at this point in the history
  12. of: Fix crash if an earlycon driver is not found

    __earlycon_of_table_sentinel.compatible is a char[128], not a pointer, so
    it will never be NULL.  Checking it against NULL causes the match loop to
    run past the end of the array, and eventually match a bogus entry, under
    the following conditions:
    
     - Kernel command line specifies "earlycon" with no parameters
     - DT has a stdout-path pointing to a UART node
     - The UART driver doesn't use OF_EARLYCON_DECLARE (or maybe the console
       driver is compiled out)
    
    Fix this by checking to see if match->compatible is a non-empty string.
    
    Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
    Cc: <stable@vger.kernel.org> # 3.16+
    Signed-off-by: Rob Herring <robh@kernel.org>
    cernekee authored and robherring committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    ab74d00 View commit details
    Browse the repository at this point in the history
  13. devicetree: vendor-prefixes.txt: fix whitespace

    Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    frantony authored and robherring committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    9b6eab0 View commit details
    Browse the repository at this point in the history
  14. of/base: Fix PowerPC address parsing hack

    We have a historical hack that treats missing ranges properties as the
    equivalent of an empty one. This is needed for ancient PowerMac "bad"
    device-trees, and shouldn't be enabled for any other PowerPC platform,
    otherwise we get some nasty layout of devices in sysfs or even
    duplication when a set of otherwise identically named devices is
    created multiple times under a different parent node with no ranges
    property.
    
    This fix is needed for the PowerNV i2c busses to be exposed properly
    and will fix a number of other embedded cases.
    
    Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    CC: <stable@vger.kernel.org>
    Acked-by: Grant Likely <grant.likely@linaro.org>
    Signed-off-by: Rob Herring <robh@kernel.org>
    ozbenh authored and robherring committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    746c9e9 View commit details
    Browse the repository at this point in the history
  15. of: Add vendor prefix for Chips&Media, Inc.

    Chips&Media is a developer of Video Codec IP cores.
    
    Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
    [robh: fix-up alphabetical ordering]
    Signed-off-by: Rob Herring <robh@kernel.org>
    pH5 authored and robherring committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    f9cb89b View commit details
    Browse the repository at this point in the history
  16. devicetree: bindings: Add vendor prefix for Micron Technology, Inc.

    This patch is used to add vendor prefix for Micron Technology, Inc. in
    the vendor-prefixes.txt file.
    
    Micron Technology, Inc. is an American multinational corporation based
    in Boise, Idaho, best known for producing many forms of semiconductor
    devices. This includes DRAM, SDRAM, flash memory, eMMC and SSDs.
    
    Signed-off-by: Bean Huo <bpqw@micron.com>
    [robh: cleanup commit msg formatting and company name]
    Signed-off-by: Rob Herring <robh@kernel.org>
    MicronSW authored and robherring committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    5641c09 View commit details
    Browse the repository at this point in the history
  17. documentation: pinctrl bindings: Fix trivial typo 'abitrary'

    A misspelled 'arbitrary' propagated to quite a few locations in the DT
    binding documentation for pin-controllers. Fixing by:
      git grep abitrary | cut -f1 -d: | xargs sed -i 's/abitrary/arbitrary/'
    
    Reported-by: Andreas Färber <afaerber@suse.de>
    Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    sorenb-xlnx authored and robherring committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    a0e27f5 View commit details
    Browse the repository at this point in the history
  18. can: gs_usb: add .ndo_change_mtu function

    Use common can_change_mtu function.
    
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    marckleinebudde committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    50212b4 View commit details
    Browse the repository at this point in the history
  19. can: m_can: add .ndo_change_mtu function

    Use common can_change_mtu function.
    
    Signed-off-by: Dong Aisheng <b29396@freescale.com>
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    Dong Aisheng authored and marckleinebudde committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    d6fdb38 View commit details
    Browse the repository at this point in the history
  20. can: m_can: add CONFIG_HAS_IOMEM dependence

    m_can uses io memory which makes it not compilable on architectures
    without HAS_IOMEM such as UML:
    
    drivers/built-in.o: In function `m_can_plat_probe':
    m_can.c:(.text+0x218cc5): undefined reference to `devm_ioremap_resource'
    m_can.c:(.text+0x218df9): undefined reference to `devm_ioremap'
    
    Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    David Cohen authored and marckleinebudde committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    efe2228 View commit details
    Browse the repository at this point in the history
  21. can: m_can: add missing message RAM initialization

    The M_CAN message RAM is usually equipped with a parity or ECC functionality.
    But RAM cells suffer a hardware reset and can therefore hold arbitrary content
    at startup - including parity and/or ECC bits.
    
    To prevent the M_CAN controller detecting checksum errors when reading
    potentially uninitialized TX message RAM content to transmit CAN frames the TX
    message RAM has to be written with (any kind of) initial data.
    
    Signed-off-by: Dong Aisheng <b29396@freescale.com>
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    Dong Aisheng authored and marckleinebudde committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    962845d View commit details
    Browse the repository at this point in the history
  22. can: m_can: fix possible sleep in napi poll

    The m_can_get_berr_counter function can sleep and it may be called in napi poll
    function. Rework it to fix the following warning.
    
    root@imx6qdlsolo:~# cangen can0 -f -L 12 -D 112233445566778899001122
    [ 1846.017565] m_can 20e8000.can can0: entered error warning state
    [ 1846.023551] ------------[ cut here ]------------
    [ 1846.028216] WARNING: CPU: 0 PID: 560 at kernel/locking/mutex.c:867 mutex_trylock+0x218/0x23c()
    [ 1846.036889] DEBUG_LOCKS_WARN_ON(in_interrupt())
    [ 1846.041263] Modules linked in:
    [ 1846.044594] CPU: 0 PID: 560 Comm: cangen Not tainted 3.17.0-rc4-next-20140915-00010-g032d018-dirty #477
    [ 1846.054033] Backtrace:
    [ 1846.056557] [<80012448>] (dump_backtrace) from [<80012728>] (show_stack+0x18/0x1c)
    [ 1846.064180]  r6:809a07ec r5:809a07ec r4:00000000 r3:00000000
    [ 1846.069966] [<80012710>] (show_stack) from [<806c9ee0>] (dump_stack+0x8c/0xa4)
    [ 1846.077264] [<806c9e54>] (dump_stack) from [<8002aa78>] (warn_slowpath_common+0x70/0x94)
    [ 1846.085403]  r6:806cd1b0 r5:00000009 r4:be1d5c20 r3:be07b0c0
    [ 1846.091204] [<8002aa08>] (warn_slowpath_common) from [<8002aad4>] (warn_slowpath_fmt+0x38/0x40)
    [ 1846.099951]  r8:8119106c r7:80515aa4 r6:be027000 r5:00000001 r4:809d1df4
    [ 1846.106830] [<8002aaa0>] (warn_slowpath_fmt) from [<806cd1b0>] (mutex_trylock+0x218/0x23c)
    [ 1846.115141]  r3:80851c88 r2:8084fb74
    [ 1846.118804] [<806ccf98>] (mutex_trylock) from [<80515aa4>] (clk_prepare_lock+0x14/0xf4)
    [ 1846.126859]  r8:00000040 r7:be1d5cec r6:be027000 r5:be255800 r4:be027000
    [ 1846.133737] [<80515a90>] (clk_prepare_lock) from [<80517660>] (clk_prepare+0x14/0x2c)
    [ 1846.141583]  r5:be255800 r4:be027000
    [ 1846.145272] [<8051764c>] (clk_prepare) from [<8041ff14>] (m_can_get_berr_counter+0x20/0xd4)
    [ 1846.153672]  r4:be255800 r3:be07b0c0
    [ 1846.157325] [<8041fef4>] (m_can_get_berr_counter) from [<80420428>] (m_can_poll+0x310/0x8fc)
    [ 1846.165809]  r7:bd4dc540 r6:00000744 r5:11300000 r4:be255800
    [ 1846.171590] [<80420118>] (m_can_poll) from [<8056a468>] (net_rx_action+0xcc/0x1b4)
    [ 1846.179204]  r10:00000101 r9:be255ebc r8:00000040 r7:be7c3208 r6:8097c100 r5:be7c3200
    [ 1846.187192]  r4:0000012c
    [ 1846.189779] [<8056a39c>] (net_rx_action) from [<8002deec>] (__do_softirq+0xfc/0x2c4)
    [ 1846.197568]  r10:00000101 r9:8097c088 r8:00000003 r7:8097c080 r6:40000001 r5:8097c08c
    [ 1846.205559]  r4:00000020
    [ 1846.208144] [<8002ddf0>] (__do_softirq) from [<8002e194>] (do_softirq+0x7c/0x88)
    [ 1846.215588]  r10:00000000 r9:bd516a60 r8:be18ce00 r7:00000000 r6:be255800 r5:8056c0ec
    [ 1846.223578]  r4:60000093
    [ 1846.226163] [<8002e118>] (do_softirq) from [<8002e288>] (__local_bh_enable_ip+0xe8/0x10c)
    [ 1846.234386]  r4:00000200 r3:be1d4000
    [ 1846.238036] [<8002e1a0>] (__local_bh_enable_ip) from [<8056c108>] (__dev_queue_xmit+0x314/0x6b0)
    [ 1846.246868]  r6:be255800 r5:bd516a00 r4:00000000 r3:be07b0c0
    [ 1846.252645] [<8056bdf4>] (__dev_queue_xmit) from [<8056c4b8>] (dev_queue_xmit+0x14/0x18)
    
    Signed-off-by: Dong Aisheng <b29396@freescale.com>
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    Dong Aisheng authored and marckleinebudde committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    f6a9964 View commit details
    Browse the repository at this point in the history
  23. can: m_can: fix not set can_dlc for remote frame

    The original code missed to set the cf->can_dlc in the RTR case, so add it.
    
    Signed-off-by: Dong Aisheng <b29396@freescale.com>
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    Dong Aisheng authored and marckleinebudde committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    921f168 View commit details
    Browse the repository at this point in the history
  24. can: m_can: add missing delay after setting CCCR_INIT bit

    The spec mentions there may be a delay until the value written to INIT can be
    read back due to the synchronization mechanism between the two clock domains.
    But it does not indicate the exact clock cycles needed. The 5us delay is a
    test value and seems ok.
    
    Without the delay, CCCR.CCE bit may fail to be set and then the initialization
    fail sometimes when do repeatly up and down.
    
    Signed-off-by: Dong Aisheng <b29396@freescale.com>
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    Dong Aisheng authored and marckleinebudde committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    7660f63 View commit details
    Browse the repository at this point in the history
  25. can: m_can: fix incorrect error messages

    Fix a few error messages.
    
    Signed-off-by: Dong Aisheng <b29396@freescale.com>
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    Dong Aisheng authored and marckleinebudde committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    a93f5ca View commit details
    Browse the repository at this point in the history
  26. can: m_can: update to support CAN FD features

    Bosch M_CAN is CAN FD capable device. This patch implements the CAN
    FD features include up to 64 bytes payload and bitrate switch function.
    1) Change the Rx FIFO and Tx Buffer to 64 bytes for support CAN FD
       up to 64 bytes payload. It's backward compatible with old 8 bytes
       normal CAN frame.
    2) Allocate can frame or canfd frame based on EDL bit
    3) Bitrate Switch function is disabled by default and will be enabled
       according to CANFD_BRS bit in cf->flags.
    
    Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
    Signed-off-by: Dong Aisheng <b29396@freescale.com>
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    Dong Aisheng authored and marckleinebudde committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    8064673 View commit details
    Browse the repository at this point in the history
  27. vxlan: Inline vxlan_gso_check().

    Suggested-by: Or Gerlitz <ogerlitz@mellanox.com>
    Signed-off-by: Joe Stringer <joestringer@nicira.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    joestringer authored and davem330 committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    11bf782 View commit details
    Browse the repository at this point in the history
  28. mac80211: minstrel_ht: fix a crash in rate sorting

    The commit 5935839
    "mac80211: improve minstrel_ht rate sorting by throughput & probability"
    
    introduced a crash on rate sorting that occurs when the rate added to
    the sorting array is faster than all the previous rates. Due to an
    off-by-one error, it reads the rate index from tp_list[-1], which
    contains uninitialized stack garbage, and then uses the resulting index
    for accessing the group rate stats, leading to a crash if the garbage
    value is big enough.
    
    Cc: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
    Reported-by: Jouni Malinen <j@w1.fi>
    Signed-off-by: Felix Fietkau <nbd@openwrt.org>
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    Felix Fietkau authored and jmberg-intel committed Nov 18, 2014
    Configuration menu
    Copy the full SHA
    280ba51 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2014

  1. ARM: dts: Explicitly set dr_mode on exynos5250-snow

    Explicitly set the dr_mode for the dwc3 controller on the
    Snow board to host mode. This is required to ensure the
    controller is initialized in the right mode if the kernel is
    build with USB gadget support.
    
    Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
    Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
    Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
    sjoerdsimons authored and kgene committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    0526f27 View commit details
    Browse the repository at this point in the history
  2. usb: serial: ftdi_sio: add PIDs for Matrix Orbital products

    Add PIDs for new Matrix Orbital GTT series products.
    
    Signed-off-by: Troy Clark <tclark@matrixorbital.ca>
    Cc: stable <stable@vger.kernel.org>
    [johan: shorten commit message ]
    Signed-off-by: Johan Hovold <johan@kernel.org>
    Troy Clark authored and jhovold committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    204ec6e View commit details
    Browse the repository at this point in the history
  3. clockevent: sun4i: Fix race condition in the probe code

    The interrupts were activated and the handler registered before the clockevent
    was registered in the probe function.
    
    The interrupt handler, however, was making the assumption that the clockevent
    device was registered.
    
    That could cause a null pointer dereference if the timer interrupt was firing
    during this narrow window.
    
    Fix that by moving the clockevent registration before the interrupt is enabled.
    
    Reported-by: Roman Byshko <rbyshko@gmail.com>
    Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
    Cc: stable@vger.kernel.org
    Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
    mripard authored and dlezcano committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    6bab4a8 View commit details
    Browse the repository at this point in the history
  4. Merge tag 'sunxi-fixes-for-3.18' of git://git.kernel.org/pub/scm/linu…

    …x/kernel/git/mripard/linux into fixes
    
    Merge "Allwinner fixes for 3.18" from Maxime Ripard:
    
    A fix for the A31 dma controller that requires the AHB clock to be parented to
    PLL6 in order to operate.
    
    * tag 'sunxi-fixes-for-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux:
      ARM: dts: sun6i: Re-parent ahb1_mux to pll6 as required by dma controller
    
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    arndb committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    4e2594c View commit details
    Browse the repository at this point in the history
  5. USB: keyspan: fix tty line-status reporting

    Fix handling of TTY error flags, which are not bitmasks and must
    specifically not be ORed together as this prevents the line discipline
    from recognising them.
    
    Also insert null characters when reporting overrun errors as these are
    not associated with the received character.
    
    Fixes: 1da177e ("Linux-2.6.12-rc2")
    Cc: stable <stable@vger.kernel.org>
    Signed-off-by: Johan Hovold <johan@kernel.org>
    jhovold committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    5d1678a View commit details
    Browse the repository at this point in the history
  6. USB: keyspan: fix overrun-error reporting

    Fix reporting of overrun errors, which are not associated with a
    character. Instead insert a null character and report only once.
    
    Fixes: 1da177e ("Linux-2.6.12-rc2")
    Cc: stable <stable@vger.kernel.org>
    Signed-off-by: Johan Hovold <johan@kernel.org>
    jhovold committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    855515a View commit details
    Browse the repository at this point in the history
  7. USB: ssu100: fix overrun-error reporting

    Fix reporting of overrun errors, which should only be reported once
    using the inserted null character.
    
    Fixes: 6b8f1ca ("USB: ssu100: set tty_flags in ssu100_process_packet")
    Cc: stable <stable@vger.kernel.org>
    Signed-off-by: Johan Hovold <johan@kernel.org>
    jhovold committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    75bcbf2 View commit details
    Browse the repository at this point in the history
  8. Merge tag 'renesas-soc-fixes-for-v3.18' of git://git.kernel.org/pub/s…

    …cm/linux/kernel/git/horms/renesas into fixes
    
    Pull "Renesas ARM Based SoC Fixes for v3.18" from Simon Horman:
    
    * Set i2c clks_per_count to 2 on kzm9g
    
    * tag 'renesas-soc-fixes-for-v3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
      ARM: shmobile: kzm9g legacy: Set i2c clks_per_count to 2
    
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    arndb committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    1b6166e View commit details
    Browse the repository at this point in the history
  9. Merge tag 'renesas-dt-fixes-for-v3.18' of git://git.kernel.org/pub/sc…

    …m/linux/kernel/git/horms/renesas into fixes
    
    Pull "Renesas ARM Based SoC DT Fixes for v3.18" from Simon Horman:
    
    * Correct IIC0 parent clock on r8a7740
    * Correct SD3CKCR address to device tree on r8a7790
    
    * tag 'renesas-dt-fixes-for-v3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
      ARM: shmobile: r8a7740 dtsi: Correct IIC0 parent clock
      ARM: shmobile: r8a7790: Fix SD3CKCR address to device tree
    
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    arndb committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    3410d42 View commit details
    Browse the repository at this point in the history
  10. Merge tag 'renesas-clock-fixes-for-v3.18' of git://git.kernel.org/pub…

    …/scm/linux/kernel/git/horms/renesas into fixes
    
    Pull "Renesas ARM Based SoC Clock Fixes for v3.18" from Simon Horman:
    
    * Correct IIC0 parent clock for r8a7740
    * Add missing INTCA clock for irqpin module for r8a7740
    * Correct SD3CKCR address on r8a7790
    
    * tag 'renesas-clock-fixes-for-v3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
      ARM: shmobile: r8a7740 legacy: Correct IIC0 parent clock
      ARM: shmobile: r8a7740 legacy: Add missing INTCA clock for irqpin module
      ARM: shmobile: r8a7790: Fix SD3CKCR address
    
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    arndb committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    5210436 View commit details
    Browse the repository at this point in the history
  11. Merge tag 'tegra-for-3.18-fixes-for-rc5' of git://git.kernel.org/pub/…

    …scm/linux/kernel/git/tegra/linux into fixes
    
    Pull "ARM: tegra: Device tree fixes for v3.18-rc5" from Thierry Reding:
    
    This contains the serial port numbering fixes that are required for the
    serial port numbering to stay the same with or without the serial core
    making use of the aliases defined in DT.
    
    eMMC is also fixed for TN7 and Roth boards which were using the wrong
    regulators.
    
    * tag 'tegra-for-3.18-fixes-for-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
      ARM: tegra: roth: Fix SD card VDD_IO regulator
      ARM: tegra: Remove eMMC vmmc property for roth/tn7
      ARM: dts: tegra: move serial aliases to per-board
      ARM: tegra: Add serial port labels to Tegra124 DT
    
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    arndb committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    4a8ab77 View commit details
    Browse the repository at this point in the history
  12. nfsd: correctly define v4.2 support attributes

    Even when security labels are disabled we support at least the same
    attributes as v4.1.
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Cc: stable@kernel.org
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
    Christoph Hellwig authored and J. Bruce Fields committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    6d0ba04 View commit details
    Browse the repository at this point in the history
  13. SUNRPC: Fix locking around callback channel reply receive

    Both xprt_lookup_rqst() and xprt_complete_rqst() require that you
    take the transport lock in order to avoid races with xprt_transmit().
    
    Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
    Cc: stable@vger.kernel.org
    Reviewed-by: Jeff Layton <jlayton@primarydata.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
    trondmypd authored and J. Bruce Fields committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    093a146 View commit details
    Browse the repository at this point in the history
  14. MIPS: Loongson3: Fix __node_distances undefined error

    export the __node_distances symbol in the loongson3 numa code to fix the
    build error:
    
      Building modules, stage 2.
      MODPOST 221 modules
    ERROR: "__node_distances" [drivers/block/nvme.ko] undefined!
    scripts/Makefile.modpost:90: recipe for target '__modpost' failed
    
    when building the kernel with:
     CONFIG_CPU_LOONGSON3=y
     CONFIG_NUMA=y
     CONFIG_BLK_DEV_NVME=m
    
    Signed-off-by: James Cowgill <James.Cowgill@imgtec.com>
    Cc: <stable@vger.kernel.org> # v3.17+
    Reviewed-by: James Hogan <james.hogan@imgtec.com>
    Reviewed-by: Huacai Chen <chenhc@lemote.com>
    Cc: linux-mips@linux-mips.org
    Cc: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
    Patchwork: https://patchwork.linux-mips.org/patch/8444/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    jcowgill authored and ralfbaechle committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    21255da View commit details
    Browse the repository at this point in the history
  15. MIPS: IP27: Fix __node_distances undefined error

    export the __node_distances symbol in the ip27 memory code to fix the
    build error:
    
      Building modules, stage 2.
      MODPOST 311 modules
    ERROR: "__node_distances" [drivers/block/nvme.ko] undefined!
    scripts/Makefile.modpost:90: recipe for target '__modpost' failed
    
    when building the kernel with:
     CONFIG_SGI_IP27=y
     CONFIG_BLK_DEV_NVME=m
    
    Signed-off-by: James Cowgill <James.Cowgill@imgtec.com>
    Cc: <stable@vger.kernel.org> # v3.15+
    Reviewed-by: James Hogan <james.hogan@imgtec.com>
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    jcowgill authored and ralfbaechle committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    5829b0e View commit details
    Browse the repository at this point in the history
  16. MIPS: Loongson: Fix the write-combine CCA value setting

    All Loongson-2/3 processors support _CACHE_UNCACHED_ACCELERATED, not
    only Loongson-3A.
    
    Signed-off-by: Huacai Chen <chenhc@lemote.com>
    Cc: John Crispin <john@phrozen.org>
    Cc: Steven J. Hill <Steven.Hill@imgtec.com>
    Cc: linux-mips@linux-mips.org
    Cc: Fuxin Zhang <zhangfx@lemote.com>
    Cc: Zhangjin Wu <wuzhangjin@gmail.com>
    Patchwork: https://patchwork.linux-mips.org/patch/8319/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    chenhuacai authored and ralfbaechle committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    cc94ea3 View commit details
    Browse the repository at this point in the history
  17. MIPS: Loongson: Set Loongson-3's ISA level to MIPS64R1

    In CPU manual Loongson-3 is MIPS64R2 compatible, but during tests we
    found that its EI/DI instructions have problems. So we just set the ISA
    level to MIPS64R1.
    
    Signed-off-by: Huacai Chen <chenhc@lemote.com>
    Cc: John Crispin <john@phrozen.org>
    Cc: Steven J. Hill <Steven.Hill@imgtec.com>
    Cc: linux-mips@linux-mips.org
    Cc: Fuxin Zhang <zhangfx@lemote.com>
    Cc: Zhangjin Wu <wuzhangjin@gmail.com>
    Patchwork: https://patchwork.linux-mips.org/patch/8320/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    chenhuacai authored and ralfbaechle committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    7352c8b View commit details
    Browse the repository at this point in the history
  18. MIPS: oprofile: Fix backtrace on 64-bit kernel

    Fix incorrect cast that always results in wrong address for the new
    frame on 64-bit kernels.
    
    Signed-off-by: Aaro Koskinen <aaro.koskinen@nsn.com>
    Cc: stable@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/8110/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Aaro Koskinen authored and ralfbaechle committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    bbaf113 View commit details
    Browse the repository at this point in the history
  19. MIPS: asm: uaccess: Add v1 register to clobber list on EVA

    When EVA is turned on and prefetching is being used in memcpy.S,
    the v1 register is being used as a helper register to the PREFE
    instruction. However, v1 ($3) was not in the clobber list, which
    means that the compiler did not preserve it across function calls,
    and that could corrupt the value of the register leading to all
    sorts of userland crashes. We fix this problem by using the
    DADDI_SCRATCH macro to define the clobbered register when
    CONFIG_EVA && CONFIG_CPU_HAS_PREFETCH are enabled.
    
    Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
    Cc: <stable@vger.kernel.org> # v3.15+
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/8510/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Markos Chandras authored and ralfbaechle committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    5856381 View commit details
    Browse the repository at this point in the history
  20. MIPS: tlb-r4k: Add missing HTW stop/start sequences

    HTW needs to stop and start again whenever the EntryHI register
    changes otherwise an inflight HTW operation might use the new
    EntryHI register for updating an old entry and that could lead
    to crashes or even a machine check exception. We fix this by
    ensuring the HTW has stop whenever the EntryHI register is about
    to change
    
    Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
    Cc: <stable@vger.kernel.org> # v3.17+
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/8511/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Markos Chandras authored and ralfbaechle committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    6a8dff6 View commit details
    Browse the repository at this point in the history
  21. MIPS: lib: memcpy: Restore NOP on delay slot before returning to caller

    Commit cf62a8b ("MIPS: lib: memcpy: Use macro to build the
    copy_user code") switched to a macro in order to build the memcpy
    symbols in preparation for the EVA support. However, this commit
    also removed the NOP instruction after the 'jr ra' when returning
    back to the caller. This had no visible side-effects since the next
    instruction was a load to the t0 register which was already in the
    clobbered list, but it may have undesired effects in the future
    if some other code is introduced in between the .Ldone and
    the .Ll_exc_copy labels.
    
    Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
    Cc: <stable@vger.kernel.org> # v3.15+
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/8512/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Markos Chandras authored and ralfbaechle committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    51b1029 View commit details
    Browse the repository at this point in the history
  22. MIPS: Zero variable read by get_user / __get_user in case of an error.

    This wasn't happening in all cases.
    
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    ralfbaechle committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    640465b View commit details
    Browse the repository at this point in the history
  23. MIPS: jump_label.c: Correct the span of the J instruction

    Correct the check for the span of the 256MB segment addressable by the J
    instruction according to this instruction's semantics.  The calculation
    of the jump target is applied to the address of the delay-slot
    instruction that immediately follows.  Adjust the check accordingly by
    adding 4 to `e->code' that holds the address of the J instruction
    itself.
    
    Signed-off-by: Maciej W. Rozycki <macro@codesourcery.com>
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/8515/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Maciej W. Rozycki authored and ralfbaechle committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    99436f7 View commit details
    Browse the repository at this point in the history
  24. MIPS: jump_label.c: Handle the microMIPS J instruction encoding

    Implement the microMIPS encoding of the J instruction for the purpose of
    the static keys feature, fixing a crash early on in bootstrap as the
    kernel is unhappy seeing the ISA bit set in jump table entries.  Make
    sure the ISA bit correctly reflects the instruction encoding chosen for
    the kernel, 0 for the standard MIPS and 1 for the microMIPS encoding.
    
    Also make sure the instruction to patch is a 32-bit NOP in the microMIPS
    mode as by default the 16-bit short encoding is assumed
    
    Signed-off-by: Maciej W. Rozycki <macro@codesourcery.com>
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/8516/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Maciej W. Rozycki authored and ralfbaechle committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    935c2db View commit details
    Browse the repository at this point in the history
  25. ARM: multi_v7_defconfig: fix failure setting CPU voltage by enabling …

    …dependent I2C controller
    
    This patch fixes a long standing issue introduced during the 3.16 merge window.
    Shortly after the merge, exynos5250-based arndale boards began to produce the
    following errors:
    
    kern.err kernel:  exynos-cpufreq exynos-cpufreq: failed to set cpu voltage
    kern.err kernel:  cpufreq: __target_index: Failed to change cpu frequency: -22
    
    Further analysis revealed that the S5M8767 voltage regulator used on the
    exynos5250-based arndale board utilizes the S3C2410 I2C controller. If the
    S3C2410 I2C controller driver is not enabled, the S5M8767 voltage regulator
    fails to probe. Therefore a dependency exists between these two drivers.
    In the exynos_defconfig both CONFIG_REGULATOR_S5M8767 and CONFIG_I2C_S3C2410
    options are enabled, and no errors are produced. However, in the
    multi_v7_defconfig only the CONFIG_REGULATOR_S5M8767 option is enabled and the
    errors are present. So let's enable the CONFIG_I2C_S3C2410 option in the
    multi_v7_defconfig to allow the S5M8767 voltage regulator to probe.
    
    Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
    Acked-by: Kukjin Kim <kgene.kim@samsung.com>
    Signed-off-by: Kevin Hilman <khilman@linaro.org>
    EmbeddedAndroid authored and Kevin Hilman committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    49e4193 View commit details
    Browse the repository at this point in the history
  26. of/selftest: Fix off-by-one error in removal path

    The removal path for selftest data has an off by one error that causes
    the code to dereference beyond the end of the nodes[] array on the first
    pass through. The old code only worked by chance on a lot of platforms,
    but the bug was recently exposed on aarch64.
    
    The fix is simple. Decrement the node count before dereferencing, not
    after.
    
    Reported-by: Kevin Hilman <khilman@linaro.org>
    Cc: Rob Herring <robh+dt@kernel.org>
    Cc: Gaurav Minocha <gaurav.minocha.os@gmail.com>
    Cc: <stable@vger.kernel.org> # v3.17+
    glikely committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    c1a2086 View commit details
    Browse the repository at this point in the history
  27. vfs: fix reference leak in d_prune_aliases()

    In "d_prune_alias(): just lock the parent and call __dentry_kill()" the old
    dget + d_drop + dput has been replaced with lock_parent + __dentry_kill;
    unfortunately, dput() does more than just killing dentry - it also drops the
    reference to parent.  New variant leaks that reference and needs dput(parent)
    after killing the child off.
    
    Signed-off-by: Yan, Zheng <zyan@redhat.com>
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    ukernel authored and Al Viro committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    4a7795d View commit details
    Browse the repository at this point in the history
  28. isofs: avoid unused function warning

    With the isofs_hash() function removed, isofs_hash_ms() is the only user
    of isofs_hash_common(), but it's defined inside of an #ifdef, which triggers
    this gcc warning in ARM axm55xx_defconfig starting with v3.18-rc3:
    
    fs/isofs/inode.c:177:1: warning: 'isofs_hash_common' defined but not used [-Wunused-function]
    
    This patch moves the function inside of the same #ifdef section to avoid that
    warning, which seems the best compromise of a relatively harmless patch for
    a late -rc.
    
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    Fixes: b0afd8e ("isofs: don't bother with ->d_op for normal case")
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    arndb authored and Al Viro committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    7ca2f23 View commit details
    Browse the repository at this point in the history
  29. btrfs: fix lockups from btrfs_clear_path_blocking

    The fair reader/writer locks mean that btrfs_clear_path_blocking needs
    to strictly follow lock ordering rules even when we already have
    blocking locks on a given path.
    
    Before we can clear a blocking lock on the path, we need to make sure
    all of the locks have been converted to blocking.  This will remove lock
    inversions against anyone spinning in write_lock() against the buffers
    we're trying to get read locks on.  These inversions didn't exist before
    the fair read/writer locks, but now we need to be more careful.
    
    We papered over this deadlock in the past by changing
    btrfs_try_read_lock() to be a true trylock against both the spinlock and
    the blocking lock.  This was slower, and not sufficient to fix all the
    deadlocks.  This patch adds a btrfs_tree_read_lock_atomic(), which
    basically means get the spinlock but trylock on the blocking lock.
    
    Signed-off-by: Chris Mason <clm@fb.com>
    Signed-off-by: Josef Bacik <jbacik@fb.com>
    Reported-by: Patrick Schmid <schmid@phys.ethz.ch>
    cc: stable@vger.kernel.org #v3.15+
    masoncl committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    f82c458 View commit details
    Browse the repository at this point in the history
  30. bonding: fix curr_active_slave/carrier with loadbalance arp monitoring

    Since commit 6fde8f0 ("bonding: fix locking in
    bond_loadbalance_arp_mon()") we can have a stale bond carrier state and
    stale curr_active_slave when using arp monitoring in loadbalance modes. The
    reason is that in bond_loadbalance_arp_mon() we can't have
    do_failover == true but slave_state_changed == false, whenever do_failover
    is true then slave_state_changed is also true. Then the following piece
    from bond_loadbalance_arp_mon():
                    if (slave_state_changed) {
                            bond_slave_state_change(bond);
                            if (BOND_MODE(bond) == BOND_MODE_XOR)
                                    bond_update_slave_arr(bond, NULL);
                    } else if (do_failover) {
                            block_netpoll_tx();
                            bond_select_active_slave(bond);
                            unblock_netpoll_tx();
                    }
    
    will execute only the first branch, always and regardless of do_failover.
    Since these two events aren't related in such way, we need to decouple and
    consider them separately.
    
    For example this issue could lead to the following result:
    Bonding Mode: load balancing (round-robin)
    *MII Status: down*
    MII Polling Interval (ms): 0
    Up Delay (ms): 0
    Down Delay (ms): 0
    ARP Polling Interval (ms): 100
    ARP IP target/s (n.n.n.n form): 192.168.9.2
    
    Slave Interface: ens12
    *MII Status: up*
    Speed: 10000 Mbps
    Duplex: full
    Link Failure Count: 2
    Permanent HW addr: 00:0f:53:01:42:2c
    Slave queue ID: 0
    
    Slave Interface: eth1
    *MII Status: up*
    Speed: Unknown
    Duplex: Unknown
    Link Failure Count: 70
    Permanent HW addr: 52:54:00:2f:0f:8e
    Slave queue ID: 0
    
    Since some interfaces are up, then the status of the bond should also be
    up, but it will never change unless something invokes bond_set_carrier()
    (i.e. enslave, bond_select_active_slave etc). Now, if I force the
    calling of bond_select_active_slave via for example changing
    primary_reselect (it can change in any mode), then the MII status goes to
    "up" because it calls bond_select_active_slave() which should've been done
    from bond_loadbalance_arp_mon() itself.
    
    CC: Veaceslav Falico <vfalico@gmail.com>
    CC: Jay Vosburgh <j.vosburgh@gmail.com>
    CC: Andy Gospodarek <andy@greyhouse.net>
    CC: Ding Tianhong <dingtianhong@huawei.com>
    
    Fixes: 6fde8f0 ("bonding: fix locking in bond_loadbalance_arp_mon()")
    Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
    Acked-by: Veaceslav Falico <vfalico@gmail.com>
    Acked-by: Andy Gospodarek <gospo@cumulusnetworks.com>
    Acked-by: Ding Tianhong <dingtianhong@huawei.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Nikolay Aleksandrov authored and davem330 committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    b8e4500 View commit details
    Browse the repository at this point in the history
  31. net/mlx4_en: Add VXLAN ndo calls to the PF net device ops too

    This is currently missing, which results in a crash when one attempts
    to set VXLAN tunnel over the mlx4_en when acting as PF.
    
    	[ 2408.785472] BUG: unable to handle kernel NULL pointer dereference at (null)
    	[...]
    	[ 2408.994104] Call Trace:
    	[ 2408.996584]  [<ffffffffa021f7f5>] ? vxlan_get_rx_port+0xd6/0x103 [vxlan]
    	[ 2409.003316]  [<ffffffffa021f71f>] ? vxlan_lowerdev_event+0xf2/0xf2 [vxlan]
    	[ 2409.010225]  [<ffffffffa0630358>] mlx4_en_start_port+0x862/0x96a [mlx4_en]
    	[ 2409.017132]  [<ffffffffa063070f>] mlx4_en_open+0x17f/0x1b8 [mlx4_en]
    
    While here, make sure to invoke vxlan_get_rx_port() only when VXLAN
    offloads are actually enabled and not when they are only supported.
    
    Reported-by: Ido Shamay <idos@mellanox.com>
    Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    ogerlitz authored and davem330 committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    9737c6a View commit details
    Browse the repository at this point in the history
  32. Merge tag 'linux-can-fixes-for-3.18-20141118' of git://gitorious.org/…

    …linux-can/linux-can
    
    Marc Kleine-Budde says:
    
    ====================
    pull-request: can 2014-11-18
    
    this is a pull request of 17 patches for net/master for the v3.18 release
    cycle.
    
    The last patch of this pull request ("can: m_can: update to support CAN FD
    features") adds, as the description says, a new feature to the m_can driver. As
    the m_can driver has been added in v3.18 there is no risk of causing a
    regression. Give me a note if this is not okay and I'll create a new pull
    request without it.
    
    There is a patch for the CAN infrastructure by Thomas Körper which fixes
    calling kfree_skb() from interrupt context. Roman Fietze fixes a typo also in
    the infrastructure. A patch by Dong Aisheng adds a generic helper function to
    tell if a skb is normal CAN or CAN-FD frame. Alexey Khoroshilov of the Linux
    Driver Verification project fixes a memory leak in the esd_usb2 driver. Two
    patches by Sudip Mukherjee remove unused variables and fixe the signess of a
    variable. Three patches by me add the missing .ndo_change_mtu callback to the
    xilinx_can, rcar_can and gs_usb driver.
    
    The remaining patches improve the m_can driver: David Cohen adds the missing
    CONFIG_HAS_IOMEM dependency. Dong Aisheng provides 6 bugfix patches (most
    important: missing RAM init, sleep in NAPI poll, dlc in RTR). While the last of
    his patches adds CAN FD support to the driver.
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    ddecab1 View commit details
    Browse the repository at this point in the history
  33. Merge tag 'mac80211-for-john-2014-11-18' of git://git.kernel.org/pub/…

    …scm/linux/kernel/git/jberg/mac80211
    
    Johannes Berg <johannes@sipsolutions.net> says:
    
    "Here's another last minute fix, for minstrel HT crashing
    depending on the value of some uninitialised stack."
    
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
    linvjw committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    6158fb3 View commit details
    Browse the repository at this point in the history
  34. nfsd: Fix slot wake up race in the nfsv4.1 callback code

    The currect code for nfsd41_cb_get_slot() and nfsd4_cb_done() has no
    locking in order to guarantee atomicity, and so allows for races of
    the form.
    
    Task 1                                  Task 2
    ======                                  ======
    if (test_and_set_bit(0) != 0) {
                                            clear_bit(0)
                                            rpc_wake_up_next(queue)
            rpc_sleep_on(queue)
            return false;
    }
    
    This patch breaks the race condition by adding a retest of the bit
    after the call to rpc_sleep_on().
    
    Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
    Cc: stable@vger.kernel.org
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
    trondmypd authored and J. Bruce Fields committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    c6c15e1 View commit details
    Browse the repository at this point in the history
  35. PCI: Support 64-bit bridge windows if we have 64-bit dma_addr_t

    Aaron reported that a 32-bit x86 kernel with Physical Address Extension
    (PAE) support complains about bridge prefetchable memory windows above 4GB:
    
      pci_bus 0000:00: root bus resource [mem 0x380000000000-0x383fffffffff]
      ...
      pci 0000:03:00.0: reg 0x10: [mem 0x383fffc00000-0x383fffdfffff 64bit pref]
      pci 0000:03:00.0: reg 0x20: [mem 0x383fffe04000-0x383fffe07fff 64bit pref]
      pci 0000:03:00.1: reg 0x10: [mem 0x383fffa00000-0x383fffbfffff 64bit pref]
      pci 0000:03:00.1: reg 0x20: [mem 0x383fffe00000-0x383fffe03fff 64bit pref]
      pci 0000:00:02.2: PCI bridge to [bus 03-04]
      pci 0000:00:02.2:   bridge window [io  0x1000-0x1fff]
      pci 0000:00:02.2:   bridge window [mem 0x91900000-0x91cfffff]
      pci 0000:00:02.2: can't handle 64-bit address space for bridge
    
    In this kernel, unsigned long is 32 bits and dma_addr_t is 64 bits.
    Previously we used "unsigned long" to hold the bridge window address.  But
    this is a bus address, so we should use dma_addr_t instead.
    
    Use dma_addr_t to hold the bridge window base and limit.
    
    The question of whether the CPU can actually *address* the window is
    separate and depends on what the physical address space of the CPU is and
    whether the host bridge does any address translation.
    
    [bhelgaas: fix "shift count > width of type", changelog, stable tag]
    Fixes: d56dbf5 ("PCI: Allocate 64-bit BARs above 4G when possible")
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=88131
    Reported-by: Aaron Ma <mapengyu@gmail.com>
    Tested-by: Aaron Ma <mapengyu@gmail.com>
    Signed-off-by: Yinghai Lu <yinghai@kernel.org>
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    CC: stable@vger.kernel.org	# v3.14+
    Yinghai Lu authored and bjorn-helgaas committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    7fc986d View commit details
    Browse the repository at this point in the history
  36. ipv6: delete protocol and unregister rtnetlink when cleanup

    pim6_protocol was added when initiation, but it not deleted.
    Similarly, unregister RTNL_FAMILY_IP6MR rtnetlink.
    
    Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
    Reviewed-by: Cong Wang <cwang@twopensource.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Duan Jiong authored and davem330 committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    ffb1388 View commit details
    Browse the repository at this point in the history
  37. cxgb4i : Don't block unload/cxgb4 unload when remote closes TCP conne…

    …ction
    
    cxgb4i was returning wrong error and not releasing module reference if remote
    end abruptly closed TCP connection. This prevents the cxgb4 network module from
    being unloaded, further affecting other network drivers dependent on cxgb4
    
    Sending to net as this affects all cxgb4 based network drivers.
    
    Signed-off-by: Anish Bhatt <anish@chelsio.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    anish authored and davem330 committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    ee7255a View commit details
    Browse the repository at this point in the history
  38. hwmon: (g762) fix call to devm_hwmon_device_register_with_groups()

    g762_remove() needs to first call hwmon_device_unregister() and then
    g762_of_clock_disable(). For that reason, it is not possible to
    convert it to devm_hwmon_device_register_with_groups() and the
    the non device managed version must be used.
    
    This is correctly stated in commit message for 398e16d ("hwmon:
    (g762) Convert to hwmon_device_register_with_groups") but the
    associated changes do in fact introduce a call to the device managed
    version of the function.
    
    This patch fixes that typo by switching to the non devm_ version.
    
    Fixes: 398e16d ("hwmon: (g762) Convert to hwmon_device_register_with_groups")
    Cc: stable@vger.kernel.org (3.17+)
    Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    natisbad authored and groeck committed Nov 19, 2014
    Configuration menu
    Copy the full SHA
    6b19b66 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2014

  1. ACPI / PM: Ignore wakeup setting if the ACPI companion can't wake up

    As reported by Dmitry, on some Chromebooks there are devices with
    corresponding ACPI objects and with unusual system wakeup
    configuration.  Namely, they technically are wakeup-capable, but the
    wakeup is handled via a platform-specific out-of-band mechanism and
    the ACPI PM layer has no information on the wakeup capability.  As
    a result, device_may_wakeup(dev) called from acpi_dev_suspend_late()
    returns 'true' for those devices, but the wakeup.flags.valid flag is
    unset for the corresponding ACPI device objects, so acpi_device_wakeup()
    reproducibly fails for them causing acpi_dev_suspend_late() to return
    an error code.  The entire system suspend is then aborted and the
    machines in question cannot suspend at all.
    
    Address the problem by ignoring the device_may_wakeup(dev) return
    value in acpi_dev_suspend_late() if the ACPI companion of the device
    being handled has wakeup.flags.valid unset (in which case it is clear
    that the wakeup is supposed to be handled by other means).
    
    This fixes a regression introduced by commit a76e9bd (i2c:
    attach/detach I2C client device to the ACPI power domain) as the
    affected systems could suspend and resume successfully before that
    commit.
    
    Fixes: a76e9bd (i2c: attach/detach I2C client device to the ACPI power domain)
    Reported-by: Dmitry Torokhov <dtor@chromium.org>
    Reviewed-by: Dmitry Torokhov <dtor@chromium.org>
    Cc: 3.13+ <stable@vger.kernel.org> # 3.13+
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    rafaeljw committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    78579b7 View commit details
    Browse the repository at this point in the history
  2. Merge tag 'drm-intel-fixes-2014-11-19' of git://anongit.freedesktop.o…

    …rg/drm-intel into drm-fixes
    
    two regression fixes.
    
    * tag 'drm-intel-fixes-2014-11-19' of git://anongit.freedesktop.org/drm-intel:
      drm/i915: Kick fbdev before vgacon
      drm/i915: drop WaSetupGtModeTdRowDispatch:snb
    airlied committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    92ff59a View commit details
    Browse the repository at this point in the history
  3. IB/isert: Adjust CQ size to HW limits

    isert has an issue of trying to create a CQ with more CQEs than are
    supported by the hardware, that currently results in failures during
    isert_device creation during first session login.
    
    This is the isert version of the patch that Minh Tran submitted for
    iser, and is simple a workaround required to function with existing
    ocrdma hardware.
    
    Signed-off-by: Chris Moore <chris.moore@emulex.com>
    Reviewied-by: Sagi Grimberg <sagig@mellanox.com>
    Cc: <stable@vger.kernel.org> # 3.10+
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    Chris Moore authored and nablio3000 committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    b1a5ad0 View commit details
    Browse the repository at this point in the history
  4. of/selftest: Fix testing when /aliases is missing

    The /aliases node isn't always present in the device tree, but the
    unittest code assumes that /aliases is there. Add a check when inserting
    the testcase data to see if of_aliases needs to be updated, and undo the
    settings when the nodes are removed.
    
    Signed-off-by: Grant Likely <grant.likely@linaro.org>
    Cc: Rob Herring <robh+dt@kernel.org>
    Cc: Gaurav Minocha <gaurav.minocha.os@gmail.com>
    Cc: <stable@vger.kernel.org>
    glikely committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    788ec2f View commit details
    Browse the repository at this point in the history
  5. ovl: rename filesystem type to "overlay"

    Some distributions carry an "old" format of overlayfs while mainline has a
    "new" format.
    
    The distros will possibly want to keep the old overlayfs alongside the new
    for compatibility reasons.
    
    To make it possible to differentiate the two versions change the name of
    the new one from "overlayfs" to "overlay".
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Reported-by: Serge Hallyn <serge.hallyn@ubuntu.com>
    Cc: Andy Whitcroft <apw@canonical.com>
    Miklos Szeredi committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    ef94b18 View commit details
    Browse the repository at this point in the history
  6. ovl: fix remove/copy-up race

    ovl_remove_and_whiteout() needs to check if upper dentry exists or not
    after having locked upper parent directory.
    
    Previously we used a "type" value computed before locking the upper parent
    directory, which is susceptible to racing with copy-up.
    
    There's a similar check in ovl_check_empty_and_clear().  This one is not
    actually racy, since copy-up doesn't change the "emptyness" property of a
    directory.  Add a comment to this effect, and check the existence of upper
    dentry locally to make the code cleaner.
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Miklos Szeredi committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    a105d68 View commit details
    Browse the repository at this point in the history
  7. ovl: fix race in private xattr checks

    Xattr operations can race with copy up.  This does not matter as long as
    we consistently fiter out "trunsted.overlay.opaque" attribute on upper
    directories.
    
    Previously we checked parent against OVL_PATH_MERGE.  This is too general,
    and prone to race with copy-up.  I.e. we found the parent to be on the
    lower layer but ovl_dentry_real() would return the copied-up dentry,
    possibly with the "opaque" attribute.
    
    So instead use ovl_path_real() and decide to filter the attributes based on
    the actual type of the dentry we'll use.
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Miklos Szeredi committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    5214846 View commit details
    Browse the repository at this point in the history
  8. ovl: allow filenames with comma

    Allow option separator (comma) to be escaped with backslash.
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Miklos Szeredi committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    91c7794 View commit details
    Browse the repository at this point in the history
  9. ovl: use lockless_dereference() for upperdentry

    Don't open code lockless_dereference() in ovl_upperdentry_dereference().
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Miklos Szeredi committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    71d5092 View commit details
    Browse the repository at this point in the history
  10. ovl: pass dentry into ovl_dir_read_merged()

    Pass dentry into ovl_dir_read_merged() insted of upperpath and lowerpath.
    This cleans up callers and paves the way for multi-layer directory reads.
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Miklos Szeredi committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    c9f00fd View commit details
    Browse the repository at this point in the history
  11. ovl: update MAINTAINERS

    There's a union/overlay specific mailing list now.  Also add a git tree.
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Miklos Szeredi committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    1d11373 View commit details
    Browse the repository at this point in the history
  12. ovl: ovl_dir_fsync() cleanup

    Check against !OVL_PATH_LOWER instead of OVL_PATH_MERGE.  For a copied up
    directory the two are currently equivalent.
    
    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Miklos Szeredi committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    7676895 View commit details
    Browse the repository at this point in the history
  13. bnx2fc: do not add shared skbs to the fcoe_rx_list

    In some cases, the fcoe_rx_list may contains multiple instances
    of the same skb (the so called "shared skbs").
    
    the bnx2fc_l2_rcv thread is a loop that extracts a skb from the list,
    modifies (and destroys) its content and then proceed to the next one.
    The problem is that if the skb is shared, the remaining instances will
    be corrupted.
    
    The solution is to use skb_share_check() before adding the skb to the
    fcoe_rx_list.
    
    [ 6286.808725] ------------[ cut here ]------------
    [ 6286.808729] WARNING: at include/scsi/fc_frame.h:173 bnx2fc_l2_rcv_thread+0x425/0x450 [bnx2fc]()
    [ 6286.808748] Modules linked in: bnx2x(-) mdio dm_service_time bnx2fc cnic uio fcoe libfcoe 8021q garp stp mrp libfc llc scsi_transport_fc scsi_tgt sg iTCO_wdt iTCO_vendor_support coretemp kvm_intel kvm crct10dif_pclmul crc32_pclmul crc32c_intel e1000e ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper ptp cryptd hpilo serio_raw hpwdt lpc_ich pps_core ipmi_si pcspkr mfd_core ipmi_msghandler shpchp pcc_cpufreq mperf nfsd auth_rpcgss nfs_acl lockd sunrpc dm_multipath xfs libcrc32c ata_generic pata_acpi sd_mod crc_t10dif crct10dif_common mgag200 syscopyarea sysfillrect sysimgblt i2c_algo_bit ata_piix drm_kms_helper ttm drm libata i2c_core hpsa dm_mirror dm_region_hash dm_log dm_mod [last unloaded: mdio]
    [ 6286.808750] CPU: 3 PID: 1304 Comm: bnx2fc_l2_threa Not tainted 3.10.0-121.el7.x86_64 #1
    [ 6286.808750] Hardware name: HP ProLiant DL120 G7, BIOS J01 07/01/2013
    [ 6286.808752]  0000000000000000 000000000b36e715 ffff8800deba1e00 ffffffff815ec0ba
    [ 6286.808753]  ffff8800deba1e38 ffffffff8105dee1 ffffffffa05618c0 ffff8801e4c81888
    [ 6286.808754]  ffffe8ffff663868 ffff8801f402b180 ffff8801f56bc000 ffff8800deba1e48
    [ 6286.808754] Call Trace:
    [ 6286.808759]  [<ffffffff815ec0ba>] dump_stack+0x19/0x1b
    [ 6286.808762]  [<ffffffff8105dee1>] warn_slowpath_common+0x61/0x80
    [ 6286.808763]  [<ffffffff8105e00a>] warn_slowpath_null+0x1a/0x20
    [ 6286.808765]  [<ffffffffa054f415>] bnx2fc_l2_rcv_thread+0x425/0x450 [bnx2fc]
    [ 6286.808767]  [<ffffffffa054eff0>] ? bnx2fc_disable+0x90/0x90 [bnx2fc]
    [ 6286.808769]  [<ffffffff81085aef>] kthread+0xcf/0xe0
    [ 6286.808770]  [<ffffffff81085a20>] ? kthread_create_on_node+0x140/0x140
    [ 6286.808772]  [<ffffffff815fc76c>] ret_from_fork+0x7c/0xb0
    [ 6286.808773]  [<ffffffff81085a20>] ? kthread_create_on_node+0x140/0x140
    [ 6286.808774] ---[ end trace c6cdb939184ccb4e ]---
    
    Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
    Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Cc: stable@vger.kernel.org
    maurizio-lombardi authored and Christoph Hellwig committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    01a4cc4 View commit details
    Browse the repository at this point in the history
  14. scsi: add Intel Multi-Flex to scsi scan blacklist

    Intel Multi-Flex LUNs choke on REPORT SUPPORTED OPERATION CODES
    resulting in sd_mod hanging for several minutes on startup.
    The issue was introduced with WRITE SAME discovery heuristics.
    
    Fixes: 5db4486 ("[SCSI] sd: Implement support for WRITE SAME")
    Signed-off-by: Christian Sünkenberg <christian.suenkenberg@hfg-karlsruhe.de>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Cc: stable@vger.kernel.org
    Christian Sünkenberg authored and Christoph Hellwig committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    1899045 View commit details
    Browse the repository at this point in the history
  15. ufs: fix reference counting of W-LUs

    UFS driver adds three well known LUs in the initialization, but those
    reference counts are not decremented, so it makes ufshcd module
    impossible to unload.
    
    This fixes it by putting scsi_device_put() in the initalization, and in
    order to protect concurrent access to hba->sdev_ufs_device (UFS Device
    W-LU) from manual delete, increment the reference count while requesting
    device power mode setting.
    
    The rest of W-LUs (hba->sdev_boot and hba->sdev_rpmb) are not directly
    used from driver, so these references in struct ufs_hba are removed.
    
    Signed-off-by: Akinobu Mita <mita@fixstars.com>
    Reviewed-by: Maya Erez <merez@codeaurora.org>
    Reviewed-by: Dolev Raviv <draviv@codeaurora.org>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    mita authored and Christoph Hellwig committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    7c48bfd View commit details
    Browse the repository at this point in the history
  16. ufs: fix power info after link start-up

    After link start-up power mode will always be PWM G1. This is not
    reflected in the pwr_info struct which will keep the previous values.
    Since ufshcd_change_power_mode() tries to avoid unnecessary power mode
    change if the requested power mode and current power mode are same,
    power mode change won't execute again after driver initialization.
    
    This patch solves the problem by setting pwr_info to PWM G1 after link
    start-up.
    
    Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
    Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
    Reviewed-by: Maya Erez <merez@codeaurora.org>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Yaniv Gardi authored and Christoph Hellwig committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    5064636 View commit details
    Browse the repository at this point in the history
  17. drm/radeon: disable native backlight control on pre-r6xx asics (v2)

    Just use the acpi interface.  That's what windows uses on this
    generation and it's the only thing that seems to work reliably
    on these generation parts.
    
    You can still force the native backlight interface by setting
    radeon.backlight=1
    
    Bug:
    https://bugzilla.kernel.org/show_bug.cgi?id=88501
    
    v2: merge into above if/else block
    
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Cc: stable@vger.kernel.org
    alexdeucher committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    b7bc596 View commit details
    Browse the repository at this point in the history
  18. drm/radeon: fix endian swapping in vbios fetch for tdp table

    Value needs to be swapped on BE.
    
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Cc: stable@vger.kernel.org
    alexdeucher committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    28731d5 View commit details
    Browse the repository at this point in the history
  19. scsi: ufs: fix static checker errors in ufshcd_system_suspend

    This patch fixes newly introduced sparse warning in
    ufshcd_system_suspend, introduced by UFS power management series.
    
    Sparse warning:
    drivers/scsi/ufs/ufshcd.c:5118 ufshcd_system_suspend()
    error: we previously assumed 'hba' could be null (see line 5089)
    
    To fix it, we return 0 in case HBA is not initialized or is
    not powered.
    
    Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
    Reviewed-by: Maya Erez <merez@codeaurora.org>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Dolev Raviv authored and Christoph Hellwig committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    233b594 View commit details
    Browse the repository at this point in the history
  20. scsi: ufs: fix static checker warning in ufshcd_populate_vreg

    This patch fixes newly introduced static checker warning in
    ufshcd_populate_vreg, introduced by UFS power management series.
    
    Warning:
    drivers/scsi/ufs/ufshcd-pltfrm.c:167 ufshcd_populate_vreg()
    warn: missing error code here? 'devm_kzalloc()' failed. 'ret' = '0'
    
    To fix it we return -ENOMEM and skip the message print.
    
    Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
    Reviewed-by: Maya Erez <merez@codeaurora.org>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Dolev Raviv authored and Christoph Hellwig committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    758581b View commit details
    Browse the repository at this point in the history
  21. scsi: ufs: fix static checker warning in __ufshcd_setup_clocks

    This patch fixes newly introduced static checker warning in
    __ufshcd_setup_clocks, introduced by UFS power management series.
    
    Warning:
    drivers/scsi/ufs/ufshcd.c:4474 __ufshcd_setup_clocks()
    warn: we tested 'ret' before and it was 'false'
    
    To fix it we remove the (!ret) from the condition.
    
    Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
    Reviewed-by: Maya Erez <merez@codeaurora.org>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Dolev Raviv authored and Christoph Hellwig committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    eda910e View commit details
    Browse the repository at this point in the history
  22. scsi: ufs: fix static checker warning in ufshcd_parse_clock_info

    This patch fixes newly introduced static checker warning in
    ufshcd_parse_clock_info, introduced by UFS power management series.
    
    Warning:
    drivers/scsi/ufs/ufshcd-pltfrm.c:138 ufshcd_parse_clock_info()
    warn: passing devm_ allocated variable to kfree. 'clkfreq'
    
    To fix it we remove the kfree(clkfreq) statement.
    In addition we removed the redundant goto label.
    
    Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
    Reviewed-by: Maya Erez <merez@codeaurora.org>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Dolev Raviv authored and Christoph Hellwig committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    e8cb64d View commit details
    Browse the repository at this point in the history
  23. brcmfmac: don't include linux/unaligned/access_ok.h

    This is a specific implementation, <asm/unaligned.h> is the
    multiplexer that has the arch-specific knowledge of which
    of the implementations needs to be used, so include that.
    
    This issue was revealed by kbuild testing
    when <asm/unaligned.h> was added in <linux/ieee80211.h>
    resulting in redefinition of get_unaligned_be16 (and
    probably others).
    
    Cc: stable@vger.kernel.org # v3.17
    Reported-by: Fengguang Wu <fengguang.wu@intel.com>
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    Signed-off-by: Arend van Spriel <arend@broadcom.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
    jmberg-intel authored and linvjw committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    a1d69c6 View commit details
    Browse the repository at this point in the history
  24. ALSA: usb-audio: Use snd_usb_ctl_msg() for Native Instruments quirk

    snd_nativeinstruments_control_get() uses a stack as a buffer for
    usb_control_msg(), but it's basically not allowed.  Replace the call
    with a safer helper, snd_usb_ctl_msg(), instead.
    
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    01cb156 View commit details
    Browse the repository at this point in the history
  25. x86, syscall: Fix _TIF_NOHZ handling in syscall_trace_enter_phase1

    TIF_NOHZ is 19 (i.e. _TIF_SYSCALL_TRACE | _TIF_NOTIFY_RESUME |
    _TIF_SINGLESTEP), not (1<<19).
    
    This code is involved in Dave's trinity lockup, but I don't see why
    it would cause any of the problems he's seeing, except inadvertently
    by causing a different path through entry_64.S's syscall handling.
    
    Signed-off-by: Andy Lutomirski <luto@amacapital.net>
    Cc: Don Zickus <dzickus@redhat.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Dave Jones <davej@redhat.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Link: http://lkml.kernel.org/r/a6cd3b60a3f53afb6e1c8081b0ec30ff19003dd7.1416434075.git.luto@amacapital.net
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    amluto authored and KAGA-KOKO committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    b5e212a View commit details
    Browse the repository at this point in the history
  26. thermal: cpu_cooling: Update always cpufreq policy with thermal const…

    …raints
    
    Existing code updates cupfreq policy only while executing
    cpufreq_apply_cooling() function (i.e. when notify_device != NOTIFY_INVALID).
    It doesn't apply constraints when cpufreq policy update happens from any other
    place but it should update the cpufreq policy with thermal constraints every
    time when there is a cpufreq policy update, to keep state of
    cpufreq_cooling_device and max_feq of cpufreq policy in sync. For instance
    while resuming cpufreq updates cpufreq_policy and it restores default
    policy->usr_policy values irrespective of cooling device's cpufreq_state since
    notification gets missed because (notify_device == NOTIFY_INVALID).
    Another problem, is that userspace is able to change max_freq irrespective of
    cooling device's state, as notification gets missed.
    
    This patch modifies code to maintain a global cpufreq_dev_list and applies
    constraints of all matching cooling devices for policy's cpu when there is any
    policy update(ends up applying the lowest max_freq among the matching cpu
    cooling devices).
    
    This patch also removes redundant check (max_freq > policy->user_policy.max),
    as cpufreq framework takes care of user_policy constraints already where ever
    required, otherwise its causing an issue while increasing max_freq in normal
    scenerio as it restores max_freq with policy->user_policy.max which is old
    (smaller) value.
    
    Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
    Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
    Yadwinder Singh Brar authored and Eduardo Valentin committed Nov 20, 2014
    Configuration menu
    Copy the full SHA
    2dcd851 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2014

  1. Merge branch 'drm-fixes-3.18' of git://people.freedesktop.org/~agd5f/…

    …linux into drm-fixes
    
    fix one regression and one endian issue.
    
    * 'drm-fixes-3.18' of git://people.freedesktop.org/~agd5f/linux:
      drm/radeon: fix endian swapping in vbios fetch for tdp table
      drm/radeon: disable native backlight control on pre-r6xx asics (v2)
    airlied committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    a0fc608 View commit details
    Browse the repository at this point in the history
  2. pptp: fix stack info leak in pptp_getname()

    pptp_getname() only partially initializes the stack variable sa,
    particularly only fills the pptp part of the sa_addr union. The code
    thereby discloses 16 bytes of kernel stack memory via getsockname().
    
    Fix this by memset(0)'ing the union before.
    
    Cc: Dmitry Kozlov <xeb@mail.ru>
    Signed-off-by: Mathias Krause <minipli@googlemail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    minipli authored and davem330 committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    a5f6fc2 View commit details
    Browse the repository at this point in the history
  3. openvswitch: Don't validate IPv6 label masks.

    When userspace doesn't provide a mask, OVS datapath generates a fully
    unwildcarded mask for the flow by copying the flow and setting all bits
    in all fields. For IPv6 label, this creates a mask that matches on the
    upper 12 bits, causing the following error:
    
    openvswitch: netlink: Invalid IPv6 flow label value (value=ffffffff, max=fffff)
    
    This patch ignores the label validation check for masks, avoiding this
    error.
    
    Signed-off-by: Joe Stringer <joestringer@nicira.com>
    Acked-by: Pravin B Shelar <pshelar@nicira.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    joestringer authored and davem330 committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    d3052bb View commit details
    Browse the repository at this point in the history
  4. ipx: fix locking regression in ipx_sendmsg and ipx_recvmsg

    This fixes an old regression introduced by commit
    b0d0d91 (ipx: remove the BKL).
    
    When a recvmsg syscall blocks waiting for new data, no data can be sent on the
    same socket with sendmsg because ipx_recvmsg() sleeps with the socket locked.
    
    This breaks mars-nwe (NetWare emulator):
    - the ncpserv process reads the request using recvmsg
    - ncpserv forks and spawns nwconn
    - ncpserv calls a (blocking) recvmsg and waits for new requests
    - nwconn deadlocks in sendmsg on the same socket
    
    Commit b0d0d91 has simply replaced BKL locking with
    lock_sock/release_sock. Unlike now, BKL got unlocked while
    sleeping, so a blocking recvmsg did not block a concurrent
    sendmsg.
    
    Only keep the socket locked while actually working with the socket data and
    release it prior to calling skb_recv_datagram().
    
    Signed-off-by: Jiri Bohac <jbohac@suse.cz>
    Reviewed-by: Arnd Bergmann <arnd@arndb.de>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    jiribohac authored and davem330 committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    0146240 View commit details
    Browse the repository at this point in the history
  5. cxgb4 : Fix DCB priority groups being returned in wrong order

    Peer priority groups were being reversed, but this was missed in the previous
    fix sent out for this issue.
    
    v2 : Previous patch was doing extra unnecessary work, result is the same.
    Please ignore previous patch
    
    Fixes :	ee7bc3c ('cxgb4 : dcb open-lldp interop fixes')
    
    Signed-off-by: Anish Bhatt <anish@chelsio.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    anish authored and davem330 committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    17544e2 View commit details
    Browse the repository at this point in the history
  6. Merge tag 'master-2014-11-20' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/linville/wireless
    
    John W. Linville says:
    
    ====================
    pull request: wireless 2014-11-20
    
    Please full this little batch of fixes intended for the 3.18 stream!
    
    For the mac80211 patch, Johannes says:
    
    "Here's another last minute fix, for minstrel HT crashing
    depending on the value of some uninitialised stack."
    
    On top of that...
    
    Ben Greear fixes an ath9k regression in which a BSSID mask is
    miscalculated.
    
    Dmitry Torokhov corrects an error handling routing in brcmfmac which
    was checking an unsigned variable for a negative value.
    
    Johannes Berg avoids a build problem in brcmfmac for arches where
    linux/unaligned/access_ok.h and asm/unaligned.h conflict.
    
    Mathy Vanhoef addresses another brcmfmac issue so as to eliminate a
    use-after-free of the URB transfer buffer if a timeout occurs.
    
    Please let me know if there are problems!
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    c857781 View commit details
    Browse the repository at this point in the history
  7. Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf

    Pablo Neira Ayuso says:
    
    ====================
    Netfilter fixes for net
    
    The following patchset contains two bugfixes for your net tree, they are:
    
    1) Validate netlink group from nfnetlink to avoid an out of bound array
       access. This should only happen with superuser priviledges though.
       Discovered by Andrey Ryabinin using trinity.
    
    2) Don't push ethernet header before calling the netfilter output hook
       for multicast traffic, this breaks ebtables since it expects to see
       skb->data pointing to the network header, patch from Linus Luessing.
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    7e09dcc View commit details
    Browse the repository at this point in the history
  8. virtio-net: validate features during probe

    We currently trigger BUG when VIRTIO_NET_F_CTRL_VQ
    is not set but one of features depending on it is.
    That's not a friendly way to report errors to
    hypervisors.
    Let's check, and fail probe instead.
    
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
    Cc: Wanlong Gao <gaowanlong@cn.fujitsu.com>
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: Jason Wang <jasowang@redhat.com>
    Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
    Acked-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    jasowang authored and davem330 committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    892d6eb View commit details
    Browse the repository at this point in the history
  9. ALSA: hda - One more HP machine needs to change mute led quirk

    The machine originally use the quirk ALC269_FIXUP_HP_GPIO_MIC1_LED,
    but the LED doesn't work at all.
    
    After this change, the machine will change to use
    ALC269_FIXUP_HP_MUTE_LED_MIC1 through pin_fixup_tbl[], and the LED
    works well.
    
    BugLink: https://bugs.launchpad.net/bugs/1389497
    Tested-by: TieFu Chen <tienfu.chen@canonical.com>
    Cc: Kailang Yang <kailang@realtek.com>
    Cc: stable@vger.kernel.org
    Signed-off-by: Hui Wang <hui.wang@canonical.com>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    jason77-wang authored and tiwai committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    911f632 View commit details
    Browse the repository at this point in the history
  10. ARM: exynos_defconfig: Enable max77802 rtc and clock drivers

    Commit 6e80e3d ("ARM: exynos_defconfig: Enable MAX77802")
    enabled support for the max77802 regulators but the PMIC also
    has a Real-Time-Clock (RTC) and 2-channel 32kHz clock outputs.
    
    Enable the kernel config options to have the drivers for these
    devices built-in since they are present in many Exynos boards.
    
    Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
    Acked-by: Kevin Hilman <khilman@linaro.org>
    Tested-by: Kevin Hilman <khilman@linaro.org>
    Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
    Javier Martinez Canillas authored and kgene committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    0788148 View commit details
    Browse the repository at this point in the history
  11. ALSA: pcm: Add big-endian DSD sample formats and fix XMOS DSD sample …

    …format
    
    This patch fixes XMOS DSD sample format to DSD_U32_BE and also adds
    DSD_U16_BE and DSD_U32_BE sample formats.
    
    Signed-off-by: Jussi Laako <jussi@sonarnerd.net>
    Acked-by: Jurgen Kramer <gtmkramer@xs4all.nl>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    jlaako authored and tiwai committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    d42472e View commit details
    Browse the repository at this point in the history
  12. ARM: 8216/1: xscale: correct auxiliary register in suspend/resume

    According to the manuals I have, XScale auxiliary register should be
    reached with opc_2 = 1 instead of crn = 1. cpu_xscale_proc_init
    correctly uses c1, c0, 1 arguments, but cpu_xscale_do_suspend and
    cpu_xscale_do_resume use c1, c1, 0. Correct suspend/resume functions to
    also use c1, c0, 1.
    
    The issue was primarily noticed thanks to qemu reporing "unsupported
    instruction" on the pxa suspend path. Confirmed in PXA210/250 and PXA255
    XScale Core manuals and in PXA270 and PXA320 Developers Guides.
    
    Harware tested by me on tosa (pxa255). Robert confirmed on pxa270 board.
    
    Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
    Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
    Cc: stable@vger.kernel.org
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
    lumag authored and Russell King committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    ef59a20 View commit details
    Browse the repository at this point in the history
  13. Merge branch 'overlayfs-current' of git://git.kernel.org/pub/scm/linu…

    …x/kernel/git/mszeredi/vfs into for-linus
    
    "The biggest change is to rename the filesystem from "overlayfs" to "overlay".
    This will allow legacy overlayfs to be easily carried by distros alongside the
    new mainline one.  Also fix a couple of copy-up races and allow escaping comma
    character in filenames."
    
    The last bit is about commas in pathname mount options...
    Al Viro committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    3035b67 View commit details
    Browse the repository at this point in the history
  14. thermal: sti: Ignore suspend/resume functions when !PM_SLEEP

    Prevents build warning:
    
    st_thermal.c:278:12:
        warning: ‘st_thermal_suspend’ defined but not used [-Wunused-function]
    st_thermal.c:286:12:
        warning: ‘st_thermal_resume’ defined but not used [-Wunused-function]
    
    Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
    Lee Jones authored and Eduardo Valentin committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    e60a342 View commit details
    Browse the repository at this point in the history
  15. thermal: Exynos: Deletion of unnecessary checks before two function c…

    …alls
    
    The functions cpufreq_cooling_unregister() and thermal_zone_device_unregister()
    test whether their argument is NULL and then return immediately.
    Thus the test around the call is not needed.
    
    This issue was detected by using the Coccinelle software.
    
    Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
    Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
    elfring authored and Eduardo Valentin committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    d3e1956 View commit details
    Browse the repository at this point in the history
  16. net: Revert "net: avoid one atomic operation in skb_clone()"

    Not sure what I was thinking, but doing anything after
    releasing a refcount is suicidal or/and embarrassing.
    
    By the time we set skb->fclone to SKB_FCLONE_FREE, another cpu
    could have released last reference and freed whole skb.
    
    We potentially corrupt memory or trap if CONFIG_DEBUG_PAGEALLOC is set.
    
    Reported-by: Chris Mason <clm@fb.com>
    Fixes: ce1a4ea ("net: avoid one atomic operation in skb_clone()")
    Signed-off-by: Eric Dumazet <edumazet@google.com>
    Cc: Sabrina Dubroca <sd@queasysnail.net>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Eric Dumazet authored and davem330 committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    e7820e3 View commit details
    Browse the repository at this point in the history
  17. tcp: Restore RFC5961-compliant behavior for SYN packets

    Commit c3ae62a ("tcp: should drop incoming frames without ACK
    flag set") was created to mitigate a security vulnerability in which a
    local attacker is able to inject data into locally-opened sockets by
    using TCP protocol statistics in procfs to quickly find the correct
    sequence number.
    
    This broke the RFC5961 requirement to send a challenge ACK in response
    to spurious RST packets, which was subsequently fixed by commit
    7b514a8 ("tcp: accept RST without ACK flag").
    
    Unfortunately, the RFC5961 requirement that spurious SYN packets be
    handled in a similar manner remains broken.
    
    RFC5961 section 4 states that:
    
       ... the handling of the SYN in the synchronized state SHOULD be
       performed as follows:
    
       1) If the SYN bit is set, irrespective of the sequence number, TCP
          MUST send an ACK (also referred to as challenge ACK) to the remote
          peer:
    
          <SEQ=SND.NXT><ACK=RCV.NXT><CTL=ACK>
    
          After sending the acknowledgment, TCP MUST drop the unacceptable
          segment and stop processing further.
    
       By sending an ACK, the remote peer is challenged to confirm the loss
       of the previous connection and the request to start a new connection.
       A legitimate peer, after restart, would not have a TCB in the
       synchronized state.  Thus, when the ACK arrives, the peer should send
       a RST segment back with the sequence number derived from the ACK
       field that caused the RST.
    
       This RST will confirm that the remote peer has indeed closed the
       previous connection.  Upon receipt of a valid RST, the local TCP
       endpoint MUST terminate its connection.  The local TCP endpoint
       should then rely on SYN retransmission from the remote end to
       re-establish the connection.
    
    This patch lets SYN packets through the discard added in c3ae62a,
    so that spurious SYN packets are properly dealt with as per the RFC.
    
    The challenge ACK is sent unconditionally and is rate-limited, so the
    original vulnerability is not reintroduced by this patch.
    
    Signed-off-by: Calvin Owens <calvinowens@fb.com>
    Acked-by: Eric Dumazet <edumazet@google.com>
    Acked-by: Neal Cardwell <ncardwell@google.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    jcalvinowens authored and davem330 committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    0c228e8 View commit details
    Browse the repository at this point in the history
  18. Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/tip/tip
    
    Pull core fix from Ingo Molnar:
     "Fix GENMASK macro shift overflow"
    
    Nobody seems to currently use GENMASK() to fill every single last bit
    (which is what overflows) in-tree, and gcc would warn about it, so we
    have that going for us.  But apparently there are pending changes that
    want this.
    
    * 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      bitops: Fix shift overflow in GENMASK macros
    torvalds committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    a64bb02 View commit details
    Browse the repository at this point in the history
  19. Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/tip/tip
    
    Pull perf fixes from Ingo Molnar:
     "Misc fixes: two Intel uncore driver fixes, a CPU-hotplug fix and a
      build dependencies fix"
    
    * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      perf/x86/intel/uncore: Fix boot crash on SBOX PMU on Haswell-EP
      perf/x86/intel/uncore: Fix IRP uncore register offsets on Haswell EP
      perf: Fix corruption of sibling list with hotplug
      perf/x86: Fix embarrasing typo
    torvalds committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    13f5004 View commit details
    Browse the repository at this point in the history
  20. Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm…

    …/linux/kernel/git/tip/tip
    
    Pull scheduler fixes from Ingo Molnar:
     "Misc fixes: two NUMA fixes, two cputime fixes and an RCU/lockdep fix"
    
    * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      sched/cputime: Fix clock_nanosleep()/clock_gettime() inconsistency
      sched/cputime: Fix cpu_timer_sample_group() double accounting
      sched/numa: Avoid selecting oneself as swap target
      sched/numa: Fix out of bounds read in sched_init_numa()
      sched: Remove lockdep check in sched_move_task()
    torvalds committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    8b2ed21 View commit details
    Browse the repository at this point in the history
  21. Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/l…

    …inux/kernel/git/tip/tip
    
    Pull x86 fixes from Thomas Gleixner:
     "Misc fixes:
       - gold linker build fix
       - noxsave command line parsing fix
       - bugfix for NX setup
       - microcode resume path bug fix
       - _TIF_NOHZ versus TIF_NOHZ bugfix as discussed in the mysterious
         lockup thread"
    
    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86, syscall: Fix _TIF_NOHZ handling in syscall_trace_enter_phase1
      x86, kaslr: Handle Gold linker for finding bss/brk
      x86, mm: Set NX across entire PMD at boot
      x86, microcode: Update BSPs microcode on resume
      x86: Require exact match for 'noxsave' command line option
    torvalds committed Nov 21, 2014
    Configuration menu
    Copy the full SHA
    c6c9161 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2014

  1. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/mpe/linux
    
    Pull powerpc fix from Michael Ellerman:
     "One fix from Scott, he says:
    
      This patch fixes a crash (introduced in v3.18-rc1) in the FSL MSI driver
      when threaded IRQs are enabled"
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux:
      powerpc/fsl_msi: mark the msi cascade handler IRQF_NO_THREAD
    torvalds committed Nov 22, 2014
    Configuration menu
    Copy the full SHA
    4fc82c0 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upst…

    …ream-linus
    
    Pull MIPS fixes from Ralf Baechle:
     "More 3.18 fixes for MIPS:
    
       - backtraces were not quite working on on 64-bit kernels
       - loongson needs a different cache coherency setting
       - Loongson 3 is a MIPS64 R2 version but due to erratum we treat is an
         older architecture revision.
       - fix build errors due to undefined references to __node_distances
         for certain configurations.
       - fix instruction decodig in the jump label code.
       - for certain configurations copy_{from,to}_user destroy the content
         of $3 so that register needs to be marked as clobbed by the calling
         code.
       - Hardware Table Walker fixes.
       - fill the delay slot of the last instruction of memcpy otherwise
         whatever ends up there randomly might have undesirable effects.
       - ensure get_user/__get_user always zero the variable to be read even
         in case of an error"
    
    * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus:
      MIPS: jump_label.c: Handle the microMIPS J instruction encoding
      MIPS: jump_label.c: Correct the span of the J instruction
      MIPS: Zero variable read by get_user / __get_user in case of an error.
      MIPS: lib: memcpy: Restore NOP on delay slot before returning to caller
      MIPS: tlb-r4k: Add missing HTW stop/start sequences
      MIPS: asm: uaccess: Add v1 register to clobber list on EVA
      MIPS: oprofile: Fix backtrace on 64-bit kernel
      MIPS: Loongson: Set Loongson-3's ISA level to MIPS64R1
      MIPS: Loongson: Fix the write-combine CCA value setting
      MIPS: IP27: Fix __node_distances undefined error
      MIPS: Loongson3: Fix __node_distances undefined error
    torvalds committed Nov 22, 2014
    Configuration menu
    Copy the full SHA
    e6a588d View commit details
    Browse the repository at this point in the history
  3. Merge branch 'fixes' of git://git.infradead.org/users/vkoul/slave-dma

    Pull dmaengine fixes from Vinod Koul:
     "We have couple of fixes for dmaengine queued up:
       - dma mempcy fix for dma configuration of sun6i by Maxime
       - pl330 fixes: First the fixing allocation for data buffers by Liviu
         and then Jon's fixe for fifo width and usage"
    
    * 'fixes' of git://git.infradead.org/users/vkoul/slave-dma:
      dmaengine: Fix allocation size for PL330 data buffer depth.
      dmaengine: pl330: Limit MFIFO usage for memcpy to avoid exhausting entries
      dmaengine: pl330: Align DMA memcpy operations to MFIFO width
      dmaengine: sun6i: Fix memcpy operation
    torvalds committed Nov 22, 2014
    Configuration menu
    Copy the full SHA
    4ec69c7 View commit details
    Browse the repository at this point in the history
  4. Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending

    Pull SCSI target fixes from Nicholas Bellinger:
     "Here are the target-pending fixes queued for v3.18-rc6.
    
      The highlights include:
    
       - target-core OOPs fix with tcm_qla2xxx + vxworks FC initiators +
         zero length SCSI commands having a transfer direction set.  (Roland
         + Craig Watson)
    
       - vhost-scsi OOPs fix to explicitly prevent WWPN endpoint configfs
         group removal while qemu still has an active reference.  (Paolo +
         nab)
    
       - ib_srpt fix for RDMA hardware with lower srp_sq_size limits.
         (Bart)
    
       - two ib_isert work-arounds for running on ocrdma hardware (Or + Sagi
         + Chris)
    
       - iscsi-target discovery portal typo + SPC-3 PR Preempt SA key
         matching fix (Steve)"
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending:
      IB/isert: Adjust CQ size to HW limits
      target: return CONFLICT only when SA key unmatched
      iser-target: Handle DEVICE_REMOVAL event on network portal listener correctly
      ib_isert: Add max_send_sge=2 minimum for control PDU responses
      srp-target: Retry when QP creation fails with ENOMEM
      iscsi-target: return the correct port in SendTargets
      vhost-scsi: Take configfs group dependency during VHOST_SCSI_SET_ENDPOINT
      target: Don't call TFO->write_pending if data_length == 0
    torvalds committed Nov 22, 2014
    Configuration menu
    Copy the full SHA
    a46171d View commit details
    Browse the repository at this point in the history
  5. Merge tag 'pci-v3.18-fixes-3' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/helgaas/pci
    
    Pull PCI fixes from Bjorn Helgaas:
     "These are fixes for an issue with 64-bit PCI bus addresses on 32-bit
      PAE kernels, an APM X-Gene problem (it depended on a generic change we
      removed before merging), a fix for my hotplug device configuration
      changes, and a devicetree documentation update.
    
      Resource management:
        - Support 64-bit bridge windows if we have 64-bit dma_addr_t (Yinghai Lu)
    
      PCI device hotplug:
        - Apply _HPX Link Control settings to all devices with a link (Yinghai Lu)
    
      Generic host bridge driver:
        - Add DT binding for "linux,pci-domain" property (Lucas Stach)
    
      APM X-Gene:
        - Assign resources to bus before adding new devices (Duc Dang)"
    
    * tag 'pci-v3.18-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
      PCI: Support 64-bit bridge windows if we have 64-bit dma_addr_t
      PCI: Apply _HPX Link Control settings to all devices with a link
      PCI: Add missing DT binding for "linux,pci-domain" property
      PCI: xgene: Assign resources to bus before adding new devices
    torvalds committed Nov 22, 2014
    Configuration menu
    Copy the full SHA
    0868589 View commit details
    Browse the repository at this point in the history
  6. Merge tag 'devicetree-fixes-for-3.18' of git://git.kernel.org/pub/scm…

    …/linux/kernel/git/robh/linux
    
    Pull devicetree fixes from Rob Herring:
     "DeviceTree fixes for 3.18:
    
       - two fixes for OF selftest code
       - fix for PowerPC address parsing to disable work-around except on
         old PowerMACs
       - fix a crash when earlycon is enabled, but no device is found
       - DT documentation fixes and missing vendor prefixes
    
      All but the doc updates are also for stable"
    
    * tag 'devicetree-fixes-for-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
      of/selftest: Fix testing when /aliases is missing
      of/selftest: Fix off-by-one error in removal path
      documentation: pinctrl bindings: Fix trivial typo 'abitrary'
      devicetree: bindings: Add vendor prefix for Micron Technology, Inc.
      of: Add vendor prefix for Chips&Media, Inc.
      of/base: Fix PowerPC address parsing hack
      devicetree: vendor-prefixes.txt: fix whitespace
      of: Fix crash if an earlycon driver is not found
      of/irq: Drop obsolete 'interrupts' vs 'interrupts-extended' text
      of: Spelling s/stucture/structure/
      devicetree: bindings: add sandisk to the vendor prefixes
    torvalds committed Nov 22, 2014
    Configuration menu
    Copy the full SHA
    2e29a6d View commit details
    Browse the repository at this point in the history
  7. Merge tag 'pm+acpi-3.18-rc6' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/rafael/linux-pm
    
    Pull ACPI power management fix from Rafael Wysocki:
     "This is just a one-liner fixing a regression introduced in 3.13 that
      broke system suspend on some Chromebooks.
    
      On those machines there are ACPI device objects for some I2C devices
      that can wake up the system from sleep states, but that is done via a
      platform-specific mechanism and the ACPI objects don't contain any
      wakeup-related information.  When we started to use ACPI power
      management with those devices (which happened during the 3.13 cycle),
      their configuration confused the ACPI PM layer that returned error
      codes from suspend callbacks for them causing system suspend to fail.
    
      However, the ACPI PM layer can safely ignore the wakeup setting from a
      device driver if the ACPI object corresponding to the device in
      question doesn't contain wakeup information in which case the driver
      itself is responsible for setting up the device for system wakeup"
    
    * tag 'pm+acpi-3.18-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
      ACPI / PM: Ignore wakeup setting if the ACPI companion can't wake up
    torvalds committed Nov 22, 2014
    Configuration menu
    Copy the full SHA
    f100a74 View commit details
    Browse the repository at this point in the history
  8. Merge tag 'sound-3.18-rc6' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/tiwai/sound
    
    Pull sound fixes from Takashi Iwai:
     "This batch ended up as a relatively high volume due to pending ASoC
      fixes.  But most of fixes there are trivial and/or device- specific
      fixes and quirks, so safe to apply.  The only (ASoC) core fixes are
      the DPCM race fix and the machine-driver matching fix for
      componentization"
    
    * tag 'sound-3.18-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
      ALSA: hda - fix the mic mute led problem for Latitude E5550
      ALSA: hda - move DELL_WMI_MIC_MUTE_LED to the tail in the quirk chain
      ASoC: wm_adsp: Avoid attempt to free buffers that might still be in use
      ALSA: usb-audio: Set the Control Selector to SU_SELECTOR_CONTROL for UAC2
      ALSA: usb-audio: Add ctrl message delay quirk for Marantz/Denon devices
      ASoC: sgtl5000: Fix SMALL_POP bit definition
      ASoC: cs42l51: re-hook of_match_table pointer
      ASoC: rt5670: change dapm routes of PLL connection
      ASoC: rt5670: correct the incorrect default values
      ASoC: samsung: Add MODULE_DEVICE_TABLE for Snow
      ASoC: max98090: Correct pclk divisor settings
      ASoC: dpcm: Fix race between FE/BE updates and trigger
      ASoC: Fix snd_soc_find_dai() matching component by name
      ASoC: rsnd: remove unsupported PAUSE flag
      ASoC: fsi: remove unsupported PAUSE flag
      ASoC: rt5645: Mark RT5645_TDM_CTRL_3 as readable
      ASoC: rockchip-i2s: fix infinite loop in rockchip_snd_rxctrl
      ASoC: es8328-i2c: Fix i2c_device_id name field in es8328_id
      ASoC: fsl_asrc: Add reg_defaults for regmap to fix kernel dump
    torvalds committed Nov 22, 2014
    Configuration menu
    Copy the full SHA
    9a7e4f5 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux

    Pull drm fixes from Dave Airlie:
     "Just two radeon and two intel fixes: endian and regression fixes"
    
    * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
      drm/radeon: fix endian swapping in vbios fetch for tdp table
      drm/radeon: disable native backlight control on pre-r6xx asics (v2)
      drm/i915: Kick fbdev before vgacon
      drm/i915: drop WaSetupGtModeTdRowDispatch:snb
    torvalds committed Nov 22, 2014
    Configuration menu
    Copy the full SHA
    928352e View commit details
    Browse the repository at this point in the history
  10. Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net

    Pull networking fixes from David Miller:
    
     1) Fix BUG when decrypting empty packets in mac80211, from Ronald Wahl.
    
     2) nf_nat_range is not fully initialized and this is copied back to
        userspace, from Daniel Borkmann.
    
     3) Fix read past end of b uffer in netfilter ipset, also from Dan
        Carpenter.
    
     4) Signed integer overflow in ipv4 address mask creation helper
        inet_make_mask(), from Vincent BENAYOUN.
    
     5) VXLAN, be2net, mlx4_en, and qlcnic need ->ndo_gso_check() methods to
        properly describe the device's capabilities, from Joe Stringer.
    
     6) Fix memory leaks and checksum miscalculations in openvswitch, from
        Pravin B SHelar and Jesse Gross.
    
     7) FIB rules passes back ambiguous error code for unreachable routes,
        making behavior confusing for userspace.  Fix from Panu Matilainen.
    
     8) ieee802154fake_probe() doesn't release resources properly on error,
        from Alexey Khoroshilov.
    
     9) Fix skb_over_panic in add_grhead(), from Daniel Borkmann.
    
    10) Fix access of stale slave pointers in bonding code, from Nikolay
        Aleksandrov.
    
    11) Fix stack info leak in PPP pptp code, from Mathias Krause.
    
    12) Cure locking bug in IPX stack, from Jiri Bohac.
    
    13) Revert SKB fclone memory freeing optimization that is racey and can
        allow accesses to freed up memory, from Eric Dumazet.
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (71 commits)
      tcp: Restore RFC5961-compliant behavior for SYN packets
      net: Revert "net: avoid one atomic operation in skb_clone()"
      virtio-net: validate features during probe
      cxgb4 : Fix DCB priority groups being returned in wrong order
      ipx: fix locking regression in ipx_sendmsg and ipx_recvmsg
      openvswitch: Don't validate IPv6 label masks.
      pptp: fix stack info leak in pptp_getname()
      brcmfmac: don't include linux/unaligned/access_ok.h
      cxgb4i : Don't block unload/cxgb4 unload when remote closes TCP connection
      ipv6: delete protocol and unregister rtnetlink when cleanup
      net/mlx4_en: Add VXLAN ndo calls to the PF net device ops too
      bonding: fix curr_active_slave/carrier with loadbalance arp monitoring
      mac80211: minstrel_ht: fix a crash in rate sorting
      vxlan: Inline vxlan_gso_check().
      can: m_can: update to support CAN FD features
      can: m_can: fix incorrect error messages
      can: m_can: add missing delay after setting CCCR_INIT bit
      can: m_can: fix not set can_dlc for remote frame
      can: m_can: fix possible sleep in napi poll
      can: m_can: add missing message RAM initialization
      ...
    torvalds committed Nov 22, 2014
    Configuration menu
    Copy the full SHA
    8a84e01 View commit details
    Browse the repository at this point in the history
  11. Merge tag 'usb-serial-3.18-rc6' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/johan/usb-serial into usb-linus
    
    Johan writes:
    
    USB-serial fixes for v3.18-rc6
    
    Three fixes for bugs related to TTY error reporting, which can to lead
    to data being dropped by the line discipline.
    
    Included is also some new device ids for ftdi_sio and cp210x.
    
    Signed-off-by: Johan Hovold <johan@kernel.org>
    gregkh committed Nov 22, 2014
    Configuration menu
    Copy the full SHA
    da571b2 View commit details
    Browse the repository at this point in the history
  12. USB: uas: Add no-uas quirk for Hitachi usb-3 enclosures 4971:1012

    These disks have a broken uas implementation, the tag field of the status
    iu-s is not set properly, so we need to fall-back to usb-storage for these.
    
    Cc: stable@vger.kernel.org # 3.16
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    jwrdegoede authored and gregkh committed Nov 22, 2014
    Configuration menu
    Copy the full SHA
    8daee13 View commit details
    Browse the repository at this point in the history
  13. USB: xhci: don't start a halted endpoint before its new dequeue is set

    A halted endpoint ring must first be reset, then move the ring
    dequeue pointer past the problematic TRB. If we start the ring too
    early after reset, but before moving the dequeue pointer we
    will end up executing the same problematic TRB again.
    
    As we always issue a set transfer dequeue command after a reset
    endpoint command we can skip starting endpoint rings at reset endpoint
    command completion.
    
    Without this fix we end up trying to handle the same faulty TD for
    contol endpoints. causing timeout, and failing testusb ctrl_out write
    tests.
    
    Fixes: e9df17e (USB: xhci: Correct assumptions about number of rings per endpoint.)
    Cc: <stable@vger.kernel.org> #v2.6.35
    Tested-by: Felipe Balbi <balbi@ti.com>
    Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    matnyman authored and gregkh committed Nov 22, 2014
    Configuration menu
    Copy the full SHA
    c3492db View commit details
    Browse the repository at this point in the history
  14. Revert "xhci: clear root port wake on bits if controller isn't wake-u…

    …p capable"
    
    commit ff8cbf2 ("xhci: clear root port wake on bits if controller isn't")
    can cause device detection error if runtime PM is enabled, and S3 wake
    is disabled. Revert it.
    https://bugzilla.kernel.org/show_bug.cgi?id=85701
    
    This commit got into stable and should be reverted from there as well.
    
    Cc: stable <stable@vger.kernel.org> # v3.2+
    Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
    Reported-by: Dmitry Nezhevenko <dion@inhex.net>
    [Mathias Nyman: reword commit message]
    Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    LuBaolu authored and gregkh committed Nov 22, 2014
    Configuration menu
    Copy the full SHA
    9b41ebd View commit details
    Browse the repository at this point in the history
  15. USB: xhci: Reset a halted endpoint immediately when we encounter a st…

    …all.
    
    If a device is halted and reuturns a STALL, then the halted endpoint
    needs to be cleared both on the host and device side. The host
    side halt is cleared by issueing a xhci reset endpoint command. The device side
    is cleared with a ClearFeature(ENDPOINT_HALT) request, which should
    be issued by the device driver if a URB reruen -EPIPE.
    
    Previously we cleared the host side halt after the device side was cleared.
    To make sure the host side halt is cleared in time we want to issue the
    reset endpoint command immedialtely when a STALL status is encountered.
    
    Otherwise we end up not following the specs and not returning -EPIPE
    several times in a row when trying to transfer data to a halted endpoint.
    
    Fixes: bcef3fd (USB: xhci: Handle errors that cause endpoint halts.)
    Cc: <stable@vger.kernel.org> # v2.6.33+
    Tested-by: Felipe Balbi <balbi@ti.com>
    Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    matnyman authored and gregkh committed Nov 22, 2014
    Configuration menu
    Copy the full SHA
    8e71a32 View commit details
    Browse the repository at this point in the history
  16. usb: xhci: rework root port wake bits if controller isn't allowed to …

    …wakeup
    
    When system is being suspended, if host device is not allowed to do wakeup,
    xhci_suspend() needs to clear all root port wake on bits. Otherwise, some
    platforms may generate spurious wakeup, even if PCI PME# is disabled.
    
    The initial commit ff8cbf2 ("xhci: clear root port wake on bits"),
    which also got into stable, turned out to not work correctly and had to
    be reverted, and is now rewritten.
    
    Cc: stable <stable@vger.kernel.org> # v3.2+
    Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
    Suggested-by: Alan Stern <stern@rowland.harvard.edu>
    Acked-by: Alan Stern <stern@rowland.harvard.edu>
    [Mathias Nyman: reword commit message]
    Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    LuBaolu authored and gregkh committed Nov 22, 2014
    Configuration menu
    Copy the full SHA
    a1377e5 View commit details
    Browse the repository at this point in the history
  17. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/viro/vfs
    
    Pull vfs fixes from Al Viro:
     "Assorted fixes, most in overlayfs land"
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
      ovl: ovl_dir_fsync() cleanup
      ovl: update MAINTAINERS
      ovl: pass dentry into ovl_dir_read_merged()
      ovl: use lockless_dereference() for upperdentry
      ovl: allow filenames with comma
      ovl: fix race in private xattr checks
      ovl: fix remove/copy-up race
      ovl: rename filesystem type to "overlay"
      isofs: avoid unused function warning
      vfs: fix reference leak in d_prune_aliases()
    torvalds committed Nov 22, 2014
    Configuration menu
    Copy the full SHA
    ecde006 View commit details
    Browse the repository at this point in the history
  18. Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/sc…

    …m/linux/kernel/git/tip/tip
    
    Pull timer fix from Thomas Gleixner:
     "A single bugfix for an init order problem in the sun4i subarch
      clockevents code"
    
    * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      clockevent: sun4i: Fix race condition in the probe code
    torvalds committed Nov 22, 2014
    Configuration menu
    Copy the full SHA
    cb95413 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2014

  1. percpu-ref: fix DEAD flag contamination of percpu pointer

    While decoupling ATOMIC and DEAD flags, f47ad45 ("percpu_ref:
    decouple switching to percpu mode and reinit") updated
    __ref_is_percpu() so that it only tests ATOMIC flag to determine
    whether the ref is in percpu mode or not; however, while DEAD implies
    ATOMIC, the two flags are set separately during percpu_ref_kill() and
    if __ref_is_percpu() races percpu_ref_kill(), it may see DEAD w/o
    ATOMIC.  Because __ref_is_percpu() returns @ref->percpu_count_ptr
    value verbatim as the percpu pointer after testing ATOMIC, the pointer
    may now be contaminated with the DEAD flag.
    
    This can be fixed by clearing the flag bits before returning the
    pointer which was the fix proposed by Shaohua; however, as DEAD
    implies ATOMIC, we can just test for both flags at once and avoid the
    explicit masking.
    
    Update __ref_is_percpu() so that it tests that both ATOMIC and DEAD
    are clear before returning @ref->percpu_count_ptr as the percpu
    pointer.
    
    Signed-off-by: Tejun Heo <tj@kernel.org>
    Reported-and-Reviewed-by: Shaohua Li <shli@kernel.org>
    Link: http://lkml.kernel.org/r/995deb699f5b873c45d667df4add3b06f73c2c25.1416638887.git.shli@kernel.org
    Fixes: f47ad45 ("percpu_ref: decouple switching to percpu mode and reinit")
    htejun committed Nov 23, 2014
    Configuration menu
    Copy the full SHA
    4aab3b5 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/mason/linux-btrfs
    
    Pull btrfs deadlock fix from Chris Mason:
     "This has a fix for a long standing deadlock that we've been trying to
      nail down for a while.  It ended up being a bad interaction with the
      fair reader/writer locks and the order btrfs reacquires locks in the
      btree"
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs:
      btrfs: fix lockups from btrfs_clear_path_blocking
    torvalds committed Nov 23, 2014
    Configuration menu
    Copy the full SHA
    d038a63 View commit details
    Browse the repository at this point in the history
  3. ipv6: Do not treat a GSO_TCPV4 request from UDP tunnel over IPv6 as i…

    …nvalid
    
    This patch adds SKB_GSO_TCPV4 to the list of supported GSO types handled by
    the IPv6 GSO offloads.  Without this change VXLAN tunnels running over IPv6
    do not currently handle IPv4 TCP TSO requests correctly and end up handing
    the non-segmented frame off to the device.
    
    Below is the before and after for a simple netperf TCP_STREAM test between
    two endpoints tunneling IPv4 over a VXLAN tunnel running on IPv6 on top of
    a 1Gb/s network adapter.
    
    Recv   Send    Send
    Socket Socket  Message  Elapsed
    Size   Size    Size     Time     Throughput
    bytes  bytes   bytes    secs.    10^6bits/sec
    
     87380  16384  16384    10.29       0.88      Before
     87380  16384  16384    10.03     895.69      After
    
    Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Alexander Duyck authored and davem330 committed Nov 23, 2014
    Configuration menu
    Copy the full SHA
    b6fef4c View commit details
    Browse the repository at this point in the history
  4. ixgbe: Correctly disable VLAN filter in promiscuous mode

    IXGBE adapter seems to require that VLAN filtering be enabled if
    VMDQ or SRIOV are enabled.  When those functions are disabled,
    VLAN filtering may be disabled in promiscuous mode.
    
    Prior to commit a9b8943 ("ixgbe: remove vlan_filter_disable
    and enable functions")
    
    The logic was correct.  However, after the commit the logic
    got reversed and VLAN filtered in now turned on when VMDQ/SRIOV
    is disabled.
    
    This patch changes the condition to enable hw vlan filtered
    when VMDQ or SRIOV is enabled.
    
    Fixes: a9b8943 ("ixgbe: remove vlan_filter_disable and enable functions")
    Cc: stable <stable@vger.kernel.org>
    CC: Jacob Keller <jacob.e.keller@intel.com>
    Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com>
    Acked-by: Emil Tantilov <emil.s.tantilov@intel.com>
    Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
    Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    vyasevich authored and davem330 committed Nov 23, 2014
    Configuration menu
    Copy the full SHA
    4556dc5 View commit details
    Browse the repository at this point in the history
  5. ixgbe: fix use after free adapter->state test in ixgbe_remove/ixgbe_p…

    …robe
    
    While working on a different issue, I noticed an annoying use
    after free bug on my machine when unloading the ixgbe driver:
    
    [ 8642.318797] ixgbe 0000:02:00.1: removed PHC on p2p2
    [ 8642.742716] ixgbe 0000:02:00.1: complete
    [ 8642.743784] BUG: unable to handle kernel paging request at ffff8807d3740a90
    [ 8642.744828] IP: [<ffffffffa01c77dc>] ixgbe_remove+0xfc/0x1b0 [ixgbe]
    [ 8642.745886] PGD 20c6067 PUD 81c1f6067 PMD 81c15a067 PTE 80000007d3740060
    [ 8642.746956] Oops: 0002 [#1] SMP DEBUG_PAGEALLOC
    [ 8642.748039] Modules linked in: [...]
    [ 8642.752929] CPU: 1 PID: 1225 Comm: rmmod Not tainted 3.18.0-rc2+ #49
    [ 8642.754203] Hardware name: Supermicro X10SLM-F/X10SLM-F, BIOS 1.1b 11/01/2013
    [ 8642.755505] task: ffff8807e34d3fe0 ti: ffff8807b7204000 task.ti: ffff8807b7204000
    [ 8642.756831] RIP: 0010:[<ffffffffa01c77dc>]  [<ffffffffa01c77dc>] ixgbe_remove+0xfc/0x1b0 [ixgbe]
    [...]
    [ 8642.774335] Stack:
    [ 8642.775805]  ffff8807ee824098 ffff8807ee824098 ffffffffa01f3000 ffff8807ee824000
    [ 8642.777326]  ffff8807b7207e18 ffffffff8137720f ffff8807ee824098 ffff8807ee824098
    [ 8642.778848]  ffffffffa01f3068 ffff8807ee8240f8 ffff8807b7207e38 ffffffff8144180f
    [ 8642.780365] Call Trace:
    [ 8642.781869]  [<ffffffff8137720f>] pci_device_remove+0x3f/0xc0
    [ 8642.783395]  [<ffffffff8144180f>] __device_release_driver+0x7f/0xf0
    [ 8642.784876]  [<ffffffff814421f8>] driver_detach+0xb8/0xc0
    [ 8642.786352]  [<ffffffff814414a9>] bus_remove_driver+0x59/0xe0
    [ 8642.787783]  [<ffffffff814429d0>] driver_unregister+0x30/0x70
    [ 8642.789202]  [<ffffffff81375c65>] pci_unregister_driver+0x25/0xa0
    [ 8642.790657]  [<ffffffffa01eb38e>] ixgbe_exit_module+0x1c/0xc8e [ixgbe]
    [ 8642.792064]  [<ffffffff810f93a2>] SyS_delete_module+0x132/0x1c0
    [ 8642.793450]  [<ffffffff81012c61>] ? do_notify_resume+0x61/0xa0
    [ 8642.794837]  [<ffffffff816d2029>] system_call_fastpath+0x12/0x17
    
    The issue is that test_and_set_bit() done on adapter->state is being
    performed *after* the netdevice has been freed via free_netdev().
    
    When netdev is being allocated on initialization time, it allocates
    a private area, here struct ixgbe_adapter, that resides after the
    net_device structure. In ixgbe_probe(), the device init routine,
    we set up the adapter after alloc_etherdev_mq() on the private area
    and add a reference for the pci_dev as well via pci_set_drvdata().
    
    Both in the error path of ixgbe_probe(), but also on module unload
    when ixgbe_remove() is being called, commit 41c6284 ("ixgbe:
    Fix rcu warnings induced by LER") accesses adapter after free_netdev().
    The patch stores the result in a bool and thus fixes above oops on my
    side.
    
    Fixes: 41c6284 ("ixgbe: Fix rcu warnings induced by LER")
    Cc: stable <stable@vger.kernel.org>
    Cc: Mark Rustad <mark.d.rustad@intel.com>
    Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
    Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    borkmann authored and davem330 committed Nov 23, 2014
    Configuration menu
    Copy the full SHA
    b5b2ffc View commit details
    Browse the repository at this point in the history
  6. igb: Fixes needed for surprise removal support

    This patch adds some checks in order to prevent panic's on surprise
    removal of devices during S0, S3, S4.  Without this patch, Thunderbolt
    type device removal will panic the system.
    
    Signed-off-by: Yanir Lubetkin <yanirx.lubetkin@intel.com>
    Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
    Tested-by: Aaron Brown <aaron.f.brown@intel.com>
    Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    cwyborny authored and davem330 committed Nov 23, 2014
    Configuration menu
    Copy the full SHA
    17a402a View commit details
    Browse the repository at this point in the history
  7. solos-pci: fix error return code

    Return a negative error code on failure.
    
    A simplified version of the semantic match that finds this problem is as
    follows: (http://coccinelle.lip6.fr/)
    
    // <smpl>
    @@
    identifier ret; expression e1,e2;
    @@
    (
    if (\(ret < 0\|ret != 0\))
     { ... return ret; }
    |
    ret = 0
    )
    ... when != ret = e1
        when != &ret
    *if(...)
    {
      ... when != ret = e2
          when forall
     return ret;
    }
    // </smpl>
    
    Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    JuliaLawall authored and davem330 committed Nov 23, 2014
    Configuration menu
    Copy the full SHA
    73112f9 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'for-3.18-fixes' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/tj/percpu
    
    Pull percpu fix from Tejun Heo:
     "This contains one patch to fix a race condition which can lead to
      percpu_ref using a percpu pointer which is corrupted with a set DEAD
      bit.  The bug was introduced while separating out the ATOMIC mode flag
      from the DEAD flag.  The fix is pretty straight forward.
    
      I just committed the patch to the percpu tree but am sending out the
      pull request early as I'll be on vacation for a week.  The patch
      should be fairly safe and while the latency will be higher I'll be
      checking emails"
    
    * 'for-3.18-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu:
      percpu-ref: fix DEAD flag contamination of percpu pointer
    torvalds committed Nov 23, 2014
    Configuration menu
    Copy the full SHA
    9f2e0f6 View commit details
    Browse the repository at this point in the history
  9. Merge tag 'armsoc-for-rc6' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/arm/arm-soc
    
    Pull ARM SoC fixes from Olof Johansson:
     "A collection of fixes this week:
    
       - A set of clock fixes for shmobile platforms
       - A fix for tegra that moves serial port labels to be per board.
         We're choosing to merge this for 3.18 because the labels will start
         being parsed in 3.19, and without this change serial port numbers
         that used to be stable since the dawn of time will change numbers.
       - A few other DT tweaks for Tegra.
       - A fix for multi_v7_defconfig that makes it stop spewing cpufreq
         errors on Arndale (Exynos)"
    
    * tag 'armsoc-for-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
      ARM: multi_v7_defconfig: fix failure setting CPU voltage by enabling dependent I2C controller
      ARM: tegra: roth: Fix SD card VDD_IO regulator
      ARM: tegra: Remove eMMC vmmc property for roth/tn7
      ARM: dts: tegra: move serial aliases to per-board
      ARM: tegra: Add serial port labels to Tegra124 DT
      ARM: shmobile: kzm9g legacy: Set i2c clks_per_count to 2
      ARM: shmobile: r8a7740 dtsi: Correct IIC0 parent clock
      ARM: shmobile: r8a7790: Fix SD3CKCR address to device tree
      ARM: shmobile: r8a7740 legacy: Correct IIC0 parent clock
      ARM: shmobile: r8a7740 legacy: Add missing INTCA clock for irqpin module
      ARM: shmobile: r8a7790: Fix SD3CKCR address
      ARM: dts: sun6i: Re-parent ahb1_mux to pll6 as required by dma controller
    torvalds committed Nov 23, 2014
    Configuration menu
    Copy the full SHA
    2794631 View commit details
    Browse the repository at this point in the history
  10. iwlwifi: mvm: check TLV flag before trying to use hotspot firmware co…

    …mmands
    
    Older firmwares do not provide support for the HOT_SPOT_CMD command.
    Check for the appropriate TLV flag that declares hotspot support in
    the firmware to prevent a firmware assertion failure that can be
    triggered from the userspace,
    
    Cc: stable@vger.kernel.org [3.17+]
    Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
    Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
    lucacoelho authored and egrumbach committed Nov 23, 2014
    Configuration menu
    Copy the full SHA
    5ac6c72 View commit details
    Browse the repository at this point in the history
  11. x86_64, traps: Fix the espfix64 #DF fixup and rewrite it in C

    There's nothing special enough about the espfix64 double fault fixup to
    justify writing it in assembly.  Move it to C.
    
    This also fixes a bug: if the double fault came from an IST stack, the
    old asm code would return to a partially uninitialized stack frame.
    
    Fixes: 3891a04
    Signed-off-by: Andy Lutomirski <luto@amacapital.net>
    Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
    Cc: stable@vger.kernel.org
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    amluto authored and torvalds committed Nov 23, 2014
    Configuration menu
    Copy the full SHA
    af726f2 View commit details
    Browse the repository at this point in the history
  12. x86_64, traps: Stop using IST for #SS

    On a 32-bit kernel, this has no effect, since there are no IST stacks.
    
    On a 64-bit kernel, #SS can only happen in user code, on a failed iret
    to user space, a canonical violation on access via RSP or RBP, or a
    genuine stack segment violation in 32-bit kernel code.  The first two
    cases don't need IST, and the latter two cases are unlikely fatal bugs,
    and promoting them to double faults would be fine.
    
    This fixes a bug in which the espfix64 code mishandles a stack segment
    violation.
    
    This saves 4k of memory per CPU and a tiny bit of code.
    
    Signed-off-by: Andy Lutomirski <luto@amacapital.net>
    Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
    Cc: stable@vger.kernel.org
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    amluto authored and torvalds committed Nov 23, 2014
    Configuration menu
    Copy the full SHA
    6f442be View commit details
    Browse the repository at this point in the history
  13. x86_64, traps: Rework bad_iret

    It's possible for iretq to userspace to fail.  This can happen because
    of a bad CS, SS, or RIP.
    
    Historically, we've handled it by fixing up an exception from iretq to
    land at bad_iret, which pretends that the failed iret frame was really
    the hardware part of #GP(0) from userspace.  To make this work, there's
    an extra fixup to fudge the gs base into a usable state.
    
    This is suboptimal because it loses the original exception.  It's also
    buggy because there's no guarantee that we were on the kernel stack to
    begin with.  For example, if the failing iret happened on return from an
    NMI, then we'll end up executing general_protection on the NMI stack.
    This is bad for several reasons, the most immediate of which is that
    general_protection, as a non-paranoid idtentry, will try to deliver
    signals and/or schedule from the wrong stack.
    
    This patch throws out bad_iret entirely.  As a replacement, it augments
    the existing swapgs fudge into a full-blown iret fixup, mostly written
    in C.  It's should be clearer and more correct.
    
    Signed-off-by: Andy Lutomirski <luto@amacapital.net>
    Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
    Cc: stable@vger.kernel.org
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    amluto authored and torvalds committed Nov 23, 2014
    Configuration menu
    Copy the full SHA
    b645af2 View commit details
    Browse the repository at this point in the history
  14. Merge branch 'x86-traps' (trap handling from Andy Lutomirski)

    Merge x86-64 iret fixes from Andy Lutomirski:
     "This addresses the following issues:
    
       - an unrecoverable double-fault triggerable with modify_ldt.
       - invalid stack usage in espfix64 failed IRET recovery from IST
         context.
       - invalid stack usage in non-espfix64 failed IRET recovery from IST
         context.
    
      It also makes a good but IMO scary change: non-espfix64 failed IRET
      will now report the correct error.  Hopefully nothing depended on the
      old incorrect behavior, but maybe Wine will get confused in some
      obscure corner case"
    
    * emailed patches from Andy Lutomirski <luto@amacapital.net>:
      x86_64, traps: Rework bad_iret
      x86_64, traps: Stop using IST for #SS
      x86_64, traps: Fix the espfix64 #DF fixup and rewrite it in C
    torvalds committed Nov 23, 2014
    Configuration menu
    Copy the full SHA
    00c89b2 View commit details
    Browse the repository at this point in the history
  15. sched: Provide update_curr callbacks for stop/idle scheduling classes

    Chris bisected a NULL pointer deference in task_sched_runtime() to
    commit 6e99891 'sched/cputime: Fix clock_nanosleep()/clock_gettime()
    inconsistency'.
    
    Chris observed crashes in atop or other /proc walking programs when he
    started fork bombs on his machine.  He assumed that this is a new exit
    race, but that does not make any sense when looking at that commit.
    
    What's interesting is that, the commit provides update_curr callbacks
    for all scheduling classes except stop_task and idle_task.
    
    While nothing can ever hit that via the clock_nanosleep() and
    clock_gettime() interfaces, which have been the target of the commit in
    question, the author obviously forgot that there are other code paths
    which invoke task_sched_runtime()
    
    do_task_stat(()
     thread_group_cputime_adjusted()
       thread_group_cputime()
         task_cputime()
           task_sched_runtime()
            if (task_current(rq, p) && task_on_rq_queued(p)) {
              update_rq_clock(rq);
              up->sched_class->update_curr(rq);
            }
    
    If the stats are read for a stomp machine task, aka 'migration/N' and
    that task is current on its cpu, this will happily call the NULL pointer
    of stop_task->update_curr.  Ooops.
    
    Chris observation that this happens faster when he runs the fork bomb
    makes sense as the fork bomb will kick migration threads more often so
    the probability to hit the issue will increase.
    
    Add the missing update_curr callbacks to the scheduler classes stop_task
    and idle_task.  While idle tasks cannot be monitored via /proc we have
    other means to hit the idle case.
    
    Fixes: 6e99891 'sched/cputime: Fix clock_nanosleep()/clock_gettime() inconsistency'
    Reported-by: Chris Mason <clm@fb.com>
    Reported-and-tested-by: Borislav Petkov <bp@alien8.de>
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Stanislaw Gruszka <sgruszka@redhat.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    KAGA-KOKO authored and torvalds committed Nov 23, 2014
    Configuration menu
    Copy the full SHA
    90e362f View commit details
    Browse the repository at this point in the history
  16. uprobes, x86: Fix _TIF_UPROBE vs _TIF_NOTIFY_RESUME

    x86 call do_notify_resume on paranoid returns if TIF_UPROBE is set but
    not on non-paranoid returns.  I suspect that this is a mistake and that
    the code only works because int3 is paranoid.
    
    Setting _TIF_NOTIFY_RESUME in the uprobe code was probably a workaround
    for the x86 bug.  With that bug fixed, we can remove _TIF_NOTIFY_RESUME
    from the uprobes code.
    
    Reported-by: Oleg Nesterov <oleg@redhat.com>
    Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
    Acked-by: Borislav Petkov <bp@suse.de>
    Signed-off-by: Andy Lutomirski <luto@amacapital.net>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    amluto authored and torvalds committed Nov 23, 2014
    Configuration menu
    Copy the full SHA
    82975bc View commit details
    Browse the repository at this point in the history
  17. Linux 3.18-rc6

    torvalds committed Nov 23, 2014
    Configuration menu
    Copy the full SHA
    5d01410 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2014

  1. ip_tunnel: the lack of vti_link_ops' dellink() cause kernel panic

    Now the vti_link_ops do not point the .dellink, for fb tunnel device
    (ip_vti0), the net_device will be removed as the default .dellink is
    unregister_netdevice_queue,but the tunnel still in the tunnel list,
    then if we add a new vti tunnel, in ip_tunnel_find():
    
            hlist_for_each_entry_rcu(t, head, hash_node) {
                    if (local == t->parms.iph.saddr &&
                        remote == t->parms.iph.daddr &&
                        link == t->parms.link &&
    ==>                 type == t->dev->type &&
                        ip_tunnel_key_match(&t->parms, flags, key))
                            break;
            }
    
    the panic will happen, cause dev of ip_tunnel *t is null:
    [ 3835.072977] IP: [<ffffffffa04103fd>] ip_tunnel_find+0x9d/0xc0 [ip_tunnel]
    [ 3835.073008] PGD b2c21067 PUD b7277067 PMD 0
    [ 3835.073008] Oops: 0000 [#1] SMP
    .....
    [ 3835.073008] Stack:
    [ 3835.073008]  ffff8800b72d77f0 ffffffffa0411924 ffff8800bb956000 ffff8800b72d78e0
    [ 3835.073008]  ffff8800b72d78a0 0000000000000000 ffffffffa040d100 ffff8800b72d7858
    [ 3835.073008]  ffffffffa040b2e3 0000000000000000 0000000000000000 0000000000000000
    [ 3835.073008] Call Trace:
    [ 3835.073008]  [<ffffffffa0411924>] ip_tunnel_newlink+0x64/0x160 [ip_tunnel]
    [ 3835.073008]  [<ffffffffa040b2e3>] vti_newlink+0x43/0x70 [ip_vti]
    [ 3835.073008]  [<ffffffff8150d4da>] rtnl_newlink+0x4fa/0x5f0
    [ 3835.073008]  [<ffffffff812f68bb>] ? nla_strlcpy+0x5b/0x70
    [ 3835.073008]  [<ffffffff81508fb0>] ? rtnl_link_ops_get+0x40/0x60
    [ 3835.073008]  [<ffffffff8150d11f>] ? rtnl_newlink+0x13f/0x5f0
    [ 3835.073008]  [<ffffffff81509cf4>] rtnetlink_rcv_msg+0xa4/0x270
    [ 3835.073008]  [<ffffffff8126adf5>] ? sock_has_perm+0x75/0x90
    [ 3835.073008]  [<ffffffff81509c50>] ? rtnetlink_rcv+0x30/0x30
    [ 3835.073008]  [<ffffffff81529e39>] netlink_rcv_skb+0xa9/0xc0
    [ 3835.073008]  [<ffffffff81509c48>] rtnetlink_rcv+0x28/0x30
    ....
    
    modprobe ip_vti
    ip link del ip_vti0 type vti
    ip link add ip_vti0 type vti
    rmmod ip_vti
    
    do that one or more times, kernel will panic.
    
    fix it by assigning ip_tunnel_dellink to vti_link_ops' dellink, in
    which we skip the unregister of fb tunnel device. do the same on ip6_vti.
    
    Signed-off-by: Xin Long <lucien.xin@gmail.com>
    Signed-off-by: Cong Wang <cwang@twopensource.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    lxin authored and davem330 committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    20ea60c View commit details
    Browse the repository at this point in the history
  2. ALSA: hda - Limit 40bit DMA for AMD HDMI controllers

    AMD/ATI HDMI controller chip models, we already have a filter to lower
    to 32bit DMA, but the rest are supposed to be working with 64bit
    although the hardware doesn't really work with 63bit but only with 40
    or 48bit DMA.  In this patch, we take 40bit DMA for safety for the
    AMD/ATI controllers as the graphics drivers does.
    
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    CC: <stable@vger.kernel.org>
    tiwai authored and ozbenh committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    413cbf4 View commit details
    Browse the repository at this point in the history
  3. PCI/MSI: Add device flag indicating that 64-bit MSIs don't work

    This can be set by quirks/drivers to be used by the architecture code
    that assigns the MSI addresses.
    
    We additionally add verification in the core MSI code that the values
    assigned by the architecture do satisfy the limitation in order to fail
    gracefully if they don't (ie. the arch hasn't been updated to deal with
    that quirk yet).
    
    Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    CC: <stable@vger.kernel.org>
    Acked-by: Bjorn Helgaas <bhelgaas@google.com>
    ozbenh committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    f144d14 View commit details
    Browse the repository at this point in the history
  4. gpu/radeon: Set flag to indicate broken 64-bit MSI

    Some radeon ASICs don't support all 64 address bits of MSIs despite
    advertising support for 64-bit MSIs in their configuration space.
    
    This breaks on systems such as IBM POWER7/8, where 64-bit MSIs can
    be assigned with some of the high address bits set.
    
    This makes use of the newly introduced "no_64bit_msi" flag in structure
    pci_dev to allow the MSI allocation code to fallback to 32-bit MSIs
    on those adapters.
    
    Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
    CC: <stable@vger.kernel.org>
    ---
    
    Adding Alex's review tag. Patch to the driver is identical to the
    reviewed one, I dropped the arch/powerpc hunk rewrote the subject
    and cset comment.
    ozbenh committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    91ed6fd View commit details
    Browse the repository at this point in the history
  5. sound/radeon: Move 64-bit MSI quirk from arch to driver

    A number of radeon cards have a HW limitation causing them to be
    unable to generate the full 64-bit of address bits for MSIs. This
    breaks MSIs on some platforms such as POWER machines.
    
    We used to have a powerpc specific quirk to address that on a
    single card, but this doesn't scale very well, this is better
    put under control of the drivers who know precisely what a given
    HW revision can do.
    
    We now have a generic quirk in the PCI code. We should set it
    appropriately for all radeon's from the audio driver.
    
    Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Reviewed-by: Takashi Iwai <tiwai@suse.de>
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
    CC: <stable@vger.kernel.org>
    ozbenh committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    db79afa View commit details
    Browse the repository at this point in the history
  6. powerpc/powernv: Honor the generic "no_64bit_msi" flag

    Instead of the arch specific quirk which we are deprecating
    and that drivers don't understand.
    
    Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    CC: <stable@vger.kernel.org>
    ozbenh committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    3607438 View commit details
    Browse the repository at this point in the history
  7. powerpc/pseries: Honor the generic "no_64bit_msi" flag

    Instead of the arch specific quirk which we are deprecating
    
    Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    CC: <stable@vger.kernel.org>
    ozbenh committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    415072a View commit details
    Browse the repository at this point in the history
  8. powerpc/pci: Remove unused force_32bit_msi quirk

    This is now fully replaced with the generic "no_64bit_msi" one
    that is set by the respective drivers directly.
    
    Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    ozbenh committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    31345e1 View commit details
    Browse the repository at this point in the history
  9. MIPS: Fix a copy & paste error in unistd.h

    Commit 5df4c8d (MIPS: Wire up bpf syscall.) break the N32 build
    because of a copy & paste error.
    
    Signed-off-by: Huacai Chen <chenhc@lemote.com>
    Cc: John Crispin <john@phrozen.org>
    Cc: Steven J. Hill <Steven.Hill@imgtec.com>
    Cc: linux-mips@linux-mips.org
    Cc: Fuxin Zhang <zhangfx@lemote.com>
    Cc: Zhangjin Wu <wuzhangjin@gmail.com>
    Patchwork: https://patchwork.linux-mips.org/patch/8390/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    chenhuacai authored and ralfbaechle committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    b61a393 View commit details
    Browse the repository at this point in the history
  10. MIPS: SEAD3: Fix LED device registration.

    This isn't a module and shouldn't be one.
    
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Cc: Markos Chandras <markos.chandras@imgtec.com>
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/8202/
    ralfbaechle committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    a54b8b0 View commit details
    Browse the repository at this point in the history
  11. MIPS: rtlx: Remove KERN_DEBUG from pr_debug() arguments in rtlx.c

    Signed-off-by: Masanari Iida <standby24x7@gmail.com>
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/7938/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    standby24x7 authored and ralfbaechle committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    3dc4bf3 View commit details
    Browse the repository at this point in the history
  12. MIPS: Fix info about plat_setup in arch_mem_init comment

    Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/7607/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    rmilecki authored and ralfbaechle committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    7f0dd76 View commit details
    Browse the repository at this point in the history
  13. MIPS: r4kcache: Add EVA case for protected_writeback_dcache_line

    Commit de8974e ("MIPS: asm: r4kcache: Add EVA cache flushing
    functions") added cache function for EVA using the cachee instruction.
    However, it didn't add a case for the protected_writeback_dcache_line.
    mips_dsemul() calls r4k_flush_cache_sigtramp() which in turn uses
    the protected_writeback_dcache_line() to flush the trampoline code
    back to memory. This used the wrong "cache" instruction leading to
    random userland crashes on non-FPU cores.
    
    Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
    Cc: <stable@vger.kernel.org> # v3.15+
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/8331/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Markos Chandras authored and ralfbaechle committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    83fd434 View commit details
    Browse the repository at this point in the history
  14. MIPS: uaccess.h: Fix strnlen_user comment.

    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    ralfbaechle committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    14aa136 View commit details
    Browse the repository at this point in the history
  15. MIPS: BMIPS: Fix ".previous without corresponding .section" warnings

    Commit 078a55f ("Delete __cpuinit/__CPUINIT usage from MIPS code")
    removed our __CPUINIT directives, so now the ".previous" directives
    are superfluous.  Remove them.
    
    Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
    Cc: f.fainelli@gmail.com
    Cc: mbizon@freebox.fr
    Cc: jogo@openwrt.org
    Cc: jfraser@broadcom.com
    Cc: linux-mips@linux-mips.org
    Cc: devicetree@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/8156/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    cernekee authored and ralfbaechle committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    4ec8f9e View commit details
    Browse the repository at this point in the history
  16. MIPS: cpu-probe: Set the FTLB probability bit on supported cores

    Make use of the Config6/FLTBP bit to set the probability of a TLBWR
    instruction to hit the FTLB or the VTLB. A value of 0 (which may be
    the default value on certain cores, such as proAptiv or P5600)
    means that a TLBWR instruction will never hit the VTLB which
    leads to performance limitations since it effectively decreases
    the number of available TLB slots.
    
    Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
    Reviewed-by: James Hogan <james.hogan@imgtec.com>
    Cc: <stable@vger.kernel.org> # v3.15+
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/8368/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Markos Chandras authored and ralfbaechle committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    cf0a8aa View commit details
    Browse the repository at this point in the history
  17. MIPS: fix EVA & non-SMP non-FPU FP context signal handling

    The save_fp_context & restore_fp_context pointers were being assigned
    to the wrong variables if either:
    
      - The kernel is configured for UP & runs on a system without an FPU,
        since b2ead52 "MIPS: Move & rename
        fpu_emulator_{save,restore}_context".
    
      - The kernel is configured for EVA, since ca75064 "MIPS: kernel:
        signal: Prevent save/restore FPU context in user memory".
    
    This would lead to FP context being clobbered incorrectly when setting
    up a sigcontext, then the garbage values being saved uselessly when
    returning from the signal.
    
    Fix by swapping the pointer assignments appropriately.
    
    Signed-off-by: Paul Burton <paul.burton@imgtec.com>
    Cc: stable@vger.kernel.org # v3.15+
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/8230/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    paulburton authored and ralfbaechle committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    14fa12d View commit details
    Browse the repository at this point in the history
  18. MIPS: Loongson: Make platform serial setup always built-in.

    If SERIAL_8250 is compiled as a module, the platform specific setup
    for Loongson will be a module too, and it will not work very well.
    At least on Loongson 3 it will trigger a build failure,
    since loongson_sysconf is not exported to modules.
    
    Fix by making the platform specific serial code always built-in.
    
    Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
    Reported-by: Ralf Baechle <ralf@linux-mips.org>
    Cc: stable@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Cc: Huacai Chen <chenhc@lemote.com>
    Cc: Markos Chandras <Markos.Chandras@imgtec.com>
    Patchwork: https://patchwork.linux-mips.org/patch/8533/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    aakoskin authored and ralfbaechle committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    26927f7 View commit details
    Browse the repository at this point in the history
  19. MIPS: Netlogic: handle modular USB case

    Commit 1004165 ("MIPS: Netlogic: USB support for XLP") and then
    commit 9eac359 ("MIPS: Netlogic: Add support for USB on XLP2xx")
    added usb-init and usb-init-xlp2 as objects to build when CONFIG_USB is
    enabled.
    
    If CONFIG_USB is made modular, these two files will also get built as
    modules (obj-m), which will result in the following linking failure:
    
    ERROR: "nlm_io_base" [arch/mips/netlogic/xlp/usb-init.ko] undefined!
    ERROR: "nlm_nodes" [arch/mips/netlogic/xlp/usb-init-xlp2.ko] undefined!
    ERROR: "nlm_set_pic_extra_ack" [arch/mips/netlogic/xlp/usb-init-xlp2.ko]
    undefined!
    ERROR: "xlp_socdev_to_node" [arch/mips/netlogic/xlp/usb-init-xlp2.ko]
    undefined!
    ERROR: "nlm_io_base" [arch/mips/netlogic/xlp/usb-init-xlp2.ko]
    undefined!
    
    Just check whether CONFIG_USB is defined for this build, and if that is
    the case, add these objects to the list of built-in object files.
    
    Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
    Cc: linux-mips@linux-mips.org
    Cc: ganesanr@broadcom.com
    Cc: jchandra@broadcom.com
    Patchwork: https://patchwork.linux-mips.org/patch/7854/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    ffainelli authored and ralfbaechle committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    717ce64 View commit details
    Browse the repository at this point in the history
  20. MIPS: Netlogic: handle modular AHCI builds

    Commits a951440 ("MIPS: Netlogic: Support for XLP3XX on-chip SATA")
    and fedfcb1 ("MIPS: Netlogic: XLP9XX on-chip SATA support") added
    ahci-init and ahci-init-xlp2 as objects to build when CONFIG_SATA_AHCI
    is enabled.
    
    If CONFIG_SATA_AHCI is made modular, these two files will also get built
    as modules (obj-m), which will result in the following linking failure:
    
    ERROR: "nlm_set_pic_extra_ack" [arch/mips/netlogic/xlp/ahci-init.ko]
    undefined!
    ERROR: "nlm_io_base" [arch/mips/netlogic/xlp/ahci-init.ko] undefined!
    ERROR: "nlm_nodes" [arch/mips/netlogic/xlp/ahci-init-xlp2.ko] undefined!
    ERROR: "nlm_set_pic_extra_ack"
    [arch/mips/netlogic/xlp/ahci-init-xlp2.ko] undefined!
    ERROR: "xlp_socdev_to_node" [arch/mips/netlogic/xlp/ahci-init-xlp2.ko]
    undefined!
    ERROR: "nlm_io_base" [arch/mips/netlogic/xlp/ahci-init-xlp2.ko]
    undefined!
    
    Just check whether CONFIG_SATA_AHCI is defined for this build, and if
    that is the case, add these objects to the list of built-in object
    files.
    
    Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
    Cc: linux-mips@linux-mips.org
    Cc: ganesanr@broadcom.com
    Cc: jchandra@broadcom.com
    Patchwork: https://patchwork.linux-mips.org/patch/7855/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    ffainelli authored and ralfbaechle committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    3964917 View commit details
    Browse the repository at this point in the history
  21. MIPS: kernel: cps-vec: Set ISA level to mips32r2 for the MIPS MT ASE

    Fixes the following build warnings:
    arch/mips/kernel/cps-vec.S: Assembler messages:
    arch/mips/kernel/cps-vec.S:228: Warning: the `mt' extension requires
    MIPS32 revision 2 or greater
    [...]
    arch/mips/kernel/cps-vec.S: Assembler messages:
    arch/mips/kernel/cps-vec.S:345: Warning: the `mt' extension requires
    MIPS32 revision 2 or greater
    
    Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
    Cc: Paul Burton <Paul.Burton@imgtec.com>
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/7355/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Markos Chandras authored and ralfbaechle committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    76cff82 View commit details
    Browse the repository at this point in the history
  22. MIPS: Kconfig: Don't allow both microMIPS and SmartMIPS to be selected.

    microMIPS and SmartMIPS can't be used together. This fixes the
    following build problem:
    
    Warning: the 32-bit microMIPS architecture does not support the `smartmips' extension
    arch/mips/kernel/entry.S:90: Error: unrecognized opcode `mtlhx $24'
    [...]
    arch/mips/kernel/entry.S:109: Error: unrecognized opcode `mtlhx $24'
    
    Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/7421/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Markos Chandras authored and ralfbaechle committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    9e2b537 View commit details
    Browse the repository at this point in the history
  23. MIPS: Fix address type used for early memory detection.

    In 'early_parse_mem' the data type used for the start
    and size of a memory region specified on the command line
    is incorrect. If 64-bit addressing is used, the value
    gets truncated.
    
    Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/8456/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Steven J. Hill authored and ralfbaechle committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    b4da18b View commit details
    Browse the repository at this point in the history
  24. Merge tag 'iwlwifi-for-john-2014-11-23' of git://git.kernel.org/pub/s…

    …cm/linux/kernel/git/iwlwifi/iwlwifi-fixes
    
    Emmanuel Grumbach <egrumbach@gmail.com> says:
    
    "Not all the firmware know how to handle the HOT_SPOT_CMD.
    Make sure that the firmware will know this command before
    sending it. This avoids a firmware crash."
    
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
    linvjw committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    90d8879 View commit details
    Browse the repository at this point in the history
  25. ipv6: gre: fix wrong skb->protocol in WCCP

    When using GRE redirection in WCCP, it sets the wrong skb->protocol,
    that is, ETH_P_IP instead of ETH_P_IPV6 for the encapuslated traffic.
    
    Fixes: c12b395 ("gre: Support GRE over IPv6")
    Cc: Dmitry Kozlov <xeb@mail.ru>
    Signed-off-by: Yuri Chislov <yuri.chislov@gmail.com>
    Tested-by: Yuri Chislov <yuri.chislov@gmail.com>
    Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Yuri Chislov authored and davem330 committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    be6572f View commit details
    Browse the repository at this point in the history
  26. xen-netback: do not report success if backend_create_xenvif() fails

    If xenvif_alloc() or xenbus_scanf() fail in backend_create_xenvif(),
    xenbus is left in offline mode but netback_probe() reports success.
    
    The patch implements propagation of error code for backend_create_xenvif().
    
    Found by Linux Driver Verification project (linuxtesting.org).
    
    Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
    Acked-by: Wei Liu <wei.liu2@citrix.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    khoroshilov authored and davem330 committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    2dd3433 View commit details
    Browse the repository at this point in the history
  27. af_packet: fix sparse warning

    af_packet produces lots of these:
    	net/packet/af_packet.c:384:39: warning: incorrect type in return expression (different modifiers)
    	net/packet/af_packet.c:384:39:    expected struct page [pure] *
    	net/packet/af_packet.c:384:39:    got struct page *
    
    this seems to be because sparse does not realize that _pure
    refers to function, not the returned pointer.
    
    Tweak code slightly to avoid the warning.
    
    Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    mstsirkin authored and davem330 committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    6e58040 View commit details
    Browse the repository at this point in the history
  28. net/ping: handle protocol mismatching scenario

    ping_lookup() may return a wrong sock if sk_buff's and sock's protocols
    dont' match. For example, sk_buff's protocol is ETH_P_IPV6, but sock's
    sk_family is AF_INET, in that case, if sk->sk_bound_dev_if is zero, a wrong
    sock will be returned.
    the fix is to "continue" the searching, if no matching, return NULL.
    
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
    Cc: James Morris <jmorris@namei.org>
    Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
    Cc: Patrick McHardy <kaber@trash.net>
    Cc: netdev@vger.kernel.org
    Cc: stable@vger.kernel.org
    Signed-off-by: Jane Zhou <a17711@motorola.com>
    Signed-off-by: Yiwei Zhao <gbjc64@motorola.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Jane Zhou authored and davem330 committed Nov 24, 2014
    Configuration menu
    Copy the full SHA
    91a0b60 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2014

  1. usb-quirks: Add reset-resume quirk for MS Wireless Laser Mouse 6000

    This wireless mouse receiver needs a reset-resume quirk to properly come
    out of reset.
    
    BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1165206
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Cc: stable <stable@vger.kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    jwrdegoede authored and gregkh committed Nov 25, 2014
    Configuration menu
    Copy the full SHA
    263e80b View commit details
    Browse the repository at this point in the history
  2. Input: elantech - trust firmware about trackpoint presence

    Only try to parse data as coming from trackpoint if firmware told us that
    trackpoint is present.
    
    Fixes commit caeb0d3
    
    Reported-and-tested-by: Marcus Overhagen <marcus.overhagen@gmail.com>
    Reported-and-tested-by: Anders Kaseorg <andersk@mit.edu>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    dtor committed Nov 25, 2014
    Configuration menu
    Copy the full SHA
    d0ab547 View commit details
    Browse the repository at this point in the history
  3. Input: xpad - use proper endpoint type

    The xpad wireless endpoint is not a bulk endpoint on my devices, but
    rather an interrupt one, so the USB core complains when it is submitted.
    I'm guessing that the author really did mean that this should be an
    interrupt urb, but as there are a zillion different xpad devices out
    there, let's cover out bases and handle both bulk and interrupt
    endpoints just as easily.
    
    Signed-off-by: "Pierre-Loup A. Griffais" <pgriffais@valvesoftware.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: stable <stable@vger.kernel.org>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    gregkh authored and dtor committed Nov 25, 2014
    Configuration menu
    Copy the full SHA
    a1f9a40 View commit details
    Browse the repository at this point in the history
  4. net-timestamp: Fix a documentation typo

    SOF_TIMESTAMPING_OPT_ID puts the id in ee_data, not ee_info.
    
    Cc: Willem de Bruijn <willemb@google.com>
    Signed-off-by: Andy Lutomirski <luto@amacapital.net>
    Acked-by: Willem de Bruijn <willemb@google.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    amluto authored and davem330 committed Nov 25, 2014
    Configuration menu
    Copy the full SHA
    138a7f4 View commit details
    Browse the repository at this point in the history
  5. ip6_udp_tunnel: Fix checksum calculation

    The UDP checksum calculation for VXLAN tunnels is currently using the
    socket addresses instead of the actual packet source and destination
    addresses.  As a result the checksum calculated is incorrect in some
    cases.
    
    Also uh->check was being set twice, first it was set to 0, and then it is
    set again in udp6_set_csum.  This change removes the redundant assignment
    to 0.
    
    Fixes: acbf74a ("vxlan: Refactor vxlan driver to make use of the common UDP tunnel functions.")
    
    Cc: Andy Zhou <azhou@nicira.com>
    Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Alexander Duyck authored and davem330 committed Nov 25, 2014
    Configuration menu
    Copy the full SHA
    f375081 View commit details
    Browse the repository at this point in the history
  6. vxlan: Fix boolean flip in VXLAN_F_UDP_ZERO_CSUM6_[TX|RX]

    In "vxlan: Call udp_sock_create" there was a logic error that resulted in
    the default for IPv6 VXLAN tunnels going from using checksums to not using
    checksums.  Since there is currently no support in iproute2 for setting
    these values it means that a kernel after the change cannot talk over a IPv6
    VXLAN tunnel to a kernel prior the change.
    
    Fixes: 3ee64f3 ("vxlan: Call udp_sock_create")
    
    Cc: Tom Herbert <therbert@google.com>
    Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
    Acked-by: Tom Herbert <therbert@google.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Alexander Duyck authored and davem330 committed Nov 25, 2014
    Configuration menu
    Copy the full SHA
    3dc2b6a View commit details
    Browse the repository at this point in the history
  7. Merge branch 'ipv6_vxlan_outer_udp_csum'

    Alexander Duyck says:
    
    ====================
    Fix outer UDP checksums for IPv6 VXLAN tunnels
    
    In testing against an older kernel I found a couple issues in the IPv6
    VXLAN tunnel checksum logic for the outer UDP checksum.
    
    First the default transitioned from using an outer checksum to not using
    one.  Second, sometime after that the checksum inputs were changed
    resulting the checksum not being correct if it were computed.
    
    These two issues prevented a ping from the newer kernel to the older one.
    With these two changes applied I verified I was able to send traffic over
    the VXLAN tunnel to a link partner on an older kernel.
    
    The boolean flip fix can be submitted for 3.17 stable as well since the
    patch that introduced the issue was included in that kernel.
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Nov 25, 2014
    Configuration menu
    Copy the full SHA
    814f7d1 View commit details
    Browse the repository at this point in the history
  8. Revert "netfilter: conntrack: fix race in __nf_conntrack_confirm agai…

    …nst get_next_corpse"
    
    This reverts commit 5195c14.
    
    If the conntrack clashes with an existing one, it is left out of
    the unconfirmed list, thus, crashing when dropping the packet and
    releasing the conntrack since golden rule is that conntracks are
    always placed in any of the existing lists for traceability reasons.
    
    Reported-by: Daniel Borkmann <dborkman@redhat.com>
    Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=88841
    Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    ummakynes authored and davem330 committed Nov 25, 2014
    Configuration menu
    Copy the full SHA
    43612d7 View commit details
    Browse the repository at this point in the history
  9. rtlwifi: rtl8821ae: Fix 5G detection problem

    The changes associated with moving this driver from staging to the regular
    tree missed one section setting the allowable rates for the 5GHz band.
    
    This patch is needed to fix the regression reported in Bug #88811
    (https://bugzilla.kernel.org/show_bug.cgi?id=88811).
    
    Reported-by: Valerio Passini <valerio.passini@unicam.it>
    Tested-by: Valerio Passini <valerio.passini@unicam.it>
    Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
    Cc: Valerio Passini <valerio.passini@unicam.it>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
    lwfinger authored and linvjw committed Nov 25, 2014
    Configuration menu
    Copy the full SHA
    a91ed19 View commit details
    Browse the repository at this point in the history
  10. rtlwifi: Change order in device startup

    The existing order of steps when starting the PCI devices works for
    2.4G devices, but fails to initialize the 5G section of the RTL8821AE
    hardware.
    
    This patch is needed to fix the regression reported in Bug #88811
    (https://bugzilla.kernel.org/show_bug.cgi?id=88811).
    
    Reported-by: Valerio Passini <valerio.passini@unicam.it>
    Tested-by: Valerio Passini <valerio.passini@unicam.it>
    Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
    Cc: Valerio Passini <valerio.passini@unicam.it>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
    lwfinger authored and linvjw committed Nov 25, 2014
    Configuration menu
    Copy the full SHA
    7d63a5f View commit details
    Browse the repository at this point in the history
  11. tcp: fix possible NULL dereference in tcp_vX_send_reset()

    After commit ca777ef ("tcp: remove dst refcount false sharing for
    prequeue mode") we have to relax check against skb dst in
    tcp_v[46]_send_reset() if prequeue dropped the dst.
    
    If a socket is provided, a full lookup was done to find this socket,
    so the dst test can be skipped.
    
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=88191
    Reported-by: Jaša Bartelj <jasa.bartelj@gmail.com>
    Signed-off-by: Eric Dumazet <edumazet@google.com>
    Reported-by: Daniel Borkmann <dborkman@redhat.com>
    Fixes: ca777ef ("tcp: remove dst refcount false sharing for prequeue mode")
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Eric Dumazet authored and davem330 committed Nov 25, 2014
    Configuration menu
    Copy the full SHA
    c3658e8 View commit details
    Browse the repository at this point in the history
  12. tg3: fix ring init when there are more TX than RX channels

    If TX channels are set to 4 and RX channels are set to less than 4,
    using ethtool -L, the driver will try to initialize more RX channels
    than it has allocated, causing an oops.
    
    This fix only initializes the RX ring if it has been allocated.
    
    Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Thadeu Lima de Souza Cascardo authored and davem330 committed Nov 25, 2014
    Configuration menu
    Copy the full SHA
    a620a6b View commit details
    Browse the repository at this point in the history
  13. Revert "serial: of-serial: add PM suspend/resume support"

    This reverts commit 2dea53b.
    
    Turns out to be broken :(
    
    Cc: Jingchang Lu <jingchang.lu@freescale.com>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    gregkh committed Nov 25, 2014
    Configuration menu
    Copy the full SHA
    a5e9ab2 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2014

  1. Merge tag 'clk-fixes-for-linus' of https://git.linaro.org/people/mike…

    ….turquette/linux
    
    Pull clock fixes from Mike Turquette:
     "The fixes for the clock framework are all regressions in drivers, plus
      a single fix in one of the basic clock templates.  No fixes to the
      core this time around.
    
      As with most clock driver fixes these run the gamut from fixing a
      build warning to fixing wrecked memory timings, with a little USB
      tossed in for fun"
    
    * tag 'clk-fixes-for-linus' of https://git.linaro.org/people/mike.turquette/linux:
      clk: pxa: fix pxa27x CCCR bit usage
      clk-divider: Fix READ_ONLY when divider > 1
      clk: qcom: Fix duplicate rbcpr clock name
      clk: at91: usb: fix at91sam9x5 recalc, round and set rate
      clk: at91: usb: fix at91rm9200 round and set rate
    torvalds committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    a7e9092 View commit details
    Browse the repository at this point in the history
  2. Merge tag 'hwmon-for-linus-v3.18-rc7' of git://git.kernel.org/pub/scm…

    …/linux/kernel/git/groeck/linux-staging
    
    Pull a hwmon fix from Guenter Roeck:
     "Fix hwmon registration problem in g762 driver"
    
    * tag 'hwmon-for-linus-v3.18-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
      hwmon: (g762) fix call to devm_hwmon_device_register_with_groups()
    torvalds committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    a6e4a05 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git…

    …/benh/powerpc
    
    Pull powerpc fixes from Ben Herrenschmidt:
     "This series fix a nasty issue with radeon adapters on powerpc servers,
      it's all CC'ed stable and has the relevant maintainers ack's/reviews.
    
      Basically, some (radeon) adapters have issues with MSI addresses above
      1T (only support 40-bits).  We had powerpc specific quirk but it only
      listed a specific revision of an adapter that we shipped with our
      machines and didn't properly handle the audio function which some
      distros enable nowadays.
    
      So we made the quirk generic and fixed both the graphic and audio
      drivers properly to use it.
    
      Without that, ppc64 server machines will crash at boot with a radeon
      adapter.
    
      Note: This has been brewing for a while, it just needed a last respin
      which got delayed due to us moving ozlabs to a new location in town
      and other such things taking priority"
    
    * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
      powerpc/pci: Remove unused force_32bit_msi quirk
      powerpc/pseries: Honor the generic "no_64bit_msi" flag
      powerpc/powernv: Honor the generic "no_64bit_msi" flag
      sound/radeon: Move 64-bit MSI quirk from arch to driver
      gpu/radeon: Set flag to indicate broken 64-bit MSI
      PCI/MSI: Add device flag indicating that 64-bit MSIs don't work
      ALSA: hda - Limit 40bit DMA for AMD HDMI controllers
    torvalds committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    d1ca000 View commit details
    Browse the repository at this point in the history
  4. Merge git://git.kvack.org/~bcrl/aio-fixes

    Pull aio fix from Ben LaHaise:
     "Dirty page accounting fix for aio"
    
    * git://git.kvack.org/~bcrl/aio-fixes:
      aio: fix uncorrent dirty pages accouting when truncating AIO ring buffer
    torvalds committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    277f850 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'for-3.18' of git://linux-nfs.org/~bfields/linux

    Pull nfsd bugfixes from Bruce Fields:
     "These fix one mishandling of the case when security labels are
      configured out, and two races in the 4.1 backchannel code"
    
    * 'for-3.18' of git://linux-nfs.org/~bfields/linux:
      nfsd: Fix slot wake up race in the nfsv4.1 callback code
      SUNRPC: Fix locking around callback channel reply receive
      nfsd: correctly define v4.2 support attributes
    torvalds committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    b914c5b View commit details
    Browse the repository at this point in the history
  6. irqchip: bcm7120-l2: Fix error handling of irq_of_parse_and_map

    Return value of irq_of_parse_and_map() is unsigned int, with 0
    indicating failure, so testing for negative result never works.
    
    Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
    Acked-by: Florian Fainelli <f.fainelli@gmail.com>
    Tested-by: Kevin Cernekee <cernekee@gmail.com>
    Link: https://lkml.kernel.org/r/20141114221614.GA37395@dtor-ws
    Signed-off-by: Jason Cooper <jason@lakedaemon.net>
    dtor authored and Jason Cooper committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    714710e View commit details
    Browse the repository at this point in the history
  7. irqchip: brcmstb-l2: Fix error handling of irq_of_parse_and_map

    Return value of irq_of_parse_and_map() is unsigned int, with 0
    indicating failure, so testing for negative result never works.
    
    Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
    Acked-by: Florian Fainelli <f.fainelli@gmail.com>
    Tested-by: Kevin Cernekee <cernekee@gmail.com> 
    Link: https://lkml.kernel.org/r/20141114221642.GA37468@dtor-ws
    Signed-off-by: Jason Cooper <jason@lakedaemon.net>
    dtor authored and Jason Cooper committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    d99ba44 View commit details
    Browse the repository at this point in the history
  8. ufs: ensure clk gating work is finished before module unloading

    When dynamic clk gating feature is enabled, delayed workqueue machanism
    is used in order to detect certain period of inactivity.  But there is no
    guarantee that scheduled gating work is completed before module unloading.
    So it can cause kernel crash by accessing memory after it was freed.
    
    Fix it by cancelling clk gating and ungating works and ensure that its
    execution is finished before module unloading.
    
    Signed-off-by: Akinobu Mita <mita@fixstars.com>
    Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    mita authored and Christoph Hellwig committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    97cd680 View commit details
    Browse the repository at this point in the history
  9. ufs: fix NULL dereference when no regulators are defined

    If no voltage supply regulators are defined for the UFS devices (assumed
    they are always-on), ufshcd_config_vreg_load() can be called on
    suspend/resume paths with vreg == NULL as hba->vreg_info.vcc* equal to
    NULL, and it causes NULL pointer dereference.
    
    This fixes it by making ufshcd_config_vreg_{h,l}pm noop when no regulators
    are defined.
    
    Signed-off-by: Akinobu Mita <mita@fixstars.com>
    Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    mita authored and Christoph Hellwig committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    3e660fb View commit details
    Browse the repository at this point in the history
  10. arm64: KVM: fix unmapping with 48-bit VAs

    Currently if using a 48-bit VA, tearing down the hyp page tables (which
    can happen in the absence of a GICH or GICV resource) results in the
    rather nasty splat below, evidently becasue we access a table that
    doesn't actually exist.
    
    Commit 38f791a (arm64: KVM: Implement 48 VA support for KVM EL2
    and Stage-2) added a pgd_none check to __create_hyp_mappings to account
    for the additional level of tables, but didn't add a corresponding check
    to unmap_range, and this seems to be the source of the problem.
    
    This patch adds the missing pgd_none check, ensuring we don't try to
    access tables that don't exist.
    
    Original splat below:
    
    kvm [1]: Using HYP init bounce page @83fe94a000
    kvm [1]: Cannot obtain GICH resource
    Unable to handle kernel paging request at virtual address ffff7f7fff000000
    pgd = ffff800000770000
    [ffff7f7fff000000] *pgd=0000000000000000
    Internal error: Oops: 96000004 [#1] PREEMPT SMP
    Modules linked in:
    CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.18.0-rc2+ #89
    task: ffff8003eb500000 ti: ffff8003eb45c000 task.ti: ffff8003eb45c000
    PC is at unmap_range+0x120/0x580
    LR is at free_hyp_pgds+0xac/0xe4
    pc : [<ffff80000009b768>] lr : [<ffff80000009cad8>] pstate: 80000045
    sp : ffff8003eb45fbf0
    x29: ffff8003eb45fbf0 x28: ffff800000736000
    x27: ffff800000735000 x26: ffff7f7fff000000
    x25: 0000000040000000 x24: ffff8000006f5000
    x23: 0000000000000000 x22: 0000007fffffffff
    x21: 0000800000000000 x20: 0000008000000000
    x19: 0000000000000000 x18: ffff800000648000
    x17: ffff800000537228 x16: 0000000000000000
    x15: 000000000000001f x14: 0000000000000000
    x13: 0000000000000001 x12: 0000000000000020
    x11: 0000000000000062 x10: 0000000000000006
    x9 : 0000000000000000 x8 : 0000000000000063
    x7 : 0000000000000018 x6 : 00000003ff000000
    x5 : ffff800000744188 x4 : 0000000000000001
    x3 : 0000000040000000 x2 : ffff800000000000
    x1 : 0000007fffffffff x0 : 000000003fffffff
    
    Process swapper/0 (pid: 1, stack limit = 0xffff8003eb45c058)
    Stack: (0xffff8003eb45fbf0 to 0xffff8003eb460000)
    fbe0:                                     eb45fcb0 ffff8003 0009cad8 ffff8000
    fc00: 00000000 00000080 00736140 ffff8000 00736000 ffff8000 00000000 00007c80
    fc20: 00000000 00000080 006f5000 ffff8000 00000000 00000080 00743000 ffff8000
    fc40: 00735000 ffff8000 006d3030 ffff8000 006fe7b8 ffff8000 00000000 00000080
    fc60: ffffffff 0000007f fdac1000 ffff8003 fd94b000 ffff8003 fda47000 ffff8003
    fc80: 00502b40 ffff8000 ff000000 ffff7f7f fdec6000 00008003 fdac1630 ffff8003
    fca0: eb45fcb0 ffff8003 ffffffff 0000007f eb45fd00 ffff8003 0009b378 ffff8000
    fcc0: ffffffea 00000000 006fe000 ffff8000 00736728 ffff8000 00736120 ffff8000
    fce0: 00000040 00000000 00743000 ffff8000 006fe7b8 ffff8000 0050cd48 00000000
    fd00: eb45fd60 ffff8003 00096070 ffff8000 006f06e0 ffff8000 006f06e0 ffff8000
    fd20: fd948b40 ffff8003 0009a320 ffff8000 00000000 00000000 00000000 00000000
    fd40: 00000ae0 00000000 006aa25c ffff8000 eb45fd60 ffff8003 0017ca44 00000002
    fd60: eb45fdc0 ffff8003 0009a33c ffff8000 006f06e0 ffff8000 006f06e0 ffff8000
    fd80: fd948b40 ffff8003 0009a320 ffff8000 00000000 00000000 00735000 ffff8000
    fda0: 006d3090 ffff8000 006aa25c ffff8000 00735000 ffff8000 006d3030 ffff8000
    fdc0: eb45fdd0 ffff8003 000814c0 ffff8000 eb45fe50 ffff8003 006aaac4 ffff8000
    fde0: 006ddd90 ffff8000 00000006 00000000 006d3000 ffff8000 00000095 00000000
    fe00: 006a1e90 ffff8000 00735000 ffff8000 006d3000 ffff8000 006aa25c ffff8000
    fe20: 00735000 ffff8000 006d3030 ffff8000 eb45fe50 ffff8003 006fac68 ffff8000
    fe40: 00000006 00000006 fe293ee6 ffff8003 eb45feb0 ffff8003 004f8ee8 ffff8000
    fe60: 004f8ed4 ffff8000 00735000 ffff8000 00000000 00000000 00000000 00000000
    fe80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    fea0: 00000000 00000000 00000000 00000000 00000000 00000000 000843d0 ffff8000
    fec0: 004f8ed4 ffff8000 00000000 00000000 00000000 00000000 00000000 00000000
    fee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    ff00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    ff20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    ff40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    ff60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    ff80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    ffa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000005 00000000
    ffe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    Call trace:
    [<ffff80000009b768>] unmap_range+0x120/0x580
    [<ffff80000009cad4>] free_hyp_pgds+0xa8/0xe4
    [<ffff80000009b374>] kvm_arch_init+0x268/0x44c
    [<ffff80000009606c>] kvm_init+0x24/0x260
    [<ffff80000009a338>] arm_init+0x18/0x24
    [<ffff8000000814bc>] do_one_initcall+0x88/0x1a0
    [<ffff8000006aaac0>] kernel_init_freeable+0x148/0x1e8
    [<ffff8000004f8ee4>] kernel_init+0x10/0xd4
    Code: 8b000263 92628479 d1000720 eb01001f (f9400340)
    ---[ end trace 3bc230562e926fa4 ]---
    Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
    
    Signed-off-by: Mark Rutland <mark.rutland@arm.com>
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: Jungseok Lee <jungseoklee85@gmail.com>
    Acked-by: Marc Zyngier <marc.zyngier@arm.com>
    Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
    Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    Mark Rutland authored and bonzini committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    7cbb87d View commit details
    Browse the repository at this point in the history
  11. arm64: KVM: Handle traps of ICC_SRE_EL1 as RAZ/WI

    When running on a system with a GICv3, we currenly don't allow the guest
    to access the system register interface of the GICv3.  We do this by
    clearing the ICC_SRE_EL2.Enable, which causes all guest accesses to
    ICC_SRE_EL1 to trap to EL2 and causes all guest accesses to other ICC_
    registers to cause an undefined exception in the guest.
    
    However, we currently don't handle the trap of guest accesses to
    ICC_SRE_EL1 and will spill out a warning.  The trap just needs to handle
    the access as RAZ/WI, and a guest that tries to prod this register and
    set ICC_SRE_EL1.SRE=1, must read back the value (which Linux already
    does) to see if it succeeded, and will thus observe that ICC_SRE_EL1.SRE
    was not set.
    
    Add the simple trap handler in the sorted table of the system registers.
    
    Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
    [ardb: added cp15 handling]
    Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
    Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    chazy authored and bonzini committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    db7dedd View commit details
    Browse the repository at this point in the history
  12. arm/arm64: KVM: vgic: Fix error code in kvm_vgic_create()

    If we detect another vCPU is running we just exit and return 0 as if we
    succesfully created the VGIC, but the VGIC wouldn't actual be created.
    
    This shouldn't break in-kernel behavior because the kernel will not
    observe the failed the attempt to create the VGIC, but userspace could
    be rightfully confused.
    
    Cc: Andre Przywara <andre.przywara@arm.com>
    Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
    Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    chazy authored and bonzini committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    6b50f54 View commit details
    Browse the repository at this point in the history
  13. arm/arm64: kvm: drop inappropriate use of kvm_is_mmio_pfn()

    Instead of using kvm_is_mmio_pfn() to decide whether a host region
    should be stage 2 mapped with device attributes, add a new static
    function kvm_is_device_pfn() that disregards RAM pages with the
    reserved bit set, as those should usually not be mapped as device
    memory.
    
    Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    Ard Biesheuvel authored and bonzini committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    bb55e9b View commit details
    Browse the repository at this point in the history
  14. kvm: fix kvm_is_mmio_pfn() and rename to kvm_is_reserved_pfn()

    This reverts commit 85c8555 ("KVM: check for !is_zero_pfn() in
    kvm_is_mmio_pfn()") and renames the function to kvm_is_reserved_pfn.
    
    The problem being addressed by the patch above was that some ARM code
    based the memory mapping attributes of a pfn on the return value of
    kvm_is_mmio_pfn(), whose name indeed suggests that such pfns should
    be mapped as device memory.
    
    However, kvm_is_mmio_pfn() doesn't do quite what it says on the tin,
    and the existing non-ARM users were already using it in a way which
    suggests that its name should probably have been 'kvm_is_reserved_pfn'
    from the beginning, e.g., whether or not to call get_page/put_page on
    it etc. This means that returning false for the zero page is a mistake
    and the patch above should be reverted.
    
    Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    Ard Biesheuvel authored and bonzini committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    d3fccc7 View commit details
    Browse the repository at this point in the history
  15. net: dsa: bcm_sf2: fix unmapping registers in case of errors

    In case we fail to ioremap() one of our registers, we would be leaking
    existing mappings, unwind those accordingly on errors.
    
    Fixes: 246d7f7 ("net: dsa: add Broadcom SF2 switch driver")
    Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    ffainelli authored and davem330 committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    a566059 View commit details
    Browse the repository at this point in the history
  16. net: dsa: bcm_sf2: reset switch prior to initialization

    Our boot agent may have left the switch in an certain configuration
    state, make sure we issue a software reset prior to configuring the
    switch in order to ensure the HW is in a consistent state, in particular
    transmit queues and internal buffers.
    
    Fixes: 246d7f7 ("net: dsa: add Broadcom SF2 switch driver")
    Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    ffainelli authored and davem330 committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    33f8461 View commit details
    Browse the repository at this point in the history
  17. Merge branch 'bcm_sf2'

    Florian Fainelli says:
    
    ====================
    net: dsa: bcm_sf2: misc bugfixes
    
    This patch series contains two bug fixes:
    
    - first patch fixes an issue on the error path of the driver where we could
      have left some of our registers mapped
    
    - second patch enforces the use of a software reset of the switch to guarantee
      the HW is in a consistent state prior to software initialization
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    fbe4d0d View commit details
    Browse the repository at this point in the history
  18. net/mlx4_core: Limit count field to 24 bits in qp_alloc_res

    Some VF drivers use the upper byte of "param1" (the qp count field)
    in mlx4_qp_reserve_range() to pass flags which are used to optimize
    the range allocation.
    
    Under the current code, if any of these flags are set, the 32-bit
    count field yields a count greater than 2^24, which is out of range,
    and this VF fails.
    
    As these flags represent a "best-effort" allocation hint anyway, they may
    safely be ignored. Therefore, the PF driver may simply mask out the bits.
    
    Fixes: c82e9aa "mlx4_core: resource tracking for HCA resources used by guests"
    Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
    Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Jack Morgenstein authored and davem330 committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    2d5c57d View commit details
    Browse the repository at this point in the history
  19. stmmac: platform: fix default values of the filter bins setting

    The commit 3b57de9 brought the support for a different amount of
    the filter bins, but didn't update the platform driver that without
    CONFIG_OF.
    
    Fixes: 3b57de9 (net: stmmac: Support devicetree configs for mcast
    and ucast filter entries)
    
    Signed-off-by: Huacai Chen <chenhc@lemote.com>
    Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    chenhuacai authored and davem330 committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    571dcfd View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    13616c7 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    ec05861 View commit details
    Browse the repository at this point in the history
  22. Merge tag 'iio-fixes-for-3.18c' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/jic23/iio into staging-linus
    
    Jonathan writes:
    
    Third set of IIO fixes for the 3.18 cycle.
    
    Most of these are fairly standard little fixes, a bmc150 and bmg160 patch
    is to make an ABI change to indicated a specific axis in an event rather
    than the generic option in the original drivers.  As both of these drivers
    are new in this cycle it would be ideal to push this minor change through
    even though it isn't strictly a fix.  A couple of other 'fixes' change
    defaults for some settings on these new drivers to more intuitive calues.
    Looks like some useful feedback has been coming in for this driver
    since it was applied.
    
    * IIO_EVENT_CODE_EXTRACT_DIR bit mask was wrong and has been for a while
      0xCF clearly doesn't give a contiguous bitmask.
    * kxcjk-1013 range setting was failing to mask out the previous value
      in the register and hence was 'enable only'.
    * men_z188 device id table wasn't null terminated.
    * bmg160 and bmc150 both failed to correctly handling an error in mode
      setting.
    * bmg160 and bmc150 both had a bug in setting the event direction in the
      event spec (leads to an attribute name being incorrect)
    * bmg160 defaulted to an open drain output for the interrupt - as a default
      this obviously only works with some interrupt chips - hence change the
      default to push-pull (note this is a new driver so we aren't going to
      cause any regressions with this change).
    * bmc150 had an unintuitive default for the rate of change (motion detector)
      so change it to 0 (new driver so change of default won't cause any
      regressions).
    gregkh committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    8bb9b9a View commit details
    Browse the repository at this point in the history
  23. Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

    Pull kvm fixes from Paolo Bonzini:
     "Last minute KVM/ARM fixes; even the generic change actually affects
      nothing but ARM"
    
    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
      kvm: fix kvm_is_mmio_pfn() and rename to kvm_is_reserved_pfn()
      arm/arm64: kvm: drop inappropriate use of kvm_is_mmio_pfn()
      arm/arm64: KVM: vgic: Fix error code in kvm_vgic_create()
      arm64: KVM: Handle traps of ICC_SRE_EL1 as RAZ/WI
      arm64: KVM: fix unmapping with 48-bit VAs
    torvalds committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    3314bf6 View commit details
    Browse the repository at this point in the history
  24. bridge: Validate IFLA_BRIDGE_FLAGS attribute length

    Payload is currently accessed blindly and may exceed valid message
    boundaries.
    
    Fixes: 407af32 ("bridge: Add netlink interface to configure vlans on bridge ports")
    Cc: Vlad Yasevich <vyasevic@redhat.com>
    Signed-off-by: Thomas Graf <tgraf@suug.ch>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    tgraf authored and davem330 committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    6e8d1c5 View commit details
    Browse the repository at this point in the history
  25. net: Validate IFLA_BRIDGE_MODE attribute length

    Payload is currently accessed blindly and may exceed valid message
    boundaries.
    
    Fixes: a77dcb8 ("be2net: set and query VEB/VEPA mode of the PF interface")
    Fixes: 815cccb ("ixgbe: add setlink, getlink support to ixgbe and ixgbevf")
    Cc: Ajit Khaparde <ajit.khaparde@emulex.com>
    Cc: John Fastabend <john.r.fastabend@intel.com>
    Signed-off-by: Thomas Graf <tgraf@suug.ch>
    Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
    Acked-by: John Fastabend <john.r.fastabend@intel.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    tgraf authored and davem330 committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    b7c1a31 View commit details
    Browse the repository at this point in the history
  26. net: Check for presence of IFLA_AF_SPEC

    ndo_bridge_setlink() is currently only called on the slave if
    IFLA_AF_SPEC is set but this is a very fragile assumption and may
    change in the future.
    
    Cc: Ajit Khaparde <ajit.khaparde@emulex.com>
    Cc: John Fastabend <john.r.fastabend@intel.com>
    Signed-off-by: Thomas Graf <tgraf@suug.ch>
    Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    tgraf authored and davem330 committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    4ea85e8 View commit details
    Browse the repository at this point in the history
  27. bridge: Add missing policy entry for IFLA_BRPORT_FAST_LEAVE

    Fixes: c2d3babf ("bridge: implement multicast fast leave")
    Cc: David S. Miller <davem@davemloft.net>
    Signed-off-by: Thomas Graf <tgraf@suug.ch>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    tgraf authored and davem330 committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    6f705d8 View commit details
    Browse the repository at this point in the history
  28. bridge: Sanitize IFLA_EXT_MASK for AF_BRIDGE:RTM_GETLINK

    Only search for IFLA_EXT_MASK if the message actually carries a
    ifinfomsg header and validate minimal length requirements for
    IFLA_EXT_MASK.
    
    Fixes: 6cbdcee ("bridge: Dump vlan information from a bridge port")
    Cc: Vlad Yasevich <vyasevic@redhat.com>
    Signed-off-by: Thomas Graf <tgraf@suug.ch>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    tgraf authored and davem330 committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    aa68c20 View commit details
    Browse the repository at this point in the history
  29. Merge branch 'bridge_nl_validation'

    Thomas Graf says:
    
    ====================
    bridge: Fix missing Netlink message validations
    
    Adds various missing length checks in the bridging code for Netlink
    messages and corresponding attributes provided by user space.
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    a765023 View commit details
    Browse the repository at this point in the history
  30. net-timestamp: make tcp_recvmsg call ipv6_recv_error for AF_INET6 socks

    TCP timestamping introduced MSG_ERRQUEUE handling for TCP sockets.
    If the socket is of family AF_INET6, call ipv6_recv_error instead
    of ip_recv_error.
    
    This change is more complex than a single branch due to the loadable
    ipv6 module. It reuses a pre-existing indirect function call from
    ping. The ping code is safe to call, because it is part of the core
    ipv6 module and always present when AF_INET6 sockets are active.
    
    Fixes: 4ed2d76 (net-timestamp: TCP timestamping)
    Signed-off-by: Willem de Bruijn <willemb@google.com>
    
    ----
    
    It may also be worthwhile to add WARN_ON_ONCE(sk->family == AF_INET6)
    to ip_recv_error.
    Signed-off-by: David S. Miller <davem@davemloft.net>
    wdebruij authored and davem330 committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    f4713a3 View commit details
    Browse the repository at this point in the history
  31. sparc: Add NOP dma_cache_sync() implementation.

    This can be a NOP because we forward dma_{alloc,free}_noncoherent to
    dma_{alloc,free}_coherent.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    0d1d909 View commit details
    Browse the repository at this point in the history
  32. Merge tag 'master-2014-11-25' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/linville/wireless
    
    John W. Linville says:
    
    ====================
    pull request: wireless 2014-11-26
    
    Please pull this little batch of fixes intended for the 3.18 stream...
    
    For the iwlwifi one, Emmanuel says:
    
    "Not all the firmware know how to handle the HOT_SPOT_CMD.
    Make sure that the firmware will know this command before
    sending it. This avoids a firmware crash."
    
    Along with that, Larry sends a pair of rtlwifi fixes to address some
    discrepancies from moving drivers out of staging.  Larry says:
    
    "These two patches are needed to fix a regression introduced when
    driver rtl8821ae was moved from staging to the regular wireless tree."
    
    Please let me know if there are problems!
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    d1c637c View commit details
    Browse the repository at this point in the history
  33. staging: r8188eu: Fix scheduling while atomic error introduced in com…

    …mit fadbe0c
    
    In commit fadbe0c entitled "staging:
    rtl8188eu:Remove rtw_zmalloc(), wrapper for kzalloc()", the author failed
    to note that the original code in the wrapper tested whether the caller
    could sleep, and set the flags argument to kzalloc() appropriately.
    After the patch, GFP_KERNEL is used unconditionally. Unfortunately, several
    of the routines may be entered from an interrupt routine and generate
    a BUG splat for every such call. Routine rtw_sitesurvey_cmd() is used in the
    example below:
    
    BUG: sleeping function called from invalid context at mm/slub.c:1240
    in_atomic(): 1, irqs_disabled(): 0, pid: 756, name: wpa_supplicant
    INFO: lockdep is turned off.
    CPU: 2 PID: 756 Comm: wpa_supplicant Tainted: G        WC O   3.18.0-rc4+ #34
    Hardware name: TOSHIBA TECRA A50-A/TECRA A50-A, BIOS Version 4.20   04/17/2014
    ffffc90005557000 ffff880216fafaa8 ffffffff816b0bbf 0000000000000000
    ffff8800c3b58000 ffff880216fafac8 ffffffff8107af77 0000000000000001
    0000000000000010 ffff880216fafb18 ffffffff811b06ce 0000000000000000
    Call Trace:
     [<ffffffff816b0bbf>] dump_stack+0x4e/0x71
     [<ffffffff8107af77>] __might_sleep+0xf7/0x120
     [<ffffffff811b06ce>] kmem_cache_alloc_trace+0x4e/0x1f0
     [<ffffffffa0888226>] ? rtw_sitesurvey_cmd+0x56/0x2a0 [r8188eu]
     [<ffffffffa0888226>] rtw_sitesurvey_cmd+0x56/0x2a0 [r8188eu]
     [<ffffffffa088f00d>] rtw_do_join+0x22d/0x370 [r8188eu]
     [<ffffffffa088f6e8>] rtw_set_802_11_ssid+0x218/0x3d0 [r8188eu]
     [<ffffffffa08c3ca5>] rtw_wx_set_essid+0x1e5/0x410 [r8188eu]
     [<ffffffffa08c3ac0>] ? rtw_wx_get_rate+0x50/0x50 [r8188eu]
     [<ffffffff816938f1>] ioctl_standard_iw_point+0x151/0x3f0
     [<ffffffff81693d52>] ioctl_standard_call+0xb2/0xe0
     [<ffffffff81597df7>] ? rtnl_lock+0x17/0x20
     [<ffffffff816945a0>] ? iw_handler_get_private+0x70/0x70
     [<ffffffff81693ca0>] ? call_commit_handler+0x40/0x40
     [<ffffffff81693256>] wireless_process_ioctl+0x176/0x1c0
     [<ffffffff81693e79>] wext_handle_ioctl+0x69/0xc0
     [<ffffffff8159fe79>] dev_ioctl+0x309/0x5e0
     [<ffffffff810be9c7>] ? call_rcu+0x17/0x20
     [<ffffffff8156a472>] sock_ioctl+0x142/0x2e0
     [<ffffffff811e0c70>] do_vfs_ioctl+0x300/0x520
     [<ffffffff81101514>] ? __audit_syscall_entry+0xb4/0x110
     [<ffffffff81101514>] ? __audit_syscall_entry+0xb4/0x110
     [<ffffffff810102bc>] ? do_audit_syscall_entry+0x6c/0x70
     [<ffffffff811e0f11>] SyS_ioctl+0x81/0xa0
     [<ffffffff816ba1d2>] system_call_fastpath+0x12/0x17
    
    Additional routines that generate this BUG are rtw_joinbss_cmd(),
    rtw_dynamic_chk_wk_cmd(), rtw_lps_ctrl_wk_cmd(), rtw_rpt_timer_cfg_cmd(),
    rtw_ps_cmd(), report_survey_event(), report_join_res(), survey_timer_hdl(),
    and rtw_check_bcn_info().
    
    Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
    Cc: navin patidar <navin.patidar@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    lwfinger authored and gregkh committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    33dc85c View commit details
    Browse the repository at this point in the history
  34. powerpc/powernv: Fix the hmi event version check.

    The current HMI event structure is an ABI and carries a version field to
    accommodate future changes without affecting/rearranging current structure
    members that are valid for previous versions.
    
    The current version check "if (hmi_evt->version != OpalHMIEvt_V1)"
    doesn't accomodate the fact that the version number may change in
    future.
    
    If firmware starts returning an HMI event with version > 1, this check
    will fail and no HMI information will be printed on older kernels.
    
    This patch fixes this issue.
    
    Cc: stable@vger.kernel.org # 3.17+
    Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
    [mpe: Reword changelog]
    Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
    maheshsal authored and mpe committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    6acbc5a View commit details
    Browse the repository at this point in the history
  35. powerpc/pseries: Fix endiannes issue in RTAS call from xmon

    On pseries system (LPAR) xmon failed to enter when running in LE mode,
    system is hunging. Inititating xmon will lead to such an output on the
    console:
    
    SysRq : Entering xmon
    cpu 0x15: Vector: 0  at [c0000003f39ffb10]
        pc: c00000000007ed7c: sysrq_handle_xmon+0x5c/0x70
        lr: c00000000007ed7c: sysrq_handle_xmon+0x5c/0x70
        sp: c0000003f39ffc70
       msr: 8000000000009033
      current = 0xc0000003fafa7180
      paca    = 0xc000000007d75e80	 softe: 0	 irq_happened: 0x01
        pid   = 14617, comm = bash
    Bad kernel stack pointer fafb4b0 at eca7cc4
    cpu 0x15: Vector: 300 (Data Access) at [c000000007f07d40]
        pc: 000000000eca7cc4
        lr: 000000000eca7c44
        sp: fafb4b0
       msr: 8000000000001000
       dar: 10000000
     dsisr: 42000000
      current = 0xc0000003fafa7180
      paca    = 0xc000000007d75e80	 softe: 0	 irq_happened: 0x01
        pid   = 14617, comm = bash
    cpu 0x15: Exception 300 (Data Access) in xmon, returning to main loop
    xmon: WARNING: bad recursive fault on cpu 0x15
    
    The root cause is that xmon is calling RTAS to turn off the surveillance
    when entering xmon, and RTAS is requiring big endian parameters.
    
    This patch is byte swapping the RTAS arguments when running in LE mode.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
    Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
    Laurent Dufour authored and mpe committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    3b8a3c0 View commit details
    Browse the repository at this point in the history
  36. powerpc/eeh: Fix PE state format

    Obviously I had wrong format given to the PE state output from
    /sys/bus/pci/devices/xxxx/eeh_pe_state with some typoes, which
    was introduced by commit 2013add. The patch fixes it up.
    
    Fixes: 2013add ("powerpc/eeh: Show hex prefix for PE state sysfs")
    Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
    Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
    Gavin Shan authored and mpe committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    7531473 View commit details
    Browse the repository at this point in the history
  37. powerpc/powernv: Replace OPAL_DEASSERT_RESET with EEH_RESET_DEACTIVATE

    The flag passed to ioda_eeh_phb_reset() should be EEH_RESET_DEACTIVATE,
    which is translated to OPAL_DEASSERT_RESET or something else by the
    EEH backend accordingly.
    
    The patch replaces OPAL_DEASSERT_RESET with EEH_RESET_DEACTIVATE for
    ioda_eeh_phb_reset().
    
    Cc: stable@vger.kernel.org
    Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
    Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
    Gavin Shan authored and mpe committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    360d88a View commit details
    Browse the repository at this point in the history
  38. powerpc: 32 bit getcpu VDSO function uses 64 bit instructions

    I used some 64 bit instructions when adding the 32 bit getcpu VDSO
    function. Fix it.
    
    Fixes: 18ad51d ("powerpc: Add VDSO version of getcpu")
    Cc: stable@vger.kernel.org
    Signed-off-by: Anton Blanchard <anton@samba.org>
    Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
    antonblanchard authored and mpe committed Nov 26, 2014
    Configuration menu
    Copy the full SHA
    152d44a View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2014

  1. ARM: tegra: irq: fix buggy usage of irq_data irq field

    The crazy gic_arch_extn thing that Tegra uses contains multiple
    references to the irq field in struct irq_data, and uses this
    to directly poke hardware register.
    
    But irq is the *virtual* irq number, something that has nothing
    to do with the actual HW irq (stored in the hwirq field). And once
    we put the stacked domain code in action, the whole thing explodes,
    as these two values are *very* different:
    
    root@bacon-fat:~# cat /proc/interrupts
                CPU0       CPU1
     16:      25801       2075       GIC  29  twd
     17:          0          0       GIC  73  timer0
    112:          0          0      GPIO  58  c8000600.sdhci cd
    123:          0          0      GPIO  69  c8000200.sdhci cd
    279:       1126          0       GIC 122  serial
    281:          0          0       GIC  70  7000c000.i2c
    282:          0          0       GIC 116  7000c400.i2c
    283:          0          0       GIC 124  7000c500.i2c
    284:        300          0       GIC  85  7000d000.i2c
    [...]
    
    Just replacing all instances of irq with hwirq fixes the issue.
    
    Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
    Acked-by: Thierry Reding <treding@nvidia.com>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    Marc Zyngier authored and arndb committed Nov 27, 2014
    Configuration menu
    Copy the full SHA
    9a343b9 View commit details
    Browse the repository at this point in the history
  2. Merge tag 'samsung-fixes-v3.18' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/kgene/linux-samsung into fixes
    
    Pull "Samsung fixes for v3.18" from Kukjin Kim:
    
    - explicitly set dr_mode on exynos5250-snow
      this is required when kernel is built with USB gadget support.
    
    * tag 'samsung-fixes-v3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
      ARM: dts: Explicitly set dr_mode on exynos5250-snow
    
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    arndb committed Nov 27, 2014
    Configuration menu
    Copy the full SHA
    d168c85 View commit details
    Browse the repository at this point in the history
  3. Merge tag 'samsung-defconfig-v3.18' of git://git.kernel.org/pub/scm/l…

    …inux/kernel/git/kgene/linux-samsung into fixes
    
    Pull "Samsung defconfig update for v3.18" from Kukjin Kim:
    
    - enable max77802 rtc and clock drivers for exynos_defconfig
      : enable the kernel config options to have the drivers for
        max77802 including rtc and 2-ch 32kHz clock outputs
    
    * tag 'samsung-defconfig-v3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
      ARM: exynos_defconfig: Enable max77802 rtc and clock drivers
    
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    arndb committed Nov 27, 2014
    Configuration menu
    Copy the full SHA
    a572c9d View commit details
    Browse the repository at this point in the history
  4. Merge tag 'mvebu-fixes-3.18-2' of git://git.infradead.org/linux-mvebu…

    … into fixes
    
    Pull "mvebu fixes for v3.18 (round 2)" frm Jason Cooper:
    
     - mvebu
        - coherency.c needed an of_node_put()
    
    * tag 'mvebu-fixes-3.18-2' of git://git.infradead.org/linux-mvebu:
      ARM: mvebu: add missing of_node_put() call in coherency.c
    
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    arndb committed Nov 27, 2014
    Configuration menu
    Copy the full SHA
    96ba18f View commit details
    Browse the repository at this point in the history
  5. ARM: 8222/1: mvebu: enable strex backoff delay

    Under extremely rare conditions, in an MPCore node consisting of at
    least 3 CPUs, two CPUs trying to perform a STREX to data on the same
    shared cache line can enter a livelock situation.
    
    This patch enables the HW mechanism that overcomes the bug. This fixes
    the incorrect setup of the STREX backoff delay bit due to a wrong
    description in the specification.
    
    Note that enabling the STREX backoff delay mechanism is done by
    leaving the bit *cleared*, while the bit was currently being set by
    the proc-v7.S code.
    
    [Thomas: adapt to latest mainline, slightly reword the commit log, add
    stable markers.]
    
    Fixes: de49019 ("arm: mm: Add support for PJ4B cpu and init routines")
    
    Cc: <stable@vger.kernel.org> # v3.8+
    Signed-off-by: Nadav Haklai <nadavh@marvell.com>
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
    Acked-by: Jason Cooper <jason@lakedaemon.net>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
    tpetazzoni authored and Russell King committed Nov 27, 2014
    Configuration menu
    Copy the full SHA
    995ab51 View commit details
    Browse the repository at this point in the history
  6. ARM: 8226/1: cacheflush: get rid of restarting block

    We cannot restart cacheflush safely if a process provides user-defined
    signal handler and signal is pending. In this case -EINTR is returned
    and it is expected that process re-invokes syscall. However, there are
    a few problems with that:
     * looks like nobody bothers checking return value from cacheflush
     * but if it did, we don't provide the restart address for that, so the
       process has to use the same range again
     * ...and again, what might lead to looping forever
    
    So, remove cacheflush restarting code and terminate cache flushing
    as early as fatal signal is pending.
    
    Cc: stable@vger.kernel.org # 3.12+
    Reported-by: Chanho Min <chanho.min@lge.com>
    Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
    Acked-by: Will Deacon <will.deacon@arm.com>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
    Vladimir Murzin authored and Russell King committed Nov 27, 2014
    Configuration menu
    Copy the full SHA
    3f4aa45 View commit details
    Browse the repository at this point in the history
  7. MIPS: tlbex: Fix potential HTW race on TLBL/M/S handlers

    There is a potential race when probing the TLB in TLBL/M/S exception
    handlers for a matching entry. Between the time we hit a TLBL/S/M
    exception and the time we get to execute the TLBP instruction, the
    HTW may have replaced the TLB entry we are interested in hence the TLB
    probe may fail. However, in the existing handlers, we never checked the
    status of the TLBP (ie check the result in the C0/Index register). We
    fix this by adding such a check when the core implements the HTW. If
    we couldn't find a matching entry, we return back and try again.
    
    Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
    Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
    Reviewed-by: James Hogan <james.hogan@imgtec.com>
    Cc: <stable@vger.kernel.org> # v3.17+
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/8599/
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Leonid Yegoshin authored and ralfbaechle committed Nov 27, 2014
    Configuration menu
    Copy the full SHA
    070e76c View commit details
    Browse the repository at this point in the history
  8. staging: r8188eu: Add new device ID for DLink GO-USB-N150

    The DLink GO-USB-N150 with revision B1 uses this driver.
    
    Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
    Cc: stable <stable@vger.kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    lwfinger authored and gregkh committed Nov 27, 2014
    Configuration menu
    Copy the full SHA
    6d4556f View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2014

  1. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/dtor/input
    
    Pull input layer fixes from Dmitry Torokhov:
     "The main change is to fix breakage in Elantech driver introduced by
      the recent commit adding trackpoint reporting to protocol v4.  Now we
      are trusting the hardware to advertise the trackpoint properly and do
      not try to decode the data as trackpoint if firmware told us it is not
      present"
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
      Input: xpad - use proper endpoint type
      Input: elantech - trust firmware about trackpoint presence
      Input: synaptics - adjust min/max on Thinkpad E540
    torvalds committed Nov 28, 2014
    Configuration menu
    Copy the full SHA
    0210bb6 View commit details
    Browse the repository at this point in the history
  2. Merge tag 'spi-v3.18-rc6' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/broonie/spi
    
    Pull spi fixes from Mark Brown:
     "There's a couple of driver fixes here, plus one core fix for the DMA
      mapping which wasn't doing the right thing for vmalloc()ed addresses
      that hadn't been through kmap().  It's fairly rare to use vmalloc()
      with SPI and it's a subset of those users who might fail so it's
      unsurprising that this wasn't noticed sooner"
    
    * tag 'spi-v3.18-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
      spi: sirf: fix word width configuration
      spi: Fix mapping from vmalloc-ed buffer to scatter list
      spi: dw: Fix dynamic speed change.
    torvalds committed Nov 28, 2014
    Configuration menu
    Copy the full SHA
    190fc9d View commit details
    Browse the repository at this point in the history
  3. Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net

    Pull networking fixes from David Miller:
     "Several small fixes here:
    
       1) Don't crash in tg3 driver when the number of tx queues has been
          configured to be different from the number of rx queues.  From
          Thadeu Lima de Souza Cascardo.
    
       2) VLAN filter not disabled properly in promisc mode in ixgbe driver,
          from Vlad Yasevich.
    
       3) Fix OOPS on dellink op in VTI tunnel driver, from Xin Long.
    
       4) IPV6 GRE driver WCCP code checks skb->protocol for ETH_P_IP
          instead of ETH_P_IPV6, whoops.  From Yuri Chislov.
    
       5) Socket matching in ping driver is buggy when packet AF does not
          match socket's AF.  Fix from Jane Zhou.
    
       6) Fix checksum calculation errors in VXLAN due to where the
          udp_tunnel6_xmit_skb() helper gets it's saddr/daddr from.  From
          Alexander Duyck.
    
       7) Fix 5G detection problem in rtlwifi driver, from Larry Finger.
    
       8) Fix NULL deref in tcp_v{4,6}_send_reset, from Eric Dumazet.
    
       9) Various missing netlink attribute verifications in bridging code,
          from Thomas Graf.
    
      10) tcp_recvmsg() unconditionally calls ipv4 ip_recv_error even for
          ipv6 sockets, whoops.  Fix from Willem de Bruijn"
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (29 commits)
      net-timestamp: make tcp_recvmsg call ipv6_recv_error for AF_INET6 socks
      bridge: Sanitize IFLA_EXT_MASK for AF_BRIDGE:RTM_GETLINK
      bridge: Add missing policy entry for IFLA_BRPORT_FAST_LEAVE
      net: Check for presence of IFLA_AF_SPEC
      net: Validate IFLA_BRIDGE_MODE attribute length
      bridge: Validate IFLA_BRIDGE_FLAGS attribute length
      stmmac: platform: fix default values of the filter bins setting
      net/mlx4_core: Limit count field to 24 bits in qp_alloc_res
      net: dsa: bcm_sf2: reset switch prior to initialization
      net: dsa: bcm_sf2: fix unmapping registers in case of errors
      tg3: fix ring init when there are more TX than RX channels
      tcp: fix possible NULL dereference in tcp_vX_send_reset()
      rtlwifi: Change order in device startup
      rtlwifi: rtl8821ae: Fix 5G detection problem
      Revert "netfilter: conntrack: fix race in __nf_conntrack_confirm against get_next_corpse"
      vxlan: Fix boolean flip in VXLAN_F_UDP_ZERO_CSUM6_[TX|RX]
      ip6_udp_tunnel: Fix checksum calculation
      net-timestamp: Fix a documentation typo
      net/ping: handle protocol mismatching scenario
      af_packet: fix sparse warning
      ...
    torvalds committed Nov 28, 2014
    Configuration menu
    Copy the full SHA
    8e84597 View commit details
    Browse the repository at this point in the history
  4. Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc

    Pull sparc fixlet from David Miller:
     "Aparc fix to add dma_cache_sync(), even if a nop it should be provided
      if dma_{alloc,free}_noncoherent() is provided too"
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
      sparc: Add NOP dma_cache_sync() implementation.
    torvalds committed Nov 28, 2014
    Configuration menu
    Copy the full SHA
    ae97943 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/mpe/linux
    
    Pull powerpc fixes from Michael Ellerman:
     "Here are five fixes for you to pull please.
    
      They're all CC'ed to stable except the "Fix PE state format" one which
      went in this release"
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux:
      powerpc: 32 bit getcpu VDSO function uses 64 bit instructions
      powerpc/powernv: Replace OPAL_DEASSERT_RESET with EEH_RESET_DEACTIVATE
      powerpc/eeh: Fix PE state format
      powerpc/pseries: Fix endiannes issue in RTAS call from xmon
      powerpc/powernv: Fix the hmi event version check.
    torvalds committed Nov 28, 2014
    Configuration menu
    Copy the full SHA
    21f122f View commit details
    Browse the repository at this point in the history
  6. Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upst…

    …ream-linus
    
    Pull mips fixes from Ralf Baechle:
     "The hopefully final round of fixes for 3.18:
    
       - Fix a number of build errors affecting particular configurations.
       - Handle EVA correctly when flushing a signal trampoline and dcache
         lines.
       - Fix printks printing jibberish.
       - Handle 64 bit memory addresses correctly when adding memory chunk
         on 32 bit kernels.
       - Fix a race condition in the hardware tablewalker code"
    
    * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus:
      MIPS: tlbex: Fix potential HTW race on TLBL/M/S handlers
      MIPS: Fix address type used for early memory detection.
      MIPS: Kconfig: Don't allow both microMIPS and SmartMIPS to be selected.
      MIPS: kernel: cps-vec: Set ISA level to mips32r2 for the MIPS MT ASE
      MIPS: Netlogic: handle modular AHCI builds
      MIPS: Netlogic: handle modular USB case
      MIPS: Loongson: Make platform serial setup always built-in.
      MIPS: fix EVA & non-SMP non-FPU FP context signal handling
      MIPS: cpu-probe: Set the FTLB probability bit on supported cores
      MIPS: BMIPS: Fix ".previous without corresponding .section" warnings
      MIPS: uaccess.h: Fix strnlen_user comment.
      MIPS: r4kcache: Add EVA case for protected_writeback_dcache_line
      MIPS: Fix info about plat_setup in arch_mem_init comment
      MIPS: rtlx: Remove KERN_DEBUG from pr_debug() arguments in rtlx.c
      MIPS: SEAD3: Fix LED device registration.
      MIPS: Fix a copy & paste error in unistd.h
    torvalds committed Nov 28, 2014
    Configuration menu
    Copy the full SHA
    98e8d2e View commit details
    Browse the repository at this point in the history
  7. Merge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm

    Pull ARM fixes from Russell King:
     "Another round of relatively small ARM fixes.
    
      Thomas spotted that the strex backoff delay bit was a disable bit, so
      it needed to be clear for this to work.  Vladimir spotted that using a
      restart block for the cache flush operation would return -EINTR, which
      userspace was not expecting.  Dmitry spotted that the auxiliary
      control register accesses for Xscale were not correct"
    
    * 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm:
      ARM: 8226/1: cacheflush: get rid of restarting block
      ARM: 8222/1: mvebu: enable strex backoff delay
      ARM: 8216/1: xscale: correct auxiliary register in suspend/resume
    torvalds committed Nov 28, 2014
    Configuration menu
    Copy the full SHA
    e818d5e View commit details
    Browse the repository at this point in the history
  8. Merge tag 'armsoc-for-rc7' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/arm/arm-soc
    
    Pull ARM SoC fixes from Arnd Bergmann:
     "Not much interesting going on fixes-wise for us this week, as it
      should be for an -rc7.  I'm not expecting Olof to work much over
      Thanksgiving weekend, so I decided to take over again and push these
      out to you.
    
      Just four simple fixes this week:
    
       - one missing of_node_put() on armv7 based mvebu
       - forcing the USB host into the right mode on Chromebook
         (exynos5-snow)
       - enabling two important drivers for exynos_defconfig
       - fixing a noncritical bug for tegra that would cause a regression
         with common code patches queued for 3.19"
    
    * tag 'armsoc-for-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
      ARM: tegra: irq: fix buggy usage of irq_data irq field
      ARM: exynos_defconfig: Enable max77802 rtc and clock drivers
      ARM: dts: Explicitly set dr_mode on exynos5250-snow
      ARM: mvebu: add missing of_node_put() call in coherency.c
    torvalds committed Nov 28, 2014
    Configuration menu
    Copy the full SHA
    615b994 View commit details
    Browse the repository at this point in the history
  9. Merge tag 'sound-3.18-rc7' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/tiwai/sound
    
    Pull sound fixes from Takashi Iwai:
     "No excitement, here are only minor fixes: an endian fix for the new
      DSD format we added in 3.18, a fix for HP mute LED, and a fix for
      Native Instrument quirk"
    
    * tag 'sound-3.18-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
      ALSA: pcm: Add big-endian DSD sample formats and fix XMOS DSD sample format
      ALSA: hda - One more HP machine needs to change mute led quirk
      ALSA: usb-audio: Use snd_usb_ctl_msg() for Native Instruments quirk
    torvalds committed Nov 28, 2014
    Configuration menu
    Copy the full SHA
    16cf45c View commit details
    Browse the repository at this point in the history
  10. Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git…

    …/evalenti/linux-soc-thermal
    
    Pull thermal fixes from Eduardo Valentin:
     "In this -rc still very minor changes:
    
       - Lee Jones fixes compilation warning in sti thermal driver
       - Marjus Elfring removes unnecessary checks in exynos thermal driver
         (as per coccinelle)
       - Now we always update cpufreq policies, and thus get (hopefully)
         always in sync with cpufreq, thanks to Yadwinder"
    
    * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal:
      thermal: Exynos: Deletion of unnecessary checks before two function calls
      thermal: sti: Ignore suspend/resume functions when !PM_SLEEP
      thermal: cpu_cooling: Update always cpufreq policy with thermal constraints
    torvalds committed Nov 28, 2014
    Configuration menu
    Copy the full SHA
    cba3b00 View commit details
    Browse the repository at this point in the history
  11. Merge tag 'usb-3.18-rc7' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/gregkh/usb
    
    Pull USB fixes from Greg KH:
     "Here are some USB driver fixes and new device ids for 3.18-rc7.
    
      Full details are in the shortlog, and all of these have been in the
      linux-next tree for a while"
    
    * tag 'usb-3.18-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
      usb-quirks: Add reset-resume quirk for MS Wireless Laser Mouse 6000
      usb: xhci: rework root port wake bits if controller isn't allowed to wakeup
      USB: xhci: Reset a halted endpoint immediately when we encounter a stall.
      Revert "xhci: clear root port wake on bits if controller isn't wake-up capable"
      USB: xhci: don't start a halted endpoint before its new dequeue is set
      USB: uas: Add no-uas quirk for Hitachi usb-3 enclosures 4971:1012
      USB: ssu100: fix overrun-error reporting
      USB: keyspan: fix overrun-error reporting
      USB: keyspan: fix tty line-status reporting
      usb: serial: ftdi_sio: add PIDs for Matrix Orbital products
      usb: dwc3: ep0: fix for dead code
      USB: serial: cp210x: add IDs for CEL MeshConnect USB Stick
    torvalds committed Nov 28, 2014
    Configuration menu
    Copy the full SHA
    4742eb3 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2014

  1. Merge tag 'tty-3.18-rc7' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/gregkh/tty
    
    Pull tty/serial fix from Greg KH:
     "Here is a single revert for the of-serial driver that resolves a
      reported issue.
    
      This revert has been in linux-next for a while"
    
    * tag 'tty-3.18-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
      Revert "serial: of-serial: add PM suspend/resume support"
    torvalds committed Nov 29, 2014
    Configuration menu
    Copy the full SHA
    6f93840 View commit details
    Browse the repository at this point in the history
  2. Merge tag 'staging-3.18-rc7' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/gregkh/staging
    
    Pull staging/IIO driver fixes from Greg KH:
     "Here are some staging and IIO driver fixes for 3.18-rc7 that resolve a
      number of reported issues, and a new device id for a staging wireless
      driver.
    
      All of these have been in linux-next"
    
    * tag 'staging-3.18-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
      staging: r8188eu: Add new device ID for DLink GO-USB-N150
      staging: r8188eu: Fix scheduling while atomic error introduced in commit fadbe0c
      iio: accel: bmc150: set low default thresholds
      iio: accel: bmc150: Fix iio_event_spec direction
      iio: accel: bmc150: Send x, y and z motion separately
      iio: accel: bmc150: Error handling when mode set fails
      iio: gyro: bmg160: Fix iio_event_spec direction
      iio: gyro: bmg160: Send x, y and z motion separately
      iio: gyro: bmg160: Don't let interrupt mode to be open drain
      iio: gyro: bmg160: Error handling when mode set fails
      iio: adc: men_z188_adc: Add terminating entry for men_z188_ids
      iio: accel: kxcjk-1013: Fix kxcjk10013_set_range
      iio: Fix IIO_EVENT_CODE_EXTRACT_DIR bit mask
    torvalds committed Nov 29, 2014
    Configuration menu
    Copy the full SHA
    8891063 View commit details
    Browse the repository at this point in the history
  3. Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/jejb/scsi
    
    Pull SCSI fixes from James Bottomley:
     "This is a set of ten fixes: 8 for UFS including four static checker
      warnings, a potential null deref in the voltage regulator code, a race
      on module unload, a ref counting fix on the well known LUNs which made
      it impossible to remove the ufs module and fix to correct the
      information in pwr_info.
    
      In addition to UFS, there's a blacklist for the Intel Multi-Flex array
      which chokes on report supported operation codes and a fix to an oops
      in bnx2fc caused by shared skbs"
    
    [ For us non-SCSI people: "UFS" here is "Universal Flash Storage" not
      the filesystem.  - Linus ]
    
    * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
      ufs: fix NULL dereference when no regulators are defined
      ufs: ensure clk gating work is finished before module unloading
      scsi: ufs: fix static checker warning in ufshcd_parse_clock_info
      scsi: ufs: fix static checker warning in __ufshcd_setup_clocks
      scsi: ufs: fix static checker warning in ufshcd_populate_vreg
      scsi: ufs: fix static checker errors in ufshcd_system_suspend
      ufs: fix power info after link start-up
      ufs: fix reference counting of W-LUs
      scsi: add Intel Multi-Flex to scsi scan blacklist
      bnx2fc: do not add shared skbs to the fcoe_rx_list
    torvalds committed Nov 29, 2014
    Configuration menu
    Copy the full SHA
    ed02bfa View commit details
    Browse the repository at this point in the history
  4. Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/l…

    …inux/kernel/git/tip/tip
    
    Pull irq fixes from Thomas Gleixner:
     "Three fixlets from the ARM SoC camp:
       - correct irqdomain initialization for atmel-aic
       - correct error handling for device tree parsing in bcm controllers"
    
    * 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      irqchip: brcmstb-l2: Fix error handling of irq_of_parse_and_map
      irqchip: bcm7120-l2: Fix error handling of irq_of_parse_and_map
      irqchip: atmel-aic: Fix irqdomain initialization
    torvalds committed Nov 29, 2014
    Configuration menu
    Copy the full SHA
    7a5a4f9 View commit details
    Browse the repository at this point in the history