Skip to content
  1. Jan 09, 2014
    • Linus Torvalds's avatar
      Merge branch 'parisc-3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · 7d1c153a
      Linus Torvalds authored
      Pull parisc fix from Helge Deller:
       "This patch fixes the kmap/kunmap implementation on parisc and finally
        makes AIO work on parisc"
      
      * 'parisc-3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: Ensure full cache coherency for kmap/kunmap
      7d1c153a
    • Linus Torvalds's avatar
      Merge branch 'for-3.13-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata · f8829150
      Linus Torvalds authored
      Pull libata fixes from Tejun Heo:
       "Late fixes for libata.  Nothing too interesting.  Adding missing PM
        callbacks to satat_sis and an additional PCI ID for ahci"
      
      * 'for-3.13-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata:
        sata_sis: missing PM support
        ahci: add PCI ID for Marvell 88SE9170 SATA controller
      f8829150
    • John David Anglin's avatar
      parisc: Ensure full cache coherency for kmap/kunmap · f8dae006
      John David Anglin authored
      
      
      Helge Deller noted a few weeks ago problems with the AIO support on
      parisc. This change is the result of numerous iterations on how best to
      deal with this problem.
      
      The solution adopted here is to provide full cache coherency in a
      uniform manner on all parisc systems. This involves calling
      flush_dcache_page() on kmap operations and flush_kernel_dcache_page() on
      kunmap operations. As a result, the copy_user_page() and
      clear_user_page() functions can be removed and the overall code is
      simpler.
      
      The change ensures that both userspace and kernel aliases to a mapped
      page are invalidated and flushed. This is necessary for the correct
      operation of PA8800 and PA8900 based systems which do not support
      inequivalent aliases.
      
      With this change, I have observed no cache related issues on c8000 and
      rp3440. It is now possible for example to do kernel builds with "-j64"
      on four way systems.
      
      On systems using XFS file systems, the patch recently posted by Mikulas
      Patocka to "fix crash using XFS on loopback" is needed to avoid a hang
      caused by an uninitialized lock passed to flush_dcache_page() in the
      page struct.
      
      Signed-off-by: default avatarJohn David Anglin <dave.anglin@bell.net>
      Cc: stable@vger.kernel.org # v3.9+
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      f8dae006
  2. Jan 08, 2014
  3. Jan 07, 2014
    • Daniel Vetter's avatar
      MAINTAINERS: Updates for drm/i915 · 47f95647
      Daniel Vetter authored
      
      
      Jani for co-maintainer!
      
      Jani has been a really active bug-scrubber in the past few months.
      I've asked him whether he wants to do this in a more official capacity
      and he agreed. I've already chatted with Dave and Jesse and they
      support this.
      
      Note that everyone can't now just relax because "Jani will do all the
      bug scrubbing" - au contraire expect more nagging and poking now that
      we have more bandwidth.
      
      Longer-term the plan is to share more of the maintainer duties, but we
      need to fix up the infrastructure a bit first (like moving the git
      repo to a common location).
      
      While at it also add the newly set-up patchwork instance.
      
      Cc: Dave Airlie <airlied@gmail.com>
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Cc: Jani Nikula <jani.nikula@linux.intel.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      47f95647
    • Bob Gleitsmann's avatar
      c1ccaa64
    • Ilia Mirkin's avatar
      drm/nouveau/bios: make jump conditional · 6d60792e
      Ilia Mirkin authored
      
      
      This fixes a hang in VBIOS scripts of the form "condition; jump".
      The jump used to always be executed, while now it will only be
      executed if the condition is true.
      
      See https://bugs.freedesktop.org/show_bug.cgi?id=72943
      
      Reported-by: default avatarDarcy Brás da Silva <dardevelin@cidadecool.com>
      Signed-off-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
      Cc: stable@vger.kernel.org
      6d60792e
    • Sid Boyce's avatar
      drm/nvce/mc: fix msi rearm on GF114 · 6e9cbb40
      Sid Boyce authored
      
      
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      6e9cbb40
    • Kelly Doran's avatar
      drm/nvc0/gr: fix mthd data submission · 854cc0e4
      Kelly Doran authored
      
      
      If the initial data element is 0, it will never be written, even
      though the value from the previous method may be there.
      
      Signed-off-by: default avatarKelly Doran <kel.p.doran@gmail.com>
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      854cc0e4
    • Ben Skeggs's avatar
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · ef350bb7
      Linus Torvalds authored
      Pull ext4 bugfix from Ted Ts'o:
       "Fix a regression introduced in v3.13-rc6"
      
      * tag 'ext4_for_linus_stable' of http://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
        ext4: fix bigalloc regression
      ef350bb7
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · a707271a
      Linus Torvalds authored
      Pull networking fixes from David Miller:
       "I'm hoping this is the very last batch of networking fixes for 3.13,
        here goes nothing:
      
         1) Fix crashes in VLAN's header_ops passthru.
      
         2) Bridge multicast code needs to use BH spinlocks to prevent
            deadlocks with timers.  From Curt Brune.
      
         3) ipv6 tunnels lack proper synchornization when updating percpu
            statistics.  From Li RongQing.
      
         4) Fixes to bnx2x driver from Yaniv Rosner, Dmitry Kravkov and Michal
            Kalderon.
      
         5) Avoid undefined operator evaluation order in llc code, from Daniel
            Borkmann.
      
         6) Error paths in various GSO offload paths do not unwind properly,
            in particular they must undo any modifications they have made to
            the SKB.  From Wei-Chun Chao.
      
         7) Fix RX refill races during restore in virtio-net, from Jason Wang.
      
         8) Fix SKB use after free in LLC code, from Daniel Borkmann.
      
         9) Missing unlock and OOPS in netpoll code when VLAN tag handling
            fails.
      
        10) Fix vxlan device attachment wrt ipv6, from Fan Du.
      
        11) Don't allow creating infiniband links to non-infiniband devices,
            from Hangbin Liu.
      
        12) Revert FEC phy reset active low change, it breaks things.  From
            Fabio Estevam.
      
        13) Fix header pointer handling in 6lowpan header building code, from
            Daniel Borkmann.
      
        14) Fix RSS handling in be2net driver, from Vasundhara Volam.
      
        15) Fix modem port indexing in HSO driver, from Dan Williams"
      
      * http://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (38 commits)
        bridge: use spin_lock_bh() in br_multicast_set_hash_max
        ipv6: don't install anycast address for /128 addresses on routers
        hso: fix handling of modem port SERIAL_STATE notifications
        isdn: Drop big endian cpp checks from telespci and hfc_pci drivers
        be2net: fix max_evt_qs calculation for BE3 in SR-IOV config
        be2net: increase the timeout value for loopback-test FW cmd
        be2net: disable RSS when number of RXQs is reduced to 1 via set-channels
        xen-netback: Include header for vmalloc
        net: 6lowpan: fix lowpan_header_create non-compression memcpy call
        fec: Revert "fec: Do not assume that PHY reset is active low"
        bnx2x: fix VLAN configuration for VFs.
        bnx2x: fix AFEX memory overflow
        bnx2x: Clean before update RSS arrives
        bnx2x: Correct number of MSI-X vectors for VFs
        bnx2x: limit number of interrupt vectors for 57711
        qlcnic: Fix bug in Tx completion path
        infiniband: make sure the src net is infiniband when create new link
        {vxlan, inet6} Mark vxlan_dev flags with VXLAN_F_IPV6 properly
        cxgb4: allow large buffer size to have page size
        netpoll: Fix missing TXQ unlock and and OOPS.
        ...
      a707271a
    • Curt Brune's avatar
      bridge: use spin_lock_bh() in br_multicast_set_hash_max · fe0d692b
      Curt Brune authored
      
      
      br_multicast_set_hash_max() is called from process context in
      net/bridge/br_sysfs_br.c by the sysfs store_hash_max() function.
      
      br_multicast_set_hash_max() calls spin_lock(&br->multicast_lock),
      which can deadlock the CPU if a softirq that also tries to take the
      same lock interrupts br_multicast_set_hash_max() while the lock is
      held .  This can happen quite easily when any of the bridge multicast
      timers expire, which try to take the same lock.
      
      The fix here is to use spin_lock_bh(), preventing other softirqs from
      executing on this CPU.
      
      Steps to reproduce:
      
      1. Create a bridge with several interfaces (I used 4).
      2. Set the "multicast query interval" to a low number, like 2.
      3. Enable the bridge as a multicast querier.
      4. Repeatedly set the bridge hash_max parameter via sysfs.
      
        # brctl addbr br0
        # brctl addif br0 eth1 eth2 eth3 eth4
        # brctl setmcqi br0 2
        # brctl setmcquerier br0 1
      
        # while true ; do echo 4096 > /sys/class/net/br0/bridge/hash_max; done
      
      Signed-off-by: default avatarCurt Brune <curt@cumulusnetworks.com>
      Signed-off-by: default avatarScott Feldman <sfeldma@cumulusnetworks.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fe0d692b
    • Hannes Frederic Sowa's avatar
      ipv6: don't install anycast address for /128 addresses on routers · 88ad3149
      Hannes Frederic Sowa authored
      It does not make sense to create an anycast address for an /128-prefix.
      Suppress it.
      
      As 32019e65
      
       ("ipv6: Do not leave router anycast address for /127
      prefixes.") shows we also may not leave them, because we could accidentally
      remove an anycast address the user has allocated or got added via another
      prefix.
      
      Cc: François-Xavier Le Bail <fx.lebail@yahoo.com>
      Cc: Thomas Haller <thaller@redhat.com>
      Cc: Jiri Pirko <jiri@resnulli.us>
      Signed-off-by: default avatarHannes Frederic Sowa <hannes@stressinduktion.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      88ad3149
    • Dan Williams's avatar
      hso: fix handling of modem port SERIAL_STATE notifications · e5e97ee9
      Dan Williams authored
      
      
      The existing serial state notification handling expected older Option
      devices, having a hardcoded assumption that the Modem port was always
      USB interface #2.  That isn't true for devices from the past few years.
      
      hso_serial_state_notification is a local cache of a USB Communications
      Interface Class SERIAL_STATE notification from the device, and the
      USB CDC specification (section 6.3, table 67 "Class-Specific Notifications")
      defines wIndex as the USB interface the event applies to.  For hso
      devices this will always be the Modem port, as the Modem port is the
      only port which is set up to receive them by the driver.
      
      So instead of always expecting USB interface #2, instead validate the
      notification with the actual USB interface number of the Modem port.
      
      Signed-off-by: default avatarDan Williams <dcbw@redhat.com>
      Tested-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e5e97ee9
    • Guenter Roeck's avatar
      isdn: Drop big endian cpp checks from telespci and hfc_pci drivers · 22d3b76e
      Guenter Roeck authored
      
      
      With arm:allmodconfig, building the Teles PCI driver fails with
      
      telespci.c:294:2: error: #error "not running on big endian machines now"
      
      Similar, building the driver for HFC PCI-Bus cards fails with
      
      hfc_pci.c:1647:2: error: #error "not running on big endian machines now"
      
      Remove the big endian cpp check from both drivers to fix the build errors.
      
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      22d3b76e
    • Eric Whitney's avatar
      ext4: fix bigalloc regression · d0abafac
      Eric Whitney authored
      Commit f5a44db5
      
       introduced a regression on filesystems created with
      the bigalloc feature (cluster size > blocksize).  It causes xfstests
      generic/006 and /013 to fail with an unexpected JBD2 failure and
      transaction abort that leaves the test file system in a read only state.
      Other xfstests run on bigalloc file systems are likely to fail as well.
      
      The cause is the accidental use of a cluster mask where a cluster
      offset was needed in ext4_ext_map_blocks().
      
      Signed-off-by: default avatarEric Whitney <enwlinux@gmail.com>
      d0abafac
    • David S. Miller's avatar
      Merge branch 'be2net' · ce088848
      David S. Miller authored
      
      
      Sathya Perla says:
      
      ====================
      be2net: patch set
      
      Pls apply the following bug fixes to the 'net' tree. Thanks.
      
      Suresh Reddy (2):
        be2net: increase the timeout value for loopback-test FW cmd
        be2net: fix max_evt_qs calculation for BE3 in SR-IOV config
      
      Vasundhara Volam (1):
        be2net: disable RSS when number of RXQs is reduced to 1 via
          set-channels
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ce088848
    • Suresh Reddy's avatar
      be2net: fix max_evt_qs calculation for BE3 in SR-IOV config · e3dc867c
      Suresh Reddy authored
      
      
      The driver wrongly assumes 16 EQs/vectors are available for each BE3 PF.
      When SR-IOV is enabled, a BE3 PF can support only a max of 8 EQs.
      
      Signed-off-by: default avatarSuresh Reddy <suresh.reddy@emulex.com>
      Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e3dc867c
    • Suresh Reddy's avatar
      be2net: increase the timeout value for loopback-test FW cmd · 5eeff635
      Suresh Reddy authored
      
      
      The loopback test FW cmd may need upto 15 seconds to complete on
      certain PHYs. This patch also fixes the name of the completion variable
      used to synchronize FW cmd completions as it not used by the flashing
      cmd alone anymore.
      
      Signed-off-by: default avatarSuresh Reddy <suresh.reddy@emulex.com>
      Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5eeff635
    • Vasundhara Volam's avatar
      be2net: disable RSS when number of RXQs is reduced to 1 via set-channels · da1388d6
      Vasundhara Volam authored
      
      
      When *only* the default RXQ is used, the RSS policy must be disabled so
      that all IP and no-IP traffic is placed into the default RXQ. If not,
      IP traffic is dropped.
      
      Also, issue the RSS_CONFIG cmd only if FW advertises RSS capability for
      the interface.
      Signed-off-by: default avatarVasundhara Volam <vasundhara.volam@emulex.com>
      Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      da1388d6
  4. Jan 06, 2014
  5. Jan 05, 2014
    • Rob Herring's avatar
      ARM: 7933/1: rename ioremap_cached to ioremap_cache · 0a5ccc86
      Rob Herring authored
      
      
      ioremap_cache is more aligned with other architectures.
      There are only 2 users of this in the kernel: pxa2xx-flash and Xen.
      
      This fixes Xen build failures on arm64:
      
      drivers/tty/hvc/hvc_xen.c:233:2: error: implicit declaration of function 'ioremap_cached' [-Werror=implicit-function-declaration]
      drivers/xen/grant-table.c:1174:3: error: implicit declaration of function 'ioremap_cached' [-Werror=implicit-function-declaration]
      drivers/xen/xenbus/xenbus_probe.c:778:4: error: implicit declaration of function 'ioremap_cached' [-Werror=implicit-function-declaration]
      
      Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
      Signed-off-by: default avatarStefano Stabellini <stefano.stabellini@eu.citrix.com>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      0a5ccc86
    • Russell King's avatar
      ARM: fix "bad mode in ... handler" message for undefined instructions · 29c350bf
      Russell King authored
      
      
      The array was missing the final entry for the undefined instruction
      exception handler; this commit adds it.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      29c350bf
    • Russell King's avatar
      CRYPTO: Fix more AES build errors · d2eca20d
      Russell King authored
      
      
      Building a multi-arch kernel results in:
      
      arch/arm/crypto/built-in.o: In function `aesbs_xts_decrypt':
      sha1_glue.c:(.text+0x15c8): undefined reference to `bsaes_xts_decrypt'
      arch/arm/crypto/built-in.o: In function `aesbs_xts_encrypt':
      sha1_glue.c:(.text+0x1664): undefined reference to `bsaes_xts_encrypt'
      arch/arm/crypto/built-in.o: In function `aesbs_ctr_encrypt':
      sha1_glue.c:(.text+0x184c): undefined reference to `bsaes_ctr32_encrypt_blocks'
      arch/arm/crypto/built-in.o: In function `aesbs_cbc_decrypt':
      sha1_glue.c:(.text+0x19b4): undefined reference to `bsaes_cbc_encrypt'
      
      This code is already runtime-conditional on NEON being supported, so
      there's no point compiling it out depending on the minimum build
      architecture.
      
      Acked-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      d2eca20d
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc · d11739e6
      Linus Torvalds authored
      Pull sparc bugfixes from David Miller:
      
       1) Missing include can lead to build failure, from Kirill Tkhai.
      
       2) Use dev_is_pci() where applicable, from Yijing Wang.
      
       3) Enable irqs after we enable preemption in cpu startup path, from
          Kirill Tkhai.
      
       4) Revert a __copy_{to,from}_user_inatomic change that broke
          iov_iter_copy_from_user_atomic() and thus several tests in xfstests
          and LTP.  From Dave Kleikamp.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
        Revert "sparc64: Fix __copy_{to,from}_user_inatomic defines."
        sparc64: smp_callin: Enable irqs after preemption is disabled
        sparc/PCI: Use dev_is_pci() to identify PCI devices
        sparc64: Fix build regression
      d11739e6