Skip to content
  1. Jun 26, 2013
    • Maarten Lankhorst's avatar
      arch: Make __mutex_fastpath_lock_retval return whether fastpath succeeded or not · a41b56ef
      Maarten Lankhorst authored
      
      
      This will allow me to call functions that have multiple
      arguments if fastpath fails. This is required to support ticket
      mutexes, because they need to be able to pass an extra argument
      to the fail function.
      
      Originally I duplicated the functions, by adding
      __mutex_fastpath_lock_retval_arg. This ended up being just a
      duplication of the existing function, so a way to test if
      fastpath was called ended up being better.
      
      This also cleaned up the reservation mutex patch some by being
      able to call an atomic_set instead of atomic_xchg, and making it
      easier to detect if the wrong unlock function was previously
      used.
      
      Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@canonical.com>
      Acked-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: dri-devel@lists.freedesktop.org
      Cc: linaro-mm-sig@lists.linaro.org
      Cc: robclark@gmail.com
      Cc: rostedt@goodmis.org
      Cc: daniel@ffwll.ch
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Link: http://lkml.kernel.org/r/20130620113105.4001.83929.stgit@patser
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      a41b56ef
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · 1e876e3b
      Linus Torvalds authored
      Pull s390 fixes from Martin Schwidefsky:
       "A couple of last-minute fixes: a build regression for !SMP, a recent
        memory detection patch caused kdump to break, a regression in regard
        to sscanf vs reboot from FCP, and two fixes in the DMA mapping code
        for PCI"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        s390/ipl: Fix FCP WWPN and LUN format strings for read
        s390/mem_detect: fix memory hole handling
        s390/dma: support debug_dma_mapping_error
        s390/dma: fix mapping_error detection
        s390/irq: Only define synchronize_irq() on SMP
      1e876e3b
    • Linus Torvalds's avatar
      Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc · ad465470
      Linus Torvalds authored
      Pull powerpc bugfix from Ben Herrenschmidt:
       "This is a fix for a regression causing a freescale "83xx" based
        platforms to crash on boot due to some PCI breakage"
      
      * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
        powerpc/pci: Fix boot panic on mpc83xx (regression)
      ad465470
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse · 5dbc7469
      Linus Torvalds authored
      Pull fuse bugfix from Miklos Szeredi:
       "This fixes a race between fallocate() and truncate()"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
        fuse: hold i_mutex in fuse_file_fallocate()
      5dbc7469
  2. Jun 25, 2013
    • Linus Torvalds's avatar
      Merge tag 'spi-v3.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · f97f7d2d
      Linus Torvalds authored
      Pull spi updates from Mark Brown:
       "A few last minute SPI updates: fix a missized allocation and use
        atomic allocations in atomic context in the PXA driver, and fix the
        checking of return codes in the S3C64xx driver which caused spurious
        errors under heavy load."
      
      * tag 'spi-v3.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
        spi/pxa2xx: fix memory corruption due to wrong size used in devm_kzalloc()
        spi/pxa2xx: use GFP_ATOMIC in sg table allocation
        spi: s3c64xx: Fix pm_runtime_get_sync() return value check
      f97f7d2d
    • Rojhalat Ibrahim's avatar
      powerpc/pci: Fix boot panic on mpc83xx (regression) · b37e1613
      Rojhalat Ibrahim authored
      The following commit caused a fatal oops when booting on mpc83xx with
      a non-express PCI bus (regardless of whether a PCI device is present):
      
      commit 50d8f87d
      
      
      Author: Rojhalat Ibrahim <imr@rtschenk.de>
      Date:   Mon Apr 8 10:15:28 2013 +0200
      
          powerpc/fsl-pci Make PCIe hotplug work with Freescale PCIe controllers
      
          Up to now the PCIe link status on Freescale PCIe controllers was only
          checked once at boot time. So hotplug did not work. With this patch the
          link status is checked on every config read. PCIe devices not present at
          boot time are found after doing 'echo 1 >/sys/bus/pci/rescan'.
      
      Signed-off-by: default avatarRojhalat Ibrahim <imr@rtschenk.de>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      
      This patch fixes the issue by calling setup_indirect_pci for all device types.
      fsl_indirect_read_config is now only used for booke/86xx PCIe controllers.
      
      Reported-by: default avatarMichael Guntsche <mike@it-loops.com>
      Cc: Scott Wood <scottwood@freescale.com>
      Signed-off-by: default avatarRojhalat Ibrahim <imr@rtschenk.de>
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      b37e1613
  3. Jun 24, 2013
  4. Jun 23, 2013
    • Linus Torvalds's avatar
      Linux 3.10-rc7 · 9e895ace
      Linus Torvalds authored
      9e895ace
    • Linus Torvalds's avatar
      Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · f3c15b0a
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "These are two fixes that came in this week, one for a regression we
        introduced in 3.10 in the GIC interrupt code, and the other one fixes
        a typo in newly introduced code"
      
      * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        irqchip: gic: call gic_cpu_init() as well in CPU_STARTING_FROZEN case
        ARM: dts: Correct the base address of pinctrl_3 on Exynos5250
      f3c15b0a
    • Linus Torvalds's avatar
      Merge tag 'driver-core-3.10-rc6' of... · e10e5771
      Linus Torvalds authored
      Merge tag 'driver-core-3.10-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
      
      Pull driver core fix from Greg Kroah-Hartman:
       "Here's a single patch for the firmware core that resolves a reported
        oops in the firmware core that people have been hitting."
      
      * tag 'driver-core-3.10-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
        firmware loader: fix use-after-free by double abort
      e10e5771
    • Linus Torvalds's avatar
      Merge tag 'usb-3.10-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · b71055be
      Linus Torvalds authored
      Pull USB fixes from Greg Kroah-Hartman:
       "Here are two USB patches for 3.10.
      
        One updates the Kconfig wording for CONFIG_USB_PHY to make it,
        hopefully, more obvious what this option is (I know you complained
        about this when it hit the tree.) The other is a new device id for a
        driver"
      
      * tag 'usb-3.10-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        USB: serial: ti_usb_3410_5052: new device id for Abbot strip port cable
        usb: phy: Improve Kconfig help for CONFIG_USB_PHY
      b71055be
    • Linus Torvalds's avatar
      Merge tag 'tty-3.10-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · dcfdc28f
      Linus Torvalds authored
      Pul tty fixes from Greg Kroah-Hartman:
       "Here are two tty core fixes that resolve some regressions that have
        been reported recently.  Both tiny fixes, but needed"
      
      * tag 'tty-3.10-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
        tty: Fix transient pty write() EIO
        tty/vt: Return EBUSY if deallocating VT1 and it is busy
      dcfdc28f
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending · 67e5b2fa
      Linus Torvalds authored
      Pull SCSI target fixes from Nicholas Bellinger:
       "Included is the recent tcm_qla2xxx residual underrun length fix from
        Roland, along with Joern's iscsi-target patch for session_lock
        breakage within iscsit_stop_time2retain_timer() code.  Both are CC'ed
        to stable.
      
        The remaining two are specific to recent iscsi-target + iser
        conversion changes.  One drops some left-over debug noise, and Andy's
        patch fixes configfs attribute handling during an explicit network
        portal feature bit disable when iser-target is unsupported."
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending:
        iscsi-target: Remove left over v3.10-rc debug printks
        target/iscsi: Fix op=disable + error handling cases in np_store_iser
        tcm_qla2xxx: Fix residual for underrun commands that fail
        target/iscsi: don't corrupt bh_count in iscsit_stop_time2retain_timer()
      67e5b2fa
    • Linus Torvalds's avatar
      Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · 70a3067d
      Linus Torvalds authored
      Pull media fixes from Mauro Carvalho Chehab:
       "Another set of fixes for Kernel 3.10.
      
        This series contain:
         - two Kbuild fixes for randconfig
         - a buffer overflow when using rtl28xuu with r820t tuner
         - one clk fixup on exynos4-is driver"
      
      * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
        [media] Fix build when drivers are builtin and frontend modules
        [media] s5p makefiles: don't override other selections on obj-[ym]
        [media] exynos4-is: Fix FIMC-IS clocks initialization
        [media] rtl28xxu: fix buffer overflow when probing Rafael Micro r820t tuner
      70a3067d
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · b8ff768b
      Linus Torvalds authored
      Pull vfs fixes from Al Viro:
       "Several fixes for bugs caught while looking through f_pos (ab)users"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        aout32 coredump compat fix
        splice: don't pass the address of ->f_pos to methods
        mconsole: we'd better initialize pos before passing it to vfs_read()...
      b8ff768b
  5. Jun 22, 2013
    • Al Viro's avatar
      aout32 coredump compat fix · 945fb136
      Al Viro authored
      
      
      dump_seek() does SEEK_CUR, not SEEK_SET; native binfmt_aout
      handles it correctly (seeks by PAGE_SIZE - sizeof(struct user),
      getting the current position to PAGE_SIZE), compat one seeks
      by PAGE_SIZE and ends up at PAGE_SIZE + already written...
      
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      945fb136
    • Linus Torvalds's avatar
      Merge branch 'x86/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · f71194a7
      Linus Torvalds authored
      Pull x86 fixes from Peter Anvin:
       "This series fixes a couple of build failures, and fixes MTRR cleanup
        and memory setup on very specific memory maps.
      
        Finally, it fixes triggering backtraces on all CPUs, which was
        inadvertently disabled on x86."
      
      * 'x86/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/efi: Fix dummy variable buffer allocation
        x86: Fix trigger_all_cpu_backtrace() implementation
        x86: Fix section mismatch on load_ucode_ap
        x86: fix build error and kconfig for ia32_emulation and binfmt
        range: Do not add new blank slot with add_range_with_merge
        x86, mtrr: Fix original mtrr range get for mtrr_cleanup
      f71194a7
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · e61cd5e2
      Linus Torvalds authored
      Pull drm radeon fixes from Dave Airlie:
       "One core fix, but mostly radeon fixes for s/r and big endian UVD
        support, and a fix to stop the GPU being reset for no good reason, and
        crashing people's machines."
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm/radeon: update lockup tracking when scheduling in empty ring
        drm/prime: Honor requested file flags when exporting a buffer
        drm/radeon: fix UVD on big endian
        drm/radeon: fix write back suspend regression with uvd v2
        drm/radeon: do not try to uselessly update virtual memory pagetable
      e61cd5e2
    • Linus Torvalds's avatar
      Merge tag 'acpi-3.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 64a2f30a
      Linus Torvalds authored
      Pull ACPI fixes from Rafael Wysocki:
      
       - Fix for a regression causing a failure to turn on some devices on
         some systems during initialization introduced by a recent revert of
         an ACPI PM change that broke something else.  Fortunately, we know
         exactly what devices are affected, so we can add a fix just for them
         leaving everyone else alone.
      
       - ACPI power resources initialization fix preventing a NULL pointer
         from being dereferenced in the acpi_add_power_resource() error code
         path.
      
       - ACPI dock station driver fix that adds missing locking to
         write_undock().
      
       - ACPI resources allocation fix changing the scope of an old workaround
         so that it doesn't affect systems that aren't actually buggy.  This
         was reported a couple of days ago to fix DMA problems on some new
         platforms so we need it in -stable.  From Mika Westerberg.
      
      * tag 'acpi-3.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI / LPSS: Power up LPSS devices during enumeration
        ACPI / PM: Fix error code path for power resources initialization
        ACPI / dock: Take ACPI scan lock in write_undock()
        ACPI / resources: call acpi_get_override_irq() only for legacy IRQ resources
      64a2f30a
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 9d0be540
      Linus Torvalds authored
      Pull KVM fixes from Paolo Bonzini:
       "Three one-line fixes for my first pull request; one for x86 host, one
        for x86 guest, one for PPC"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        x86: kvmclock: zero initialize pvclock shared memory area
        kvm/ppc/booke: Delay kvmppc_lazy_ee_enable
        KVM: x86: remove vcpu's CPL check in host-invoked XCR set
      9d0be540
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · 92616ee6
      Linus Torvalds authored
      Pull crypto fix from Herbert Xu:
       "This fixes an unaligned crash in XTS mode when using aseni_intel"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
        crypto: aesni_intel - fix accessing of unaligned memory
      92616ee6
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client · 7ecba6f2
      Linus Torvalds authored
      Pull Ceph fix from Sage Weil:
       "This fixes a problem preventing the kernel and userland librbd
        libraries from sharing data with the new format 2 images"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client:
        rbd: use the correct length for format 2 object names
      7ecba6f2
  6. Jun 21, 2013