Skip to content
  1. Jun 11, 2015
    • Guenter Roeck's avatar
      blackfin: Fix build error · 5eea9003
      Guenter Roeck authored
      
      
      Fix
      
      include/asm-generic/io.h: In function 'readb':
      include/asm-generic/io.h:113:2: error:
      	implicit declaration of function 'bfin_read8'
      include/asm-generic/io.h: In function 'readw':
      include/asm-generic/io.h:121:2: error:
      	implicit declaration of function 'bfin_read16'
      include/asm-generic/io.h: In function 'readl':
      include/asm-generic/io.h:129:2: error:
      	implicit declaration of function 'bfin_read32'
      include/asm-generic/io.h: In function 'writeb':
      include/asm-generic/io.h:147:2: error:
      	implicit declaration of function 'bfin_write8'
      include/asm-generic/io.h: In function 'writew':
      include/asm-generic/io.h:155:2: error:
      	implicit declaration of function 'bfin_write16'
      include/asm-generic/io.h: In function 'writel':
      include/asm-generic/io.h:163:2: error:
      	implicit declaration of function 'bfin_write32'
      
      Reported-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Fixes: 1a3372bc
      
       ("blackfin: io: define __raw_readx/writex with
      	bfin_readx/writex")
      Cc: Steven Miao <realmz6@gmail.com>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      5eea9003
  2. Jun 08, 2015
    • Linus Torvalds's avatar
      Linux 4.1-rc7 · d4a4f75c
      Linus Torvalds authored
      d4a4f75c
    • Linus Torvalds's avatar
      Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus · 866e6441
      Linus Torvalds authored
      Pull MIPS updates from Ralf Baechle:
       "Eight fixes across arch/mips.  Nothing stands particuarly out nor is
        complicated but fixes keep coming in at a higher than comfortable
        rate"
      
      * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus:
        MIPS: KVM: Do not sign extend on unsigned MMIO load
        MIPS: BPF: Fix stack pointer allocation
        MIPS: Loongson-3: Fix a cpu-hotplug issue in loongson3_ipi_interrupt()
        MIPS: Fix enabling of DEBUG_STACKOVERFLOW
        MIPS: c-r4k: Fix typo in probe_scache()
        MIPS: Avoid an FPE exception in FCSR mask probing
        MIPS: ath79: Add a missing new line in log message
        MIPS: ralink: Fix clearing the illegal access interrupt
      866e6441
  3. Jun 07, 2015
    • Linus Torvalds's avatar
      Merge tag 'driver-core-4.1-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core · 37ef1647
      Linus Torvalds authored
      Pull driver core fixes from Greg KH:
       "Here are two fixes for the driver core that resolve some reported
        issues.
      
        One is a regression from 4.0, the other a fixes a reported oops that
        has been there since 3.19.
      
        Both have been in linux-next for a while with no problems"
      
      * tag 'driver-core-4.1-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
        drivers/base: cacheinfo: handle absence of caches
        drivers: of/base: move of_init to driver_init
      37ef1647
    • Linus Torvalds's avatar
      Merge tag 'staging-4.1-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · eadc21f5
      Linus Torvalds authored
      Pull staging / IIO fixes from Greg KH:
       "Here are some IIO driver fixes to resolve reported issues, some ozwpan
        fixes for some reported CVE problems, and a rtl8712 driver fix for a
        reported regression.
      
        All have been in linux-next successfully"
      
      * tag 'staging-4.1-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
        staging: rtl8712: fix stack dump
        ozwpan: unchecked signed subtraction leads to DoS
        ozwpan: divide-by-zero leading to panic
        ozwpan: Use unsigned ints to prevent heap overflow
        ozwpan: Use proper check to prevent heap overflow
        iio: adc: twl6030-gpadc: Fix modalias
        iio: adis16400: Fix burst transfer for adis16448
        iio: adis16400: Fix burst mode
        iio: adis16400: Compute the scan mask from channel indices
        iio: adis16400: Use != channel indices for the two voltage channels
        iio: adis16400: Report pressure channel scale
      eadc21f5
    • Linus Torvalds's avatar
      Merge tag 'tty-4.1-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · b334b773
      Linus Torvalds authored
      Pull tty/serial driver fixes from Greg KH:
       "Here are a few TTY and Serial driver fixes for reported regressions
        and crashes.
      
        All of these have been in linux-next with no reported problems"
      
      * tag 'tty-4.1-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
        n_tty: Fix auditing support for cannonical mode
        serial: 8250_omap: provide complete custom startup & shutdown callbacks
        n_tty: Fix calculation of size in canon_copy_from_read_buf
        serial: imx: Fix DMA handling for IDLE condition aborts
        serial/amba-pl011: Unconditionally poll for FIFO space before each TX char
      b334b773
    • Linus Torvalds's avatar
      Merge tag 'usb-4.1-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · e900f2c0
      Linus Torvalds authored
      Pull USB and PHY driver fixes from Greg KH:
       "Here are some USB and PHY driver fixes that resolve some reported
        regressions.  Also in here are some new device ids.
      
        All of the details are in the shortlog and these patches have been in
        linux-next with no problems"
      
      * tag 'usb-4.1-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (22 commits)
        USB: cp210x: add ID for HubZ dual ZigBee and Z-Wave dongle
        usb: renesas_usbhs: Don't disable the pipe if Control write status stage
        usb: renesas_usbhs: Fix fifo unclear in usbhsf_prepare_pop
        usb: gadget: f_fs: fix check in read operation
        usb: musb: fix order of conditions for assigning end point operations
        usb: gadget: f_uac1: check return code from config_ep_by_speed
        usb: gadget: ffs: fix: Always call ffs_closed() in ffs_data_clear()
        usb: gadget: g_ffs: Fix counting of missing_functions
        usb: s3c2410_udc: correct reversed pullup logic
        usb: dwc3: gadget: Fix incorrect DEPCMD and DGCMD status macros
        usb: phy: tahvo: Pass the IRQF_ONESHOT flag
        usb: phy: ab8500-usb: Pass the IRQF_ONESHOT flag
        usb: renesas_usbhs: Revise the binding document about the dma-names
        usb: host: xhci: add mutex for non-thread-safe data
        usb: make module xhci_hcd removable
        USB: serial: ftdi_sio: Add support for a Motion Tracker Development Board
        usb: gadget: f_midi: fix segfault when reading empty id
        phy: phy-rcar-gen2: Fix USBHS_UGSTS_LOCK value
        phy: omap-usb2: invoke pm_runtime_disable on error path
        phy: fix Kconfig dependencies
        ...
      e900f2c0
    • Linus Torvalds's avatar
      Merge tag 'devicetree-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/glikely/linux · be19c4ab
      Linus Torvalds authored
      Pull devicetree fix from Grant Likely:
       "Stupid typo fix for v4.1.  One of the IS_ENABLED() macro calls forgot
        the CONFIG_ prefix.  Only affects a tiny number of platforms, but
        still..."
      
      * tag 'devicetree-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/glikely/linux:
        of/dynamic: Fix test for PPC_PSERIES
      be19c4ab
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 4b170692
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "i915 has a bunch of fixes, and Russell found a bug in sysfs writing
        handling that results in userspace getting stuck"
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm: fix writing to /sys/class/drm/*/status
        drm/i915: Move WaBarrierPerformanceFixDisable:skl to skl code from chv code
        drm/i915: Include G4X/VLV/CHV in self refresh status
        drm/i915: Initialize HWS page address after GPU reset
        drm/i915: Don't skip request retirement if the active list is empty
        drm/i915/hsw: Fix workaround for server AUX channel clock divisor
      4b170692
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · f46c5818
      Linus Torvalds authored
      Pull input subsystem fixes from Dmitry Torokhov:
       "Just a couple touchpad drivers fixups"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: alps - do not reduce trackpoint speed by half
        Input: elantech - add new icbody type
        Input: elantech - fix detection of touchpads where the revision matches a known rate
      f46c5818
    • Linus Torvalds's avatar
      Merge branch 'stable/for-linus-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb · 77493bd9
      Linus Torvalds authored
      Pull swiotlb fix from Konrad Rzeszutek Wilk:
       "Tiny little fix which just converts an function to be static.  Really
        tiny"
      
      * 'stable/for-linus-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb:
        swiotlb: do not export map_single function
      77493bd9
    • Linus Torvalds's avatar
      Merge branch 'stable/for-linus-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/ibft · 7dedcca0
      Linus Torvalds authored
      Pull iBFT fix from Konrad Rzeszutek Wilk:
       "One single fix from Chris to workaround UEFI platforms failing with
        iSCSI IBFT"
      
      * 'stable/for-linus-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/ibft:
        iscsi_ibft: filter null v4-mapped v6 addresses
      7dedcca0
  4. Jun 06, 2015
    • Nicholas Mc Guire's avatar
      MIPS: KVM: Do not sign extend on unsigned MMIO load · ed9244e6
      Nicholas Mc Guire authored
      
      
      Fix possible unintended sign extension in unsigned MMIO loads by casting
      to uint16_t in the case of mmio_needed != 2.
      
      Signed-off-by: default avatarNicholas Mc Guire <hofrat@osadl.org>
      Reviewed-by: default avatarJames Hogan <james.hogan@imgtec.com>
      Tested-by: default avatarJames Hogan <james.hogan@imgtec.com>
      Cc: Gleb Natapov <gleb@kernel.org>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: kvm@vger.kernel.org
      Cc: linux-mips@linux-mips.org
      Cc: linux-kernel@vger.kernel.org
      Patchwork: https://patchwork.linux-mips.org/patch/9985/
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      ed9244e6
    • Markos Chandras's avatar
      MIPS: BPF: Fix stack pointer allocation · 8833bc30
      Markos Chandras authored
      
      
      Fix stack pointer offset which could potentially corrupt
      argument registers in the previous frame. The calculated offset
      reflects the size of all the registers we need to preserve so there
      is no need for this erroneous subtraction.
      
      [ralf@linux-mips.org: Fixed conflict due to only applying this fix part
      of the entire series as part of 4.1 fixes.]
      
      Signed-off-by: default avatarMarkos Chandras <markos.chandras@imgtec.com>
      Cc: netdev@vger.kernel.org
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Alexei Starovoitov <ast@plumgrid.com>
      Cc: Daniel Borkmann <dborkman@redhat.com>
      Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
      Cc: linux-kernel@vger.kernel.org
      Cc: linux-mips@linux-mips.org
      Patchwork: http://patchwork.linux-mips.org/patch/10527/
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      8833bc30
    • Huacai Chen's avatar
      MIPS: Loongson-3: Fix a cpu-hotplug issue in loongson3_ipi_interrupt() · e1fb96e0
      Huacai Chen authored
      
      
      setup_per_cpu_areas() only setup __per_cpu_offset[] for each possible
      cpu, but loongson_sysconf.nr_cpus can be greater than possible cpus
      (due to reserved_cpus_mask). So in loongson3_ipi_interrupt(), percpu
      access will touch the original varible in .data..percpu section which
      has been freed. Without this patch, cpu-hotplug will cause memery
      corruption.
      
      Signed-off-by: default avatarHuacai Chen <chenhc@lemote.com>
      Cc: John Crispin <john@phrozen.org>
      Cc: Steven J. Hill <Steven.Hill@imgtec.com>
      Cc: linux-mips@linux-mips.org
      Cc: Fuxin Zhang <zhangfx@lemote.com>
      Cc: Zhangjin Wu <wuzhangjin@gmail.com>
      Patchwork: http://patchwork.linux-mips.org/patch/10524/
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      e1fb96e0
    • James Hogan's avatar
      MIPS: Fix enabling of DEBUG_STACKOVERFLOW · 5f35b9cd
      James Hogan authored
      Commit 334c86c4 ("MIPS: IRQ: Add stackoverflow detection") added
      kernel stack overflow detection, however it only enabled it conditional
      upon the preprocessor definition DEBUG_STACKOVERFLOW, which is never
      actually defined. The Kconfig option is called DEBUG_STACKOVERFLOW,
      which manifests to the preprocessor as CONFIG_DEBUG_STACKOVERFLOW, so
      switch it to using that definition instead.
      
      Fixes: 334c86c4
      
       ("MIPS: IRQ: Add stackoverflow detection")
      Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Adam Jiang <jiang.adam@gmail.com>
      Cc: linux-mips@linux-mips.org
      Cc: <stable@vger.kernel.org> # 2.6.37+
      Patchwork: http://patchwork.linux-mips.org/patch/10531/
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      5f35b9cd
    • Joshua Kinard's avatar
      MIPS: c-r4k: Fix typo in probe_scache() · 755af33b
      Joshua Kinard authored
      
      
      Fixes a typo in arch/mips/mm/c-r4k.c's probe_scache().
      
      Signed-off-by: default avatarJoshua Kinard <kumba@gentoo.org>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      755af33b
    • Chris Leech's avatar
      iscsi_ibft: filter null v4-mapped v6 addresses · e6050b61
      Chris Leech authored
      
      
      I've had reports of UEFI platforms failing iSCSI boot in various
      configurations, that ended up being caused by network initialization
      scripts getting tripped up by unexpected null addresses (0.0.0.0) being
      reported for gateways, dhcp servers, and dns servers.
      
      The tianocore EDK2 iSCSI driver generates an iBFT table that always uses
      IPv4-mapped IPv6 addresses for the NIC structure fields.  This results
      in values that are "not present or not specified" being reported as
      ::ffff:0.0.0.0 rather than all zeros as specified.
      
      The iscsi_ibft module filters unspecified fields from the iBFT from
      sysfs, preventing userspace from using invalid values and making it easy
      to check for the presence of a value.  This currently fails in regard to
      these mapped null addresses.
      
      In order to remain consistent with how the iBFT information is exposed,
      we should accommodate the behavior of the tianocore iSCSI driver as it's
      already in the wild in a large number of servers.
      
      Tested under qemu using an OVMF build of tianocore EDK2.
      
      Signed-off-by: default avatarChris Leech <cleech@redhat.com>
      Reviewed-by: default avatarMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      e6050b61
    • Alexandre Courbot's avatar
      swiotlb: do not export map_single function · 023600f1
      Alexandre Courbot authored
      
      
      The map_single() function is not defined as static, even though it
      doesn't seem to be used anywhere else in the kernel. Make it static to
      avoid namespace pollution since this is a rather generic symbol.
      
      Signed-off-by: default avatarAlexandre Courbot <acourbot@nvidia.com>
      Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      023600f1
    • Russell King's avatar
      drm: fix writing to /sys/class/drm/*/status · 38d8571d
      Russell King authored
      
      
      Writing to a file is supposed to return the number of bytes written.
      Returning zero unfortunately causes bash to constantly spin trying
      to write to the sysfs file, to such an extent that even ^c and ^z
      have no effect.  The only way out of that is to kill the shell and
      log back in.  This isn't nice behaviour.
      
      Fix it by returning the number of characters written to sysfs files.
      
      [airlied: used suggestion from Al Viro]
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      38d8571d
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2015-06-05' of git://anongit.freedesktop.org/drm-intel into drm-fixes · a9592f17
      Dave Airlie authored
      bunch of i915 fixes.
      * tag 'drm-intel-fixes-2015-06-05' of git://anongit.freedesktop.org/drm-intel:
        drm/i915: Move WaBarrierPerformanceFixDisable:skl to skl code from chv code
        drm/i915: Include G4X/VLV/CHV in self refresh status
        drm/i915: Initialize HWS page address after GPU reset
        drm/i915: Don't skip request retirement if the active list is empty
        drm/i915/hsw: Fix workaround for server AUX channel clock divisor
      a9592f17
    • Linus Torvalds's avatar
      Merge tag 'pci-v4.1-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · 456fdb26
      Linus Torvalds authored
      Pull PCI fixes from Bjorn Helgaas:
       "Resource management
         - Fix IOV sorting by alignment (Wei Yang)
         - Preserve resource size during alignment reordering (Yinghai Lu)
      
        Miscellaneous
          - MAINTAINERS: Add Pratyush for SPEAr13xx and DesignWare PCIe (Pratyush Anand)"
      
      * tag 'pci-v4.1-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
        PCI: Preserve resource size during alignment reordering
        PCI: Fix IOV resource sorting by alignment requirement
        MAINTAINERS: Add Pratyush Anand as SPEAr13xx and DesignWare PCIe maintainer
      456fdb26
    • Linus Torvalds's avatar
      Merge tag 'sound-4.1-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 6e6f9e0b
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "It was a fairly calm week; here you can find only a few trivial quirks
        and fixes for USB and HD-audio.  All changes are pretty device
        specific"
      
      * tag 'sound-4.1-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: usb-audio: fix missing input volume controls in MAYA44 USB(+)
        ALSA: usb-audio: add MAYA44 USB+ mixer control names
        ALSA: hda/realtek - Add a fixup for another Acer Aspire 9420
        ALSA: hda - Fix jack detection at resume with VT codecs
        ALSA: usb-audio: don't try to get Outlaw RR2150 sample rate
        ALSA: usb-audio: Add mic volume fix quirk for Logitech Quickcam Fusion
        ALSA: hda/realtek - Suooprt Dell headset mode for ALC256
      6e6f9e0b
    • Linus Torvalds's avatar
      Merge tag 'iommu-fixes-v4.1-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 44953afb
      Linus Torvalds authored
      Pull iommu fix from Joerg Roedel:
       "Only one patch:
      
         - Revert "iommu/amd: Don't allocate with __GFP_ZERO in
           alloc_coherent".
      
           This patch caused problems with some drivers, so it is better to
           revert it now until the drivers have been fixed"
      
      * tag 'iommu-fixes-v4.1-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        Revert "iommu/amd: Don't allocate with __GFP_ZERO in alloc_coherent"
      44953afb
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 51d0f0cb
      Linus Torvalds authored
      Pull x86 fixes from Ingo Molnar:
       "Misc fixes:
      
         - early_idt_handlers[] fix that fixes the build with bleeding edge
           tooling
      
         - build warning fix on GCC 5.1
      
         - vm86 fix plus self-test to make it harder to break it again"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/asm/irq: Stop relying on magic JMP behavior for early_idt_handlers
        x86/asm/entry/32, selftests: Add a selftest for kernel entries from VM86 mode
        x86/boot: Add CONFIG_PARAVIRT_SPINLOCKS quirk to arch/x86/boot/compressed/misc.h
        x86/asm/entry/32: Really make user_mode() work correctly for VM86 mode
      51d0f0cb
    • Linus Torvalds's avatar
      Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · a0e9c6ef
      Linus Torvalds authored
      Pull perf fixes from Ingo Molnar:
       "The biggest chunk of the changes are two regression fixes: a HT
        workaround fix and an event-group scheduling fix.  It's been verified
        with 5 days of fuzzer testing.
      
        Other fixes:
      
         - eBPF fix
         - a BIOS breakage detection fix
         - PMU driver fixes"
      
      * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        perf/x86/intel/pt: Fix a refactoring bug
        perf/x86: Tweak broken BIOS rules during check_hw_exists()
        perf/x86/intel/pt: Untangle pt_buffer_reset_markers()
        perf: Disallow sparse AUX allocations for non-SG PMUs in overwrite mode
        perf/x86: Improve HT workaround GP counter constraint
        perf/x86: Fix event/group validation
        perf: Fix race in BPF program unregister
      a0e9c6ef
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 59433347
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Just two small fixes: one radeon, one amdkfd"
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm/amdkfd: fix topology bug with capability attr.
        drm/radeon: use proper ACR regisiter for DCE3.2
      59433347
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · dc2c6eb6
      Linus Torvalds authored
      Pull i2c bug fixes from Wolfram Sang:
       "Two small bugfixes for I2C"
      
      * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: s3c2410: fix oops in suspend callback for non-dt platforms
        i2c: hix5hd2: Fix modalias to make module auto-loading work
      dc2c6eb6
  5. Jun 05, 2015
  6. Jun 04, 2015