Skip to content
  1. Jul 10, 2015
    • Dave Airlie's avatar
      Merge tag 'drm-amdkfd-fixes-2015-07-09' of... · 008b3f1f
      Dave Airlie authored
      Merge tag 'drm-amdkfd-fixes-2015-07-09' of git://people.freedesktop.org/~gabbayo/linux into drm-fixes
      
      A single fix so far for 4.2:
      - checking a pointer is not null before using it
      
      * tag 'drm-amdkfd-fixes-2015-07-09' of git://people.freedesktop.org/~gabbayo/linux:
        drm/amdkfd: validate pdd where it acquired first
      008b3f1f
    • Dave Airlie's avatar
      Merge branch 'drm-fixes-4.2' of git://people.freedesktop.org/~agd5f/linux into drm-fixes · 9d5715f9
      Dave Airlie authored
      radeon and amdgpu fixes for 4.2.  All over the place:
      - fix cursor corruption on resume and re-enable no VT switch on suspend
      - vblank fixes
      - fix gpuvm error messages
      - misc other fixes
      
      * 'drm-fixes-4.2' of git://people.freedesktop.org/~agd5f/linux:
        drm/radeon: disable vce init on cayman (v2)
        drm/amdgpu: fix timeout calculation
        drm/radeon: check if BO_VA is set before adding it to the invalidation list
        drm/radeon: allways add the VM clear duplicate
        Revert "Revert "drm/radeon: dont switch vt on suspend""
        drm/radeon: Fold radeon_set_cursor() into radeon_show_cursor()
        drm/radeon: unpin cursor BOs on suspend and pin them again on resume (v2)
        drm/radeon: Clean up reference counting and pinning of the cursor BOs
        drm/radeon: fix underflow in r600_cp_dispatch_texture()
        drm/radeon: default to 2048 MB GART size on SI+
        drm/radeon: fix HDP flushing
        drm/radeon: use RCU query for GEM_BUSY syscall
        drm/amdgpu: Handle irqs only based on irq ring, not irq status regs.
        drm/radeon: Handle irqs only based on irq ring, not irq status regs.
      9d5715f9
    • Linus Torvalds's avatar
      Merge branch 'hpfs-patches' (patches from Mikulas Patocka) · c4b5fd3f
      Linus Torvalds authored
      Merge hpfs updates from Mikulas Patocka.
      
      Mainly fstrim support, with some minor other cleanups.
      
      These were actually sent during the merge window, but I wanted to wait
      for the FSTRIM compat handling cleanup before applying them.  Mikulas
      sent that earlier today.
      
      * emailed patches from Mikulas Patocka <mikulas@twibright.com>:
        hpfs: hpfs_error: Remove static buffer, use vsprintf extension %pV instead
        hpfs: kstrdup() out of memory handling
        hpfs: Remove unessary cast
        hpfs: add fstrim support
      c4b5fd3f
    • Joe Perches's avatar
      hpfs: hpfs_error: Remove static buffer, use vsprintf extension %pV instead · a28e4b2b
      Joe Perches authored
      
      
      Removing unnecessary static buffers is good.
      Use the vsprintf %pV extension instead.
      
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarMikulas Patocka <mikulas@twibright.com>
      Cc: stable@vger.kernel.org      # v2.6.36+
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a28e4b2b
    • Sanidhya Kashyap's avatar
      hpfs: kstrdup() out of memory handling · ce657611
      Sanidhya Kashyap authored
      
      
      There is a possibility of nothing being allocated to the new_opts in
      case of memory pressure, therefore return ENOMEM for such case.
      
      Signed-off-by: default avatarSanidhya Kashyap <sanidhya.gatech@gmail.com>
      Signed-off-by: default avatarMikulas Patocka <mikulas@twibright.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ce657611
    • Firo Yang's avatar
      hpfs: Remove unessary cast · d7b04097
      Firo Yang authored
      
      
      Avoid a pointless kmem_cache_alloc() return value cast in
      fs/hpfs/super.c::hpfs_alloc_inode()
      
      Signed-off-by: default avatarFiro Yang <firogm@gmail.com>
      Signed-off-by: default avatarMikulas Patocka <mikulas@twibright.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d7b04097
    • Mikulas Patocka's avatar
      hpfs: add fstrim support · a27b5b97
      Mikulas Patocka authored
      
      
      This patch adds support for fstrim to the HPFS filesystem.
      
      Signed-off-by: default avatarMikulas Patocka <mikulas@twibright.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a27b5b97
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client · 4c0a9f74
      Linus Torvalds authored
      Pull Ceph fixes from Sage Weil:
       "There is a fix for CephFS and RBD when used within containers/namespaces,
         and a fix for the address learning the client is supposed to do when
        initially talking to the Ceph cluster.
      
        There are also two patches updating MAINTAINERS.  One breaks out the
        common Ceph code shared by fs/ceph and drivers/block/rbd.c into a
        separate entry with the appropriate maintainers listed.  The second
        adds a second reference to the github tree where the Ceph client
        development takes place (before it is pushed to korg and then to you).
      
        The goal here is to move closer to a situation where Ilya Dryomov or
        one of the other maintainers can push things to you if I am
        unavailable.  Ilya has done most of the work preparing branches for
        upstream recently; you should not be surprised to hear from him if I
        am trapped in some internet-less wasteland or hit by a bus or
        something.  In the meantime, we'll work on getting him added to the
        kernel web of trust"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client:
        MAINTAINERS: add secondary tree for ceph modules
        MAINTAINERS: update ceph entries
        libceph: treat sockaddr_storage with uninitialized family as blank
        libceph: enable ceph in a non-default network namespace
      4c0a9f74
    • Mikulas Patocka's avatar
      ioctl_compat: handle FITRIM · 9abea2d6
      Mikulas Patocka authored
      
      
      The FITRIM ioctl has the same arguments on 32-bit and 64-bit
      architectures, so we can add it to the list of compatible ioctls and
      drop it from compat_ioctl method of various filesystems.
      
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Ted Ts'o <tytso@google.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      9abea2d6
    • Linus Torvalds's avatar
      Fix firmware loader uevent buffer NULL pointer dereference · 6f957724
      Linus Torvalds authored
      The firmware class uevent function accessed the "fw_priv->buf" buffer
      without the proper locking and testing for NULL.  This is an old bug
      (looks like it goes back to 2012 and commit 1244691c
      
      : "firmware
      loader: introduce firmware_buf"), but for some reason it's triggering
      only now in 4.2-rc1.
      
      Shuah Khan is trying to bisect what it is that causes this to trigger
      more easily, but in the meantime let's just fix the bug since others are
      hitting it too (at least Ingo reports having seen it as well).
      
      Reported-and-tested-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
      Acked-by: default avatarMing Lei <ming.lei@canonical.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6f957724
    • Kirill A. Shutemov's avatar
      mm: avoid setting up anonymous pages into file mapping · 6b7339f4
      Kirill A. Shutemov authored
      
      
      Reading page fault handler code I've noticed that under right
      circumstances kernel would map anonymous pages into file mappings: if
      the VMA doesn't have vm_ops->fault() and the VMA wasn't fully populated
      on ->mmap(), kernel would handle page fault to not populated pte with
      do_anonymous_page().
      
      Let's change page fault handler to use do_anonymous_page() only on
      anonymous VMA (->vm_ops == NULL) and make sure that the VMA is not
      shared.
      
      For file mappings without vm_ops->fault() or shred VMA without vm_ops,
      page fault on pte_none() entry would lead to SIGBUS.
      
      Signed-off-by: default avatarKirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Acked-by: default avatarOleg Nesterov <oleg@redhat.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Willy Tarreau <w@1wt.eu>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6b7339f4
    • Sage Weil's avatar
      MAINTAINERS: add secondary tree for ceph modules · 6e67b7ae
      Sage Weil authored
      
      
      The Ceph kernel code is primarily developed in the github tree, and only
      pushed to the korg tree before going to Linus.  If Sage is unavailable and
      another maintainer needs to push something upstream, pull requests may
      originate from the github tree instead of Sage's korg tree.
      
      Signed-off-by: default avatarSage Weil <sage@redhat.com>
      Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
      6e67b7ae
    • Sage Weil's avatar
      MAINTAINERS: update ceph entries · 398ecff5
      Sage Weil authored
      
      
      - The Ceph common code is used by both fs/ceph and drivers/block/rbd.
        Add a separate maintainers entry.
      
      - Add Ilya as libceph maintainer and cephfs submaintainer.
      
      - Attribute Documentation/ABI/testing/sysfs-bus-rbd to rbd.
      
      - ceph-devel@vger.kernel.org should be L, not M in rbd entry.
      
      Signed-off-by: default avatarSage Weil <sage@redhat.com>
      Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
      398ecff5
    • Ilya Dryomov's avatar
      libceph: treat sockaddr_storage with uninitialized family as blank · c44bd69c
      Ilya Dryomov authored
      
      
      addr_is_blank() should return true if family is neither AF_INET nor
      AF_INET6.  This is what its counterpart entity_addr_t::is_blank_ip() is
      doing and it is the right thing to do: in process_banner() we check if
      our address is blank and if it is "learn" it from our peer.  As it is,
      we never learn our address and always send out a blank one.  This goes
      way back to ceph.git commit dd732cbfc1c9 ("use sockaddr_storage; and
      some ipv6 support groundwork") from 2009.
      
      While at at, do not open-code ipv6_addr_any() and use INADDR_ANY
      constant instead of 0.
      
      Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
      Reviewed-by: default avatarSage Weil <sage@redhat.com>
      c44bd69c
    • Ilya Dryomov's avatar
      libceph: enable ceph in a non-default network namespace · 757856d2
      Ilya Dryomov authored
      
      
      Grab a reference on a network namespace of the 'rbd map' (in case of
      rbd) or 'mount' (in case of ceph) process and use that to open sockets
      instead of always using init_net and bailing if network namespace is
      anything but init_net.  Be careful to not share struct ceph_client
      instances between different namespaces and don't add any code in the
      !CONFIG_NET_NS case.
      
      This is based on a patch from Hong Zhiguo <zhiguohong@tencent.com>.
      
      Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
      Reviewed-by: default avatarSage Weil <sage@redhat.com>
      757856d2
  2. Jul 09, 2015
  3. Jul 08, 2015
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm · d6ac4ffc
      Linus Torvalds authored
      Pull ARM updates from Russell King:
       "These are late by a week; they should have been merged during the
        merge window, but unfortunately, the ARM kernel build/boot farms were
        indicating random failures, and it wasn't clear whether the cause was
        something in these changes or something during the merge window.
      
        This is a set of merge window fixes with some documentation additions"
      
      * 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm:
        ARM: avoid unwanted GCC memset()/memcpy() optimisations for IO variants
        ARM: pgtable: document mapping types
        ARM: io: convert ioremap*() to functions
        ARM: io: fix ioremap_wt() implementation
        ARM: io: document ARM specific behaviour of ioremap*() implementations
        ARM: fix lockdep unannotated irqs-off warning
        ARM: 8397/1: fix vdsomunge not to depend on glibc specific error.h
        ARM: add helpful message when truncating physical memory
        ARM: add help text for HIGHPTE configuration entry
        ARM: fix DEBUG_SET_MODULE_RONX build dependencies
        ARM: 8396/1: use phys_addr_t in pfn_to_kaddr()
        ARM: 8394/1: update memblock limit after mapping lowmem
        ARM: 8393/1: smp: Fix suspicious RCU usage with ipi tracepoints
      d6ac4ffc
    • Tomas Winkler's avatar
      mei: nfc: fix deadlock on shutdown/suspend path · 4f273959
      Tomas Winkler authored
      In function mei_nfc_host_exit mei_cl_remove_device cannot be called
      under the device mutex as device removing flow invokes the device driver
      remove handler that calls in turn to mei_cl_disable_device which
      naturally acquires the device mutex.
      
      Also remove mei_cl_bus_remove_devices which has the same issue, but is
      never executed as currently the only device on the mei client bus is NFC
      and a new device cannot be easily added till the bus revamp is
      completed.
      
      This fixes regression caused by commit be9b720a
      
       ("mei_phy: move all
      nfc logic from mei driver to nfc")
      
      Prior to this change the nfc driver remove handler called to no-op
      disable function while actual nfc device was disabled directly from the
      mei driver.
      
      Reported-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      4f273959
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-scan' · 8076ca48
      Rafael J. Wysocki authored
      * acpi-scan:
        ata: ahci_platform: Add ACPI _CLS matching
        ACPI / scan: Add support for ACPI _CLS device matching
      8076ca48
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-pnp', 'acpi-soc', 'pm-domains' and 'pm-sleep' · d0aee67f
      Rafael J. Wysocki authored
      * acpi-pnp:
        ACPI / PNP: Reserve ACPI resources at the fs_initcall_sync stage
      
      * acpi-soc:
        ACPI / LPSS: Fix up acpi_lpss_create_device()
      
      * pm-domains:
        PM / Domains: Avoid infinite loops in attach/detach code
      
      * pm-sleep:
        PM / hibernate: clarify resume documentation
      d0aee67f