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

Sync up with Linus #49

Merged
merged 484 commits into from
Mar 16, 2015
Merged

Sync up with Linus #49

merged 484 commits into from
Mar 16, 2015
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Mar 5, 2015

  1. seq_buf: Fix seq_buf_bprintf() truncation

    In seq_buf_bprintf(), bstr_printf() is used to copy the format into the
    buffer remaining in the seq_buf structure. The return of bstr_printf()
    is the amount of characters written to the buffer excluding the '\0',
    unless the line was truncated!
    
    If the line copied does not fit, it is truncated, and a '\0' is added
    to the end of the buffer. But in this case, '\0' is included in the length
    of the line written. To know if the buffer had overflowed, the return
    length will be the same or greater than the length of the buffer passed in.
    
    The check in seq_buf_bprintf() only checked if the length returned from
    bstr_printf() would fit in the buffer, as the seq_buf_bprintf() is only
    to be an all or nothing command. It either writes all the string into
    the seq_buf, or none of it. If the string is truncated, the pointers
    inside the seq_buf must be reset to what they were when the function was
    called. This is not the case. On overflow, it copies only part of the string.
    
    The fix is to change the overflow check to see if the length returned from
    bstr_printf() is less than the length remaining in the seq_buf buffer, and not
    if it is less than or equal to as it currently does. Then seq_buf_bprintf()
    will know if the write from bstr_printf() was truncated or not.
    
    Link: http://lkml.kernel.org/r/1425500481.2712.27.camel@perches.com
    
    Cc: stable@vger.kernel.org
    Reported-by: Joe Perches <joe@perches.com>
    Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
    rostedt committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    4d4eb4d View commit details
    Browse the repository at this point in the history
  2. dmaengine: dw: don't handle interrupt when dmaengine is not used

    When dma controller is not used by any user and set off,
    we should disble interrupt handler, at least the interrupt
    reset part, for some subsystem, e.g. ADSP, may use the
    dma in its own logic, here reset the interrupt may make
    this subsystem work abnormally.
    
    Signed-off-by: Jie Yang <yang.jie@intel.com>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    keyonjie authored and Vinod Koul committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    94b3eed View commit details
    Browse the repository at this point in the history
  3. dmaengine: at_xdmac: fix for chan conf simplification

    When simplificating the channel configuration, the cyclic case has been
    forgotten. It leads to use bad configuration causing many bugs.
    
    Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
    Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    ldesroches authored and Vinod Koul committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    6eb9d3c View commit details
    Browse the repository at this point in the history
  4. dmaengine: ioatdma: workaround for incorrect DMACAP register

    BDX-DE IOATDMA reports incorrect DMACAP register for PQ related
    ops. Ignoring those bits.
    
    Signed-off-by: Dave Jiang <dave.jiang@intel.com>
    Acked-by: Dan Williams <dan.j.williams@intel.com>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    davejiang authored and Vinod Koul committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    9ca1c5f View commit details
    Browse the repository at this point in the history
  5. ARM: at91: debug: fix non MMU debug

    Linux may be used without MMU on atmel SoCs, fix debug in this configuration.
    
    Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    alexandrebelloni authored and Nicolas Ferre committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    5a5a645 View commit details
    Browse the repository at this point in the history
  6. ARM: at91/dt: sama5d4: rename lcd_clk into lcdc_clk

    Rename lcd_clk into lcdc_clk to be consistent with sama5d3 clock
    definitions.
    
    Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Boris BREZILLON authored and Nicolas Ferre committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    b6d7d3f View commit details
    Browse the repository at this point in the history
  7. ARM: at91/dt: sama5d4: fix lcdck clock definition

    lcdck takes mck (not smd) as its parent. It is also assigned id 3 and not 4.
    
    Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
    [nicolas.ferre@atmel.com: squashed 2 related patches]
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Boris BREZILLON authored and Nicolas Ferre committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    db68e71 View commit details
    Browse the repository at this point in the history
  8. ARM: at91/pm: MOR register KEY was missing

    Because writing the MOR register requires the PASSWD(0x37),
    if missed, the write operation will be aborted.
    
    Signed-off-by: Patrice Vilchez <patrice.vilchez@atmel.com>
    Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    patvilchez authored and Nicolas Ferre committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    5957457 View commit details
    Browse the repository at this point in the history
  9. workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s f…

    …or PREEMPT_NONE
    
    cancel[_delayed]_work_sync() are implemented using
    __cancel_work_timer() which grabs the PENDING bit using
    try_to_grab_pending() and then flushes the work item with PENDING set
    to prevent the on-going execution of the work item from requeueing
    itself.
    
    try_to_grab_pending() can always grab PENDING bit without blocking
    except when someone else is doing the above flushing during
    cancelation.  In that case, try_to_grab_pending() returns -ENOENT.  In
    this case, __cancel_work_timer() currently invokes flush_work().  The
    assumption is that the completion of the work item is what the other
    canceling task would be waiting for too and thus waiting for the same
    condition and retrying should allow forward progress without excessive
    busy looping
    
    Unfortunately, this doesn't work if preemption is disabled or the
    latter task has real time priority.  Let's say task A just got woken
    up from flush_work() by the completion of the target work item.  If,
    before task A starts executing, task B gets scheduled and invokes
    __cancel_work_timer() on the same work item, its try_to_grab_pending()
    will return -ENOENT as the work item is still being canceled by task A
    and flush_work() will also immediately return false as the work item
    is no longer executing.  This puts task B in a busy loop possibly
    preventing task A from executing and clearing the canceling state on
    the work item leading to a hang.
    
    task A			task B			worker
    
    						executing work
    __cancel_work_timer()
      try_to_grab_pending()
      set work CANCELING
      flush_work()
        block for work completion
    						completion, wakes up A
    			__cancel_work_timer()
    			while (forever) {
    			  try_to_grab_pending()
    			    -ENOENT as work is being canceled
    			  flush_work()
    			    false as work is no longer executing
    			}
    
    This patch removes the possible hang by updating __cancel_work_timer()
    to explicitly wait for clearing of CANCELING rather than invoking
    flush_work() after try_to_grab_pending() fails with -ENOENT.
    
    Link: http://lkml.kernel.org/g/20150206171156.GA8942@axis.com
    
    v3: bit_waitqueue() can't be used for work items defined in vmalloc
        area.  Switched to custom wake function which matches the target
        work item and exclusive wait and wakeup.
    
    v2: v1 used wake_up() on bit_waitqueue() which leads to NULL deref if
        the target bit waitqueue has wait_bit_queue's on it.  Use
        DEFINE_WAIT_BIT() and __wake_up_bit() instead.  Reported by Tomeu
        Vizoso.
    
    Signed-off-by: Tejun Heo <tj@kernel.org>
    Reported-by: Rabin Vincent <rabin.vincent@axis.com>
    Cc: Tomeu Vizoso <tomeu.vizoso@gmail.com>
    Cc: stable@vger.kernel.org
    Tested-by: Jesper Nilsson <jesper.nilsson@axis.com>
    Tested-by: Rabin Vincent <rabin.vincent@axis.com>
    htejun committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    8603e1b View commit details
    Browse the repository at this point in the history
  10. Merge tag 'usb-serial-4.0-rc3' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/johan/usb-serial into usb-linus
    
    Johan writes:
    
    USB-serial fixes for v4.0-rc3
    
    Here are a few fixes for reported problems including a usb-debug device
    buffer overflow, potential use-after-free on failed probe, and a couple
    of issues with the USB console.
    
    Some new device IDs are also added.
    
    Signed-off-by: Johan Hovold <johan@kernel.org>
    gregkh committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    d3d5389 View commit details
    Browse the repository at this point in the history
  11. dmaengine: bam-dma: fix a warning about missing capabilities

    Avoid the warning below triggered during dmaengine async device
    registration.
    
    WARNING: CPU: 1 PID: 1 at linux/drivers/dma/dmaengine.c:863
    dma_async_device_register+0x2a8/0x4b8()
    this driver doesn't support generic slave capabilities reporting
    
    To do that fill mandatory .directions bit mask,
    .src/dst_addr_widths and .residue_granularity dma_device fields
    with appropriate values.
    
    Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    Stanimir Varbanov authored and Vinod Koul committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    fe4be5e View commit details
    Browse the repository at this point in the history
  12. dmaengine: qcom_bam_dma: fix wrong register offsets

    The commit fb93f52 (dmaengine: qcom_bam_dma: Generalize BAM
    register offset calculations) wrongly populated base offsets
    for event registers for bam v1.4.
    
    Signed-off-by: Stanimir Varbanov <svarbanov@mm-sol.com>
    Reviewed-by: Archit Taneja <architt@codeaurora.org>
    Reviewed-by: Andy Gross <agross@codeaurora.org>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    Stanimir Varbanov authored and Vinod Koul committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    90b1047 View commit details
    Browse the repository at this point in the history
  13. dmaengine: mmp_pdma: fix warning about slave caps

    Fix the dmaengine complaint about missing slave caps :
     - declare the available bus widths
     - declare the available transfer types
     - declare the residue calculation type
    
    Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    rjarzmik authored and Vinod Koul committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    ecb9b42 View commit details
    Browse the repository at this point in the history
  14. Merge tag 'kvm-s390-master-20150303' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/kvms390/linux
    
    KVM: s390: Fixups for changes in merge window for 4.0
    
    Here are some fixups/improvements for
    
    commit 658b6ed ("KVM: s390: add cpu model support")
    commit 9d8d578 ("KVM: s390: use facilities and cpu_id per KVM")
    commit a374e89 ("KVM: s390/cpacf: Enable/disable protected key
    functions for kvm guest")
    commit 45c9b47 ("KVM: s390/CPACF: Choose crypto control block format")
    
    which all have been merged during the merge window for 4.0.
    Marcelo Tosatti authored and matosatti committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    bfb8fb4 View commit details
    Browse the repository at this point in the history
  15. xen-netback: return correct ethtool stats

    Use correct pointer arithmetic to get the pointer to each stat.
    
    Signed-off-by: David Vrabel <david.vrabel@citrix.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    David Vrabel authored and davem330 committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    d63951d View commit details
    Browse the repository at this point in the history
  16. xen-netback: unref frags when handling a from-guest skb with a frag list

    Every time a VIF is destroyed up to 256 pages may be leaked if packets
    with more than MAX_SKB_FRAGS frags were transmitted from the guest.
    Even worse, if another user of ballooned pages allocated one of these
    ballooned pages it would not handle the unexpectedly >1 page count
    (e.g., gntdev would deadlock when unmapping a grant because the page
    count would never reach 1).
    
    When handling a from-guest skb with a frag list, unref the frags
    before releasing them so they are freed correctly when the VIF is
    destroyed.
    
    Signed-off-by: David Vrabel <david.vrabel@citrix.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    David Vrabel authored and davem330 committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    49d9991 View commit details
    Browse the repository at this point in the history
  17. xen-netback: refactor xenvif_handle_frag_list()

    When handling a from-guest frag list, xenvif_handle_frag_list()
    replaces the frags before calling the destructor to clean up the
    original (foreign) frags.  Whilst this is safe (the destructor doesn't
    actually use the frags), it looks odd.
    
    Reorder the function to be less confusing.
    
    Signed-off-by: David Vrabel <david.vrabel@citrix.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    David Vrabel authored and davem330 committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    b0c21ba View commit details
    Browse the repository at this point in the history
  18. Merge branch 'xen-netback'

    David Vrabel says:
    
    ====================
    xen-netback: fix ethtool stats and memory leak
    
    A couple of bug fixes for netback:
    - make ethool stats to report the correct values.
    - don't leak 1 MiB every time a VIF is destroyed.
    
    Changes in v2:
    - Split 2nd patch into leak fix and refactor patches
    ====================
    
    Acked-by: Ian Campbell <ian.campbell@citrix.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    08c852c View commit details
    Browse the repository at this point in the history
  19. bnx2x: Force fundamental reset for EEH recovery

    EEH recovery for bnx2x based adapters is not reliable on all Power
    systems using the default hot reset, which can result in an
    unrecoverable EEH error. Forcing the use of fundamental reset
    during EEH recovery fixes this.
    
    Cc: stable<stable@vger.kernel.org>
    Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    bjking1 authored and davem330 committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    da29370 View commit details
    Browse the repository at this point in the history
  20. net: eth: xgene: fix booting with devicetree

    Commit de7b5b3 ("net: eth: xgene: change APM X-Gene SoC platform
    ethernet to support ACPI") breaks booting with devicetree with UEFI
    firmware. In that case, I get:
    
    Unhandled fault: synchronous external abort (0x96000010) at 0xfffffc0000620010
     Internal error: : 96000010 [#1] SMP
     Modules linked in: vfat fat xfs libcrc32c ahci_xgene libahci_platform libahci
     CPU: 7 PID: 634 Comm: NetworkManager Not tainted 4.0.0-rc1+ #4
     Hardware name: AppliedMicro Mustang/Mustang, BIOS 1.1.0-rh-0.14 Mar  1 2015
     task: fffffe03d4c7e100 ti: fffffe03d4e24000 task.ti: fffffe03d4e24000
     PC is at xgene_enet_rd_mcx_mac.isra.11+0x58/0xd4
     LR is at xgene_gmac_tx_enable+0x2c/0x50
     pc : [<fffffe000069d6fc>] lr : [<fffffe000069dcc4>] pstate: 80000145
     sp : fffffe03d4e27590
     x29: fffffe03d4e27590 x28: 0000000000000000
     x27: fffffe03d4e277c0 x26: fffffe03da8fda10
     x25: fffffe03d4e2760c x24: fffffe03d49e28c0
     x23: fffffc0000620004 x22: 0000000000000000
     x21: fffffc0000620000 x20: fffffc0000620010
     x19: 000000000000000b x18: 000003ffd4a96020
     x17: 000003ff7fc1f7a0 x16: fffffe000079b9cc
     x15: 0000000000000000 x14: 0000000000000000
     x13: 0000000000000000 x12: fffffe03d4e24000
     x11: fffffe03d4e27da0 x10: 0000000000000001
     x9 : 0000000000000000 x8 : fffffe03d4e27a20
     x7 : 0000000000000000 x6 : 00000000ffffffef
     x5 : fffffe000105f7d0 x4 : fffffe00007ca8c8
     x3 : fffffe03d4e2760c x2 : 0000000000000000
     x1 : fffffc0000620000 x0 : 0000000040000000
    
     Process NetworkManager (pid: 634, stack limit = 0xfffffe03d4e24028)
     Stack: (0xfffffe03d4e27590 to 0xfffffe03d4e28000)
     ...
     Call trace:
     [<fffffe000069d6fc>] xgene_enet_rd_mcx_mac.isra.11+0x58/0xd4
     [<fffffe000069dcc0>] xgene_gmac_tx_enable+0x28/0x50
     [<fffffe00006a112c>] xgene_enet_open+0x2c/0x130
     [<fffffe00007b9254>] __dev_open+0xc8/0x148
     [<fffffe00007b956c>] __dev_change_flags+0x90/0x158
     [<fffffe00007b9664>] dev_change_flags+0x30/0x70
     [<fffffe00007c8ab8>] do_setlink+0x278/0x870
     [<fffffe00007c95bc>] rtnl_newlink+0x404/0x6a8
     [<fffffe00007c8040>] rtnetlink_rcv_msg+0x98/0x218
     [<fffffe00007e78e4>] netlink_rcv_skb+0xe0/0xf8
     [<fffffe00007c7f94>] rtnetlink_rcv+0x30/0x44
     [<fffffe00007e6f2c>] netlink_unicast+0xfc/0x210
     [<fffffe00007e75b8>] netlink_sendmsg+0x498/0x5ac
     [<fffffe00007990b8>] do_sock_sendmsg+0xa4/0xcc
     [<fffffe000079a958>] ___sys_sendmsg+0x1fc/0x208
     [<fffffe000079b984>] __sys_sendmsg+0x4c/0x94
     [<fffffe000079b9f8>] SyS_sendmsg+0x2c/0x3c
    
    The problem here is that the enet hw clocks are not getting
    initialized because of a test to avoid the initialization if
    UEFI is used to boot. This is an incorrect test. When booting
    with UEFI and devicetree, the kernel must still initialize
    the enet hw clocks. If booting with ACPI, the clock hw is
    not exposed to the kernel and it is that case where we want
    to avoid initializing clocks.
    
    Signed-off-by: Mark Salter <msalter@redhat.com>
    Acked-by: Feng Kan <fkan@apm.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    mosalter authored and davem330 committed Mar 5, 2015
    Configuration menu
    Copy the full SHA
    b0ab0af View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2015

  1. net: bcmgenet: properly disable password matching

    bcmgenet_set_wol() correctly sets MPD_PW_EN when a password is specified
    to match magic packets against, however, when we switch from a
    password-matching to a matching without password we would leave this bit
    turned on, and GENET would only match magic packets with passwords.
    
    This can be reproduced using the following sequence:
    
    ethtool -s eth0 wol g
    ethtool -s eth0 wol s sopass 00:11:22:33:44:55
    ethtool -s eth0 wol g
    
    The simple fix is to clear the MPD_PWD_EN bit when WAKE_MAGICSECURE is
    not set.
    
    Fixes: c51de7f ("net: bcmgenet: add Wake-on-LAN support code")
    Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    ffainelli authored and davem330 committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    386668a View commit details
    Browse the repository at this point in the history
  2. ipv4: ip_check_defrag should not assume that skb_network_offset is zero

    ip_check_defrag() may be used by af_packet to defragment outgoing packets.
    skb_network_offset() of af_packet's outgoing packets is not zero.
    
    Signed-off-by: Alexander Drozdov <al.drozdov@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    sorc1 authored and davem330 committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    3e32e73 View commit details
    Browse the repository at this point in the history
  3. Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf

    Pablo Neira Ayuso says:
    
    ====================
    Netfilter/IPVS fixes for net
    
    The following patchset contains Netfilter/IPVS fixes for your net tree,
    they are:
    
    1) Don't truncate ethernet protocol type to u8 in nft_compat, from
       Arturo Borrero.
    
    2) Fix several problems in the addition/deletion of elements in nf_tables.
    
    3) Fix module refcount leak in ip_vs_sync, from Julian Anastasov.
    
    4) Fix a race condition in the abort path in the nf_tables transaction
       infrastructure. Basically aborted rules can show up as active rules
       until changes are unrolled, oneliner from Patrick McHardy.
    
    5) Check for overflows in the data area of the rule, also from Patrick.
    
    6) Fix off-by-one in the per-rule user data size field. This introduces
       a new nft_userdata structure that is placed at the beginning of the
       user data area that contains the length to save some bits from the
       rule and we only need one bit to indicate its presence, from Patrick.
    
    7) Fix rule replacement error path, the replaced rule is deleted on
       error instead of leaving it in place. This has been fixed by relying
       on the abort path to undo the incomplete replacement.
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    9d73b42 View commit details
    Browse the repository at this point in the history
  4. net: gianfar: correctly determine the number of queue groups

    eTSEC of-nodes may have children which are not queue-group nodes. For
    example new-style fixed-phy declarations. These where incorrectly
    assumed to be additional queue-groups.
    
    Change the search to filter out any nodes which are not queue-groups,
    or have been disabled.
    
    Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    wkz authored and davem330 committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    f50724c View commit details
    Browse the repository at this point in the history
  5. net: macb: Correct the MID field length value

    The latest spec "I-IPA01-0266-USR Rev 10" limit the MID field length to 12 bit
    value. For previous versions it is 16 bit value.
    
    This change will not break the backward compatibility as the latest ID value is
    7 and with in the 12 bit value limit.
    
    Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
    Signed-off-by: Michal Simek <michal.simek@xilinx.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Punnaiah Choudary Kalluri authored and davem330 committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    d941beb View commit details
    Browse the repository at this point in the history
  6. net: fec: fix unbalanced clk disable on driver unbind

    When the driver is removed (e.g. using unbind through sysfs), the
    clocks get disabled twice, once on fec_enet_close and once on
    fec_drv_remove. Since the clocks are enabled only once, this leads
    to a warning:
    
    WARNING: CPU: 0 PID: 402 at drivers/clk/clk.c:992 clk_core_disable+0x64/0x68()
    
    Remove the call to fec_enet_clk_enable in fec_drv_remove to balance
    the clock enable/disable calls again. This has been introduce by
    e8fcfcd ("net: fec: optimize the clock management to save power").
    
    Signed-off-by: Stefan Agner <stefan@agner.ch>
    Acked-by: Fugang Duan <B38611@freescale.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    agners authored and davem330 committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    e9647d1 View commit details
    Browse the repository at this point in the history
  7. tcp: align tcp_xmit_size_goal() on tcp_tso_autosize()

    With some mss values, it is possible tcp_xmit_size_goal() puts
    one segment more in TSO packet than tcp_tso_autosize().
    
    We send then one TSO packet followed by one single MSS.
    
    It is not a serious bug, but we can do slightly better, especially
    for drivers using netif_set_gso_max_size() to lower gso_max_size.
    
    Using same formula avoids these corner cases and makes
    tcp_xmit_size_goal() a bit faster.
    
    Signed-off-by: Eric Dumazet <edumazet@google.com>
    Fixes: 605ad7f ("tcp: refine TSO autosizing")
    Acked-by: Neal Cardwell <ncardwell@google.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Eric Dumazet authored and davem330 committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    6c09fa0 View commit details
    Browse the repository at this point in the history
  8. PCI: xgene: Add register offset to config space base address

    In xgene_pcie_map_bus(), we neglected to add in the register offset when
    calculating the config space address.  This means all config accesses
    operated on the first four bytes of config space.
    
    Add the register offset to the config space base address.
    
    Also correct the xgene_pcie_map_bus() prototype to fix a compiler warning.
    
    [bhelgaas: changelog]
    Fixes: 350f8be ("PCI: xgene: Convert to use generic config accessors")
    Posting: http://lkml.kernel.org/r/1424214840-26498-1-git-send-email-fkan@apm.com
    Signed-off-by: Feng Kan <fkan@apm.com>
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    Acked-by: Tanmay Inamdar <tinamdar@apm.com>
    Acked-by: Rob Herring <robh@kernel.org>
    apmsw authored and bjorn-helgaas committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    085a68d View commit details
    Browse the repository at this point in the history
  9. spi: dw-mid: avoid potential NULL dereference

    When DMA descriptor allocation fails we should not try to assign any fields in
    the bad descriptor. The patch adds the necessary checks for that.
    
    Fixes: 7063c0d (spi/dw_spi: add DMA support)
    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Cc: stable@vger.kernel.org
    andy-shev authored and broonie committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    c9dafb2 View commit details
    Browse the repository at this point in the history
  10. arm64: Don't use is_module_addr in setting page attributes

    The set_memory_* functions currently only support module
    addresses. The addresses are validated using is_module_addr.
    That function is special though and relies on internal state
    in the module subsystem to work properly. At the time of
    module initialization and calling set_memory_*, it's too early
    for is_module_addr to work properly so it always returns
    false. Rather than be subject to the whims of the module state,
    just bounds check against the module virtual address range.
    
    Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    labbott authored and ctmarinas committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    8b5f5a0 View commit details
    Browse the repository at this point in the history
  11. kernel/module.c: Update debug alignment after symtable generation

    When CONFIG_DEBUG_SET_MODULE_RONX is enabled, the sizes of
    module sections are aligned up so appropriate permissions can
    be applied. Adjusting for the symbol table may cause them to
    become unaligned. Make sure to re-align the sizes afterward.
    
    Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
    Acked-by: Rusty Russell <rusty@rustcorp.com.au>
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    labbott authored and ctmarinas committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    168e47f View commit details
    Browse the repository at this point in the history
  12. xen/events: avoid NULL pointer dereference in dom0 on large machines

    Using the pvops kernel a NULL pointer dereference was detected on a
    large machine (144 processors) when booting as dom0 in
    evtchn_fifo_unmask() during assignment of a pirq.
    
    The event channel in question was the first to need a new entry in
    event_array[] in events_fifo.c. Unfortunately xen_irq_info_pirq_setup()
    is called with evtchn being 0 for a new pirq and the real event channel
    number is assigned to the pirq only during __startup_pirq().
    
    It is mandatory to call xen_evtchn_port_setup() after assigning the
    event channel number to the pirq to make sure all memory needed for the
    event channel is allocated.
    
    Signed-off-by: Juergen Gross <jgross@suse.com>
    Cc: <stable@vger.kernel.org> # 3.14+
    Signed-off-by: David Vrabel <david.vrabel@citrix.com>
    jgross1 authored and David Vrabel committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    85e40b0 View commit details
    Browse the repository at this point in the history
  13. ARM: dts: DRA7x: Fix the bypass clock source for dpll_iva and others

    Fixes: ee6c750 (ARM: dts: dra7 clock data)
    
    On DRA7x, For DPLL_IVA, the ref clock(CLKINP) is connected to sys_clk1 and
    the bypass input(CLKINPULOW) is connected to iva_dpll_hs_clk_div clock.
    But the bypass input is not directly routed to bypass clkout instead
    both CLKINP and CLKINPULOW are connected to bypass clkout via a mux.
    
    This mux is controlled by the bit - CM_CLKSEL_DPLL_IVA[23]:DPLL_BYP_CLKSEL
    and it's POR value is zero which selects the CLKINP as bypass clkout.
    which means iva_dpll_hs_clk_div is not the bypass clock for dpll_iva_ck
    
    Fix this by adding another mux clock as parent in bypass mode.
    
    This design is common to most of the PLLs and the rest have only one bypass
    clock. Below is a list of the DPLLs that need this fix:
    
    DPLL_IVA, DPLL_DDR,
    DPLL_DSP, DPLL_EVE,
    DPLL_GMAC, DPLL_PER,
    DPLL_USB and DPLL_CORE
    
    Signed-off-by: Ravikumar Kattekola <rk@ti.com>
    Acked-by: Tero Kristo <t-kristo@ti.com>
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    Ravikumar Kattekola authored and tmlind committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    d2192ea View commit details
    Browse the repository at this point in the history
  14. ARM: dts: OMAP5: Fix the bypass clock source for dpll_iva and others

    Fixes 85dc74e (ARM: dts: omap5 clock data)
    
    On OMAP54xx, For DPLL_IVA, the ref clock(CLKINP) is connected to sys_clk1 and
    the bypass input(CLKINPULOW) is connected to iva_dpll_hs_clk_div clock.
    But the bypass input is not directly routed to bypass clkout instead
    both CLKINP and CLKINPULOW are connected to bypass clkout via a mux.
    
    This mux is controlled by the bit - CM_CLKSEL_DPLL_IVA[23]:DPLL_BYP_CLKSEL
    and it's POR value is zero which selects the CLKINP as bypass clkout.
    which means iva_dpll_hs_clk_div is not the bypass clock for dpll_iva_ck
    
    Fix this by adding another mux clock as parent in bypass mode.
    
    This design is common to most of the PLLs and the rest have only one bypass
    clock. Below is a list of the DPLLs that need this fix:
    
    DPLL_IVA,
    DPLL_PER,
    DPLL_USB and DPLL_CORE
    
    Signed-off-by: Ravikumar Kattekola <rk@ti.com>
    Acked-by: Tero Kristo <t-kristo@ti.com>
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    Ravikumar Kattekola authored and tmlind committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    ac92abc View commit details
    Browse the repository at this point in the history
  15. ARM: dts: am33xx-clocks: Fix ehrpwm tbclk data on am33xx

    ehrpwm tbclk is wrongly modelled as deriving from dpll_per_m2_ck.
    The TRM says tbclk is derived from SYSCLKOUT. SYSCLKOUT nothing but the
    functional clock of pwmss (l4ls_gclk).
    Fix this by changing source of ehrpwmx_tbclk to l4ls_gclk.
    
    Fixes: 9e100eb: ("Fix ehrpwm tbclk data")
    Signed-off-by: Vignesh R <vigneshr@ti.com>
    Acked-by: Tero Kristo <t-kristo@ti.com>
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    r-vignesh authored and tmlind committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    6e22616 View commit details
    Browse the repository at this point in the history
  16. ARM: dts: am43xx-clocks: Fix ehrpwm tbclk data on am43xx

    ehrpwm tbclk is wrongly modelled as deriving from dpll_per_m2_ck.
    The TRM says tbclk is derived from SYSCLKOUT. SYSCLKOUT nothing but the
    functional clock of pwmss (l4ls_gclk).
    Fix this by changing source of ehrpwmx_tbclk to l4ls_gclk.
    
    Fixes: 4da1c67 ("add tbclk data for ehrpwm")
    Signed-off-by: Vignesh R <vigneshr@ti.com>
    Acked-by: Tero Kristo <t-kristo@ti.com>
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    r-vignesh authored and tmlind committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    7d53d25 View commit details
    Browse the repository at this point in the history
  17. ARM: dts: am335x-bone-common: enable aes and sham

    Beaglebone Black doesn't have AES and SHAM enabled like the
    original Beaglebone White dts. This breaks applications that
    leverage the crypto blocks so fix this by enabling these nodes
    in the am335x-bone-common.dtsi. With this change, enabling the
    nodes in am335x-bone.dts is no longer required so remove them.
    
    Signed-off-by: Matt Porter <mporter@konsulko.com>
    Acked-by: Robert Nelson <robertcnelson@gmail.com>
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    ohporter authored and tmlind committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    a43b446 View commit details
    Browse the repository at this point in the history
  18. ARM: dts: am335x-lxm: Use rmii-clock-ext

    Use external clock for RMII since the internal clock doesn't meet the
    jitter requirements.
    
    Signed-off-by: George McCollister <george.mccollister@gmail.com>
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    gmccollister authored and tmlind committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    87be489 View commit details
    Browse the repository at this point in the history
  19. ARM: dts: OMAP5: fix polling intervals for thermal zones

    OMAP4 has a finer counter granularity, which allows for a delay of 1000ms
    in the thermal zone polling intervals. OMAP5 has a different counter
    mechanism, which allows at maximum a 500ms timer. Adjust the cpu thermal
    zone polling interval accordingly.
    
    Without this patch, the polling interval information is simply ignored,
    and the following thermal warnings are printed during boot (assuming
    thermal is enabled);
    
    [    1.545343] ti-soc-thermal 4a0021e0.bandgap: Delay 1000 ms is not supported
    [    1.552691] ti-soc-thermal 4a0021e0.bandgap: Delay 1000 ms is not supported
    [    1.560029] ti-soc-thermal 4a0021e0.bandgap: Delay 1000 ms is not supported
    
    Signed-off-by: Tero Kristo <t-kristo@ti.com>
    Cc: Tony Lindgren <tony@atomide.com>
    Acked-by: Eduardo Valentin <edubezval@gmail.com>
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    Tero Kristo authored and tmlind committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    38f5c8b View commit details
    Browse the repository at this point in the history
  20. ARM: dts: am33xx: fix SLEWCTRL_FAST pinctrl binding

    According to AM335x TRM, Document spruh73l, Revised February 2015,
    Section 9.2.2 Pad Control Registers, setting bit 6 of the pad control
    registers actually sets the SLEWCTRL value to slow rather than fast as
    the current macro indicates. Introduce a new macro, SLEWCTRL_SLOW, that
    sets the bit, and modify SLEWCTRL_FAST to 0 but keep it for
    completeness.
    
    Current users of the macro (i2c and mdio) are left unmodified as
    SLEWCTRL_FAST was the macro used and actual desired state. Tested on
    am335x-gp-evm with no difference in software performance seen.
    
    Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    dgerlach authored and tmlind committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    424e0f0 View commit details
    Browse the repository at this point in the history
  21. ARM: dts: am43xx: fix SLEWCTRL_FAST pinctrl binding

    According to AM437x TRM, Document SPRUHL7B, Revised December 2014,
    Section 7.2.1 Pad Control Registers, setting bit 19 of the pad control
    registers actually sets the SLEWCTRL value to slow rather than fast as
    the current macro indicates. Introduce a new macro, SLEWCTRL_SLOW, that
    sets the bit, and modify SLEWCTRL_FAST to 0 but keep it for
    completeness.
    
    Current users of the macro (i2c, mdio, and uart) are left unmodified as
    SLEWCTRL_FAST was the macro used and actual desired state. Tested on
    am437x-gp-evm with no difference in software performance seen.
    
    Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    dgerlach authored and tmlind committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    10b2185 View commit details
    Browse the repository at this point in the history
  22. ARM: dts: dra7x-evm: Don't use dcan1_rx.gpio1_15 in DCAN pinctrl

    Rev.F onwards ball G19 (dcan1_rx) is used as a GPIO for some other
    function so don't include it in DCAN pinctrl node.
    
    Signed-off-by: Roger Quadros <rogerq@ti.com>
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    Roger Quadros authored and tmlind committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    9b55808 View commit details
    Browse the repository at this point in the history
  23. ARM: dts: dra7x-evm: avoid possible contention while muxing on CAN lines

    DCAN1 RX and TX lines are internally pulled high according to [1].
    While muxing between DCAN mode and SAFE mode we make sure
    that the same pull direction is set to minimize opposite
    pull contention during the switching window.
    
    [1] in DRA7 data manual, Ball characteristics table 4-2, DSIS colum shows
    the state driven to the peripheral input while in the deselcted mode.
    DSIS - De-Selected Input State.
    
    Signed-off-by: Roger Quadros <rogerq@ti.com>
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    Roger Quadros authored and tmlind committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    d80d581 View commit details
    Browse the repository at this point in the history
  24. clk: divider: return real rate instead of divider value

    Commit bca9690 ("clk: divider: Make generic for usage elsewhere")
    returned only the divider value for read-only dividers instead of the
    actual rate.
    
    Fixes: bca9690 ("clk: divider: Make generic for usage elsewhere")
    Signed-off-by: Heiko Stuebner <heiko@sntech.de>
    Reviewed-by: James Hogan <james.hogan@imgtec.com>
    Tested-by: James Hogan <james.hogan@imgtec.com>
    Acked-by: Stephen Boyd <sboyd@codeaurora.org>
    Signed-off-by: Michael Turquette <mturquette@linaro.org>
    mmind authored and Michael Turquette committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    2f7bf4a View commit details
    Browse the repository at this point in the history
  25. xhci: fix reporting of 0-sized URBs in control endpoint

    When a control transfer has a short data stage, the xHCI controller generates
    two transfer events: a COMP_SHORT_TX event that specifies the untransferred
    amount, and a COMP_SUCCESS event. But when the data stage is not short, only the
    COMP_SUCCESS event occurs. Therefore, xhci-hcd must set urb->actual_length to
    urb->transfer_buffer_length while processing the COMP_SUCCESS event, unless
    urb->actual_length was set already by a previous COMP_SHORT_TX event.
    
    The driver checks this by seeing whether urb->actual_length == 0, but this alone
    is the wrong test, as it is entirely possible for a short transfer to have an
    urb->actual_length = 0.
    
    This patch changes the xhci driver to rely on a new td->urb_length_set flag,
    which is set to true when a COMP_SHORT_TX event is received and the URB length
    updated at that stage.
    
    This fixes a bug which affected the HSO plugin, which relies on URBs with
    urb->actual_length == 0 to halt re-submitting the RX URB in the control
    endpoint.
    
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
    Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    aleksander0m authored and gregkh committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    45ba215 View commit details
    Browse the repository at this point in the history
  26. xhci: Workaround for PME stuck issues in Intel xhci

    The xhci in Intel Sunrisepoint and Cherryview platforms need a driver
    workaround for a Stuck PME that might either block PME events in suspend,
    or create spurious PME events preventing runtime suspend.
    
    Workaround is to clear a internal PME flag, BIT(28) in a vendor specific
    PMCTRL register at offset 0x80a4, in both suspend resume callbacks
    
    Without this, xhci connected usb devices might never be able to wake up the
    system from suspend, or prevent device from going to suspend (xhci d3)
    
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    matnyman authored and gregkh committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    b8cb91e View commit details
    Browse the repository at this point in the history
  27. ARM: OMAP: enable TWL4030_USB in omap2plus_defconfig

    Enable TWL4030_USB which is used at least on Nokia N900/N950/N9 (OMAP3)
    and BeagleBoard.
    
    Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
    [tony@atomide.com: updated comments]
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    aakoskin authored and tmlind committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    2725917 View commit details
    Browse the repository at this point in the history
  28. Merge tag 'for-v4.0-rc/omap-fixes-a' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/pjw/omap-pending into omap-for-v4.0/fixes
    
    ARM: OMAP2+: first set of hwmod and PRCM fixes for v4.0-rc
    
    This series fixes the following bugs:
    
    - a lockdep problem with the OMAP hwmod code;
    - incorrect PCIe hwmod data for the DRA7xx chips;
    - the clockdomain handling in the hardreset deassertion code,
      preventing idle;
    - the use of an IRQ status register rather than an IRQ enable register
      in the OMAP4 PRM code.
    
    Basic build, boot, and PM test results are available here:
    
    http://www.pwsan.com/omap/testlogs/omap-hwmod-a-for-v4.0-rc/20150301165949/
    tmlind committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    796919c View commit details
    Browse the repository at this point in the history
  29. ARM: OMAP2+: Fix wl12xx on dm3730-evm with mainline u-boot

    I upgraded my u-boot and noticed that wl12xx stopped working.
    Turns out the kernel is not setting the quirk for the MMC2
    copy clock while the eariler bootloader I had was setting it.
    
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    tmlind committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    5b7610f View commit details
    Browse the repository at this point in the history
  30. spi: pl022: Fix race in giveback() leading to driver lock-up

    Commit fd31694 ("spi/pl022: disable port when unused") introduced a race,
    which leads to possible driver lock up (easily reproducible on SMP).
    
    The problem happens in giveback() function where the completion of the transfer
    is signalled to SPI subsystem and then the HW SPI controller is disabled. Another
    transfer might be setup in between, which brings driver in locked-up state.
    
    Exact event sequence on SMP:
    
    core0                                   core1
    
                                            => pump_transfers()
                                            /* message->state == STATE_DONE */
                                              => giveback()
                                                => spi_finalize_current_message()
    
    => pl022_unprepare_transfer_hardware()
    => pl022_transfer_one_message
      => flush()
      => do_interrupt_dma_transfer()
        => set_up_next_transfer()
        /* Enable SSP, turn on interrupts */
        writew((readw(SSP_CR1(pl022->virtbase)) |
               SSP_CR1_MASK_SSE), SSP_CR1(pl022->virtbase));
    
    ...
    
    => pl022_interrupt_handler()
      => readwriter()
    
                                            /* disable the SPI/SSP operation */
                                            => writew((readw(SSP_CR1(pl022->virtbase)) &
                                                      (~SSP_CR1_MASK_SSE)), SSP_CR1(pl022->virtbase));
    
    Lockup! SPI controller is disabled and the data will never be received. Whole
    SPI subsystem is waiting for transfer ACK and blocked.
    
    So, only signal transfer completion after disabling the controller.
    
    Fixes: fd31694 (spi/pl022: disable port when unused)
    Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Cc: stable@vger.kernel.org
    asverdlin authored and broonie committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    cd6fa8d View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    90bc293 View commit details
    Browse the repository at this point in the history
  32. Merge remote-tracking branches 'regulator/fix/da9210' and 'regulator/…

    …fix/rk808' into regulator-linus
    broonie committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    b5dabc8 View commit details
    Browse the repository at this point in the history
  33. Merge remote-tracking branches 'spi/fix/atmel', 'spi/fix/doc', 'spi/f…

    …ix/dw', 'spi/fix/img-spfi', 'spi/fix/pl022' and 'spi/fix/ti-qspi' into spi-linus
    broonie committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    60c1bee View commit details
    Browse the repository at this point in the history
  34. tpm/ibmvtpm: Additional LE support for tpm_ibmvtpm_send

    Problem: When IMA and VTPM are both enabled in kernel config,
    kernel hangs during bootup on LE OS.
    
    Why?: IMA calls tpm_pcr_read() which results in tpm_ibmvtpm_send
    and tpm_ibmtpm_recv getting called. A trace showed that
    tpm_ibmtpm_recv was hanging.
    
    Resolution: tpm_ibmtpm_recv was hanging because tpm_ibmvtpm_send
    was sending CRQ message that probably did not make much sense
    to phype because of Endianness. The fix below sends correctly
    converted CRQ for LE. This was not caught before because it
    seems IMA is not enabled by default in kernel config and
    IMA exercises this particular code path in vtpm.
    
    Tested with IMA and VTPM enabled in kernel config and VTPM
    enabled on both a BE OS and a LE OS ppc64 lpar. This exercised
    CRQ and TPM command code paths in vtpm.
    Patch is against Peter's tpmdd tree on github which included
    Vicky's previous vtpm le patches.
    
    Signed-off-by: Joy Latten <jmlatten@linux.vnet.ibm.com>
    Cc: <stable@vger.kernel.org> # eb71f8a: "Added Little Endian support to vtpm module"
    Cc: <stable@vger.kernel.org>
    Reviewed-by: Ashley Lai <ashley@ahsleylai.com>
    Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
    jmlatten@linux.vnet.ibm.com authored and PeterHuewe committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    62dfd91 View commit details
    Browse the repository at this point in the history
  35. tpm: fix call order in tpm-chip.c

    - tpm_dev_add_device(): cdev_add() must be done before uevent is
      propagated in order to avoid races.
    - tpm_chip_register(): tpm_dev_add_device() must be done as the
      last step before exposing device to the user space in order to
      avoid races.
    
    In addition clarified description in tpm_chip_register().
    
    Fixes: 313d21e ("tpm: device class for tpm")
    Fixes: afb5abc ("tpm: two-phase chip management functions")
    
    Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
    Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
    Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
    Jarkko Sakkinen authored and PeterHuewe committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    19913b6 View commit details
    Browse the repository at this point in the history
  36. Merge tag 'v4.0-rc2' into drm-fixes

    Linux 4.0-rc2
    
    Merging this manually as the i915 change is in it,
    and intel fixes are on top of this
    airlied committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    b0b20ce View commit details
    Browse the repository at this point in the history
  37. Merge tag 'drm-intel-fixes-2015-03-05' of git://anongit.freedesktop.o…

    …rg/drm-intel into drm-fixes
    
    two fixes, both cc'd stable.
    
    * tag 'drm-intel-fixes-2015-03-05' of git://anongit.freedesktop.org/drm-intel:
      drm/i915: gen4: work around hang during hibernation
      drm/i915: Check for driver readyness before handling an underrun interrupt
    airlied committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    f6bec6e View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2015

  1. i2c: designware-baytrail: describe magic numbers

    The patch converts hardcoded numerical constants to a named ones.
    
    While here, align the variable name in get_sem() and reset_semaphore().
    
    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Acked-by: David E. Box <david.e.box@linux.intel.com>
    Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
    andy-shev authored and Wolfram Sang committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    9b5c9f0 View commit details
    Browse the repository at this point in the history
  2. i2c: designware-baytrail: fix typo in error path

    It seems we have same message for different return values in get_sem() and
    baytrail_i2c_acquire(). I suspect this is just a typo, so this patch fixes it.
    
    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Acked-by: David E. Box <david.e.box@linux.intel.com>
    Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
    andy-shev authored and Wolfram Sang committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    259aada View commit details
    Browse the repository at this point in the history
  3. i2c: designware-baytrail: fix sparse warnings

    There is no need to export functions that are used as the callbacks in the
    struct dw_i2c_dev. Otherwise we get the following warnings:
    
    drivers/i2c/busses/i2c-designware-baytrail.c:63:5: warning: symbol 'baytrail_i2c_acquire' was not declared. Should it be static?
    drivers/i2c/busses/i2c-designware-baytrail.c:114:6: warning: symbol 'baytrail_i2c_release' was not declared. Should it be static?
    
    While here, do few indentation fixes, remove i2c_dw_eval_lock_support() from
    functions exported to the modules and redundant assignment of local sem
    variable.
    
    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Acked-by: David E. Box <david.e.box@linux.intel.com>
    Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
    andy-shev authored and Wolfram Sang committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    c8e043e View commit details
    Browse the repository at this point in the history
  4. i2c: designware-baytrail: cross-check lock functions

    It seems the idea behind the cross-check is to prevent acquire semaphore when
    there is no release callback and vice versa. Thus, patch fixes a typo.
    
    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Acked-by: David E. Box <david.e.box@linux.intel.com>
    Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
    andy-shev authored and Wolfram Sang committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    30be774 View commit details
    Browse the repository at this point in the history
  5. i2c: designware-baytrail: baytrail_i2c_acquire() might sleep

    This patch marks baytrail_i2c_acquire() that it might sleep. Also it chages
    while-loop to do-while and, though it is matter of taste, gives a chance to
    check one more time before report a timeout.
    
    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Acked-by: David E. Box <david.e.box@linux.intel.com>
    Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
    andy-shev authored and Wolfram Sang committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    ebf2ef8 View commit details
    Browse the repository at this point in the history
  6. i2c: imx: add required clocks property to binding

    A clock specifier is required for i.MX I2C and is
    provided in all DTS implementations. Add this to the
    list of required properties in the binding.
    
    Signed-off-by: Matt Porter <mporter@konsulko.com>
    Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
    ohporter authored and Wolfram Sang committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    5d23211 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux

    Pull drm fixes from Dave Airlie:
     "Radeon, imx, msm, and i915 fixes.
    
      The msm, imx and i915 ones are fairly run of the mill.
    
      Radeon had some DP audio and posting reads for irq fixes, along with a
      fix for 32-bit kernels with new cards, we were using unsigned long to
      represent GPU side memory space, but since that changed size on 32 vs
      64 cards with lots of VRAM failed, so the change has no effect on
      x86-64, just moves to using uint64_t instead"
    
    * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux: (35 commits)
      drm/msm: kexec fixes
      drm/msm/mdp5: fix cursor blending
      drm/msm/mdp5: fix cursor ROI
      drm/msm/atomic: Don't leak atomic commit object when commit fails
      drm/msm/mdp5: Avoid flushing registers when CRTC is disabled
      drm/msm: update generated headers (add 6th lm.base entry)
      drm/msm/mdp5: fixup "drm/msm: fix fallout of atomic dpms changes"
      drm/ttm: device address space != CPU address space
      drm/mm: Support 4 GiB and larger ranges
      drm/i915: gen4: work around hang during hibernation
      drm/i915: Check for driver readyness before handling an underrun interrupt
      drm/radeon: fix interlaced modes on DCE8
      drm/radeon: fix DRM_IOCTL_RADEON_CS oops
      drm/radeon: do a posting read in cik_set_irq
      drm/radeon: do a posting read in si_set_irq
      drm/radeon: do a posting read in evergreen_set_irq
      drm/radeon: do a posting read in r600_set_irq
      drm/radeon: do a posting read in rs600_set_irq
      drm/radeon: do a posting read in r100_set_irq
      radeon/audio: fix DP audio on DCE6
      ...
    torvalds committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    af13e86 View commit details
    Browse the repository at this point in the history
  8. Revert "tty/serial: of_serial: add DT alias ID handling"

    This reverts commit 6d01bb9.
    
    The exact same code was added in commit 3239fd3 (serial: of-serial: fetch
    line number from DT) a few lined above. Doing this once should be enough.
    
    Cc: Rob Herring <robh@kernel.org>
    Signed-off-by: Baruch Siach <baruch@tkos.co.il>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    baruchsiach authored and gregkh committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    045f32d View commit details
    Browse the repository at this point in the history
  9. serial: 8250: Revert "tty: serial: 8250_core: read only RX if there i…

    …s something in the FIFO"
    
    This reverts commit 0aa525d.
    
    The conditional RX-FIFO read seems to cause spurious interrupts and we
    see just:
    |serial8250: too much work for irq29
    
    The previous behaviour was "default" for decades and Marvell's 88f6282 SoC
    might not be the only that relies on it. Therefore the Omap fix is
    reverted for now.
    
    Fixes: 0aa525d ("tty: serial: 8250_core: read only RX if there is
    something in the FIFO")
    Reported-By: Nicolas Schichan <nschichan@freebox.fr>
    Debuged-By: Peter Hurley <peter@hurleysoftware.com>
    Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Sebastian Andrzej Siewior authored and gregkh committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    ca8bb4a View commit details
    Browse the repository at this point in the history
  10. Change email address for 8250_pci

    I'm still receiving reports to my email address, so let's point this
    at the linux-serial mailing list instead.
    
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Russell King authored and gregkh committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    f2e0ea8 View commit details
    Browse the repository at this point in the history
  11. serial:8250:8250_pci: fix redundant entry report for WCH_CH352_2S

    Commit 8b5c913
    ("serial: 8250_pci: Add WCH CH352 quirk to avoid Xscale detection")
    trigger one redundant entry report message.
    
    This patch fix it.
    
    Reported-by: Russell King <rmk@arm.linux.org.uk>
    Signed-off-by: Wang YanQing <udknight@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    wyqkp authored and gregkh committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    6262a36 View commit details
    Browse the repository at this point in the history
  12. serial:8250:8250_pci: delete unneeded quirk entries

    These quirk entries have the same effect as default
    quirk entry, so we can just delete them.
    
    Signed-off-by: Wang YanQing <udknight@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    wyqkp authored and gregkh committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    7cf9110 View commit details
    Browse the repository at this point in the history
  13. serial: 8250_dw: Fix get_mctrl behaviour

    Fixed behaviour of get_mctrl() serial driver function as documented in:
    https://www.kernel.org/doc/Documentation/serial/driver
    
    Added device-tree properties 'dcd-override', 'dsr-override',
    'cts-override', and 'ri-override' specific to the Synopsis 8250
    DesignWare UART driver. Allows one to force Data Carrier Detect,
    Clear To Send, and Data Set Ready signals to permanently be reported as
    active. The Ring indicator can be forced to be reported as inactive.
    
    It is possible that if modem control signalling is enabled on a port
    that doesn't have these pins (e.g. - a simple two wire Tx/Rx port), the
    driver can hang indefinitely waiting for the state to change. The new
    DT properties allow the driver to ignore the state of these pins on
    serial ports that don't support them, as recommended in the kernel
    documentation.
    
    Reviewed-by: JD (Jiandong) Zheng <jdzheng@broadcom.com>
    Signed-off-by: Jonathan Richardson <jonathar@broadcom.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Desmond Liu authored and gregkh committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    dfd3766 View commit details
    Browse the repository at this point in the history
  14. tty: fix up atime/mtime mess, take four

    This problem was taken care of three times already in
    * b0de59b (TTY: do not update
      atime/mtime on read/write),
    * 37b7f3c (TTY: fix atime/mtime
      regression), and
    * b0b8856 (tty: fix up atime/mtime
      mess, take three)
    
    But it still misses one point. As John Paul correctly points out, we
    do not care about setting date. If somebody ever changes wall
    time backwards (by mistake for example), tty timestamps are never
    updated until the original wall time passes.
    
    So check the absolute difference of times and if it large than "8
    seconds or so", always update the time. That means we will update
    immediatelly when changing time. Ergo, CAP_SYS_TIME can foul the
    check, but it was always that way.
    
    Thanks John for serving me this so nicely debugged.
    
    Signed-off-by: Jiri Slaby <jslaby@suse.cz>
    Reported-by: John Paul Perry <john_paul.perry@alcatel-lucent.com>
    Cc: <stable@vger.kernel.org> # all, as b0b8856 was backported
    Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Jiri Slaby authored and gregkh committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    f0bf0bd View commit details
    Browse the repository at this point in the history
  15. console: Fix console name size mismatch

    commit 6ae9200 ("enlarge console.name") increased the storage
    for the console name to 16 bytes, but not the corresponding
    struct console_cmdline::name storage. Console names longer than
    8 bytes cause read beyond end-of-string and failure to match
    console; I'm not sure if there are other unexpected consequences.
    
    Cc: <stable@vger.kernel.org> # 2.6.22+
    Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    peterhurley authored and gregkh committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    30a22c2 View commit details
    Browse the repository at this point in the history
  16. serial: sprd: Fix missing spin_unlock in sprd_handle_irq()

    Fix return from sprd_handle_irq() with spin_lock held.
    
    Signed-off-by: Axel Lin <axel.lin@ingics.com>
    Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    AxelLin authored and gregkh committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    c4e6dcf View commit details
    Browse the repository at this point in the history
  17. serial: core: Fix iotype userspace breakage

    commit 3ffb1a8 ("serial: core: Add big-endian iotype")
    re-numbered userspace-dependent values; ioctl(TIOCSSERIAL) can
    assign the port iotype (which is expected to match the selected
    i/o accessors), so iotype values must not be changed.
    
    Cc: Kevin Cernekee <cernekee@gmail.com>
    Cc: <stable@vger.kernel.org> # 3.19+
    Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
    Reviewed-by: Kevin Cernekee <cernekee@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    peterhurley authored and gregkh committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    2bb7851 View commit details
    Browse the repository at this point in the history
  18. serial: uapi: Declare all userspace-visible io types

    ioctl(TIOCGSERIAL|TIOCSSERIAL) report and can change the port->iotype.
    UART drivers use the UPIO_* definitions, but the uapi header defines
    parallel values and userspace uses these parallel values for ioctls;
    thus the userspace values are definitive.
    
    Define UPIO_* iotypes in terms of the uapi defines, SERIAL_IO_*;
    extend the uapi defines to include all values in use by the serial
    core.
    
    Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    peterhurley authored and gregkh committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    647f162 View commit details
    Browse the repository at this point in the history
  19. net: irda: fix wait_until_sent poll timeout

    In case an infinite timeout (0) is requested, the irda wait_until_sent
    implementation would use a zero poll timeout rather than the default
    200ms.
    
    Note that wait_until_sent is currently never called with a 0-timeout
    argument due to a bug in tty_wait_until_sent.
    
    Fixes: 1da177e ("Linux-2.6.12-rc2")
    Cc: stable <stable@vger.kernel.org>	# v2.6.12
    Signed-off-by: Johan Hovold <johan@kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    jhovold authored and gregkh committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    2c3fbe3 View commit details
    Browse the repository at this point in the history
  20. TTY: bfin_jtag_comm: remove incorrect wait_until_sent operation

    Remove incorrect and redundant wait_until_sent operation, which waits
    for the driver buffer rather than any hardware buffers to drain,
    something which is already taken care of by the tty layer (and
    chars_in_buffer).
    
    Signed-off-by: Johan Hovold <johan@kernel.org>
    Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    jhovold authored and gregkh committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    6b270fd View commit details
    Browse the repository at this point in the history
  21. USB: serial: fix infinite wait_until_sent timeout

    Make sure to handle an infinite timeout (0).
    
    Note that wait_until_sent is currently never called with a 0-timeout
    argument due to a bug in tty_wait_until_sent.
    
    Fixes: dcf0105 ("USB: serial: add generic wait_until_sent
    implementation")
    Cc: stable <stable@vger.kernel.org>	# v3.10
    
    Signed-off-by: Johan Hovold <johan@kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    jhovold authored and gregkh committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    f528bf4 View commit details
    Browse the repository at this point in the history
  22. TTY: fix tty_wait_until_sent on 64-bit machines

    Fix overflow bug in tty_wait_until_sent on 64-bit machines, where an
    infinite timeout (0) would be passed to the underlying tty-driver's
    wait_until_sent-operation as a negative timeout (-1), causing it to
    return immediately.
    
    This manifests itself for example as tcdrain() returning immediately,
    drivers not honouring the drain flags when setting terminal attributes,
    or even dropped data on close as a requested infinite closing-wait
    timeout would be ignored.
    
    The first symptom  was reported by Asier LLANO who noted that tcdrain()
    returned prematurely when using the ftdi_sio usb-serial driver.
    
    Fix this by passing 0 rather than MAX_SCHEDULE_TIMEOUT (LONG_MAX) to the
    underlying tty driver.
    
    Note that the serial-core wait_until_sent-implementation is not affected
    by this bug due to a lucky chance (comparison to an unsigned maximum
    timeout), and neither is the cyclades one that had an explicit check for
    negative timeouts, but all other tty drivers appear to be affected.
    
    Fixes: 1da177e ("Linux-2.6.12-rc2")
    Cc: stable <stable@vger.kernel.org>	# v2.6.12
    Reported-by: ZIV-Asier Llano Palacios <asier.llano@cgglobal.com>
    Signed-off-by: Johan Hovold <johan@kernel.org>
    Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    jhovold authored and gregkh committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    79fbf4a View commit details
    Browse the repository at this point in the history
  23. TTY: fix tty_wait_until_sent maximum timeout

    Currently tty_wait_until_sent may take up to twice as long as the
    requested timeout while waiting for driver and hardware buffers to
    drain.
    
    Fix this by taking the remaining number of jiffies after waiting for
    driver buffers to drain into account so that the timeout actually
    becomes a maximum timeout as it is documented to be.
    
    Note that this specifically implies tighter timings when closing a port
    as a consequence of actually honouring the port closing-wait setting
    for drivers relying on tty_wait_until_sent_from_close (e.g. via
    tty_port_close_start).
    
    Signed-off-by: Johan Hovold <johan@kernel.org>
    Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    jhovold authored and gregkh committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    c37bc68 View commit details
    Browse the repository at this point in the history
  24. libsas: Fix Kernel Crash in smp_execute_task

    This crash was reported:
    
    [  366.947370] sd 3:0:1:0: [sdb] Spinning up disk....
    [  368.804046] BUG: unable to handle kernel NULL pointer dereference at           (null)
    [  368.804072] IP: [<ffffffff81358457>] __mutex_lock_common.isra.7+0x9c/0x15b
    [  368.804098] PGD 0
    [  368.804114] Oops: 0002 [#1] SMP
    [  368.804143] CPU 1
    [  368.804151] Modules linked in: sg netconsole s3g(PO) uinput joydev hid_multitouch usbhid hid snd_hda_codec_via cpufreq_userspace cpufreq_powersave cpufreq_stats uhci_hcd cpufreq_conservative snd_hda_intel snd_hda_codec snd_hwdep snd_pcm sdhci_pci snd_page_alloc sdhci snd_timer snd psmouse evdev serio_raw pcspkr soundcore xhci_hcd shpchp s3g_drm(O) mvsas mmc_core ahci libahci drm i2c_core acpi_cpufreq mperf video processor button thermal_sys dm_dmirror exfat_fs exfat_core dm_zcache dm_mod padlock_aes aes_generic padlock_sha iscsi_target_mod target_core_mod configfs sswipe libsas libata scsi_transport_sas picdev via_cputemp hwmon_vid fuse parport_pc ppdev lp parport autofs4 ext4 crc16 mbcache jbd2 sd_mod crc_t10dif usb_storage scsi_mod ehci_hcd usbcore usb_common
    [  368.804749]
    [  368.804764] Pid: 392, comm: kworker/u:3 Tainted: P        W  O 3.4.87-logicube-ng.22 #1 To be filled by O.E.M. To be filled by O.E.M./EPIA-M920
    [  368.804802] RIP: 0010:[<ffffffff81358457>]  [<ffffffff81358457>] __mutex_lock_common.isra.7+0x9c/0x15b
    [  368.804827] RSP: 0018:ffff880117001cc0  EFLAGS: 00010246
    [  368.804842] RAX: 0000000000000000 RBX: ffff8801185030d0 RCX: ffff88008edcb420
    [  368.804857] RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff8801185030d4
    [  368.804873] RBP: ffff8801181531c0 R08: 0000000000000020 R09: 00000000fffffffe
    [  368.804885] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801185030d4
    [  368.804899] R13: 0000000000000002 R14: ffff880117001fd8 R15: ffff8801185030d8
    [  368.804916] FS:  0000000000000000(0000) GS:ffff88011fc80000(0000) knlGS:0000000000000000
    [  368.804931] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
    [  368.804946] CR2: 0000000000000000 CR3: 000000000160b000 CR4: 00000000000006e0
    [  368.804962] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    [  368.804978] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
    [  368.804995] Process kworker/u:3 (pid: 392, threadinfo ffff880117000000, task ffff8801181531c0)
    [  368.805009] Stack:
    [  368.805017]  ffff8801185030d8 0000000000000000 ffffffff8161ddf0 ffffffff81056f7c
    [  368.805062]  000000000000b503 ffff8801185030d0 ffff880118503000 0000000000000000
    [  368.805100]  ffff8801185030d0 ffff8801188b8000 ffff88008edcb420 ffffffff813583ac
    [  368.805135] Call Trace:
    [  368.805153]  [<ffffffff81056f7c>] ? up+0xb/0x33
    [  368.805168]  [<ffffffff813583ac>] ? mutex_lock+0x16/0x25
    [  368.805194]  [<ffffffffa018c414>] ? smp_execute_task+0x4e/0x222 [libsas]
    [  368.805217]  [<ffffffffa018ce1c>] ? sas_find_bcast_dev+0x3c/0x15d [libsas]
    [  368.805240]  [<ffffffffa018ce4f>] ? sas_find_bcast_dev+0x6f/0x15d [libsas]
    [  368.805264]  [<ffffffffa018e989>] ? sas_ex_revalidate_domain+0x37/0x2ec [libsas]
    [  368.805280]  [<ffffffff81355a2a>] ? printk+0x43/0x48
    [  368.805296]  [<ffffffff81359a65>] ? _raw_spin_unlock_irqrestore+0xc/0xd
    [  368.805318]  [<ffffffffa018b767>] ? sas_revalidate_domain+0x85/0xb6 [libsas]
    [  368.805336]  [<ffffffff8104e5d9>] ? process_one_work+0x151/0x27c
    [  368.805351]  [<ffffffff8104f6cd>] ? worker_thread+0xbb/0x152
    [  368.805366]  [<ffffffff8104f612>] ? manage_workers.isra.29+0x163/0x163
    [  368.805382]  [<ffffffff81052c4e>] ? kthread+0x79/0x81
    [  368.805399]  [<ffffffff8135fea4>] ? kernel_thread_helper+0x4/0x10
    [  368.805416]  [<ffffffff81052bd5>] ? kthread_flush_work_fn+0x9/0x9
    [  368.805431]  [<ffffffff8135fea0>] ? gs_change+0x13/0x13
    [  368.805442] Code: 83 7d 30 63 7e 04 f3 90 eb ab 4c 8d 63 04 4c 8d 7b 08 4c 89 e7 e8 fa 15 00 00 48 8b 43 10 4c 89 3c 24 48 89 63 10 48 89 44 24 08 <48> 89 20 83 c8 ff 48 89 6c 24 10 87 03 ff c8 74 35 4d 89 ee 41
    [  368.805851] RIP  [<ffffffff81358457>] __mutex_lock_common.isra.7+0x9c/0x15b
    [  368.805877]  RSP <ffff880117001cc0>
    [  368.805886] CR2: 0000000000000000
    [  368.805899] ---[ end trace b720682065d8f4cc ]---
    
    It's directly caused by 89d3cf6 [SCSI] libsas: add mutex for SMP task
    execution, but shows a deeper cause: expander functions expect to be able to
    cast to and treat domain devices as expanders.  The correct fix is to only do
    expander discover when we know we've got an expander device to avoid wrongly
    casting a non-expander device.
    
    Reported-by: Praveen Murali <pmurali@logicube.com>
    Tested-by: Praveen Murali <pmurali@logicube.com>
    Cc: stable@vger.kernel.org
    Signed-off-by: James Bottomley <JBottomley@Parallels.com>
    James Bottomley authored and James Bottomley committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    6302ce4 View commit details
    Browse the repository at this point in the history
  25. Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/arm64/linux
    
    Pull arm64 fixes from Catalin Marinas:
     "arm64 and generic kernel/module.c (acked by Rusty) fixes for
      CONFIG_DEBUG_SET_MODULE_RONX"
    
    * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
      kernel/module.c: Update debug alignment after symtable generation
      arm64: Don't use is_module_addr in setting page attributes
    torvalds committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    9aae0df View commit details
    Browse the repository at this point in the history
  26. Merge branch 'fixes' of git://git.infradead.org/users/vkoul/slave-dma

    Pull slave-dmaengine fixes from Vinod Koul:
     "This contains small fixes spread across the drivers"
    
    * 'fixes' of git://git.infradead.org/users/vkoul/slave-dma:
      dmaengine: mmp_pdma: fix warning about slave caps
      dmaengine: qcom_bam_dma: fix wrong register offsets
      dmaengine: bam-dma: fix a warning about missing capabilities
      dmaengine: ioatdma: workaround for incorrect DMACAP register
      dmaengine: at_xdmac: fix for chan conf simplification
      dmaengine: dw: don't handle interrupt when dmaengine is not used
      dma: mmp-tdma: refine dma disable and dma-pos update
      dmaengine: shdma: Move DMA stop to (runtime) suspend callbacks
      dmaenegine: mmp-pdma: fix irq handler overwrite physical chan issue
    torvalds committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    374dab2 View commit details
    Browse the repository at this point in the history
  27. Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/wsa/linux
    
    Pull i2c fixes from Wolfram Sang:
     "A set of updates and bugfixes for the new designware-baytrail driver.
    
      And a documentation bugfix"
    
    * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
      i2c: imx: add required clocks property to binding
      i2c: designware-baytrail: baytrail_i2c_acquire() might sleep
      i2c: designware-baytrail: cross-check lock functions
      i2c: designware-baytrail: fix sparse warnings
      i2c: designware-baytrail: fix typo in error path
      i2c: designware-baytrail: describe magic numbers
    torvalds committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    2cf3afc View commit details
    Browse the repository at this point in the history
  28. Input: psmouse - remove hardcoded touchpad size from the focaltech dr…

    …iver
    
    The size has in most cases already been fetched from the touchpad, the
    hardcoded values should have been removed.
    
    Signed-off-by: Mathias Gottschlag <mgottschlag@gmail.com>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    mgottschlag authored and dtor committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    3e98452 View commit details
    Browse the repository at this point in the history
  29. Input: psmouse - ensure that focaltech reports consistent coordinates

    We don't know whether x_max or y_max really hold the maximum possible
    coordinates, and we don't know for sure whether we correctly interpret the
    coordinates sent by the touchpad, so we clamp the reported values to
    prevent confusion in userspace code.
    
    Signed-off-by: Mathias Gottschlag <mgottschlag@gmail.com>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    mgottschlag authored and dtor committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    679d83e View commit details
    Browse the repository at this point in the history
  30. Input: psmouse - disable changing resolution/rate/scale for FocalTech

    These PS/2 commands make some touchpads stop responding, so this commit
    adds some dummy functions to replace the generic implementation. Because
    scale changes were not encapsulated in a method of struct psmouse yet, this
    commit adds a method set_scale to psmouse.
    
    Signed-off-by: Mathias Gottschlag <mgottschlag@gmail.com>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    mgottschlag authored and dtor committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    4ec212f View commit details
    Browse the repository at this point in the history
  31. Input: psmouse - disable "palm detection" in the focaltech driver

    Apparently, the threshold for large contact area seems to be rather low on
    some devices, causing the touchpad to frequently freeze during normal
    usage. Because we do now know how we are supposed to use the value in
    question, this commit just drops the related code completely.
    
    Signed-off-by: Mathias Gottschlag <mgottschlag@gmail.com>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    mgottschlag authored and dtor committed Mar 7, 2015
    Configuration menu
    Copy the full SHA
    4eb8d6e View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2015

  1. irqchip: armada-370-xp: Fix chained per-cpu interrupts

    On the Cortex-A9-based Armada SoCs, the MPIC is not the primary interrupt
    controller. Yet, it still has to handle some per-cpu interrupt.
    
    To do so, it is chained with the GIC using a per-cpu interrupt. However, the
    current code only call irq_set_chained_handler, which is called and enable that
    interrupt only on the boot CPU, which means that the parent per-CPU interrupt
    is never unmasked on the secondary CPUs, preventing the per-CPU interrupt to
    actually work as expected.
    
    This was not seen until now since the only MPIC PPI users were the Marvell
    timers that were not working, but not used either since the system use the ARM
    TWD by default, and the ethernet controllers, that are faking there interrupts
    as SPI, and don't really expect to have interrupts on the secondary cores
    anyway.
    
    Add a CPU notifier that will enable the PPI on the secondary cores when they
    are brought up.
    
    Cc: <stable@vger.kernel.org> # 3.15+
    Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
    Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
    Link: https://lkml.kernel.org/r/1425378443-28822-1-git-send-email-maxime.ripard@free-electrons.com
    Signed-off-by: Jason Cooper <jason@lakedaemon.net>
    mripard authored and Jason Cooper committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    5724be8 View commit details
    Browse the repository at this point in the history
  2. irqchip: gicv3-its: Fix ITS CPU init

    We skip initialisation of ITS in case the device-tree has no
    corresponding description, but we are still accessing to ITS bits while
    setting CPU interface what leads to the kernel panic:
    
    ITS: No ITS available, not enabling LPIs
    CPU0: found redistributor 0 region 0:0x000000002f100000
    Unable to handle kernel NULL pointer dereference at virtual address 00000000
    pgd = ffffffc0007fb000
    [00000000] *pgd=00000000fc407003, *pud=00000000fc407003, *pmd=00000000fc408003, *pte=006000002f000707
    Internal error: Oops: 96000005 [#1] PREEMPT SMP
    Modules linked in:
    CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.19.0-rc2+ #318
    Hardware name: FVP Base (DT)
    task: ffffffc00077edb0 ti: ffffffc00076c000 task.ti: ffffffc00076c000
    PC is at its_cpu_init+0x2c/0x320
    LR is at gic_cpu_init+0x168/0x1bc
    
    It happens in gic_rdists_supports_plpis() because gic_rdists is NULL.
    The gic_rdists is set to non-NULL only when ITS node is presented in
    the device-tree.
    
    Fix this by moving the call to gic_rdists_supports_plpis() inside the
    !list_empty(&its_nodes) block, because it is that list that guards the
    validity of the rest of the information in this driver.
    
    Acked-by: Marc Zyngier <marc.zyngier@arm.com>
    Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
    Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
    Link: https://lkml.kernel.org/r/1425659870-11832-2-git-send-email-marc.zyngier@arm.com
    Signed-off-by: Jason Cooper <jason@lakedaemon.net>
    Vladimir Murzin authored and Jason Cooper committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    16acae7 View commit details
    Browse the repository at this point in the history
  3. irqchip: gicv3-its: Allocate enough memory for the full range of Devi…

    …ceID
    
    The ITS table allocator is only allocating a single page per table.
    This works fine for most things, but leads to silent lack of
    interrupt delivery if we end-up with a device that has an ID that is
    out of the range defined by a single page of memory. Even worse, depending
    on the page size, behaviour changes, which is not a very good experience.
    
    A solution is actually to allocate memory for the full range of ID that
    the ITS supports. A massive waste memory wise, but at least a safe bet.
    
    Tested on a Phytium SoC.
    
    Tested-by: Chen Baozi <chenbaozi@kylinos.com.cn>
    Acked-by: Chen Baozi <chenbaozi@kylinos.com.cn>
    Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
    Link: https://lkml.kernel.org/r/1425659870-11832-3-git-send-email-marc.zyngier@arm.com
    Signed-off-by: Jason Cooper <jason@lakedaemon.net>
    Marc Zyngier authored and Jason Cooper committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    f54b97e View commit details
    Browse the repository at this point in the history
  4. irqchip: gicv3-its: Iterate over PCI aliases to generate ITS configur…

    …ation
    
    The current PCI/MSI support in the GICv3 ITS doesn't really deal
    with systems where different PCI devices end-up using the same
    RequesterID (as it would be the case with non-transparent bridges,
    for example). It is likely that none of these devices would
    actually generate any interrupt, as the ITS is programmed with
    the device's own ID, and not that of the bridge.
    
    A solution to this is to iterate over the PCI hierarchy to
    discover what the device aliases too. We also use this
    to discover the upper bound of the number of MSIs that this
    sub-hierarchy can generate.
    
    With this in place, PCI aliases can be supported.
    
    Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
    Link: https://lkml.kernel.org/r/1425659870-11832-4-git-send-email-marc.zyngier@arm.com
    Signed-off-by: Jason Cooper <jason@lakedaemon.net>
    Marc Zyngier authored and Jason Cooper committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    e8137f4 View commit details
    Browse the repository at this point in the history
  5. irqchip: gicv3-its: Fix unsafe locking reported by lockdep

    When compiled with CONFIG_LOCKDEP, the kernel shouts badly, saying
    that my locking is unsafe. I'm afraid the kernel is right:
    
           CPU0                    CPU1
           ----                    ----
      lock(&its->lock);
                                   local_irq_disable();
                                   lock(&irq_desc_lock_class);
                                   lock(&its->lock);
      <Interrupt>
        lock(&irq_desc_lock_class);
    
     *** DEADLOCK ***
    
    The fix is to always take its->lock with interrupts disabled.
    
    Reported-by: Will Deacon <will.deacon@arm.com>
    Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
    Link: https://lkml.kernel.org/r/1425659870-11832-5-git-send-email-marc.zyngier@arm.com
    Signed-off-by: Jason Cooper <jason@lakedaemon.net>
    Marc Zyngier authored and Jason Cooper committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    3e39e8f View commit details
    Browse the repository at this point in the history
  6. irqchip: gic: Fix unsafe locking reported by lockdep

    When compiled with CONFIG_LOCKDEP, the kernel shouts badly, saying
    that the locking in the GIC code is unsafe. I'm afraid the kernel
    is right:
    
           CPU0
           ----
      lock(irq_controller_lock);
      <Interrupt>
        lock(irq_controller_lock);
    
     *** DEADLOCK ***
    
    This can happen while enabling, disabling, setting the type
    or the affinity of an interrupt.
    
    The fix is to take the interrupt_controller_lock with interrupts
    disabled in these cases.
    
    Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
    Link: https://lkml.kernel.org/r/1425659870-11832-6-git-send-email-marc.zyngier@arm.com
    Signed-off-by: Jason Cooper <jason@lakedaemon.net>
    Marc Zyngier authored and Jason Cooper committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    cf61387 View commit details
    Browse the repository at this point in the history
  7. irqchip: gic-v3: Fix out of bounds access to cpu_logical_map

    While playing with KASan support for arm64/arm the following appeared on boot:
    
    ==================================================================
    BUG: AddressSanitizer: out of bounds access in __asan_load8+0x14/0x1c at addr ffffffc000ad0dc0
    Read of size 8 by task swapper/0/1
    page:ffffffbdc202b400 count:1 mapcount:0 mapping:          (null) index:0x0
    flags: 0x400(reserved)
    page dumped because: kasan: bad access detected
    Address belongs to variable __cpu_logical_map+0x200/0x220
    CPU: 2 PID: 1 Comm: swapper/0 Not tainted 3.19.0-rc6-next-20150129+ #481
    Hardware name: FVP Base (DT)
    Call trace:
    [<ffffffc00008a794>] dump_backtrace+0x0/0x184
    [<ffffffc00008a928>] show_stack+0x10/0x1c
    [<ffffffc00075e46c>] dump_stack+0xa0/0xf8
    [<ffffffc0001df490>] kasan_report_error+0x23c/0x264
    [<ffffffc0001e0188>] check_memory_region+0xc0/0xe4
    [<ffffffc0001dedf0>] __asan_load8+0x10/0x1c
    [<ffffffc000431294>] gic_raise_softirq+0xc4/0x1b4
    [<ffffffc000091fc0>] smp_send_reschedule+0x30/0x3c
    [<ffffffc0000f0d1c>] try_to_wake_up+0x394/0x434
    [<ffffffc0000f0de8>] wake_up_process+0x2c/0x6c
    [<ffffffc0000d9570>] wake_up_worker+0x38/0x48
    [<ffffffc0000dbb50>] insert_work+0xac/0xec
    [<ffffffc0000dbd38>] __queue_work+0x1a8/0x374
    [<ffffffc0000dbf60>] queue_work_on+0x5c/0x7c
    [<ffffffc0000d8a78>] call_usermodehelper_exec+0x170/0x188
    [<ffffffc0004037b8>] kobject_uevent_env+0x650/0x6bc
    [<ffffffc000403830>] kobject_uevent+0xc/0x18
    [<ffffffc00040292c>] kset_register+0xa8/0xc8
    [<ffffffc0004d6c88>] bus_register+0x134/0x2e8
    [<ffffffc0004d73b4>] subsys_virtual_register+0x2c/0x5c
    [<ffffffc000a76a4c>] wq_sysfs_init+0x14/0x20
    [<ffffffc000082a28>] do_one_initcall+0xa8/0x1fc
    [<ffffffc000a70db4>] kernel_init_freeable+0x1ec/0x294
    [<ffffffc00075aa5c>] kernel_init+0xc/0xec
    Memory state around the buggy address:
     ffffff80003e0820: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     ffffff80003e0830: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    >ffffff80003e0840: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00
                       ^
     ffffff80003e0850: 00 00 fa fa fa fa fa fa 00 00 00 00 00 00 00 00
    ==================================================================
    
    The reason for that cpumask_next() returns >= nr_cpu_ids if no further cpus
    set, but "==" condition is checked only, so we end up with out-of-bounds
    access to cpu_logical_map.
    
    Fix is by using the condition check for cpumask_next.
    
    Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
    Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
    Link: https://lkml.kernel.org/r/1425659870-11832-7-git-send-email-marc.zyngier@arm.com
    Signed-off-by: Jason Cooper <jason@lakedaemon.net>
    Vladimir Murzin authored and Jason Cooper committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    614be38 View commit details
    Browse the repository at this point in the history
  8. irqchip: gicv3-its: Zero itt before handling to hardware

    Some kind of brain-dead implementations chooses to insert ITEes in
    rapid sequence of disabled ITEes, and an un-zeroed ITT will confuse
    ITS on judging whether an ITE is really enabled or not. Considering
    the implementations are still supported by the GICv3 architecture,
    in which ITT is not required to be zeroed before being handled to
    hardware, we do the favor in ITS driver.
    
    Acked-by: Marc Zyngier <marc.zyngier@arm.com>
    Signed-off-by: Yun Wu <wuyun.wu@huawei.com>
    Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
    Link: https://lkml.kernel.org/r/1425659870-11832-8-git-send-email-marc.zyngier@arm.com
    Signed-off-by: Jason Cooper <jason@lakedaemon.net>
    Yun Wu authored and Jason Cooper committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    6c83412 View commit details
    Browse the repository at this point in the history
  9. irqchip: gicv3-its: Use 64KB page as default granule

    The field of page size in register GITS_BASERn might be read-only
    if an implementation only supports a single, fixed page size. But
    currently the ITS driver will throw out an error when PAGE_SIZE
    is less than the minimum size supported by an ITS. So addressing
    this problem by using 64KB pages as default granule for all the
    ITS base tables.
    
    Acked-by: Marc Zyngier <marc.zyngier@arm.com>
    [maz: fixed bug breaking non Device Table allocations]
    Signed-off-by: Yun Wu <wuyun.wu@huawei.com>
    Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
    Link: https://lkml.kernel.org/r/1425659870-11832-9-git-send-email-marc.zyngier@arm.com
    Signed-off-by: Jason Cooper <jason@lakedaemon.net>
    Yun Wu authored and Jason Cooper committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    790b57a View commit details
    Browse the repository at this point in the history
  10. irqchip: gicv3-its: Add limitation to page order

    When required size of Device Table is out of the page allocator's
    capability, the whole ITS will fail in probing. This actually is
    not the hardware's problem and is mainly a limitation of the kernel
    page allocator. This patch will keep ITS going on to the next
    initializaion stage with an explicit warning.
    
    Acked-by: Marc Zyngier <marc.zyngier@arm.com>
    Signed-off-by: Yun Wu <wuyun.wu@huawei.com>
    Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
    Link: https://lkml.kernel.org/r/1425659870-11832-10-git-send-email-marc.zyngier@arm.com
    Signed-off-by: Jason Cooper <jason@lakedaemon.net>
    Yun Wu authored and Jason Cooper committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    1d27704 View commit details
    Browse the repository at this point in the history
  11. irqchip: gicv3-its: Define macros for GITS_CTLR fields

    Define macros for GITS_CTLR fields to avoid using magic numbers.
    
    Acked-by: Marc Zyngier <marc.zyngier@arm.com>
    Signed-off-by: Yun Wu <wuyun.wu@huawei.com>
    Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
    Link: https://lkml.kernel.org/r/1425659870-11832-11-git-send-email-marc.zyngier@arm.com
    Signed-off-by: Jason Cooper <jason@lakedaemon.net>
    Yun Wu authored and Jason Cooper committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    7cb9911 View commit details
    Browse the repository at this point in the history
  12. irqchip: gicv3-its: Support safe initialization

    It's unsafe to change the configurations of an activated ITS directly
    since this will lead to unpredictable results. This patch guarantees
    the ITSes being initialized are quiescent.
    
    Acked-by: Marc Zyngier <marc.zyngier@arm.com>
    Signed-off-by: Yun Wu <wuyun.wu@huawei.com>
    Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
    Link: https://lkml.kernel.org/r/1425659870-11832-12-git-send-email-marc.zyngier@arm.com
    Signed-off-by: Jason Cooper <jason@lakedaemon.net>
    Yun Wu authored and Jason Cooper committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    4559fbb View commit details
    Browse the repository at this point in the history
  13. gadgetfs: get rid of flipping ->f_op in ep_config()

    Final methods start with get_ready_ep(), which will fail unless we have
    ->state == STATE_EP_ENABLED.  So they'd be failing just fine until that
    first write() anyway.  Let's do the following:
    	* get_ready_ep() gets a new argument - true when called from
    ep_write_iter(), false otherwise.
    	* make it quiet when it finds STATE_EP_READY (no printk, that is;
    the case won't be impossible after that change).
    	* when that new argument is true, treat STATE_EP_READY the same
    way as STATE_EP_ENABLED (i.e. return zero and do not unlock).
    	* in ep_write_iter(), after success of get_ready_ep() turn
    	if (!usb_endpoint_dir_in(&epdata->desc)) {
    into
    	if (epdata->state == STATE_EP_ENABLED &&
    	    !usb_endpoint_dir_in(&epdata->desc)) {
    - that logics only applies after config.
    	* have ep_config() take kernel-side buffer (i.e. use memcpy()
    instead of copy_from_user() in there) and in the "let's call ep_io or
    ep_aio" (again, in ep_write_iter()) add "... or ep_config() in case it's
    not configured yet"
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Al Viro committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    d4461a6 View commit details
    Browse the repository at this point in the history
  14. Merge tag 'cc-4.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/gregkh/char-misc
    
    Pull "code of conflict" from Greg KH:
     "This file tries to set the rational basis for our code reviews, gives
      some advice on how to conduct them, and provides an excalation channel
      for any kernel developers if they so desire it"
    
    [ Let's see how this works ]
    
    * tag 'cc-4.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
      Code of Conflict
    torvalds committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    b0bc657 View commit details
    Browse the repository at this point in the history
  15. Merge tag 'char-misc-4.0-rc3' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/gregkh/char-misc
    
    Pull char/misc driver fixes from Greg KH:
     "Here are two char/misc fixes for 4.0-rc3.
    
      One is a reported binder driver fix needed due to a change in the mm
      core that happened in 4.0-rc1.  Another is a mei driver fix that
      resolves a reported issue in that driver.
    
      Both have been in linux-next for a while"
    
    * tag 'char-misc-4.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
      mei: make device disabled on stop unconditionally
      android: binder: fix binder mmap failures
    torvalds committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    29191c7 View commit details
    Browse the repository at this point in the history
  16. gadgetfs: really get rid of switching ->f_op

    ... for ep0 as well
    
    Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    AlanStern authored and Al Viro committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    96b62a5 View commit details
    Browse the repository at this point in the history
  17. Merge tag 'staging-4.0-rc3' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/gregkh/staging
    
    Pull staging driver fixes from Greg KH:
     "Here are some IIO and staging driver fixes for 4.0-rc3.
    
      Details are in the shortlog, nothing major, mostly IIO fixes for
      reported issues.
    
      All have been in linux-next successfully"
    
    * tag 'staging-4.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (23 commits)
      staging: comedi: adv_pci1710: fix AI INSN_READ for non-zero channel
      staging: comedi: vmk80xx: remove "firmware version" kernel messages
      staging: comedi: comedi_isadma: fix "stalled" detect in comedi_isadma_disable_on_sample()
      iio: ak8975: fix AK09911 dependencies
      iio: common: ssp_sensors: Protect PM-only functions to kill warning
      IIO: si7020: Allocate correct amount of memory in devm_iio_device_alloc
      Revert "iio:humidity:si7020: fix pointer to i2c client"
      iio: light: gp2ap020a00f: Select REGMAP_I2C
      iio: light: jsa1212: Select REGMAP_I2C
      iio: ad5686: fix optional reference voltage declaration
      iio:adc:mcp3422 Fix incorrect scales table
      iio: mxs-lradc: fix iio channel map regression
      iio: imu: adis16400: Fix sign extension
      staging: iio: ad2s1200: Fix sign extension
      iio: mxs-lradc: only update the buffer when its conversions have finished
      iio: mxs-lradc: make ADC reads not unschedule touchscreen conversions
      iio: mxs-lradc: make ADC reads not disable touchscreen interrupts
      iio: mxs-lradc: separate touchscreen and buffer virtual channels
      iio: imu: inv_mpu6050: Prevent dereferencing NULL
      iio: iadc: wait_for_completion_timeout time in jiffies
      ...
    torvalds committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    47df986 View commit details
    Browse the repository at this point in the history
  18. Merge tag 'tty-4.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/gregkh/tty
    
    Pull tty/serial fixes from Greg KH:
     "Here are some tty and serial driver fixes for 4.0-rc3.
    
      Along with the atime fix that you know about, here are some other
      serial driver bugfixes as well.  Most notable is a wait_until_sent
      bugfix that was traced back to being around since before 2.6.12 that
      Johan has fixed up.
    
      All have been in linux-next successfully"
    
    * tag 'tty-4.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
      TTY: fix tty_wait_until_sent maximum timeout
      TTY: fix tty_wait_until_sent on 64-bit machines
      USB: serial: fix infinite wait_until_sent timeout
      TTY: bfin_jtag_comm: remove incorrect wait_until_sent operation
      net: irda: fix wait_until_sent poll timeout
      serial: uapi: Declare all userspace-visible io types
      serial: core: Fix iotype userspace breakage
      serial: sprd: Fix missing spin_unlock in sprd_handle_irq()
      console: Fix console name size mismatch
      tty: fix up atime/mtime mess, take four
      serial: 8250_dw: Fix get_mctrl behaviour
      serial:8250:8250_pci: delete unneeded quirk entries
      serial:8250:8250_pci: fix redundant entry report for WCH_CH352_2S
      Change email address for 8250_pci
      serial: 8250: Revert "tty: serial: 8250_core: read only RX if there is something in the FIFO"
      Revert "tty/serial: of_serial: add DT alias ID handling"
    torvalds committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    bbbce51 View commit details
    Browse the repository at this point in the history
  19. Merge tag 'usb-4.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/gregkh/usb
    
    Pull USB fixes from Greg KH:
     "Here's a round of USB fixes for 4.0-rc3.
    
      Nothing major, the usual gadget, xhci and usb-serial fixes and a few
      new device ids as well.
    
      All have been in linux-next successfully"
    
    * tag 'usb-4.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (36 commits)
      xhci: Workaround for PME stuck issues in Intel xhci
      xhci: fix reporting of 0-sized URBs in control endpoint
      usb: ftdi_sio: Add jtag quirk support for Cyber Cortex AV boards
      USB: ch341: set tty baud speed according to tty struct
      USB: serial: cp210x: Adding Seletek device id's
      USB: pl2303: disable break on shutdown
      USB: mxuport: fix null deref when used as a console
      USB: serial: clean up bus probe error handling
      USB: serial: fix port attribute-creation race
      USB: serial: fix tty-device error handling at probe
      USB: serial: fix potential use-after-free after failed probe
      USB: console: add dummy __module_get
      USB: ftdi_sio: add PIDs for Actisense USB devices
      Revert "USB: serial: make bulk_out_size a lower limit"
      cdc-acm: Add support for Denso cradle CU-321
      usb-storage: support for more than 8 LUNs
      uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS539
      USB: usbfs: don't leak kernel data in siginfo
      xhci: Clear the host side toggle manually when endpoint is 'soft reset'
      xhci: Allocate correct amount of scratchpad buffers
      ...
    torvalds committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    1163d50 View commit details
    Browse the repository at this point in the history
  20. sunrpc: fix braino in ->poll()

    POLL_OUT isn't what callers of ->poll() are expecting to see; it's
    actually __SI_POLL | 2 and it's a siginfo code, not a poll bitmap
    bit...
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Cc: stable@vger.kernel.org
    Cc: Bruce Fields <bfields@fieldses.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Al Viro authored and torvalds committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    1711fd9 View commit details
    Browse the repository at this point in the history
  21. Linux 4.0-rc3

    torvalds committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    9eccca0 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2015

  1. bgmac: Clean warning messages

    On my test environment the throughput of a file transfer drops
    from 4.4MBps to 116KBps due the number of repeated warning
    messages. This patch removes the warning messages as DMA works
    correctly with addresses using 0xC0000000 bits.
    
    Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
    Acked-by: Rafał Miłecki <zajec5@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    petersenna authored and davem330 committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    8edfe3b View commit details
    Browse the repository at this point in the history
  2. ip: fix error queue empty skb handling

    When reading from the error queue, msg_name and msg_control are only
    populated for some errors. A new exception for empty timestamp skbs
    added a false positive on icmp errors without payload.
    
    `traceroute -M udpconn` only displayed gateways that return payload
    with the icmp error: the embedded network headers are pulled before
    sock_queue_err_skb, leaving an skb with skb->len == 0 otherwise.
    
    Fix this regression by refining when msg_name and msg_control
    branches are taken. The solutions for the two fields are independent.
    
    msg_name only makes sense for errors that configure serr->port and
    serr->addr_offset. Test the first instead of skb->len. This also fixes
    another issue. saddr could hold the wrong data, as serr->addr_offset
    is not initialized  in some code paths, pointing to the start of the
    network header. It is only valid when serr->port is set (non-zero).
    
    msg_control support differs between IPv4 and IPv6. IPv4 only honors
    requests for ICMP and timestamps with SOF_TIMESTAMPING_OPT_CMSG. The
    skb->len test can simply be removed, because skb->dev is also tested
    and never true for empty skbs. IPv6 honors requests for all errors
    aside from local errors and timestamps on empty skbs.
    
    In both cases, make the policy more explicit by moving this logic to
    a new function that decides whether to process msg_control and that
    optionally prepares the necessary fields in skb->cb[]. After this
    change, the IPv4 and IPv6 paths are more similar.
    
    The last case is rxrpc. Here, simply refine to only match timestamps.
    
    Fixes: 49ca0d8 ("net-timestamp: no-payload option")
    
    Reported-by: Jan Niehusmann <jan@gondor.com>
    Signed-off-by: Willem de Bruijn <willemb@google.com>
    
    ----
    
    Changes
      v1->v2
      - fix local origin test inversion in ip6_datagram_support_cmsg
      - make v4 and v6 code paths more similar by introducing analogous
        ipv4_datagram_support_cmsg
      - fix compile bug in rxrpc
    Signed-off-by: David S. Miller <davem@davemloft.net>
    wdebruij authored and davem330 committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    c247f05 View commit details
    Browse the repository at this point in the history
  3. ALSA: hda - Fix regression of HD-audio controller fallback modes

    The commit [63e51fd: ALSA: hda - Don't take unresponsive D3
    transition too serious] introduced a conditional fallback behavior to
    the HD-audio controller depending on the flag set.  However, it
    introduced a silly bug, too, that the flag was evaluated in a reverse
    way.  This resulted in a regression of HD-audio controller driver
    where it can't go to the fallback mode at communication errors.
    
    Unfortunately (or fortunately?) this didn't come up until recently
    because the affected code path is an error handling that happens only
    on an unstable hardware chip.  Most of recent chips work stably, thus
    they didn't hit this problem.  Now, we've got a regression report with
    a VIA chip, and this seems indeed requiring the fallback to the
    polling mode, and finally the bug was revealed.
    
    The fix is a oneliner to remove the wrong logical NOT in the check.
    (Lesson learned - be careful about double negation.)
    
    The bug should be backported to stable, but the patch won't be
    applicable to 3.13 or earlier because of the code splits.  The stable
    fix patches for earlier kernels will be posted later manually.
    
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=94021
    Fixes: 63e51fd ('ALSA: hda - Don't take unresponsive D3 transition too serious')
    Cc: <stable@vger.kernel.org> # v3.14+
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    a1f3f1c View commit details
    Browse the repository at this point in the history
  4. can: add missing initialisations in CAN related skbuffs

    When accessing CAN network interfaces with AF_PACKET sockets e.g. by dhclient
    this can lead to a skb_under_panic due to missing skb initialisations.
    
    Add the missing initialisations at the CAN skbuff creation times on driver
    level (rx path) and in the network layer (tx path).
    
    Reported-by: Austin Schuh <austin@peloton-tech.com>
    Reported-by: Daniel Steer <daniel.steer@mclaren.com>
    Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
    Cc: linux-stable <stable@vger.kernel.org>
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    hartkopp authored and marckleinebudde committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    9694390 View commit details
    Browse the repository at this point in the history
  5. can: peak_usb: fix missing ctrlmode_ init for every dev

    Fixes a missing initialization of ctrlmode and ctrlmode_supported fields,
    for all other CAN devices than the first one. This fix only concerns
    the PCAN-USB Pro FD dual-channels CAN-FD device made by PEAK-System.
    
    Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    Stephane Grosjean authored and marckleinebudde committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    b0d4724 View commit details
    Browse the repository at this point in the history
  6. can: kvaser_usb: Avoid double free on URB submission failures

    Upon a URB submission failure, the driver calls usb_free_urb()
    but then manually frees the URB buffer by itself.  Meanwhile
    usb_free_urb() has alredy freed out that transfer buffer since
    we're the only code path holding a reference to this URB.
    
    Remove two of such invalid manual free().
    
    Signed-off-by: Ahmed S. Darwish <ahmed.darwish@valeo.com>
    Cc: linux-stable <stable@vger.kernel.org>
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    Ahmed S. Darwish authored and marckleinebudde committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    deb2701 View commit details
    Browse the repository at this point in the history
  7. can: kvaser_usb: Read all messages in a bulk-in URB buffer

    The Kvaser firmware can only read and write messages that are
    not crossing the USB endpoint's wMaxPacketSize boundary. While
    receiving commands from the CAN device, if the next command in
    the same URB buffer crossed that max packet size boundary, the
    firmware puts a zero-length placeholder command in its place
    then moves the real command to the next boundary mark.
    
    The driver did not recognize such behavior, leading to missing
    a good number of rx events during a heavy rx load session.
    
    Moreover, a tx URB context only gets freed upon receiving its
    respective tx ACK event. Over time, the free tx URB contexts
    pool gets depleted due to the missing ACK events. Consequently,
    the netif transmission queue gets __permanently__ stopped; no
    frames could be sent again except after restarting the CAN
    newtwork interface.
    
    Signed-off-by: Ahmed S. Darwish <ahmed.darwish@valeo.com>
    Cc: linux-stable <stable@vger.kernel.org>
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    Ahmed S. Darwish authored and marckleinebudde committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    2fec510 View commit details
    Browse the repository at this point in the history
  8. MAINTAINERS: linux-can moved to github

    As gitorious will shut down at the end of May 2015, the linux-can website moved
    to github. This patch reflects this change.
    
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    marckleinebudde committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    84b0d71 View commit details
    Browse the repository at this point in the history
  9. MAINTAINERS: add Marc Kleine-Budde as co maintainer for CAN networkin…

    …g layer
    
    This patch adds Marc Kleine-Budde as a co maintainer for the CAN networking
    layer.
    
    Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
    marckleinebudde committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    f7214cf View commit details
    Browse the repository at this point in the history
  10. ARM: at91/dt: at91sam9261: fix clocks and clock-names in udc definition

    Peripheral clock is named pclk and system clock is named hclk (those are
    the names expected by the at91_udc driver).
    
    Drop the deprecated usb_clk (formerly used to configure the usb clock rate
    which is now directly configurable through hclk).
    
    Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Boris Brezillon authored and Nicolas Ferre committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    05d6a08 View commit details
    Browse the repository at this point in the history
  11. Merge branch 'for-current' of https://github.com/PeterHuewe/linux-tpmdd

    … into for-linus
    James Morris committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    4d08a36 View commit details
    Browse the repository at this point in the history
  12. ftrace: Clear REGS_EN and TRAMP_EN flags on disabling record via sysctl

    When /proc/sys/kernel/ftrace_enabled is set to zero, all function
    tracing is disabled. But the records that represent the functions
    still hold information about the ftrace_ops that are hooked to them.
    
    ftrace_ops may request "REGS" (have a full set of pt_regs passed to
    the callback), or "TRAMP" (the ops has its own trampoline to use).
    When the record is updated to represent the state of the ops hooked
    to it, it sets "REGS_EN" and/or "TRAMP_EN" to state that the callback
    points to the correct trampoline (REGS has its own trampoline).
    
    When ftrace_enabled is set to zero, all ftrace locations are a nop,
    so they do not point to any trampoline. But the _EN flags are still
    set. This can cause the accounting to go wrong when ftrace_enabled
    is cleared and an ops that has a trampoline is registered or unregistered.
    
    For example, the following will cause ftrace to crash:
    
     # echo function_graph > /sys/kernel/debug/tracing/current_tracer
     # echo 0 > /proc/sys/kernel/ftrace_enabled
     # echo nop > /sys/kernel/debug/tracing/current_tracer
     # echo 1 > /proc/sys/kernel/ftrace_enabled
     # echo function_graph > /sys/kernel/debug/tracing/current_tracer
    
    As function_graph uses a trampoline, when ftrace_enabled is set to zero
    the updates to the record are not done. When enabling function_graph
    again, the record will still have the TRAMP_EN flag set, and it will
    look for an op that has a trampoline other than the function_graph
    ops, and fail to find one.
    
    Cc: stable@vger.kernel.org # 3.17+
    Reported-by: Pratyush Anand <panand@redhat.com>
    Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
    rostedt committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    b24d443 View commit details
    Browse the repository at this point in the history
  13. ftrace: Fix en(dis)able graph caller when en(dis)abling record via sy…

    …sctl
    
    When ftrace is enabled globally through the proc interface, we must check if
    ftrace_graph_active is set. If it is set, then we should also pass the
    FTRACE_START_FUNC_RET command to ftrace_run_update_code(). Similarly, when
    ftrace is disabled globally through the proc interface, we must check if
    ftrace_graph_active is set. If it is set, then we should also pass the
    FTRACE_STOP_FUNC_RET command to ftrace_run_update_code().
    
    Consider the following situation.
    
     # echo 0 > /proc/sys/kernel/ftrace_enabled
    
    After this ftrace_enabled = 0.
    
     # echo function_graph > /sys/kernel/debug/tracing/current_tracer
    
    Since ftrace_enabled = 0, ftrace_enable_ftrace_graph_caller() is never
    called.
    
     # echo 1 > /proc/sys/kernel/ftrace_enabled
    
    Now ftrace_enabled will be set to true, but still
    ftrace_enable_ftrace_graph_caller() will not be called, which is not
    desired.
    
    Further if we execute the following after this:
      # echo nop > /sys/kernel/debug/tracing/current_tracer
    
    Now since ftrace_enabled is set it will call
    ftrace_disable_ftrace_graph_caller(), which causes a kernel warning on
    the ARM platform.
    
    On the ARM platform, when ftrace_enable_ftrace_graph_caller() is called,
    it checks whether the old instruction is a nop or not. If it's not a nop,
    then it returns an error. If it is a nop then it replaces instruction at
    that address with a branch to ftrace_graph_caller.
    ftrace_disable_ftrace_graph_caller() behaves just the opposite. Therefore,
    if generic ftrace code ever calls either ftrace_enable_ftrace_graph_caller()
    or ftrace_disable_ftrace_graph_caller() consecutively two times in a row,
    then it will return an error, which will cause the generic ftrace code to
    raise a warning.
    
    Note, x86 does not have an issue with this because the architecture
    specific code for ftrace_enable_ftrace_graph_caller() and
    ftrace_disable_ftrace_graph_caller() does not check the previous state,
    and calling either of these functions twice in a row has no ill effect.
    
    Link: http://lkml.kernel.org/r/e4fbe64cdac0dd0e86a3bf914b0f83c0b419f146.1425666454.git.panand@redhat.com
    
    Cc: stable@vger.kernel.org # 2.6.31+
    Signed-off-by: Pratyush Anand <panand@redhat.com>
    [
      removed extra if (ftrace_start_up) and defined ftrace_graph_active as 0
      if CONFIG_FUNCTION_GRAPH_TRACER is not set.
    ]
    Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
    Pratyush Anand authored and rostedt committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    1619dc3 View commit details
    Browse the repository at this point in the history
  14. ftrace: Fix ftrace enable ordering of sysctl ftrace_enabled

    Some archs (specifically PowerPC), are sensitive with the ordering of
    the enabling of the calls to function tracing and setting of the
    function to use to be traced.
    
    That is, update_ftrace_function() sets what function the ftrace_caller
    trampoline should call. Some archs require this to be set before
    calling ftrace_run_update_code().
    
    Another bug was discovered, that ftrace_startup_sysctl() called
    ftrace_run_update_code() directly. If the function the ftrace_caller
    trampoline changes, then it will not be updated. Instead a call
    to ftrace_startup_enable() should be called because it tests to see
    if the callback changed since the code was disabled, and will
    tell the arch to update appropriately. Most archs do not need this
    notification, but PowerPC does.
    
    The problem could be seen by the following commands:
    
     # echo 0 > /proc/sys/kernel/ftrace_enabled
     # echo function > /sys/kernel/debug/tracing/current_tracer
     # echo 1 > /proc/sys/kernel/ftrace_enabled
     # cat /sys/kernel/debug/tracing/trace
    
    The trace will show that function tracing was not active.
    
    Cc: stable@vger.kernel.org # 2.6.27+
    Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
    rostedt committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    524a386 View commit details
    Browse the repository at this point in the history
  15. Merge tag 'linux-can-fixes-for-4.0-20150309' of git://git.kernel.org/…

    …pub/scm/linux/kernel/git/mkl/linux-can
    
    Marc Kleine-Budde says:
    
    ====================
    pull-request: can 2015-03-09
    
    this is a pull request for net/master for the 4.0 release cycle, it consists of
    6 patches:
    
    A patch by Oliver Hartkopp fixes a long outstanding bug in the infrastructure,
    which leads to skb_under_panics when CAN interfaces are used by AF_PACKET
    sockets e.g. by dhclient. Stephane Grosjean contributes a patch for the
    peak_usb driver which adds a missing initialization. Two patches by Ahmed S.
    Darwish fix problems in the kvaser_usb driver. Followed by two patches by
    myself, updating the MAINTAINERS file
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    d037250 View commit details
    Browse the repository at this point in the history
  16. net: macb: constify macb configuration data

    The configurations are not modified by the driver.  Make them 'const' so
    that they may be placed in a read-only section.
    
    Signed-off-by: Josh Cartwright <joshc@ni.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Josh Cartwright authored and davem330 committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    0b2eb3e View commit details
    Browse the repository at this point in the history
  17. net: delete stale packet_mclist entries

    When an interface is deleted from a net namespace the ifindex in the
    corresponding entries in PF_PACKET sockets' mclists becomes stale.
    This can create inconsistencies if later an interface with the same ifindex
    is moved from a different namespace (not that unlikely since ifindexes are
    per-namespace).
    In particular we saw problems with dev->promiscuity, resulting
    in "promiscuity touches roof, set promiscuity failed. promiscuity
    feature of device might be broken" warnings and EOVERFLOW failures of
    setsockopt(PACKET_ADD_MEMBERSHIP).
    This patch deletes the mclist entries for interfaces that are deleted.
    Since this now causes setsockopt(PACKET_DROP_MEMBERSHIP) to fail with
    EADDRNOTAVAIL if called after the interface is deleted, also make
    packet_mc_drop not fail.
    
    Signed-off-by: Francesco Ruggeri <fruggeri@arista.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Francesco Ruggeri authored and davem330 committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    82f1709 View commit details
    Browse the repository at this point in the history
  18. tipc: fix bug in link failover handling

    In commit c637c10
    ("tipc: resolve race problem at unicast message reception") we
    introduced a new mechanism for delivering buffers upwards from link
    to socket layer.
    
    That code contains a bug in how we handle the new link input queue
    during failover. When a link is reset, some of its users may be blocked
    because of congestion, and in order to resolve this, we add any pending
    wakeup pseudo messages to the link's input queue, and deliver them to
    the socket. This misses the case where the other, remaining link also
    may have congested users. Currently, the owner node's reference to the
    remaining link's input queue is unconditionally overwritten by the
    reset link's input queue. This has the effect that wakeup events from
    the remaining link may be unduely delayed (but not lost) for a
    potentially long period.
    
    We fix this by adding the pending events from the reset link to the
    input queue that is currently referenced by the node, whichever one
    it is.
    
    This commit should be applied to both net and net-next.
    
    Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Jon Paul Maloy authored and davem330 committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    e6441ba View commit details
    Browse the repository at this point in the history
  19. clk: divider: fix calculation of maximal parent rate for a given divider

    The rate provided at the output of a clk-divider is calculated as:
    
    	DIV_ROUND_UP(parent_rate, div)
    
    since commit b11d282 (clk: divider: fix rate calculation for
    fractional rates). So to yield a rate not bigger than r parent_rate
    must be <= r * div.
    
    The effect of choosing a parent rate that is too big as was done before
    this patch results in wrongly ruling out good dividers.
    
    Note that this is not a complete fix as __clk_round_rate might return a
    value >= its 2nd parameter. Also for dividers with
    CLK_DIVIDER_ROUND_CLOSEST set the calculation is not accurate. But this
    fixes the test case by Sascha Hauer that uses a chain of three dividers
    under a fixed clock.
    
    Fixes: b11d282 (clk: divider: fix rate calculation for fractional rates)
    Suggested-by: Sascha Hauer <s.hauer@pengutronix.de>
    Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
    Signed-off-by: Michael Turquette <mturquette@linaro.org>
    Uwe Kleine-König authored and Michael Turquette committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    da32113 View commit details
    Browse the repository at this point in the history
  20. clk: divider: fix selection of divider when rounding to closest

    It's an invalid approach to assume that among two divider values
    the one nearer the exact divider is the better one.
    
    Assume a parent rate of 1000 Hz, a divider with CLK_DIVIDER_POWER_OF_TWO
    and a target rate of 89 Hz. The exact divider is ~ 11.236 so 8 and 16
    are the candidates to choose from yielding rates 125 Hz and 62.5 Hz
    respectivly. While 8 is nearer to 11.236 than 16 is, the latter is still
    the better divider as 62.5 is nearer to 89 than 125 is.
    
    Fixes: 774b514 (clk: divider: Add round to closest divider)
    Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
    Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
    Signed-off-by: Michael Turquette <mturquette@linaro.org>
    Uwe Kleine-König authored and Michael Turquette committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    26bac95 View commit details
    Browse the repository at this point in the history
  21. clk: divider: fix calculation of initial best divider when rounding t…

    …o closest
    
    Similar to the reasoning for the previous commit
    
    	DIV_ROUND_CLOSEST(parent_rate, rate)
    
    might not be the best integer divisor to get a good approximation for
    rate from parent_rate (given the metric for CLK_DIVIDER_ROUND_CLOSEST).
    
    For example assume a parent rate of 1000 Hz and a target rate of 700.
    Using DIV_ROUND_CLOSEST the suggested divisor gets calculated to 1
    resulting in a target rate of 1000 with a delta of 300 to the desired
    rate. With choosing 2 as divisor however the resulting rate is 500 which
    is nearer to 700.
    
    Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
    Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
    Signed-off-by: Michael Turquette <mturquette@linaro.org>
    Uwe Kleine-König authored and Michael Turquette committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    9315514 View commit details
    Browse the repository at this point in the history
  22. ACPI / LPSS: provide con_id for the clkdev

    Commit 7d78cbe (serial: 8250_dw: add ability to handle
    the peripheral clock) introduces handling for a second clk
    to 8250_dw.c which is the driver also for LPSS UART. The
    second clk forces us to provide identifier (con_id) for the
    clkdev we create.
    
    This fixes an issue where 8250_dw.c is getting the same
    handler for both clocks.
    
    Fixes: 7d78cbe (serial: 8250_dw: add ability to handle the peripheral clock)
    Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
    Cc: 3.17+ <stable@vger.kernel.org> # 3.17+
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Heikki Krogerus authored and rafaeljw committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    fcf0789 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2015

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

    …rnel/git/tj/wq
    
    Pull workqueue fix from Tejun Heo:
     "One fix patch for a subtle livelock condition which can happen on
      PREEMPT_NONE kernels involving two racing cancel_work calls.  Whoever
      comes in the second has to wait for the previous one to finish.  This
      was implemented by making the later one block for the same condition
      that the former would be (work item completion) and then loop and
      retest; unfortunately, depending on the wake up order, the later one
      could lock out the former one to finish by busy looping on the cpu.
    
      This is fixed by implementing explicit wait mechanism.  Work item
      might not belong anywhere at this point and there's remote possibility
      of thundering herd problem.  I originally tried to use bit_waitqueue
      but it didn't work for static work items on modules.  It's currently
      using single wait queue with filtering wake up function and exclusive
      wakeup.  If this ever becomes a problem, which is not very likely, we
      can try to figure out a way to piggy back on bit_waitqueue"
    
    * 'for-4.0-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
      workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE
    torvalds committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    b695f31 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'for-4.0-fixes' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/tj/libata
    
    Pull libata fixlet from Tejun Heo:
     "Speed limiting fix for sata_fsl"
    
    * 'for-4.0-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata:
      sata-fsl: Apply link speed limits
    torvalds committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    f930713 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'for-4.0-fixes' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/tj/cgroup
    
    Pull cgroup fixes from Tejun Heo:
     "The cgroup iteration update two years ago and the recent cpuset
      restructuring introduced regressions in subset of cpuset
      configurations.  Three patches to fix them.
    
      All are marked for -stable"
    
    * 'for-4.0-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
      cpuset: Fix cpuset sched_relax_domain_level
      cpuset: fix a warning when clearing configured masks in old hierarchy
      cpuset: initialize effective masks when clone_children is enabled
    torvalds committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    c0e99a7 View commit details
    Browse the repository at this point in the history
  4. Merge tag 'fbdev-fixes-4.0' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/tomba/linux
    
    Pull fbdev fixes from Tomi Valkeinen:
     - Fix regression in with omapdss when using i2c displays
     - Fix possible null deref in fbmon
     - Check kalloc return value in AMBA CLCD
    
    * tag 'fbdev-fixes-4.0' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux:
      OMAPDSS: fix regression with display sysfs files
      video: fbdev: fix possible null dereference
      video: ARM CLCD: Add missing error check for devm_kzalloc
    torvalds committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    ecddad6 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/jmorris/linux-security
    
    Pull tpm fixes from James Morris:
     "fixes for the TPM driver"
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
      tpm: fix call order in tpm-chip.c
      tpm/ibmvtpm: Additional LE support for tpm_ibmvtpm_send
    torvalds committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    eca8dac View commit details
    Browse the repository at this point in the history
  6. Merge tag 'spi-v4.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/broonie/spi
    
    Pull spi fixes from Mark Brown:
     "A collection of driver specific fixes to which the usual comments
      about them being important if you see them mostly apply (except for
      the comment fix).  The pl022 one is particularly nasty for anyone
      affected by it"
    
    * tag 'spi-v4.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
      spi: pl022: Fix race in giveback() leading to driver lock-up
      spi: dw-mid: avoid potential NULL dereference
      spi: img-spfi: Verify max spfi transfer length
      spi: fix a typo in comment.
      spi: atmel: Fix interrupt setup for PDC transfers
      spi: dw: revisit FIFO size detection again
      spi: dw-pci: correct number of chip selects
      drivers: spi: ti-qspi: wait for busy bit clear before data write/read
    torvalds committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    d08edd8 View commit details
    Browse the repository at this point in the history
  7. Merge tag 'regulator-v4.0-rc2' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/broonie/regulator
    
    Pull regulator fixes from Mark Brown:
     "A couple of driver specific fixes plus a fix for a regression in the
      core where the updates to use sysfs group registration were overly
      enthusiastic in eliding properties and removed some that had been
      previously present"
    
    * tag 'regulator-v4.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
      regulator: Fix regression due to NULL constraints check
      regulator: rk808: Set the enable time for LDOs
      regulator: da9210: Mask all interrupt sources to deassert interrupt line
    torvalds committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    068c65c View commit details
    Browse the repository at this point in the history
  8. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/dtor/input
    
    Pull input subsystem fixes from Dmitry Torokhov:
     "Miscellaneous driver fixes"
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
      Input: psmouse - disable "palm detection" in the focaltech driver
      Input: psmouse - disable changing resolution/rate/scale for FocalTech
      Input: psmouse - ensure that focaltech reports consistent coordinates
      Input: psmouse - remove hardcoded touchpad size from the focaltech driver
      Input: tc3589x-keypad - set IRQF_ONESHOT flag to ensure IRQ request
      Input: ALPS - fix memory leak when detection fails
      Input: sun4i-ts - add thermal driver dependency
      Input: cyapa - remove superfluous type check in cyapa_gen5_read_idac_data()
      Input: cyapa - fix unaligned functions redefinition error
      Input: mma8450 - add parent device
    torvalds committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    e93df63 View commit details
    Browse the repository at this point in the history
  9. Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net

    Pull networking fixes from David Miller:
    
     1) nft_compat accidently truncates ethernet protocol to 8-bits, from
        Arturo Borrero.
    
     2) Memory leak in ip_vs_proc_conn(), from Julian Anastasov.
    
     3) Don't allow the space required for nftables rules to exceed the
        maximum value representable in the dlen field.  From Patrick
        McHardy.
    
     4) bcm63xx_enet can accidently leave interrupts permanently disabled
        due to errors in the NAPI polling exit logic.  Fix from Nicolas
        Schichan.
    
     5) Fix OOPSes triggerable by the ping protocol module, due to missing
        address family validations etc.  From Lorenzo Colitti.
    
     6) Don't use RCU locking in sleepable context in team driver, from Jiri
        Pirko.
    
     7) xen-netback miscalculates statistic offset pointers when reporting
        the stats to userspace.  From David Vrabel.
    
     8) Fix a leak of up to 256 pages per VIF destroy in xen-netaback, also
        from David Vrabel.
    
     9) ip_check_defrag() cannot assume that skb_network_offset(),
        particularly when it is used by the AF_PACKET fanout defrag code.
        From Alexander Drozdov.
    
    10) gianfar driver doesn't query OF node names properly when trying to
        determine the number of hw queues available.  Fix it to explicitly
        check for OF nodes named queue-group.  From Tobias Waldekranz.
    
    11) MID field in macb driver should be 12 bits, not 16.  From Punnaiah
        Choudary Kalluri.
    
    12) Fix unintentional regression in traceroute due to timestamp socket
        option changes.  Empty ICMP payloads should be allowed in
        non-timestamp cases.  From Willem de Bruijn.
    
    13) When devices are unregistered, we have to get rid of AF_PACKET
        multicast list entries that point to it via ifindex.  Fix from
        Francesco Ruggeri.
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (38 commits)
      tipc: fix bug in link failover handling
      net: delete stale packet_mclist entries
      net: macb: constify macb configuration data
      MAINTAINERS: add Marc Kleine-Budde as co maintainer for CAN networking layer
      MAINTAINERS: linux-can moved to github
      can: kvaser_usb: Read all messages in a bulk-in URB buffer
      can: kvaser_usb: Avoid double free on URB submission failures
      can: peak_usb: fix missing ctrlmode_ init for every dev
      can: add missing initialisations in CAN related skbuffs
      ip: fix error queue empty skb handling
      bgmac: Clean warning messages
      tcp: align tcp_xmit_size_goal() on tcp_tso_autosize()
      net: fec: fix unbalanced clk disable on driver unbind
      net: macb: Correct the MID field length value
      net: gianfar: correctly determine the number of queue groups
      ipv4: ip_check_defrag should not assume that skb_network_offset is zero
      net: bcmgenet: properly disable password matching
      net: eth: xgene: fix booting with devicetree
      bnx2x: Force fundamental reset for EEH recovery
      xen-netback: refactor xenvif_handle_frag_list()
      ...
    torvalds committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    36bef88 View commit details
    Browse the repository at this point in the history
  10. Merge tag 'trace-fixes-v4.0-rc2-2' of git://git.kernel.org/pub/scm/li…

    …nux/kernel/git/rostedt/linux-trace
    
    Pull seq-buf/ftrace fixes from Steven Rostedt:
     "This includes fixes for seq_buf_bprintf() truncation issue.  It also
      contains fixes to ftrace when /proc/sys/kernel/ftrace_enabled and
      function tracing are started.  Doing the following causes some issues:
    
        # echo 0 > /proc/sys/kernel/ftrace_enabled
        # echo function_graph > /sys/kernel/debug/tracing/current_tracer
        # echo 1 > /proc/sys/kernel/ftrace_enabled
        # echo nop > /sys/kernel/debug/tracing/current_tracer
        # echo function_graph > /sys/kernel/debug/tracing/current_tracer
    
      As well as with function tracing too.  Pratyush Anand first reported
      this issue to me and supplied a patch.  When I tested this on my x86
      test box, it caused thousands of backtraces and warnings to appear in
      dmesg, which also caused a denial of service (a warning for every
      function that was listed).  I applied Pratyush's patch but it did not
      fix the issue for me.  I looked into it and found a slight problem
      with trampoline accounting.  I fixed it and sent Pratyush a patch, but
      he said that it did not fix the issue for him.
    
      I later learned tha Pratyush was using an ARM64 server, and when I
      tested on my ARM board, I was able to reproduce the same issue as
      Pratyush.  After applying his patch, it fixed the problem.  The above
      test uncovered two different bugs, one in x86 and one in ARM and
      ARM64.  As this looked like it would affect PowerPC, I tested it on my
      PPC64 box.  It too broke, but neither the patch that fixed ARM or x86
      fixed this box (the changes were all in generic code!).  The above
      test, uncovered two more bugs that affected PowerPC.  Again, the
      changes were only done to generic code.  It's the way the arch code
      expected things to be done that was different between the archs.  Some
      where more sensitive than others.
    
      The rest of this series fixes the PPC bugs as well"
    
    * tag 'trace-fixes-v4.0-rc2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
      ftrace: Fix ftrace enable ordering of sysctl ftrace_enabled
      ftrace: Fix en(dis)able graph caller when en(dis)abling record via sysctl
      ftrace: Clear REGS_EN and TRAMP_EN flags on disabling record via sysctl
      seq_buf: Fix seq_buf_bprintf() truncation
      seq_buf: Fix seq_buf_vprintf() truncation
    torvalds committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    e7901af View commit details
    Browse the repository at this point in the history
  11. drm: Don't assign fbs for universal cursor support to files

    The internal framebuffers we create to remap legacy cursor ioctls to
    plane operations for the universal plane support shouldn't be linke to
    the file like normal userspace framebuffers. This bug goes back to the
    original universal cursor plane support introduced in
    
    commit 161d0dc
    Author: Matt Roper <matthew.d.roper@intel.com>
    Date:   Tue Jun 10 08:28:10 2014 -0700
    
        drm: Support legacy cursor ioctls via universal planes when possible (v4)
    
    The isn't too disastrous since fbs are small, we only create one when the
    cursor bo gets changed and ultimately they'll be reaped when the window
    server restarts.
    
    Conceptually we'd want to just pass NULL for file_priv when creating it,
    but the driver needs the file to lookup the underlying buffer object for
    cursor id. Instead let's move the file_priv linking out of
    add_framebuffer_internal() into the addfb ioctl implementation, which is
    the only place it is needed. And also rename the function for a more
    accurate since it only creates the fb, but doesn't add it anywhere.
    
    Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> (fix & commit msg)
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (provider of lipstick)
    Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
    Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Cc: Matt Roper <matthew.d.roper@intel.com>
    Cc: Rob Clark <robdclark@gmail.com>
    Cc: stable@vger.kernel.org
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    ickle authored and airlied committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    9a6f513 View commit details
    Browse the repository at this point in the history
  12. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/s390/linux
    
    Pull s390 fixes from Martin Schwidefsky:
     "One performance optimization for page_clear and a couple of bug fixes"
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
      s390/mm: fix incorrect ASCE after crst_table_downgrade
      s390/ftrace: fix crashes when switching tracers / add notrace to cpu_relax()
      s390/pci: unify pci_iomap symbol exports
      s390/pci: fix [un]map_resources sequence
      s390: let the compiler do page clearing
      s390/pci: fix possible information leak in mmio syscall
      s390/dcss: array index 'i' is used before limits check.
      s390/scm_block: fix off by one during cluster reservation
      s390/jump label: improve and fix sanity check
      s390/jump label: add missing jump_label_apply_nops() call
    torvalds committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    ec0e6bd View commit details
    Browse the repository at this point in the history
  13. Merge git://git.kernel.org/pub/scm/virt/kvm/kvm

    Pull kvm/s390 bugfixes from Marcelo Tosatti.
    
    * git://git.kernel.org/pub/scm/virt/kvm/kvm:
      KVM: s390: non-LPAR case obsolete during facilities mask init
      KVM: s390: include guest facilities in kvm facility test
      KVM: s390: fix in memory copy of facility lists
      KVM: s390/cpacf: Fix kernel bug under z/VM
      KVM: s390/cpacf: Enable key wrapping by default
    torvalds committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    affb817 View commit details
    Browse the repository at this point in the history
  14. drm/mst: fix recursive sleep warning on qlock

    With drm-next, we can get a backtrace from sleeping
    with mutex detection.
    
    this is due to the callback checking the txmsg state taking
    the mutex, which can cause a sleep inside a sleep,
    
    Daniel went over it and was happy we could drop this mutex
    in this case.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    danvet authored and airlied committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    cd961bb View commit details
    Browse the repository at this point in the history
  15. drm/i915: use in_interrupt() not in_irq() to check context

    The kernel in_irq() function tests for hard-IRQ context only, so if a
    system is run with the kernel 'threadirqs' option selected, the test in
    intel_check_page_flip() generates lots of warnings, because then it gets
    called in soft-IRQ context.
    
    We can instead use in_interrupt() which allows for either type of
    interrupt, while still detecting and complaining about misuse of the
    page flip code if it is ever called from non-interrupt context.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89321
    Signed-off-by: Dave Gordon <david.s.gordon@intel.com>
    Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Cc: stable@vger.kernel.org
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    Dave Gordon authored and jnikula committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    6c51d46 View commit details
    Browse the repository at this point in the history
  16. drm/i915: Make WAIT_IOCTL negative timeouts be indefinite again

    This fixes a regression from
    
    commit 5ed0bdf
    Author: Thomas Gleixner <tglx@linutronix.de>
    Date:   Wed Jul 16 21:05:06 2014 +0000
    
        drm: i915: Use nsec based interfaces
    
    that made a negative timeout return immediately rather than the
    previously defined behaviour of waiting indefinitely.
    
    Testcase: igt/gem_wait
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89494
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
    Cc: Ben Widawsky <benjamin.widawsky@intel.com>
    Cc: Kristian Høgsberg <krh@bitplanet.net>
    Cc: stable@vger.kernel.org
    Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    [Jani: fixed a checkpatch complaint about whitespace.]
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    ickle authored and jnikula committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    762e458 View commit details
    Browse the repository at this point in the history
  17. drm/i915: Do both mt and gen6 style forcewake reset on ivb probe

    commit 05a2fb1 ("drm/i915: Consolidate forcewake code")
    failed to take into account that we have used to reset both
    the gen6 style and the multithreaded style forcewake registers.
    This is due to fact that ivb can use either, depending on how the
    bios has set up the machine.
    
    Mimic the old semantics before we have determined the correct variety
    and reset both before the ecobus probe.
    
    Cc: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Huang Ying <ying.huang@intel.com>
    Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
    Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    mikuint authored and jnikula committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    0cd0caa View commit details
    Browse the repository at this point in the history
  18. drm/i915: Prevent TLB error on first execution on SNB

    Long ago I found that I was getting sporadic errors when booting SNB,
    with the symptom being that the first batch died with IPEHR != *ACTHD,
    typically caused by the TLB being invalid. These magically disappeared
    if I held the forcewake during the entire ring initialisation sequence.
    (It can probably be shortened to a short critical section, but the whole
    initialisation is full of register writes and so we would be taking and
    releasing forcewake almost continually, and so holding it over the
    entire sequence will probably be a net win!)
    
    Note some of the kernels I encounted the issue already had the deferred
    forcewake release, so it is still relevant.
    
    I know that there have been a few other reports with similar failure
    conditions on SNB, I think such as
    References: https://bugs.freedesktop.org/show_bug.cgi?id=80913
    
    v2: Wrap i915_gem_init_hw() with its own security blanket as we take
    that path following resume and reset.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    Cc: stable@vger.kernel.org
    Signed-off-by: Jani Nikula <jani.nikula@intel.com>
    ickle authored and jnikula committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    5e4f518 View commit details
    Browse the repository at this point in the history
  19. Merge tag 'v4.0-rc3' into HEAD

    Linux 4.0-rc3
    
    Merging in v4.0-rc3 because commit 30a22c2 (console: Fix
    console name size mismatch) is a dependency.
    robherring committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    2c19269 View commit details
    Browse the repository at this point in the history
  20. Revert "ALSA: dice: fix wrong offsets for Dice interface"

    This reverts commit 8cdebf7.
    
    The reverted commit breaks out-stream functionality of Dice driver.
    
    Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    takaswie authored and tiwai committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    5b1274e View commit details
    Browse the repository at this point in the history
  21. ALSA: firewire-lib: leave unit reference counting completely

    With previous commit, this module managed to leave the counting to each
    drivers, but the isochronous resources functionality still increment/decrement
    the count.
    
    This commit purge such codes to leave the responsibility to each drivers.
    
    Fix: c6f224d ('ALSA: firewire-lib: remove reference counting')
    Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    takaswie authored and tiwai committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    59294a0 View commit details
    Browse the repository at this point in the history
  22. of: Fix premature bootconsole disable with 'stdout-path'

    Support for devicetree serial consoles via 'stdout-path' causes
    bootconsoles to be disabled when the vt dummy console loads, since
    there is no preferred console (the preferred console is not added
    until the device is probed).
    
    Ensure there is at least a preferred console, even if never matched.
    
    Requires: "console: Fix console name size mismatch"
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    peterhurley authored and robherring committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    2fa645c View commit details
    Browse the repository at this point in the history
  23. Documentation: DT: Renamed of-serial.txt to 8250.txt

    The file of-serial.txt was only for 8250 compatible UART implementations,
    so renamed it to 8250.txt to avoid confusing other persons.
    This is suggested by Arnd, see:
    http://lists.infradead.org/pipermail/linux-arm-kernel/2014-September/291455.html
    
    Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com>
    Acked-by: Mark Rutland <mark.rutland@arm.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Lyra-Zhang authored and robherring committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    20aa4d8 View commit details
    Browse the repository at this point in the history
  24. of/overlay: Remove unused variable

    Commit 3e7f762 ("of/overlay: Do not generate duplicate nodes") removed
    the only use of the 'grandchild' variable, which leads to the following build
    warning:
    
    drivers/of/overlay.c: In function 'of_overlay_apply_single_device_node':
    drivers/of/overlay.c:89:31: warning: unused variable 'grandchild' [-Wunused-variable]
      struct device_node *tchild, *grandchild;
                                   ^
    
    Remove this unused variable.
    
    Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Fabio Estevam authored and robherring committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    d3a8916 View commit details
    Browse the repository at this point in the history
  25. of: unittest: fix I2C dependency

    The unittest fails to link if I2C or I2C_MUX is a loadable module:
    
      drivers/built-in.o: In function `selftest_i2c_mux_remove':
      unittest.c:(.text+0xb0ce4): undefined reference to `i2c_del_mux_adapter'
    
    This changes the newly added IS_ENABLED() checks to use IS_BUILTIN()
    instead, which evaluates to false if the other driver is a module.
    
    Reported-by: Chen Gang <gang.chen.5i5j@gmail.com>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    Fixes: d5e7550 ("of: unitest: Add I2C overlay unit tests.")
    Signed-off-by: Rob Herring <robh@kernel.org>
    arndb authored and robherring committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    4252de3 View commit details
    Browse the repository at this point in the history
  26. dt: submitting-patches: clarify that DT maintainers are to be cced on…

    … bindings
    
    The exact steps provided for submitting binding patches can be read
    as requiring the bindings to be sent only to the devicetree@vger.kernel.org
    list. Since the DT maintainers would like to be Cced on any binding
    submissions, make this requirement explicit in step 2.
    
    Signed-off-by: Matt Porter <mporter@konsulko.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    ohporter authored and robherring committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    d1e9fa9 View commit details
    Browse the repository at this point in the history
  27. of/unittest: remove the duplicate of_changeset_init

    Remove the duplicate of_changeset_init. In of_selftest_changeset
    testcase, the "struct of_changeset chgset" is initialized twice,
    but only once is enough. so, drop the first initializtion code.
    
    Signed-off-by: Wang Long <long.wanglong@huawei.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    datawolf authored and robherring committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    dc6a945 View commit details
    Browse the repository at this point in the history
  28. of/unittest: Fix the wrong expected value in of_selftest_property_string

    This patch fix the wrong expected value of of_property_match_string
    in of_selftest_property_string.
    
    Signed-off-by: Wang Long <long.wanglong@huawei.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    datawolf authored and robherring committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    649022e View commit details
    Browse the repository at this point in the history
  29. of: fix handling of '/' in options for of_find_node_by_path()

    Ensure proper handling of paths with appended options (after ':'),
    where those options may contain a '/'.
    
    Fixes: 7914a7c ("of: support passing console options with stdout-path")
    Reported-by: Peter Hurley <peter@hurleysoftware.com>
    Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
    Cc: <stable@vger.kernel.org> # 3.19
    Signed-off-by: Rob Herring <robh@kernel.org>
    Leif Lindholm authored and robherring committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    106937e View commit details
    Browse the repository at this point in the history
  30. of: unittest: Add options string testcase variants

    Add testcase variants with '/' in the options string to test for
    scan beyond end path name terminated by ':'.
    
    Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    peterhurley authored and robherring committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    8cbba1a View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2015

  1. Merge tag 'iommu-fixes-v4.0-rc3' of git://git.kernel.org/pub/scm/linu…

    …x/kernel/git/joro/iommu
    
    Pull iommu fixes from Joerg Roedel:
     "The patches contain:
    
       - fix multiple ARM IOMMU drivers to behave well when the hardware is
         not present
    
       - mark MSM driver as broken
    
       - fix build errors with the new ARM generic io-page-table code"
    
    * tag 'iommu-fixes-v4.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
      iommu/io-pgtable-arm: Add built time dependency
      iommu/msm: Mark driver BROKEN
      iommu/rockchip: Play nice in multi-platform builds
      iommu/omap: Play nice in multi-platform builds
      iommu/exynos: Play nice in multi-platform builds
      iommu/io-pgtable-arm: Fix self-test WARNs on i386
    torvalds committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    9c3e132 View commit details
    Browse the repository at this point in the history
  2. Merge tag 'for-linus-20150310' of git://git.infradead.org/linux-mtd

    Pull MTD fixes from Brian Norris:
    
     * pxa3xx_nand
       - fix timeout issues when draining the FIFO (BCH only)
       - don't crash when no chip-selects are used
    
     * hisi504_nand
       - depend on HAS_DMA, to fix compile errors
    
    * tag 'for-linus-20150310' of git://git.infradead.org/linux-mtd:
      mtd: nand: MTD_NAND_HISI504 should depend on HAS_DMA
      mtd: pxa3xx_nand: fix driver when num_cs is 0
      mtd: nand: pxa3xx: Fix PIO FIFO draining
    torvalds committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    cca28a5 View commit details
    Browse the repository at this point in the history
  3. ARM: imx6qdl-sabresd: set swbst_reg as vbus's parent reg

    USB vbus 5V is from PMIC SWBST, so set swbst_reg as vbus's
    parent reg, it fixed a bug that the voltage of vbus is incorrect
    due to swbst_reg is disabled after boots up.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: Peter Chen <peter.chen@freescale.com>
    Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
    Peter Chen authored and shawnguo2 committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    40f7377 View commit details
    Browse the repository at this point in the history
  4. ARM: imx6sl-evk: set swbst_reg as vbus's parent reg

    USB vbus 5V is from PMIC SWBST, so set swbst_reg as vbus's
    parent reg, it fixed a bug that the voltage of vbus is incorrect
    due to swbst_reg is disabled after boots up.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: Peter Chen <peter.chen@freescale.com>
    Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
    Peter Chen authored and shawnguo2 committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    2de9dd0 View commit details
    Browse the repository at this point in the history
  5. drm/radeon: fix wait to actually occur after the signaling callback

    A normal wait adds to the front of the tail. By doing something
    similar to fence_default_wait the fence code can run without racing.
    
    This is a complete fix for "panic on suspend from KDE with radeon",
    and a partial fix for "Radeon: System pauses on TAHITI". On tahiti
    si_irq_set needs to be fixed too, to completely flush the writes
    before radeon_fence_activity is called in radeon_fence_enable_signaling.
    
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=90741
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=90861
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@ubuntu.com>
    Reported-by: Jon Arne Jørgensen <jonjon.arnearne@gmail.com>
    Reported-and-tested-by: Gustaw Smolarczyk <wielkiegie@gmail.com>
    Cc: stable@vger.kernel.org (v3.18+)
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    mlankhorst authored and alexdeucher committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    b661010 View commit details
    Browse the repository at this point in the history
  6. drm/radeon: drop setting UPLL to sleep mode

    Just keep it working, seems to fix some PLL problems.
    
    Bug: https://bugs.freedesktop.org/show_bug.cgi?id=73378
    
    Signed-off-by: Christian König <christian.koenig@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Cc: stable@vger.kernel.org
    ChristianKoenigAMD authored and alexdeucher committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    a17d499 View commit details
    Browse the repository at this point in the history
  7. MAINTAINERS: Remove self as ARM mach-bcm co-maintainer

    Removing myself as a co-maintainer.
    
    Signed-off-by: Matt Porter <mporter@linaro.org>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    Matt Porter authored and arndb committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    735783d View commit details
    Browse the repository at this point in the history
  8. MAINTAINERS: add Freescale Vybrid SoC

    Add Freescale Vybrid family as a own entry, along with an entry for
    the so far orphan Vybrid device tree files. Also add myself as
    a designated reviewer.
    
    Acked-by: Shawn Guo <shawn.guo@linaro.org>
    Signed-off-by: Stefan Agner <stefan@agner.ch>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    agners authored and arndb committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    142109d View commit details
    Browse the repository at this point in the history
  9. Merge tag 'socfpga_fixes_for_v4.0' of git://git.rocketboards.org/linu…

    …x-socfpga-next into fixes
    
    Pull "Fixes for v4.0 on the SoCFPGA platform" from Dinh Nguyen:
    
    - Fix the SCU virtual mapping
    - Add misssing DMA channels for UART nodes
    - Fix a sporadic SMP error where CPU1 was not seeing its start address
    
    * tag 'socfpga_fixes_for_v4.0' of git://git.rocketboards.org/linux-socfpga-next:
      ARM: socfpga: make sure socfpga_cpu1start_addr is properly flushed
      ARM: socfpga: fix uart DMA binding error
      ARM: socfpga: Correct SCU virtual mapping in socfpga
    arndb committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    8c11340 View commit details
    Browse the repository at this point in the history
  10. Merge tag 'at91-fixes2' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/nferre/linux-at91 into fixes
    
    Pull "Second fixes batch for AT91 on 4.0" from Nicolas Ferre:
    
    - little fix for !MMU debug: may also help for randconfig
    - fix of 2 errors in LCD clock definitions
    - in PM code, not writing the key leads to not execute the action
    
    * tag 'at91-fixes2' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91:
      ARM: at91/pm: MOR register KEY was missing
      ARM: at91/dt: sama5d4: fix lcdck clock definition
      ARM: at91/dt: sama5d4: rename lcd_clk into lcdc_clk
      ARM: at91: debug: fix non MMU debug
    arndb committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    e762965 View commit details
    Browse the repository at this point in the history
  11. xen-pciback: limit guest control of command register

    Otherwise the guest can abuse that control to cause e.g. PCIe
    Unsupported Request responses by disabling memory and/or I/O decoding
    and subsequently causing (CPU side) accesses to the respective address
    ranges, which (depending on system configuration) may be fatal to the
    host.
    
    Note that to alter any of the bits collected together as
    PCI_COMMAND_GUEST permissive mode is now required to be enabled
    globally or on the specific device.
    
    This is CVE-2015-2150 / XSA-120.
    
    Signed-off-by: Jan Beulich <jbeulich@suse.com>
    Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: David Vrabel <david.vrabel@citrix.com>
    jbeulich authored and David Vrabel committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    af6fc85 View commit details
    Browse the repository at this point in the history
  12. ARM: STi: Add STiH410 SoC support

    This patch adds support to STiH410 SoC.
    
    Please note "st,stih410" is already present in device tree.
    The problem is that it is missing the entry in the match table,
    and so the L2 cache and other cpus than 0 don't get initialized.
    
    Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
    Tested-by: Maxime Coquelin <maxime.coquelin@st.com>
    Acked-by: Peter Griffin <peter.griffin@linaro.org>
    Acked-by: Lee Jones <lee.jones@linaro.org>
    Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    Fabrice GASNIER authored and arndb committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    60b3c7e View commit details
    Browse the repository at this point in the history
  13. Merge tag 'fixes-v4.0-rc2' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/tmlind/linux-omap into fixes
    
    Pull "omap fixes against v4.0-rc2" from Tony Lindgren:
    
    Fixes for various omap variants, mostly minor fixes for various SoCs
    with the bigger changes being for the dra7 clocks and hwmod data:
    
    - Fix wl12xx for dm3730-evm
    
    - Fix omap4 prm save and clea
    
    - Fix hwmod clkdm use count
    
    - Fix hwmod data for pcie on dra7
    
    - Fix lockdep for hwmod
    
    - Fix USB on most omap3 boars by enabling it in the defconfig
    
    - Fix the bypass clock source for omap5 and dra7
    
    - Fix the ehrpwm clock for am33xx and am43xx
    
    - Enable AES and SHAM for BeagleBone white
    
    - Use rmii clock for am335x-lxm
    
    - Fix polling intervals for omap5 thermal zones
    
    - Fix slewctrl for am33xx and am43xx
    
    - Fix dra7-evm dcan pinctrl
    
    * tag 'fixes-v4.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
      ARM: OMAP2+: Fix wl12xx on dm3730-evm with mainline u-boot
      ARM: OMAP: enable TWL4030_USB in omap2plus_defconfig
      ARM: dts: dra7x-evm: avoid possible contention while muxing on CAN lines
      ARM: dts: dra7x-evm: Don't use dcan1_rx.gpio1_15 in DCAN pinctrl
      ARM: dts: am43xx: fix SLEWCTRL_FAST pinctrl binding
      ARM: dts: am33xx: fix SLEWCTRL_FAST pinctrl binding
      ARM: dts: OMAP5: fix polling intervals for thermal zones
      ARM: dts: am335x-lxm: Use rmii-clock-ext
      ARM: dts: am335x-bone-common: enable aes and sham
      ARM: dts: am43xx-clocks: Fix ehrpwm tbclk data on am43xx
      ARM: dts: am33xx-clocks: Fix ehrpwm tbclk data on am33xx
      ARM: dts: OMAP5: Fix the bypass clock source for dpll_iva and others
      ARM: dts: DRA7x: Fix the bypass clock source for dpll_iva and others
      ARM: OMAP4+: PRM: fix omap4 version of prm_save_and_clear_irqen
      ARM: OMAP2+: hwmod: fix deassert hardreset clkdm usecounting
      ARM: DRA7: hwmod_data: Fix hwmod data for pcie
      ARM: omap2+: omap_hwmod: Set unique lock_class_key per hwmod
    arndb committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    0397da7 View commit details
    Browse the repository at this point in the history
  14. ARM: digicolor: add the machine directory to Makefile

    Make the digicolor specific DT_MACHINE_START entry visible.
    
    Fixes: df8d742 (ARM: initial support for Conexant Digicolor CX92755 SoC)
    Signed-off-by: Baruch Siach <baruch@tkos.co.il>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    baruchsiach authored and arndb committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    16083d4 View commit details
    Browse the repository at this point in the history
  15. ARM: vexpress: update CONFIG_USB_ISP1760 option

    Commit 7ef077a ("usb: isp1760: Move driver from drivers/usb/host/
    to drivers/usb/isp1760/") moved the isp1760 driver and changed the
    Kconfig option. This makes CONFIG_USB_ISP1760_HCD not selectable
    directly anymore. This results in driver being not compiled in when
    using vexpress_defconfig and the USB is non-functional.
    
    This patch updates the CONFIG_USB_ISP1760_HCD to CONFIG_USB_ISP1760 to
    get back USB functional on vexpress platforms.
    
    Cc: Liviu Dudau <liviu.dudau@arm.com>
    Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
    Reported-by: Mathieu Poirier <mathieu.poirier@linaro.org>
    Tested-by: Mathieu Poirier <mathieu.poirier@linaro.org>
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    sudeep-holla authored and arndb committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    01f3e35 View commit details
    Browse the repository at this point in the history
  16. Merge tag 'imx-fixes-4.0' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/shawnguo/linux into fixes
    
    Pull "The i.MX fixes for 4.0" from Shawn Guo:
    
    It includes a couple of i.MX6 dts fixes, which set an input supply to
    vbus regulator.  Without the fixes, the voltage of vbus is incorrect
    after system boots up.
    
    * tag 'imx-fixes-4.0' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
      ARM: imx6sl-evk: set swbst_reg as vbus's parent reg
      ARM: imx6qdl-sabresd: set swbst_reg as vbus's parent reg
    arndb committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    b85b634 View commit details
    Browse the repository at this point in the history
  17. ARM: at91/dt: declare matrix node as a syscon device

    There is no specific driver handling the AHB matrix, this is a simple syscon
    device. the matrix is needed by several other drivers including the USB on some
    SoCs (at91sam9261 for instance).
    Without this definition, the USB will not work on these SoCs.
    
    Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Boris Brezillon authored and Nicolas Ferre committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    ea1c98b View commit details
    Browse the repository at this point in the history
  18. ARM: at91/dt: fix at91 udc compatible strings

    The at91rm9200, at91sam9260, at91sam9261 and at91sam9263 SoCs have slightly
    different UDC IPs.
    Those differences were previously handled with cpu_is_at91xx macro which
    are about to be dropped for multi-platform support, thus we need to
    change compatible strings.
    
    Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Boris Brezillon authored and Nicolas Ferre committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    70a9bea View commit details
    Browse the repository at this point in the history
  19. ARM: at91/dt: fix USB high-speed clock to select UTMI

    The UTMI clock must be selected by any high-speed USB IP. The logic behind it
    needs this particular clock.
    So, correct the clock in the device tree files affected.
    
    Reported-by: Bo Shen <voice.shen@atmel.com>
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Cc: <stable@vger.kernel.org> #3.18
    Nicolas Ferre committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    3440ef1 View commit details
    Browse the repository at this point in the history
  20. ARM: at91: pm_slowclock: fix the compilation error

    When compiling the kernel in thumb2 (CONFIG_THUMB2_KERNEL option activated), we
    hit a compilation crash. The error message is listed below:
    
    ---8< -----
    Error: cannot use register index with PC-relative addressing -- `str r0,.saved_lpr'
    --->8----
    
    Add the .arm directive in the assembly files related to power management.
    
    Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    wenyouya authored and Nicolas Ferre committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    e7b848d View commit details
    Browse the repository at this point in the history
  21. ALSA: hda - Fix built-in mic on Compaq Presario CQ60

    Compaq Presario CQ60 laptop with CX20561 gives a wrong pin for the
    built-in mic NID 0x17 instead of NID 0x1d, and it results in the
    non-working mic.  This patch just remaps the pin correctly via fixup.
    
    Bugzilla: https://bugzilla.opensuse.org/show_bug.cgi?id=920604
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    ddb6ca7 View commit details
    Browse the repository at this point in the history
  22. selftests/exec: Check if the syscall exists and bail if not

    On systems which don't implement sys_execveat(), this test produces a
    lot of output.
    
    Add a check at the beginning to see if the syscall is present, and if
    not just note one error and return.
    
    When we run on a system that doesn't implement the syscall we will get
    ENOSYS back from the kernel, so change the logic that handles
    __NR_execveat not being defined to also use ENOSYS rather than -ENOSYS.
    
    Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
    Acked-by: David Drysdale <drysdale@google.com>
    Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
    mpe authored and Shuah Khan committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    9a0b574 View commit details
    Browse the repository at this point in the history
  23. drm/vmwgfx: Fix a couple of lock dependency violations

    Experimental lockdep annotation added to the TTM lock has unveiled a
    couple of lock dependency violations in the vmwgfx driver. In both
    cases it turns out that the device_private::reservation_sem is not
    needed so the offending code is moved out of that lock.
    
    Cc: <stable@vger.kernel.org>
    Acked-by: Sinclair Yeh <syeh@vmware.com>
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    thomashvmw committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    5151adb View commit details
    Browse the repository at this point in the history
  24. drm/vmwgfx: Reorder device takedown somewhat

    To take down the MOB and GMR memory types, the driver may have to issue
    fence objects and thus make sure that the fence manager is taken down
    after those memory types.
    Reorder device init accordingly.
    
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Sinclair Yeh <syeh@vmware.com>
    thomashvmw committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    3458390 View commit details
    Browse the repository at this point in the history
  25. drm/vmwgfx: Correctly NULLify dma buffer pointer on failure

    cppcheck on lines 917 and 977 show an ineffective assignment
    to the dma buffer pointer:
    
    [drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:917]:
    [drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:977]:
      (warning) Assignment of function parameter has no effect
      outside the function. Did you forget dereferencing it?
    
    On a successful DMA buffer lookup, the dma buffer pointer is
    assigned, however, on failure it currently is left in an
    undefined state.
    
    The original intention in the error exit path was to nullify
    the pointer on an error (which the original code failed to
    do properly). This patch fixes this also ensures all failure
    paths nullify the buffer pointer on the error return.
    
    Fortunately the callers to vmw_translate_mob_ptr and
    vmw_translate_guest_ptr are checking on a return status and not
    on the dma buffer pointer, so the original code worked.
    
    Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
    Signed-off-by: Colin Ian King <colin.king@canonical.com>
    Colin Ian King authored and thomashvmw committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    da5efff View commit details
    Browse the repository at this point in the history
  26. drm/vmwgfx: Fix an issue with the device losing its irq line on modul…

    …e unload
    
    Starting with commit b4b55cd
    ("x86/PCI: Refine the way to release PCI IRQ resources")
    
    the device lost its irq resource on module unload. While that's ok and
    apparently intentional, the driver never got the resource back on module load
    
    The code apparently wants drivers to disable the pci device at pci device
    driver removal, so lets do that. That fixes the issue.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    thomashvmw committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    fd3e4d6 View commit details
    Browse the repository at this point in the history
  27. Merge tag 'at91-fixes3' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/nferre/linux-at91 into fixes
    
    Pull "Third fixes batch for AT91 on 4.0" from Nicolas Ferre:
    - clock fixes for USB
    - compatible string changes for handling USB IP differences
      (+ needed AHB matrix syscon)
    - fix of a compilation error in PM code
    
    * tag 'at91-fixes3' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91:
      ARM: at91: pm_slowclock: fix the compilation error
      ARM: at91/dt: fix USB high-speed clock to select UTMI
      ARM: at91/dt: fix at91 udc compatible strings
      ARM: at91/dt: declare matrix node as a syscon device
      ARM: at91/dt: at91sam9261: fix clocks and clock-names in udc definition
    arndb committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    30fa7e0 View commit details
    Browse the repository at this point in the history
  28. Revert "cpupower Makefile change to help run the tool without 'make i…

    …nstall'"
    
    This reverts commit 5c1de00.
    
    While the original commit makes it easier to run cpupower from the
    local build directory, it also leaves the binary with a rather poor
    rpath of './' in it after it is installed on a system via 'make install'.
    
    This is considered bad practice and can cause cpupower to fail in
    rpmbuild with the following error:
    
    ERROR   0004: file '/usr/bin/cpupower' contains an insecure rpath './' in [./]
    error: Bad exit status from /var/tmp/rpm-tmp.A6u26r (%install)
        Bad exit status from /var/tmp/rpm-tmp.A6u26r (%install)
    
    Developers should be able to use LD_LIBRARY_PATH to achieve the same
    effect and not introduce rpath into the binary.
    
    Signed-off-by: Josh Boyer <jwboyer@feoraproject.org>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Josh Boyer authored and rafaeljw committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    b8ea351 View commit details
    Browse the repository at this point in the history
  29. clk: don't export static symbol

    The semantic patch that fixes this problem is as follows:
    (http://coccinelle.lip6.fr/)
    
    // <smpl>
    @r@
    type T;
    identifier f;
    @@
    
    static T f (...) { ... }
    
    @@
    identifier r.f;
    declarer name EXPORT_SYMBOL_GPL;
    @@
    
    -EXPORT_SYMBOL_GPL(f);
    // </smpl>
    
    Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
    Fixes: 035a61c "clk: Make clk API return per-user struct clk instances"
    Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
    JuliaLawall authored and bebarino committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    f55ac06 View commit details
    Browse the repository at this point in the history
  30. clk: introduce clk_is_match

    Some drivers compare struct clk pointers as a means of knowing
    if the two pointers reference the same clock hardware. This behavior is
    dubious (drivers must not dereference struct clk), but did not cause any
    regressions until the per-user struct clk patch was merged. Now the test
    for matching clk's will always fail with per-user struct clk's.
    
    clk_is_match is introduced to fix the regression and prevent drivers
    from comparing the pointers manually.
    
    Fixes: 035a61c ("clk: Make clk API return per-user struct clk instances")
    Cc: Russell King <linux@arm.linux.org.uk>
    Cc: Shawn Guo <shawn.guo@linaro.org>
    Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
    Signed-off-by: Michael Turquette <mturquette@linaro.org>
    [arnd@arndb.de: Fix COMMON_CLK=N && HAS_CLK=Y config]
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    [sboyd@codeaurora.org: const arguments to clk_is_match() and
    remove unnecessary ternary operation]
    Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
    Michael Turquette authored and bebarino committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    3d3801e View commit details
    Browse the repository at this point in the history
  31. ARM: imx: fix struct clk pointer comparing

    Since commit 035a61c ("clk: Make clk API return per-user struct clk
    instances"), clk API users can no longer check if two struct clk
    pointers are pointing to the same hardware clock, i.e. struct clk_hw, by
    simply comparing two pointers.  That's because with the per-user clk
    change, a brand new struct clk is created whenever clients try to look
    up the clock by calling clk_get() or sister functions like clk_get_sys()
    and of_clk_get().  This changes the original behavior where the struct
    clk is only created for once when clock driver registers the clock to
    CCF in the first place.  The net change here is before commit
    035a61c the struct clk pointer is unique for given hardware
    clock, while after the commit the pointers returned by clk lookup calls
    become different for the same hardware clock.
    
    That said, the struct clk pointer comparing in the code doesn't work any
    more.  Call helper function clk_is_match() instead to fix the problem.
    
    Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
    Signed-off-by: Michael Turquette <mturquette@linaro.org>
    Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
    shawnguo2 authored and bebarino committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    a51139f View commit details
    Browse the repository at this point in the history
  32. ASoC: fsl_spdif: fix struct clk pointer comparing

    Since commit 035a61c ("clk: Make clk API return per-user struct clk
    instances"), clk API users can no longer check if two struct clk
    pointers are pointing to the same hardware clock, i.e. struct clk_hw, by
    simply comparing two pointers.  That's because with the per-user clk
    change, a brand new struct clk is created whenever clients try to look
    up the clock by calling clk_get() or sister functions like clk_get_sys()
    and of_clk_get().  This changes the original behavior where the struct
    clk is only created for once when clock driver registers the clock to
    CCF in the first place.  The net change here is before commit
    035a61c the struct clk pointer is unique for given hardware
    clock, while after the commit the pointers returned by clk lookup calls
    become different for the same hardware clock.
    
    That said, the struct clk pointer comparing in the code doesn't work any
    more.  Call helper function clk_is_match() instead to fix the problem.
    
    Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
    Signed-off-by: Michael Turquette <mturquette@linaro.org>
    Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
    shawnguo2 authored and bebarino committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    81efec8 View commit details
    Browse the repository at this point in the history
  33. ASoC: kirkwood: fix struct clk pointer comparing

    Since commit 035a61c ("clk: Make clk API return per-user struct clk
    instances"), clk API users can no longer check if two struct clk
    pointers are pointing to the same hardware clock, i.e. struct clk_hw, by
    simply comparing two pointers.  That's because with the per-user clk
    change, a brand new struct clk is created whenever clients try to look
    up the clock by calling clk_get() or sister functions like clk_get_sys()
    and of_clk_get().  This changes the original behavior where the struct
    clk is only created for once when clock driver registers the clock to
    CCF in the first place.  The net change here is before commit
    035a61c the struct clk pointer is unique for given hardware
    clock, while after the commit the pointers returned by clk lookup calls
    become different for the same hardware clock.
    
    That said, the struct clk pointer comparing in the code doesn't work any
    more.  Call helper function clk_is_match() instead to fix the problem.
    
    Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
    Signed-off-by: Michael Turquette <mturquette@linaro.org>
    Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
    shawnguo2 authored and bebarino committed Mar 11, 2015
    Configuration menu
    Copy the full SHA
    aaa6d06 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2015

  1. nios2: update pt_regs

    Remove struct pt_regs from user header and use generic ucontext.h.
    
    Signed-off-by: Chung-Ling Tang <cltang@codesourcery.com>
    Acked-by: Ley Foon Tan <lftan@altera.com>
    Chung-Ling Tang authored and Ley Foon Tan committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    92d5dd8 View commit details
    Browse the repository at this point in the history
  2. ALSA: control: Add sanity checks for user ctl id name string

    There was no check about the id string of user control elements, so we
    accepted even a control element with an empty string, which is
    obviously bogus.  This patch adds more sanity checks of id strings.
    
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    be3bb82 View commit details
    Browse the repository at this point in the history
  3. ALSA: snd-usb: add quirks for Roland UA-22

    The device complies to the UAC1 standard but hides that fact with
    proprietary descriptors. The autodetect quirk for Roland devices
    catches the audio interface but misses the MIDI part, so a specific
    quirk is needed.
    
    Signed-off-by: Daniel Mack <daniel@zonque.org>
    Reported-by: Rafa Lafuente <rafalafuente@gmail.com>
    Tested-by: Raphaël Doursenaud <raphael@doursenaud.fr>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    zonque authored and tiwai committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    fcdcd1d View commit details
    Browse the repository at this point in the history
  4. Revert "i2c: core: Dispose OF IRQ mapping at client removal time"

    This reverts commit e4df3a0
    ("i2c: core: Dispose OF IRQ mapping at client removal time")
    
    Calling irq_dispose_mapping() will destroy the mapping and disassociate
    the IRQ from the IRQ chip to which it belongs. Keeping it is OK, because
    existent mappings are reused properly.
    
    Also, this commit breaks drivers using devm* for IRQ management on
    OF-based systems because devm* cleanup happens in device code, after
    bus's remove() method returns.
    
    Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
    Reported-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
    Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    [wsa: updated the commit message with findings fromt the other bug report]
    Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
    Cc: stable@kernel.org
    Fixes: e4df3a0
    kuba-moo authored and Wolfram Sang committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    a494457 View commit details
    Browse the repository at this point in the history
  5. mm: fix up numa read-only thread grouping logic

    Dave Chinner reported that commit 4d94246 ("mm: convert
    p[te|md]_mknonnuma and remaining page table manipulations") slowed down
    his xfsrepair test enormously.  In particular, it was using more system
    time due to extra TLB flushing.
    
    The ultimate reason turns out to be how the change to use the regular
    page table accessor functions broke the NUMA grouping logic.  The old
    special mknuma/mknonnuma code accessed the page table present bit and
    the magic NUMA bit directly, while the new code just changes the page
    protections using PROT_NONE and the regular vma protections.
    
    That sounds equivalent, and from a fault standpoint it really is, but a
    subtle side effect is that the *other* protection bits of the page table
    entries also change.  And the code to decide how to group the NUMA
    entries together used the writable bit to decide whether a particular
    page was likely to be shared read-only or not.
    
    And with the change to make the NUMA handling use the regular permission
    setting functions, that writable bit was basically always cleared for
    private mappings due to COW.  So even if the page actually ends up being
    written to in the end, the NUMA balancing would act as if it was always
    shared RO.
    
    This code is a heuristic anyway, so the fix - at least for now - is to
    instead check whether the page is dirty rather than writable.  The bit
    doesn't change with protection changes.
    
    NOTE! This also adds a FIXME comment to revisit this issue,
    
    Not only should we probably re-visit the whole "is this a shared
    read-only page" heuristic (we might want to take the vma permissions
    into account and base this more on those than the per-page ones, and
    also look at whether the particular access that triggers it is a write
    or not), but the whole COW issue shows that we should think about the
    NUMA fault handling some more.
    
    For example, maybe we should do the early-COW thing that a regular fault
    does.  Or maybe we should accept that while using the same bits as
    PROTNONE was a good thing (and got rid of the specual NUMA bit), we
    might still want to just preseve the other protection bits across NUMA
    faulting.
    
    Those are bigger questions, left for later.  This just fixes up the
    heuristic so that it at least approximates working again.  More analysis
    and work needed.
    
    Reported-by: Dave Chinner <david@fromorbit.com>
    Tested-by: Mel Gorman <mgorman@suse.de>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Aneesh Kumar <aneesh.kumar@linux.vnet.ibm.com>
    Cc: Ingo Molnar <mingo@kernel.org>,
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    torvalds committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    53da3bc View commit details
    Browse the repository at this point in the history
  6. vfio-pci: Add missing break to enable VFIO_PCI_ERR_IRQ_INDEX

    This adds a missing break statement to VFIO_DEVICE_SET_IRQS handler
    without which vfio_pci_set_err_trigger() would never be called.
    
    While we are here, add another "break" to VFIO_PCI_REQ_IRQ_INDEX case
    so if we add more indexes later, we won't miss it.
    
    Fixes: 6140a8f ("vfio-pci: Add device request interface")
    Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
    Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
    aik authored and awilliam committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    ec76f40 View commit details
    Browse the repository at this point in the history
  7. Merge tag 'nios2-fix-4.0-rc4' of git://git.rocketboards.org/linux-soc…

    …fpga-next
    
    Pull arch/nios2 fix from Ley Foon Tan:
     "Remove pt_regs from user header and use generic ucontext.h"
    
    * tag 'nios2-fix-4.0-rc4' of git://git.rocketboards.org/linux-socfpga-next:
      nios2: update pt_regs
    torvalds committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    5627511 View commit details
    Browse the repository at this point in the history
  8. Merge tag 'microblaze-4.0-rc4' of git://git.monstr.eu/linux-2.6-micro…

    …blaze
    
    Pull arch/microblaze fixes from Michal Simek:
     "Fix syscall error recovery.
    
      Two patches - one is just preparation patch for the second which is
      fixing the problem with syscalls"
    
    * tag 'microblaze-4.0-rc4' of git://git.monstr.eu/linux-2.6-microblaze:
      microblaze: Fix syscall error recovery for invalid syscall IDs
      microblaze: Coding style cleanup
    torvalds committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    d3dd73f View commit details
    Browse the repository at this point in the history
  9. Merge tag 'pci-v4.0-fixes-2' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/helgaas/pci
    
    Pull PCI fixes from Bjorn Helgaas:
     "Here are a couple updates for v4.0.
    
      One fixes a config accessor problem on APM X-Gene that we introduced
      when switching to generic config accessors, and the other fixes an
      older read-past-end-of-buffer problem in sysfs.
    
      APM X-Gene host bridge driver
        - Add register offset to config space base address (Feng Kan)
    
      Miscellaneous
        - Don't read past the end of sysfs "driver_override" buffer (Sasha Levin)"
    
    * tag 'pci-v4.0-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
      PCI: xgene: Add register offset to config space base address
      PCI: Don't read past the end of sysfs "driver_override" buffer
    torvalds committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    91e9134 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/wsa/linux
    
    Pull i2c fix from Wolfram Sang:
     "An important bugfix for the I2C subsystem core"
    
    * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
      Revert "i2c: core: Dispose OF IRQ mapping at client removal time"
    torvalds committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    09d3591 View commit details
    Browse the repository at this point in the history
  11. ALSA: hda - Set single_adc_amp flag for CS420x codecs

    CS420x codecs seem to deal only the single amps of ADC nodes even
    though the nodes receive multiple inputs.  This leads to the
    inconsistent amp value after S3/S4 resume, for example.
    
    The fix is just to set codec->single_adc_amp flag.  Then the driver
    handles these ADC amps as if single connections.
    
    Reported-and-tested-by: Vasil Zlatanov <vasil.zlatanov@gmail.com>
    Cc: <stable@vger.kernel.org> # 3.9+
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    bad994f View commit details
    Browse the repository at this point in the history
  12. ALSA: hda - Add workaround for MacBook Air 5,2 built-in mic

    MacBook Air 5,2 has the same problem as MacBook Pro 8,1 where the
    built-in mic records only the right channel.  Apply the same
    workaround as MBP8,1 to spread the mono channel via a Cirrus codec
    vendor-specific COEF setup.
    
    Reported-and-tested-by: Vasil Zlatanov <vasil.zlatanov@gmail.com>
    Cc: <stable@vger.kernel.org> # 3.9+
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    2ddee91 View commit details
    Browse the repository at this point in the history
  13. mm: thp: Return the correct value for change_huge_pmd

    The wrong value is being returned by change_huge_pmd since commit
    10c1045 ("mm: numa: avoid unnecessary TLB flushes when setting
    NUMA hinting entries") which allows a fallthrough that tries to adjust
    non-existent PTEs. This patch corrects it.
    
    Signed-off-by: Mel Gorman <mgorman@suse.de>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Mel Gorman authored and torvalds committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    ba68bc0 View commit details
    Browse the repository at this point in the history
  14. Merge tag 'drm-intel-fixes-2015-03-12' of git://anongit.freedesktop.o…

    …rg/drm-intel into drm-fixes
    
    More i915 fixes, three out of four are fixes to old bugs, cc: stable.
    
    * tag 'drm-intel-fixes-2015-03-12' of git://anongit.freedesktop.org/drm-intel:
      drm/i915: Prevent TLB error on first execution on SNB
      drm/i915: Do both mt and gen6 style forcewake reset on ivb probe
      drm/i915: Make WAIT_IOCTL negative timeouts be indefinite again
      drm/i915: use in_interrupt() not in_irq() to check context
    airlied committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    17b263f View commit details
    Browse the repository at this point in the history
  15. Merge branch 'vmwgfx-fixes-4.0' of git://people.freedesktop.org/~thom…

    …ash/linux into drm-fixes
    
    A couple of fixes for vmwgfx.
    
    * 'vmwgfx-fixes-4.0' of git://people.freedesktop.org/~thomash/linux:
      drm/vmwgfx: Fix an issue with the device losing its irq line on module unload
      drm/vmwgfx: Correctly NULLify dma buffer pointer on failure
      drm/vmwgfx: Reorder device takedown somewhat
      drm/vmwgfx: Fix a couple of lock dependency violations
    airlied committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    552d664 View commit details
    Browse the repository at this point in the history
  16. Merge branch 'drm-fixes-4.0' of git://people.freedesktop.org/~agd5f/l…

    …inux into drm-fixes
    
    Some additional radeon fixes for 4.0
    
    * 'drm-fixes-4.0' of git://people.freedesktop.org/~agd5f/linux:
      drm/radeon: drop setting UPLL to sleep mode
      drm/radeon: fix wait to actually occur after the signaling callback
    airlied committed Mar 12, 2015
    Configuration menu
    Copy the full SHA
    e2cdcaf View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2015

  1. ocfs2: make append_dio an incompat feature

    It turns out that making this feature ro_compat isn't quite enough to
    prevent accidental corruption on mount from older kernels.  Ocfs2 (like
    other file systems) will process orphaned inodes even when the user mounts
    in 'ro' mode.  So for the case of a filesystem not knowing the append_dio
    feature, mounting the filesystem could result in orphaned-for-dio files
    being deleted, which we clearly don't want.
    
    So instead, turn this into an incompat flag.
    
    Btw, this is kind of my fault - initially I asked that we add a flag to
    cover the feature and even suggested that we use an ro flag.  It wasn't
    until I was looking through our commits for v4.0-rc1 that I realized we
    actually want this to be incompat.
    
    Signed-off-by: Mark Fasheh <mfasheh@suse.de>
    Cc: Joseph Qi <joseph.qi@huawei.com>
    Cc: Joel Becker <jlbec@evilplan.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Mark Fasheh authored and torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    18d585f View commit details
    Browse the repository at this point in the history
  2. drivers/rtc/rtc-s3c.c: add .needs_src_clk to s3c6410 RTC data

    Commit df9e26d ("rtc: s3c: add support for RTC of Exynos3250 SoC")
    added an "rtc_src" DT property to specify the clock used as a source to
    the S3C real-time clock.
    
    Not all SoCs needs this so commit eaf3a65 ("drivers/rtc/rtc-s3c.c:
    fix initialization failure without rtc source clock") changed to check
    the struct s3c_rtc_data .needs_src_clk to conditionally grab the clock.
    
    But that commit didn't update the data for each IP version so the RTC
    broke on the boards that needs a source clock. This is the case of at
    least Exynos5250 and Exynos5440 which uses the s3c6410 RTC IP block.
    
    This commit fixes the S3C rtc on the Exynos5250 Snow and Exynos5420
    Peach Pit and Pi Chromebooks.
    
    Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
    Cc: Marek Szyprowski <m.szyprowski@samsung.com>
    Cc: Chanwoo Choi <cw00.choi@samsung.com>
    Cc: Doug Anderson <dianders@chromium.org>
    Cc: Olof Johansson <olof@lixom.net>
    Cc: Kevin Hilman <khilman@linaro.org>
    Cc: Tyler Baker <tyler.baker@linaro.org>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Javier Martinez Canillas authored and torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    8792f77 View commit details
    Browse the repository at this point in the history
  3. mm, oom: do not fail __GFP_NOFAIL allocation if oom killer is disabled

    Tetsuo Handa has pointed out that __GFP_NOFAIL allocations might fail
    after OOM killer is disabled if the allocation is performed by a kernel
    thread.  This behavior was introduced from the very beginning by
    7f33d49 ("mm, PM/Freezer: Disable OOM killer when tasks are frozen").
     This means that the basic contract for the allocation request is broken
    and the context requesting such an allocation might blow up unexpectedly.
    
    There are basically two ways forward.
    
    1) move oom_killer_disable after kernel threads are frozen.  This has a
       risk that the OOM victim wouldn't be able to finish because it would
       depend on an already frozen kernel thread.  This would be really tricky
       to debug.
    
    2) do not fail GFP_NOFAIL allocation no matter what and risk a
       potential Freezable kernel threads will loop and fail the suspend.
       Incidental allocations after kernel threads are frozen will at least
       dump a warning - if we are lucky and the serial console is still active
       of course...
    
    This patch implements the later option because it is safer.  We would see
    warning rather than allocation failures for the kernel threads which would
    blow up otherwise and have a higher chances to identify __GFP_NOFAIL users
    from deeper pm code.
    
    Signed-off-by: Michal Hocko <mhocko@suse.cz>
    Acked-by: David Rientjes <rientjes@gooogle.com>
    Cc: Johannes Weiner <hannes@cmpxchg.org>
    Cc: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
    Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Michal Hocko authored and torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    e009d5d View commit details
    Browse the repository at this point in the history
  4. mm, hugetlb: close race when setting PageTail for gigantic pages

    Now that gigantic pages are dynamically allocatable, care must be taken to
    ensure that p->first_page is valid before setting PageTail.
    
    If this isn't done, then it is possible to race and have compound_head()
    return NULL.
    
    Signed-off-by: David Rientjes <rientjes@google.com>
    Acked-by: Davidlohr Bueso <dave@stgolabs.net>
    Cc: Luiz Capitulino <lcapitulino@redhat.com>
    Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
    Acked-by: Hillf Danton <hillf.zj@alibaba-inc.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    rientjes authored and torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    44fc805 View commit details
    Browse the repository at this point in the history
  5. mm: cma: fix CMA aligned offset calculation

    The CMA aligned offset calculation is incorrect for non-zero order_per_bit
    values.
    
    For example, if cma->order_per_bit=1, cma->base_pfn= 0x2f800000 and
    align_order=12, the function returns a value of 0x17c00 instead of 0x400.
    
    This patch fixes the CMA aligned offset calculation.
    
    The previous calculation was wrong and would return too-large values for
    the offset, so that when cma_alloc looks for free pages in the bitmap with
    the requested alignment > order_per_bit, it starts too far into the bitmap
    and so CMA allocations will fail despite there actually being plenty of
    free pages remaining.  It will also probably have the wrong alignment.
    With this change, we will get the correct offset into the bitmap.
    
    One affected user is powerpc KVM, which has kvm_cma->order_per_bit set to
    KVM_CMA_CHUNK_ORDER - PAGE_SHIFT, or 18 - 12 = 6.
    
    [gregory.0xf0@gmail.com: changelog additions]
    Signed-off-by: Danesh Petigara <dpetigara@broadcom.com>
    Reviewed-by: Gregory Fong <gregory.0xf0@gmail.com>
    Acked-by: Michal Nazarewicz <mina86@mina86.com>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Danesh Petigara authored and torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    850fc43 View commit details
    Browse the repository at this point in the history
  6. nilfs2: fix deadlock of segment constructor during recovery

    According to a report from Yuxuan Shui, nilfs2 in kernel 3.19 got stuck
    during recovery at mount time.  The code path that caused the deadlock was
    as follows:
    
      nilfs_fill_super()
        load_nilfs()
          nilfs_salvage_orphan_logs()
            * Do roll-forwarding, attach segment constructor for recovery,
              and kick it.
    
            nilfs_segctor_thread()
              nilfs_segctor_thread_construct()
               * A lock is held with nilfs_transaction_lock()
                 nilfs_segctor_do_construct()
                   nilfs_segctor_drop_written_files()
                     iput()
                       iput_final()
                         write_inode_now()
                           writeback_single_inode()
                             __writeback_single_inode()
                               do_writepages()
                                 nilfs_writepage()
                                   nilfs_construct_dsync_segment()
                                     nilfs_transaction_lock() --> deadlock
    
    This can happen if commit 7ef3ff2 ("nilfs2: fix deadlock of segment
    constructor over I_SYNC flag") is applied and roll-forward recovery was
    performed at mount time.  The roll-forward recovery can happen if datasync
    write is done and the file system crashes immediately after that.  For
    instance, we can reproduce the issue with the following steps:
    
     < nilfs2 is mounted on /nilfs (device: /dev/sdb1) >
     # dd if=/dev/zero of=/nilfs/test bs=4k count=1 && sync
     # dd if=/dev/zero of=/nilfs/test conv=notrunc oflag=dsync bs=4k
     count=1 && reboot -nfh
     < the system will immediately reboot >
     # mount -t nilfs2 /dev/sdb1 /nilfs
    
    The deadlock occurs because iput() can run segment constructor through
    writeback_single_inode() if MS_ACTIVE flag is not set on sb->s_flags.  The
    above commit changed segment constructor so that it calls iput()
    asynchronously for inodes with i_nlink == 0, but that change was
    imperfect.
    
    This fixes the another deadlock by deferring iput() in segment constructor
    even for the case that mount is not finished, that is, for the case that
    MS_ACTIVE flag is not set.
    
    Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
    Reported-by: Yuxuan Shui <yshuiv7@gmail.com>
    Tested-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    konis authored and torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    283ee14 View commit details
    Browse the repository at this point in the history
  7. arch/c6x/include/asm/pgtable.h: define dummy pgprot_writecombine for …

    …!MMU
    
    When !MMU, asm-generic will not define default pgprot_writecombine, so c6x
    needs to define it by itself.  The related error:
    
        CC [M]  fs/pstore/ram_core.o
      fs/pstore/ram_core.c: In function 'persistent_ram_vmap':
      fs/pstore/ram_core.c:399:10: error: implicit declaration of function 'pgprot_writecombine' [-Werror=implicit-function-declaration]
         prot = pgprot_writecombine(PAGE_KERNEL);
                ^
      fs/pstore/ram_core.c:399:8: error: incompatible types when assigning to type 'pgprot_t {aka struct <anonymous>}' from type 'int'
         prot = pgprot_writecombine(PAGE_KERNEL);
              ^
    
    Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
    Cc: Mark Salter <msalter@redhat.com>
    Cc: Aurelien Jacquiot <a-jacquiot@ti.com>
    Cc: "Kirill A. Shutemov" <kirill@shutemov.name>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Chen Gang authored and torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    65b9ab8 View commit details
    Browse the repository at this point in the history
  8. mm/nommu.c: export symbol max_mapnr

    Several modules may need max_mapnr, so export, the related error with
    allmodconfig under c6x:
    
      MODPOST 3327 modules
      ERROR: "max_mapnr" [fs/pstore/ramoops.ko] undefined!
      ERROR: "max_mapnr" [drivers/media/v4l2-core/videobuf2-dma-contig.ko] undefined!
    
    Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
    Cc: Mark Salter <msalter@redhat.com>
    Cc: Aurelien Jacquiot <a-jacquiot@ti.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    gchen gchen authored and torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    5b8bf30 View commit details
    Browse the repository at this point in the history
  9. fanotify: fix event filtering with FAN_ONDIR set

    With FAN_ONDIR set, the user can end up getting events, which it hasn't
    marked.  This was revealed with fanotify04 testcase failure on
    Linux-4.0-rc1, and is a regression from 3.19, revealed with 66ba93c
    ("fanotify: don't set FAN_ONDIR implicitly on a marks ignored mask").
    
       # /opt/ltp/testcases/bin/fanotify04
       [ ... ]
      fanotify04    7  TPASS  :  event generated properly for type 100000
      fanotify04    8  TFAIL  :  fanotify04.c:147: got unexpected event 30
      fanotify04    9  TPASS  :  No event as expected
    
    The testcase sets the adds the following marks : FAN_OPEN | FAN_ONDIR for
    a fanotify on a dir.  Then does an open(), followed by close() of the
    directory and expects to see an event FAN_OPEN(0x20).  However, the
    fanotify returns (FAN_OPEN|FAN_CLOSE_NOWRITE(0x10)).  This happens due to
    the flaw in the check for event_mask in fanotify_should_send_event() which
    does:
    
    	if (event_mask & marks_mask & ~marks_ignored_mask)
    		return true;
    
    where, event_mask == (FAN_ONDIR | FAN_CLOSE_NOWRITE),
           marks_mask == (FAN_ONDIR | FAN_OPEN),
           marks_ignored_mask == 0
    
    Fix this by masking the outgoing events to the user, as we already take
    care of FAN_ONDIR and FAN_EVENT_ON_CHILD.
    
    Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com>
    Tested-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
    Reviewed-by: Jan Kara <jack@suse.cz>
    Cc: Eric Paris <eparis@redhat.com>
    Cc: Will Deacon <will.deacon@arm.com>
    
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Suzuki K. Poulose authored and torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    b3c1030 View commit details
    Browse the repository at this point in the history
  10. kasan, module, vmalloc: rework shadow allocation for modules

    Current approach in handling shadow memory for modules is broken.
    
    Shadow memory could be freed only after memory shadow corresponds it is no
    longer used.  vfree() called from interrupt context could use memory its
    freeing to store 'struct llist_node' in it:
    
        void vfree(const void *addr)
        {
        ...
            if (unlikely(in_interrupt())) {
                struct vfree_deferred *p = this_cpu_ptr(&vfree_deferred);
                if (llist_add((struct llist_node *)addr, &p->list))
                        schedule_work(&p->wq);
    
    Later this list node used in free_work() which actually frees memory.
    Currently module_memfree() called in interrupt context will free shadow
    before freeing module's memory which could provoke kernel crash.
    
    So shadow memory should be freed after module's memory.  However, such
    deallocation order could race with kasan_module_alloc() in module_alloc().
    
    Free shadow right before releasing vm area.  At this point vfree()'d
    memory is not used anymore and yet not available for other allocations.
    New VM_KASAN flag used to indicate that vm area has dynamically allocated
    shadow memory so kasan frees shadow only if it was previously allocated.
    
    Signed-off-by: Andrey Ryabinin <a.ryabinin@samsung.com>
    Acked-by: Rusty Russell <rusty@rustcorp.com.au>
    Cc: Dmitry Vyukov <dvyukov@google.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    aryabinin authored and torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    a5af5aa View commit details
    Browse the repository at this point in the history
  11. kasan, module: move MODULE_ALIGN macro into <linux/moduleloader.h>

    include/linux/moduleloader.h is more suitable place for this macro.
    Also change alignment to PAGE_SIZE for CONFIG_KASAN=n as such
    alignment already assumed in several places.
    
    Signed-off-by: Andrey Ryabinin <a.ryabinin@samsung.com>
    Cc: Dmitry Vyukov <dvyukov@google.com>
    Acked-by: Rusty Russell <rusty@rustcorp.com.au>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    aryabinin authored and torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    d3733e5 View commit details
    Browse the repository at this point in the history
  12. mm: reorder can_do_mlock to fix audit denial

    A userspace call to mmap(MAP_LOCKED) may result in the successful locking
    of memory while also producing a confusing audit log denial.  can_do_mlock
    checks capable and rlimit.  If either of these return positive
    can_do_mlock returns true.  The capable check leads to an LSM hook used by
    apparmour and selinux which produce the audit denial.  Reordering so
    rlimit is checked first eliminates the denial on success, only recording a
    denial when the lock is unsuccessful as a result of the denial.
    
    Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
    Acked-by: Nick Kralevich <nnk@google.com>
    Cc: Jeff Vander Stoep <jeffv@google.com>
    Cc: Sasha Levin <sasha.levin@oracle.com>
    Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
    Cc: Rik van Riel <riel@redhat.com>
    Cc: Vlastimil Babka <vbabka@suse.cz>
    Cc: Paul Cassella <cassella@cray.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jeffvanderstoep authored and torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    a5a6579 View commit details
    Browse the repository at this point in the history
  13. memcg: disable hierarchy support if bound to the legacy cgroup hierarchy

    If the memory cgroup controller is initially mounted in the scope of the
    default cgroup hierarchy and then remounted to a legacy hierarchy, it will
    still have hierarchy support enabled, which is incorrect.  We should
    disable hierarchy support if bound to the legacy cgroup hierarchy.
    
    Signed-off-by: Vladimir Davydov <vdavydov@parallels.com>
    Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
    Acked-by: Michal Hocko <mhocko@suse.cz>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Vladimir Davydov authored and torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    7feee59 View commit details
    Browse the repository at this point in the history
  14. Merge branch 'akpm' (patches from Andrew)

    Merge misc fixes from Andrew Morton:
     "13 fixes"
    
    * emailed patches from Andrew Morton <akpm@linux-foundation.org>:
      memcg: disable hierarchy support if bound to the legacy cgroup hierarchy
      mm: reorder can_do_mlock to fix audit denial
      kasan, module: move MODULE_ALIGN macro into <linux/moduleloader.h>
      kasan, module, vmalloc: rework shadow allocation for modules
      fanotify: fix event filtering with FAN_ONDIR set
      mm/nommu.c: export symbol max_mapnr
      arch/c6x/include/asm/pgtable.h: define dummy pgprot_writecombine for !MMU
      nilfs2: fix deadlock of segment constructor during recovery
      mm: cma: fix CMA aligned offset calculation
      mm, hugetlb: close race when setting PageTail for gigantic pages
      mm, oom: do not fail __GFP_NOFAIL allocation if oom killer is disabled
      drivers/rtc/rtc-s3c.c: add .needs_src_clk to s3c6410 RTC data
      ocfs2: make append_dio an incompat feature
    torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    c202baf View commit details
    Browse the repository at this point in the history
  15. ALSA: hda - Don't access stereo amps for mono channel widgets

    The current HDA generic parser initializes / modifies the amp values
    always in stereo, but this seems causing the problem on ALC3229 codec
    that has a few mono channel widgets: namely, these mono widgets react
    to actions for both channels equally.
    
    In the driver code, we do care the mono channel and create a control
    only for the left channel (as defined in HD-audio spec) for such a
    node.  When the control is updated, only the left channel value is
    changed.  However, in the resume, the right channel value is also
    restored from the initial value we took as stereo, and this overwrites
    the left channel value.  This ends up being the silent output as the
    right channel has been never touched and remains muted.
    
    This patch covers the places where unconditional stereo amp accesses
    are done and converts to the conditional accesses.
    
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=94581
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    tiwai committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    ef403ed View commit details
    Browse the repository at this point in the history
  16. of/platform: Fix sparc:allmodconfig build

    sparc:allmodconfig fails to build with:
    
    drivers/built-in.o: In function `platform_bus_init':
    (.init.text+0x3684): undefined reference to `of_platform_register_reconfig_notifier'
    
    of_platform_register_reconfig_notifier is only declared if both OF_ADDRESS
    and OF_DYNAMIC are configured. Yet, the include file only declares a dummy
    function if OF_DYNAMIC is not configured. The sparc architecture does not
    configure OF_ADDRESS, but does configure OF_DYNAMIC, causing above error.
    
    Fixes: 801d728 ("of/reconfig: Add OF_DYNAMIC notifier for platform_bus_type")
    Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Rob Herring <robh@kernel.org>
    groeck authored and robherring committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    a697c2e View commit details
    Browse the repository at this point in the history
  17. Merge branch 'gadget' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/viro/vfs
    
    Pull gadgetfs fixes from Al Viro:
     "Assorted fixes around AIO on gadgetfs: leaks, use-after-free, troubles
      caused by ->f_op flipping"
    
    * 'gadget' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
      gadgetfs: really get rid of switching ->f_op
      gadgetfs: get rid of flipping ->f_op in ep_config()
      gadget: switch ep_io_operations to ->read_iter/->write_iter
      gadgetfs: use-after-free in ->aio_read()
      gadget/function/f_fs.c: switch to ->{read,write}_iter()
      gadget/function/f_fs.c: use put iov_iter into io_data
      gadget/function/f_fs.c: close leaks
      move iov_iter.c from mm/ to lib/
      new helper: dup_iter()
    torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    f788baa View commit details
    Browse the repository at this point in the history
  18. Merge tag 'devicetree-fixes-for-4.0' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/robh/linux
    
    Pull DeviceTree fixes from Rob Herring:
    
     - fix for stdout-path option parsing with added unittest
    
     - fix for stdout-path interaction with earlycon
    
     - several DT unittest fixes
    
     - fix Sparc allmodconfig build error on of_platform_register_reconfig_notifier
    
     - several DT overlay kconfig and build warning fixes
    
     - several DT binding documentation updates
    
    * tag 'devicetree-fixes-for-4.0' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
      of/platform: Fix sparc:allmodconfig build
      of: unittest: Add options string testcase variants
      of: fix handling of '/' in options for of_find_node_by_path()
      of/unittest: Fix the wrong expected value in of_selftest_property_string
      of/unittest: remove the duplicate of_changeset_init
      dt: submitting-patches: clarify that DT maintainers are to be cced on bindings
      of: unittest: fix I2C dependency
      of/overlay: Remove unused variable
      Documentation: DT: Renamed of-serial.txt to 8250.txt
      of: Fix premature bootconsole disable with 'stdout-path'
      serial: add device tree binding documentation for ETRAX FS UART
      of/overlay: Directly include idr.h
      of: Drop superfluous dependance for OF_OVERLAY
      of: Add vendor prefix for Arasan
      of: Add prompt for OF_OVERLAY config
    torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    3d52c5b View commit details
    Browse the repository at this point in the history
  19. Merge tag 'sound-4.0-rc4' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/tiwai/sound
    
    Pull sound fixes from Takashi Iwai:
     "This is a round of HD-audio fixes: there are a long-standing
      regression fix and a few more device/codec-specific quirks.
    
      In addition, a couple of FireWire regression fixes, a USB-audio quirk
      for Roland UA-22 and a sanity check in API for user-defined control
      elements"
    
    * tag 'sound-4.0-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
      ALSA: hda - Don't access stereo amps for mono channel widgets
      ALSA: hda - Add workaround for MacBook Air 5,2 built-in mic
      ALSA: hda - Set single_adc_amp flag for CS420x codecs
      ALSA: snd-usb: add quirks for Roland UA-22
      ALSA: control: Add sanity checks for user ctl id name string
      ALSA: hda - Fix built-in mic on Compaq Presario CQ60
      ALSA: firewire-lib: leave unit reference counting completely
      Revert "ALSA: dice: fix wrong offsets for Dice interface"
      ALSA: hda - Fix regression of HD-audio controller fallback modes
    torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    bbc54a0 View commit details
    Browse the repository at this point in the history
  20. Merge tag 'stable/for-linus-4.0-rc3-tag' of git://git.kernel.org/pub/…

    …scm/linux/kernel/git/xen/tip
    
    Pull xen bug fixes from David Vrabel:
    
     - fix a PV regression in 3.19.
    
     - fix a dom0 crash on hosts with large numbers of PIRQs.
    
     - prevent pcifront from disabling memory or I/O port access, which may
       trigger host crashes.
    
    * tag 'stable/for-linus-4.0-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
      xen-pciback: limit guest control of command register
      xen/events: avoid NULL pointer dereference in dom0 on large machines
      xen: Remove trailing semicolon from xenbus_register_frontend() definition
      x86/xen: correct bug in p2m list initialization
    torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    f47e331 View commit details
    Browse the repository at this point in the history
  21. Merge branch 'pm-tools'

    * pm-tools:
      Revert "cpupower Makefile change to help run the tool without 'make install'"
    rafaeljw committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    b176023 View commit details
    Browse the repository at this point in the history
  22. MAINTAINERS: Add myself as co-maintainer to the legacy support of the…

    … mvebu SoCs
    
    I will also take care of the legacy support(not fully converted to DT)
    of the mvebu SoCs.
    
    Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
    Acked-by: Andrew Lunn <andrew@lunn.ch>
    Acked-by: Jason Cooper <jason@lakedaemon.net>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    gclement authored and arndb committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    bfda403 View commit details
    Browse the repository at this point in the history
  23. Merge tag 'pm+acpi-4.0-rc4' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/rafael/linux-pm
    
    Pull power management and ACPI fixes from Rafael Wysocki:
     "Just two fixes, one for an ACPI LPSS driver issue introduced during
      the 3.17 cycle and one revert of a recent commit that sort of broke
      the cpupower tool.
    
      Specifics:
    
       - Fix an ACPI LPSS (Low-Power Subsystem) driver issue causing the
         8250_dw driver to confuse an LPSS clock with another one it is
         supposed to handle due to the lack of identification allowing it to
         tell those clocks apart (Heikki Krogerus).
    
       - Revert a recent commit that was supposed to improve the usability
         of the cpupower tool, but clearly did the opposite (Josh Boyer)"
    
    * tag 'pm+acpi-4.0-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
      Revert "cpupower Makefile change to help run the tool without 'make install'"
      ACPI / LPSS: provide con_id for the clkdev
    torvalds committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    5fb0f7f View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2015

  1. arm64: Invalidate the TLB corresponding to intermediate page table le…

    …vels
    
    The ARM architecture allows the caching of intermediate page table
    levels and page table freeing requires a sequence like:
    
    	pmd_clear()
    	TLB invalidation
    	pte page freeing
    
    With commit 5e5f6dc (arm64: mm: enable HAVE_RCU_TABLE_FREE logic),
    the page table freeing batching was moved from tlb_remove_page() to
    tlb_remove_table(). The former takes care of TLB invalidation as this is
    also shared with pte clearing and page cache page freeing. The latter,
    however, does not invalidate the TLBs for intermediate page table levels
    as it probably relies on the architecture code to do it if required.
    When the mm->mm_users < 2, tlb_remove_table() does not do any batching
    and page table pages are freed before tlb_finish_mmu() which performs
    the actual TLB invalidation.
    
    This patch introduces __tlb_flush_pgtable() for arm64 and calls it from
    the {pte,pmd,pud}_free_tlb() directly without relying on deferred page
    table freeing.
    
    Fixes: 5e5f6dc arm64: mm: enable HAVE_RCU_TABLE_FREE logic
    Reported-by: Jon Masters <jcm@redhat.com>
    Tested-by: Jon Masters <jcm@redhat.com>
    Tested-by: Steve Capper <steve.capper@linaro.org>
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    ctmarinas committed Mar 14, 2015
    Configuration menu
    Copy the full SHA
    285994a View commit details
    Browse the repository at this point in the history
  2. efi/arm64: use UEFI for system reset and poweroff

    If UEFI Runtime Services are available, they are preferred over direct
    PSCI calls or other methods to reset the system.
    
    For the reset case, we need to hook into machine_restart(), as the
    arm_pm_restart function pointer may be overwritten by modules.
    
    Tested-by: Mark Rutland <mark.rutland@arm.com>
    Reviewed-by: Mark Rutland <mark.rutland@arm.com>
    Reviewed-by: Matt Fleming <matt.fleming@intel.com>
    Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    Ard Biesheuvel authored and ctmarinas committed Mar 14, 2015
    Configuration menu
    Copy the full SHA
    60c0d45 View commit details
    Browse the repository at this point in the history
  3. arm64: put __boot_cpu_mode label after alignment instead of before

    Another one for the big head.S spring cleaning: the label should
    be after the .align or it may point to the padding.
    
    Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    Ard Biesheuvel authored and ctmarinas committed Mar 14, 2015
    Configuration menu
    Copy the full SHA
    947bb75 View commit details
    Browse the repository at this point in the history
  4. locks: fix generic_delete_lease tracepoint to use victim pointer

    It's possible that "fl" won't point at a valid lock at this point, so
    use "victim" instead which is either a valid lock or NULL.
    
    Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
    Jeff Layton committed Mar 14, 2015
    Configuration menu
    Copy the full SHA
    a9b1b45 View commit details
    Browse the repository at this point in the history
  5. Merge tag 'linux-kselftest-4.0-rc4' of git://git.kernel.org/pub/scm/l…

    …inux/kernel/git/shuah/linux-kselftest
    
    Pull Kselftest fix from Shuah Khan:
     "selftests/exec: Check if the syscall exists and bail if not"
    
    * tag 'linux-kselftest-4.0-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
      selftests/exec: Check if the syscall exists and bail if not
    torvalds committed Mar 14, 2015
    Configuration menu
    Copy the full SHA
    e6c2d9c View commit details
    Browse the repository at this point in the history
  6. Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/arm64/linux
    
    Pull arm64 fixes from Catalin Marinas:
    
     - add TLB invalidation for page table tear-down which was missed when
       support for CONFIG_HAVE_RCU_TABLE_FREE was added (assuming page table
       freeing was always deferred)
    
     - use UEFI for system and reset poweroff if available
    
     - fix asm label placement in relation to the alignment statement
    
    * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
      arm64: put __boot_cpu_mode label after alignment instead of before
      efi/arm64: use UEFI for system reset and poweroff
      arm64: Invalidate the TLB corresponding to intermediate page table levels
    torvalds committed Mar 14, 2015
    Configuration menu
    Copy the full SHA
    9c987a3 View commit details
    Browse the repository at this point in the history
  7. Merge tag 'vfio-v4.0-rc4' of git://github.com/awilliam/linux-vfio

    Pull VFIO fix from Alex Williamson:
     "Add missing break to avoid clobbering ioctl (Alexey Kardashevskiy)"
    
    * tag 'vfio-v4.0-rc4' of git://github.com/awilliam/linux-vfio:
      vfio-pci: Add missing break to enable VFIO_PCI_ERR_IRQ_INDEX
    torvalds committed Mar 14, 2015
    Configuration menu
    Copy the full SHA
    0be952c View commit details
    Browse the repository at this point in the history
  8. Merge tag 'locks-v4.0-4' of git://git.samba.org/jlayton/linux

    Pull file locking bugfix from Jeff Layton:
     "Just a small fix for a potential problem in one of the lease
      tracepoints"
    
    * tag 'locks-v4.0-4' of git://git.samba.org/jlayton/linux:
      locks: fix generic_delete_lease tracepoint to use victim pointer
    torvalds committed Mar 14, 2015
    Configuration menu
    Copy the full SHA
    0f0910a View commit details
    Browse the repository at this point in the history
  9. Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/jejb/scsi
    
    Pull SCSI fix from James Bottomley:
     "This is a simple fix for a domain revalidation crash which has
      recently turned up in the libsas code (applies to mvsas, isc and
      aic94xx)"
    
    * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
      libsas: Fix Kernel Crash in smp_execute_task
    torvalds committed Mar 14, 2015
    Configuration menu
    Copy the full SHA
    60b3e7b View commit details
    Browse the repository at this point in the history
  10. Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux

    Pull drm fixes from Dave Airlie:
     "Misc i915, vmwgfx and radeon fixes along with a fix for one of those
      recursive sleep mutex debug cases in the mst code"
    
    * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
      drm/vmwgfx: Fix an issue with the device losing its irq line on module unload
      drm/vmwgfx: Correctly NULLify dma buffer pointer on failure
      drm/vmwgfx: Reorder device takedown somewhat
      drm/vmwgfx: Fix a couple of lock dependency violations
      drm/radeon: drop setting UPLL to sleep mode
      drm/radeon: fix wait to actually occur after the signaling callback
      drm/i915: Prevent TLB error on first execution on SNB
      drm/i915: Do both mt and gen6 style forcewake reset on ivb probe
      drm/i915: Make WAIT_IOCTL negative timeouts be indefinite again
      drm/i915: use in_interrupt() not in_irq() to check context
      drm/mst: fix recursive sleep warning on qlock
      drm: Don't assign fbs for universal cursor support to files
    torvalds committed Mar 14, 2015
    Configuration menu
    Copy the full SHA
    7cd9beb View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2015

  1. Merge branch 'irqchip/urgent-gic' into irqchip/urgent

    Jason Cooper committed Mar 15, 2015
    Configuration menu
    Copy the full SHA
    aaa95f7 View commit details
    Browse the repository at this point in the history
  2. Merge tag 'irqchip-fixes-4.0' of git://git.infradead.org/users/jcoope…

    …r/linux
    
    Pull irqchip fixes from Jason Cooper:
     "armada-370-xp:
       - Chained per-cpu interrupts
    
      gic{,-v3,v3-its}"
       - Various fixes for safer operation"
    
    * tag 'irqchip-fixes-4.0' of git://git.infradead.org/users/jcooper/linux:
      irqchip: gicv3-its: Support safe initialization
      irqchip: gicv3-its: Define macros for GITS_CTLR fields
      irqchip: gicv3-its: Add limitation to page order
      irqchip: gicv3-its: Use 64KB page as default granule
      irqchip: gicv3-its: Zero itt before handling to hardware
      irqchip: gic-v3: Fix out of bounds access to cpu_logical_map
      irqchip: gic: Fix unsafe locking reported by lockdep
      irqchip: gicv3-its: Fix unsafe locking reported by lockdep
      irqchip: gicv3-its: Iterate over PCI aliases to generate ITS configuration
      irqchip: gicv3-its: Allocate enough memory for the full range of DeviceID
      irqchip: gicv3-its: Fix ITS CPU init
      irqchip: armada-370-xp: Fix chained per-cpu interrupts
    torvalds committed Mar 15, 2015
    Configuration menu
    Copy the full SHA
    71c87bd View commit details
    Browse the repository at this point in the history
  3. Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/arm/arm-soc
    
    Pull ARM SoC fixes from Arnd Bergmann:
     "This is a rather unpleasantly large set of bug fixes for arm-soc, Most
      of them because of cross-tree dependencies for Exynos where we should
      have figured out the right path to merge things before the merge
      window, and then the maintainer being unable to sort things out in
      time during a business trip.
    
      The other changes contained here are the usual collection:
    
      MAINTAINERS file updates
       - Gregory Clement is now a co-maintainer for the legacy Marvell EBU
         platforms
       - A MAINTAINERS entry for the Freescale Vybrid platform that was
         added last year
       - Matt Porter no longer works as a maintainer on Broadcom SoCs
    
      Build-time issues
       - A compile-time error for at91
       - Several minor DT fixes on at91, imx, exynos, socfpga, and omap
       - The new digicolor platform was not correctly enabled at all
    
      Configuration issues
       - Two defconfig fix for regressions using USB on versatile express
         and on OMAP3
       - Enabling all 8 CPUs on Allwinner/SUNxi
       - Enabling the new STiH410 platform to be usable
    
      Bug fixes in platform code
       - A missing barrier for socfpga
       - Fixing LPDDR1 self-refresh mode on at91
       - Fixing RTC interrupt numbers on Exynos3250
       - Fixing a cache-coherency issues in CPU power-down on Exynos5
       - Multiple small OMAP power management fixes"
    
    * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (69 commits)
      MAINTAINERS: Add myself as co-maintainer to the legacy support of the mvebu SoCs
      ARM: at91: pm_slowclock: fix the compilation error
      ARM: at91/dt: fix USB high-speed clock to select UTMI
      ARM: at91/dt: fix at91 udc compatible strings
      ARM: at91/dt: declare matrix node as a syscon device
      ARM: vexpress: update CONFIG_USB_ISP1760 option
      ARM: digicolor: add the machine directory to Makefile
      ARM: STi: Add STiH410 SoC support
      MAINTAINERS: add Freescale Vybrid SoC
      MAINTAINERS: Remove self as ARM mach-bcm co-maintainer
      ARM: imx6sl-evk: set swbst_reg as vbus's parent reg
      ARM: imx6qdl-sabresd: set swbst_reg as vbus's parent reg
      ARM: at91/dt: at91sam9261: fix clocks and clock-names in udc definition
      ARM: OMAP2+: Fix wl12xx on dm3730-evm with mainline u-boot
      ARM: OMAP: enable TWL4030_USB in omap2plus_defconfig
      ARM: dts: dra7x-evm: avoid possible contention while muxing on CAN lines
      ARM: dts: dra7x-evm: Don't use dcan1_rx.gpio1_15 in DCAN pinctrl
      ARM: dts: am43xx: fix SLEWCTRL_FAST pinctrl binding
      ARM: dts: am33xx: fix SLEWCTRL_FAST pinctrl binding
      ARM: dts: OMAP5: fix polling intervals for thermal zones
      ...
    torvalds committed Mar 15, 2015
    Configuration menu
    Copy the full SHA
    6981e2a View commit details
    Browse the repository at this point in the history
  4. [PATCH] drm/mm: Fix support 4 GiB and larger ranges

    bad argument if(tmp)... in check_free_hole
    
    fix oops: kernel BUG at drivers/gpu/drm/drm_mm.c:305!
    
    [airlied: excellent, this was my task for today].
    
    Signed-off-by: Krzysztof Kolasa <kkolasa@winsoft.pl>
    Reviewed-by: Chris wilson <chris@chris-wilson.co.uk>
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    kolasa authored and airlied committed Mar 15, 2015
    Configuration menu
    Copy the full SHA
    046d669 View commit details
    Browse the repository at this point in the history
  5. Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/clk/linux
    
    Pull clock framework fixes from Michael Turquette:
     "The clk fixes for 4.0-rc4 comprise three themes.
    
      First are the usual driver fixes for new regressions since v3.19.
    
      Second are fixes to the common clock divider type caused by recent
      changes to how we round clock rates.  This affects many clock drivers
      that use this common code.
    
      Finally there are fixes for drivers that improperly compared struct
      clk pointers (drivers must not deref these pointers).  While some of
      these drivers have done this for a long time, this did not cause a
      problem until we started generating unique struct clk pointers for
      every consumer.  A new function, clk_is_match was introduced to get
      these drivers working again and they are fixed up to no longer deref
      the pointers themselves"
    
    * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
      ASoC: kirkwood: fix struct clk pointer comparing
      ASoC: fsl_spdif: fix struct clk pointer comparing
      ARM: imx: fix struct clk pointer comparing
      clk: introduce clk_is_match
      clk: don't export static symbol
      clk: divider: fix calculation of initial best divider when rounding to closest
      clk: divider: fix selection of divider when rounding to closest
      clk: divider: fix calculation of maximal parent rate for a given divider
      clk: divider: return real rate instead of divider value
      clk: qcom: fix platform_no_drv_owner.cocci warnings
      clk: qcom: fix platform_no_drv_owner.cocci warnings
      clk: qcom: Add PLL4 vote clock
      clk: qcom: lcc-msm8960: Fix PLL rate detection
      clk: qcom: Fix slimbus n and m val offsets
      clk: ti: Fix FAPLL parent enable bit handling
    torvalds committed Mar 15, 2015
    Configuration menu
    Copy the full SHA
    1ee89c5 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux

    Pull drm fix from Dave Airlie:
     "An oops snuck in in an -rc3 patch, this fixes it"
    
    * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
      [PATCH] drm/mm: Fix support 4 GiB and larger ranges
    torvalds committed Mar 15, 2015
    Configuration menu
    Copy the full SHA
    0835208 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2015

  1. Linux 4.0-rc4

    torvalds committed Mar 16, 2015
    Configuration menu
    Copy the full SHA
    06e5801 View commit details
    Browse the repository at this point in the history