01 Apr, 2015

5 commits


31 Mar, 2015

3 commits


30 Mar, 2015

7 commits

  • Linus Torvalds
     
  • Pull ARM SoC fixes from Olof Johansson:
    "The latest and greatest fixes for ARM platform code. Worth pointing
    out are:

    - Lines-wise, largest is a PXA fix for dealing with interrupts on DT
    that was quite broken. It's still newish code so while we could
    have held this off, it seemed appropriate to include now

    - Some GPIO fixes for OMAP platforms added a few lines. This was
    also fixes for code recently added (this release).

    - Small OMAP timer fix to behave better with partially upstreamed
    platforms, which is quite welcome.

    - Allwinner fixes about operating point control, reducing
    overclocking in some cases for better stability.

    plus a handful of other smaller fixes across the map"

    * tag 'armsoc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    arm64: juno: Fix misleading name of UART reference clock
    ARM: dts: sunxi: Remove overclocked/overvoltaged OPP
    ARM: dts: sun4i: a10-lime: Override and remove 1008MHz OPP setting
    ARM: socfpga: dts: fix spi1 interrupt
    ARM: dts: Fix gpio interrupts for dm816x
    ARM: dts: dra7: remove ti,hwmod property from pcie phy
    ARM: OMAP: dmtimer: disable pm runtime on remove
    ARM: OMAP: dmtimer: check for pm_runtime_get_sync() failure
    ARM: OMAP2+: Fix socbus family info for AM33xx devices
    ARM: dts: omap3: Add missing dmas for crypto
    ARM: dts: rockchip: disable gmac by default in rk3288.dtsi
    MAINTAINERS: add rockchip regexp to the ARM/Rockchip entry
    ARM: pxa: fix pxa interrupts handling in DT
    ARM: pxa: Fix typo in zeus.c
    ARM: sunxi: Have ARCH_SUNXI select RESET_CONTROLLER for clock driver usage

    Linus Torvalds
     
  • …it/mripard/linux into fixes

    Allwinner fixes for 4.0

    There's a few fixes to merge for 4.0, one to add a select in the machine
    Kconfig option to fix a potential build failure, and two fixing cpufreq related
    issues.

    * tag 'sunxi-fixes-for-4.0' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux:
    ARM: dts: sunxi: Remove overclocked/overvoltaged OPP
    ARM: dts: sun4i: a10-lime: Override and remove 1008MHz OPP setting
    ARM: sunxi: Have ARCH_SUNXI select RESET_CONTROLLER for clock driver usage

    Signed-off-by: Olof Johansson <olof@lixom.net>

    Olof Johansson
     
  • …nd/linux-omap into fixes

    Fixes for omaps for the -rc cycle:

    - Fix a device tree based booting vs legacy booting regression for
    omap3 crypto hardware by adding the missing DMA channels.

    - Fix /sys/bus/soc/devices/soc0/family for am33xx devices.

    - Fix two timer issues that can cause hangs if the timer related
    hwmod data is missing like it often initially is for new SoCs.

    - Remove pcie hwmods entry from dts as that causes runtime PM to
    fail for the PHYs.

    - A paper bag type dts configuration fix for dm816x GPIO
    interrupts that I just noticed. This is most of the changes
    diffstat wise, but as it's a basic feature for connecting
    devices and things work otherwise, it should be fixed.

    * tag 'fixes-v4.0-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
    ARM: dts: Fix gpio interrupts for dm816x
    ARM: dts: dra7: remove ti,hwmod property from pcie phy
    ARM: OMAP: dmtimer: disable pm runtime on remove
    ARM: OMAP: dmtimer: check for pm_runtime_get_sync() failure
    ARM: OMAP2+: Fix socbus family info for AM33xx devices
    ARM: dts: omap3: Add missing dmas for crypto

    Signed-off-by: Olof Johansson <olof@lixom.net>

    Olof Johansson
     
  • Late fix for v4.0 on the SoCFPGA platform:
    - Fix interrupt number for SPI1 interface

    * tag 'socfpga_fix_for_v4.0_2' of git://git.rocketboards.org/linux-socfpga-next:
    ARM: socfpga: dts: fix spi1 interrupt

    Signed-off-by: Olof Johansson

    Olof Johansson
     
  • The UART reference clock speed is 7273.8 kHz, not 72738 kHz.

    Dots aren't usually used in node names even though ePAPR permits
    them. However, this can easily be avoided by expressing the
    frequency in Hz, not kHz.

    This patch changes the name to refclk7273800hz, reflecting the
    actual clock speed.

    Signed-off-by: Dave Martin
    Acked-by: Liviu Dudau
    Signed-off-by: Olof Johansson

    Dave Martin
     
  • arm: pxa: fixes for v4.0-rc5

    There are only 2 fixes, one for the zeus board about the regulator changes,
    where a typo prevented the zeus board from having a working can regulator,
    and one regression triggered by the interrupts IRQ shift of 16 affecting all
    boards.

    * tag 'fixes-for-v4.0-rc5' of https://github.com/rjarzmik/linux:
    ARM: pxa: fix pxa interrupts handling in DT
    ARM: pxa: Fix typo in zeus.c

    Signed-off-by: Olof Johansson

    Olof Johansson
     

29 Mar, 2015

9 commits


28 Mar, 2015

4 commits

  • Pull watchdog fixes from Wim Van Sebroeck:

    - mtk_wdt: signedness bug in mtk_wdt_start()

    - imgpdc: Fix NULL pointer dereference during probe and fix the default
    heartbeat

    * git://www.linux-watchdog.org/linux-watchdog:
    watchdog: imgpdc: Fix default heartbeat
    watchdog: imgpdc: Fix probe NULL pointer dereference
    watchdog: mtk_wdt: signedness bug in mtk_wdt_start()

    Linus Torvalds
     
  • Pull sound fixes from Takashi Iwai:
    "Three trivial oneliner fixes for HD-audio.

    Two are device-specific quirks while one is a generic fix for recent
    Realtek codecs"

    * tag 'sound-4.0-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
    ALSA: hda - Add one more node in the EAPD supporting candidate list
    ALSA: hda_intel: apply the Seperate stream_tag for Sunrise Point
    ALSA: hda - Add dock support for Thinkpad T450s (17aa:5036)

    Linus Torvalds
     
  • Blacklist queued TRIM on this drive for now.

    Reported-by: Stefan Keller
    Signed-off-by: Martin K. Petersen
    CC: stable@vger.kernel.org
    Signed-off-by: Tejun Heo

    Martin K. Petersen
     
  • Micron has released an updated firmware (MU02) for M510/M550/MX100
    drives to fix the issues with queued TRIM. Queued TRIM remains broken on
    M500 but is working fine on later drives such as M600 and MX200.

    Tweak our blacklist to reflect the above.

    Link: https://bugzilla.kernel.org/show_bug.cgi?id=71371
    Signed-off-by: Martin K. Petersen
    Cc: stable@vger.kernel.org
    Signed-off-by: Tejun Heo

    Martin K. Petersen
     

27 Mar, 2015

11 commits

  • locks_delete_lock_ctx() is called inside the loop, so we
    should use list_for_each_entry_safe.

    Fixes: 8634b51f6ca2 (locks: convert lease handling to file_lock_context)
    Signed-off-by: "Yan, Zheng"
    Signed-off-by: Jeff Layton

    Yan, Zheng
     
  • Now GPIO syscon driver produces bunch of warnings during the
    boot of Kesytone 2 SoCs:
    gpio-syscon soc:keystone_dsp_gpio@02620240: can't read the dir register offset!
    gpio-syscon soc:keystone_dsp_gpio@2620244: can't read the dir register offset!

    This message unintentionally was added using dev_err(), but its
    actual log level is debug, because third cell of "ti,syscon-dev" is
    optional.

    Hence change it to dev_dbg() as it should be.

    This patch fixes commit:
    5a3e3f8 ("gpio: syscon: retriave syscon node and regs offsets from dt")

    Reported-by: Russell King
    Tested-by: Murali Karicheri
    Acked-by: Santosh Shilimkar
    Signed-off-by: Grygorii Strashko
    Signed-off-by: Linus Walleij

    Grygorii Strashko
     
  • James Morris
     
  • The IMG PDC watchdog driver heartbeat module parameter has no default so
    it is initialised to zero. This results in the following warning during
    probe:

    imgpdc-wdt 2006000.wdt: Initial timeout out of range! setting max timeout

    The module parameter description implies that the default value should
    be PDC_WDT_DEF_TIMEOUT, which isn't yet used, so initialise it to that.

    Also tweak the heartbeat module parameter description for consistency.

    Fixes: 93937669e9b5 ("watchdog: ImgTec PDC Watchdog Timer Driver")
    Signed-off-by: James Hogan
    Cc: Ezequiel Garcia
    Cc: Naidu Tellapati
    Cc: Jude Abraham
    Cc: linux-watchdog@vger.kernel.org
    Reviewed-by: Guenter Roeck
    Signed-off-by: Wim Van Sebroeck

    James Hogan
     
  • The IMG PDC watchdog probe function calls pdc_wdt_stop() prior to
    watchdog_set_drvdata(), causing a NULL pointer dereference when
    pdc_wdt_stop() retrieves the struct pdc_wdt_dev pointer using
    watchdog_get_drvdata() and reads the register base address through it.

    Fix by moving the watchdog_set_drvdata() call earlier, to where various
    other pdc_wdt->wdt_dev fields are initialised.

    Fixes: 93937669e9b5 ("watchdog: ImgTec PDC Watchdog Timer Driver")
    Signed-off-by: James Hogan
    Cc: Ezequiel Garcia
    Cc: Naidu Tellapati
    Cc: Jude Abraham
    Cc: linux-watchdog@vger.kernel.org
    Reviewed-by: Guenter Roeck
    Signed-off-by: Wim Van Sebroeck

    James Hogan
     
  • "ret" should be signed for the error handling to work correctly. This
    doesn't matter much in real life since mtk_wdt_set_timeout() always
    succeeds.

    Signed-off-by: Dan Carpenter
    Reviewed-by: Matthias Brugger
    Reviewed-by: Guenter Roeck
    Signed-off-by: Wim Van Sebroeck

    Dan Carpenter
     
  • Pull drm refcounting fixes from Dave Airlie:
    "Here is the complete set of i915 bug/warn/refcounting fixes"

    * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
    drm/i915: Fixup legacy plane->crtc link for initial fb config
    drm/i915: Fix atomic state when reusing the firmware fb
    drm/i915: Keep ring->active_list and ring->requests_list consistent
    drm/i915: Don't try to reference the fb in get_initial_plane_config()
    drm: Fixup racy refcounting in plane_force_disable

    Linus Torvalds
     
  • Pull device mapper fix from Mike Snitzer:
    "Fix DM core device cleanup regression -- due to a latent race that was
    exposed by the bdi changes that were introduced during the 4.0 merge"

    * tag 'dm-4.0-fix-2' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
    dm: fix add_disk() NULL pointer due to race with free_dev()

    Linus Torvalds
     
  • …/git/shuah/linux-kselftest

    Pull kselftest fix from Shuah Khan.

    * tag 'linux-kselftest-4.0-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
    selftests: Fix build failures when invoked from kselftest target

    Linus Torvalds
     
  • This should cover the final warnings in -rc5 with two more backports
    from our development branch (drm-intel-next-queued). They're the ones
    from Daniel and Damien, with references to the reports.

    This is on top of drm-fixes because of the dependency on the two earlier
    fixes not yet in Linus' tree.

    There's an additional regression fix from Chris.

    * tag 'drm-intel-fixes-2015-03-26' of git://anongit.freedesktop.org/drm-intel:
    drm/i915: Fixup legacy plane->crtc link for initial fb config
    drm/i915: Fix atomic state when reusing the firmware fb
    drm/i915: Keep ring->active_list and ring->requests_list consistent

    Dave Airlie
     
  • Pull s390 fixes from Martin Schwidefsky:
    "A couple of bug fixes for s390.

    The ftrace comile fix is quite large for a -rc6 release, but it would
    be nice to have it in 4.0"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
    s390/smp: reenable smt after resume
    s390/mm: limit STACK_RND_MASK for compat tasks
    s390/ftrace: fix compile error if CONFIG_KPROBES is disabled
    s390/cpum_sf: add diagnostic sampling event only if it is authorized

    Linus Torvalds
     

26 Mar, 2015

1 commit

  • This is a very similar bug in the load detect code fixed in

    commit 9128b040eb774e04bc23777b005ace2b66ab2a85
    Author: Daniel Vetter
    Date: Tue Mar 3 17:31:21 2015 +0100

    drm/i915: Fix modeset state confusion in the load detect code

    But this time around it was the initial fb code that forgot to update
    the plane->crtc pointer. Otherwise it's the exact same bug, with the
    exact same restrains (any set_config call/ioctl that doesn't disable
    the pipe papers over the bug for free, so fairly hard to hit in normal
    testing). So if you want the full explanation just go read that one
    over there - it's rather long ...

    Cc: Matt Roper
    Cc: Linus Torvalds
    Cc: Chris Wilson
    Cc: Josh Boyer
    Cc: Jani Nikula
    Reported-and-tested-by: Josh Boyer
    Signed-off-by: Daniel Vetter
    [Jani: backported to drm-intel-fixes for v4.0-rc]
    Reference: http://mid.gmane.org/CA+5PVA7ChbtJrknqws1qvZcbrg1CW2pQAFkSMURWWgyASRyGXg@mail.gmail.com
    Signed-off-by: Jani Nikula

    Daniel Vetter