20 Jun, 2014

1 commit


05 Jun, 2014

1 commit

  • …/linux into ti-linux-3.15.y

    * 'master' of http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux:
    intel_pstate: Improve initial busy calculation
    intel_pstate: add sample time scaling
    intel_pstate: Correct rounding in busy calculation
    intel_pstate: Remove C0 tracking
    drm/radeon: use the CP DMA on CIK
    drm/radeon: sync page table updates
    drm/radeon: fix vm buffer size estimation
    drm/crtc-helper: skip locking checks in panicking path
    drm/radeon/dpm: resume fixes for some systems

    Signed-off-by: Dan Murphy <DMurphy@ti.com>

    Dan Murphy
     

04 Jun, 2014

2 commits

  • Pull intel pstate fixes from Rafael Wysocki:
    "Final power management fixes for 3.15

    - Taking non-idle time into account when calculating core busy time
    was a mistake and led to a performance regression. Since the
    problem it was supposed to address is now taken care of in a
    different way, we don't need to do it any more, so drop the
    non-idle time tracking from intel_pstate. Dirk Brandewie.

    - Changing to fixed point math throughout the busy calculation
    introduced rounding errors that adversely affect the accuracy of
    intel_pstate's computations. Fix from Dirk Brandewie.

    - The PID controller algorithm used by intel_pstate assumes that the
    time interval between two adjacent samples will always be the same
    which is not the case for deferable timers (used by intel_pstate)
    when the system is idle. This leads to inaccurate predictions and
    artificially increases convergence times for the minimum P-state.
    Fix from Dirk Brandewie.

    - intel_pstate carries out computations using 32-bit variables that
    may overflow for large enough values of APERF/MPERF. Switch to
    using 64-bit variables for computations, from Doug Smythies"

    * tag 'pm-3.15-final' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    intel_pstate: Improve initial busy calculation
    intel_pstate: add sample time scaling
    intel_pstate: Correct rounding in busy calculation
    intel_pstate: Remove C0 tracking

    Linus Torvalds
     
  • Pull drm fixes from Dave Airlie:
    "All fairly small: radeon stability and a panic path fix.

    Mostly radeon fixes, suspend/resume fix, stability on the CIK
    chipsets, along with a locking check avoidance patch for panic times
    regression"

    * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
    drm/radeon: use the CP DMA on CIK
    drm/radeon: sync page table updates
    drm/radeon: fix vm buffer size estimation
    drm/crtc-helper: skip locking checks in panicking path
    drm/radeon/dpm: resume fixes for some systems

    Linus Torvalds
     

03 Jun, 2014

12 commits

  • …/linux into ti-linux-3.15.y

    * 'master' of http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux: (24 commits)
    net: filter: fix possible memory leak in __sk_prepare_filter()
    net: ec_bhf: Add runtime dependencies
    tcp: fix cwnd undo on DSACK in F-RTO
    netlink: Only check file credentials for implicit destinations
    ipheth: Add support for iPad 2 and iPad 3
    team: fix mtu setting
    net: fix inet_getid() and ipv6_select_ident() bugs
    net: qmi_wwan: interface #11 in Sierra Wireless MC73xx is not QMI
    net: qmi_wwan: add additional Sierra Wireless QMI devices
    bridge: Prevent insertion of FDB entry with disallowed vlan
    netlink: rate-limit leftover bytes warning and print process name
    bridge: notify user space after fdb update
    net: qmi_wwan: add Netgear AirCard 341U
    net: fix wrong mac_len calculation for vlans
    batman-adv: fix NULL pointer dereferences
    net/mlx4_core: Reset RoCE VF gids when guest driver goes down
    emac: aggregation of v1-2 PLB errors for IER register
    emac: add missing support of 10mbit in emac/rgmii
    can: only rename enabled led triggers when changing the netdev name
    ipvs: Fix panic due to non-linear skb
    ...

    Signed-off-by: Dan Murphy <DMurphy@ti.com>

    Dan Murphy
     
  • Pull networking fixes from David Miller:

    1) Unbreak zebra and other netlink apps, from Eric W Biederman.

    2) Some new qmi_wwan device IDs, from Aleksander Morgado.

    3) Fix info leak in DCB netlink handler of qlcnic driver, from Dan
    Carpenter.

    4) inet_getid() and ipv6_select_ident() do not generate monotonically
    increasing ID numbers, fix from Eric Dumazet.

    5) Fix memory leak in __sk_prepare_filter(), from Leon Yu.

    6) Netlink leftover bytes warning message is user triggerable, rate
    limit it. From Michal Schmidt.

    7) Fix non-linear SKB panic in ipvs, from Peter Christensen.

    8) Congestion window undo needs to be performed even if only never
    retransmitted data is SACK'd, fix from Yuching Cheng.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (24 commits)
    net: filter: fix possible memory leak in __sk_prepare_filter()
    net: ec_bhf: Add runtime dependencies
    tcp: fix cwnd undo on DSACK in F-RTO
    netlink: Only check file credentials for implicit destinations
    ipheth: Add support for iPad 2 and iPad 3
    team: fix mtu setting
    net: fix inet_getid() and ipv6_select_ident() bugs
    net: qmi_wwan: interface #11 in Sierra Wireless MC73xx is not QMI
    net: qmi_wwan: add additional Sierra Wireless QMI devices
    bridge: Prevent insertion of FDB entry with disallowed vlan
    netlink: rate-limit leftover bytes warning and print process name
    bridge: notify user space after fdb update
    net: qmi_wwan: add Netgear AirCard 341U
    net: fix wrong mac_len calculation for vlans
    batman-adv: fix NULL pointer dereferences
    net/mlx4_core: Reset RoCE VF gids when guest driver goes down
    emac: aggregation of v1-2 PLB errors for IER register
    emac: add missing support of 10mbit in emac/rgmii
    can: only rename enabled led triggers when changing the netdev name
    ipvs: Fix panic due to non-linear skb
    ...

    Linus Torvalds
     
  • …/linux into ti-linux-3.15.y

    * 'master' of http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux:
    libata: Blacklist queued trim for Crucial M500
    md: always set MD_RECOVERY_INTR when interrupting a reshape thread.
    xhci: delete endpoints from bandwidth list before freeing whole device
    staging: r8192e_pci: fix htons error
    usb: pci-quirks: Prevent Sony VAIO t-series from switching usb ports
    md: always set MD_RECOVERY_INTR when aborting a reshape or other "resync".
    USB: cdc-wdm: properly include types.h
    usb: cdc-wdm: export cdc-wdm uapi header
    USB: serial: option: add support for Novatel E371 PCIe card
    USB: ftdi_sio: add NovaTech OrionLXm product ID
    USB: io_ti: fix firmware download on big-endian machines (part 2)
    USB: Avoid runtime suspend loops for HCDs that can't handle suspend/resume
    Staging: speakup: Update __speakup_paste_selection() tty (ab)usage to match vt
    Staging: speakup: Move pasting into a work item
    staging: comedi: ni_daq_700: add mux settling delay
    speakup: fix incorrect perms on speakup_acntsa.c
    x86, vdso: Fix an OOPS accessing the HPET mapping w/o an HPET

    Signed-off-by: Dan Murphy <DMurphy@ti.com>

    Dan Murphy
     
  • Pull two md bugfixes from Neil Brown:
    "Two md bugfixes for possible corruption when restarting reshape

    If a raid5/6 reshape is restarted (After stopping and re-assembling
    the array) and the array is marked read-only (or read-auto), then the
    reshape will appear to complete immediately, without actually moving
    anything around. This can result in corruption.

    There are two patches which do much the same thing in different
    places. They are separate because one is an older bug and so can be
    applied to more -stable kernels"

    * tag 'md/3.15-fixes' of git://neil.brown.name/md:
    md: always set MD_RECOVERY_INTR when interrupting a reshape thread.
    md: always set MD_RECOVERY_INTR when aborting a reshape or other "resync".

    Linus Torvalds
     
  • The ec_bhf driver is specific to the Beckhoff CX embedded PC series.
    These are based on Intel x86 CPU. So we can add a dependency on
    X86, with COMPILE_TEST as an alternative to still allow for broader
    build-testing.

    Signed-off-by: Jean Delvare
    Cc: Darek Marcinkiewicz
    Cc: David S. Miller
    Signed-off-by: David S. Miller

    Jean Delvare
     
  • Queued trim only works for some users with MU05 firmware. Revert to
    blacklisting all firmware versions.

    Introduced by commit d121f7d0cbb8 ("libata: Update queued trim blacklist
    for M5x0 drives") which this effectively reverts, while retaining the
    blacklisting of M550.

    See

    https://bugzilla.kernel.org/show_bug.cgi?id=71371

    for reports of trouble with MU05 firmware.

    Signed-off-by: Martin K. Petersen
    Cc: Alan Cox
    Cc: Tejun Heo
    Cc: stable@vger.kernel.org
    Signed-off-by: Linus Torvalds

    Martin K. Petersen
     
  • Pull USB fixes from Greg KH:
    "Here are some fixes for 3.15-rc8 that resolve a number of tiny USB
    issues that have been reported, and there are some new device ids as
    well.

    All have been tested in linux-next"

    * tag 'usb-3.15-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
    xhci: delete endpoints from bandwidth list before freeing whole device
    usb: pci-quirks: Prevent Sony VAIO t-series from switching usb ports
    USB: cdc-wdm: properly include types.h
    usb: cdc-wdm: export cdc-wdm uapi header
    USB: serial: option: add support for Novatel E371 PCIe card
    USB: ftdi_sio: add NovaTech OrionLXm product ID
    USB: io_ti: fix firmware download on big-endian machines (part 2)
    USB: Avoid runtime suspend loops for HCDs that can't handle suspend/resume

    Linus Torvalds
     
  • Pull staging driver fixes from Greg KH:
    "Here are some staging driver fixes for 3.15.

    Three are for the speakup drivers (one fixes a regression caused in
    3.15-rc, and the other two resolve a tty issue found by Ben Hutchings)
    The comedi and r8192e_pci driver fixes also resolve reported issues"

    * tag 'staging-3.15-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
    staging: r8192e_pci: fix htons error
    Staging: speakup: Update __speakup_paste_selection() tty (ab)usage to match vt
    Staging: speakup: Move pasting into a work item
    staging: comedi: ni_daq_700: add mux settling delay
    speakup: fix incorrect perms on speakup_acntsa.c

    Linus Torvalds
     
  • Each iPad model has a different product id, this patch adds support for iPad 2
    (pid 0x12a2) and iPad 3 (pid 0x12a6). Note that iPad 2 must be jailbroken and a
    third-party app must be used for tethering to work. On iPad 3, tethering works
    out of the box (assuming your ISP is nice).

    Signed-off-by: Kristian Evensen
    Signed-off-by: David S. Miller

    Kristian Evensen
     
  • Now it is not possible to set mtu to team device which has a port
    enslaved to it. The reason is that when team_change_mtu() calls
    dev_set_mtu() for port device, notificator for NETDEV_PRECHANGEMTU
    event is called and team_device_event() returns NOTIFY_BAD forbidding
    the change. So fix this by returning NOTIFY_DONE here in case team is
    changing mtu in team_change_mtu().

    Introduced-by: 3d249d4c "net: introduce ethernet teaming device"
    Signed-off-by: Jiri Pirko
    Acked-by: Flavio Leitner
    Signed-off-by: David S. Miller

    Jiri Pirko
     
  • This interface is unusable, as the cdc-wdm character device doesn't reply to
    any QMI command. Also, the out-of-tree Sierra Wireless GobiNet driver fully
    skips it.

    Signed-off-by: Aleksander Morgado
    Acked-by: Bjørn Mork
    Signed-off-by: David S. Miller

    Aleksander Morgado
     
  • A set of new VID/PIDs retrieved from the out-of-tree GobiNet/GobiSerial
    Sierra Wireless drivers.

    Signed-off-by: Aleksander Morgado
    Acked-by: Bjørn Mork
    Signed-off-by: David S. Miller

    Aleksander Morgado
     

02 Jun, 2014

10 commits

  • This change makes the busy calculation using 64 bit math which prevents
    overflow for large values of aperf/mperf.

    Cc: 3.14+ # 3.14+
    Signed-off-by: Doug Smythies
    Signed-off-by: Dirk Brandewie
    Signed-off-by: Rafael J. Wysocki

    Doug Smythies
     
  • The PID assumes that samples are of equal time, which for a deferable
    timers this is not true when the system goes idle. This causes the
    PID to take a long time to converge to the min P state and depending
    on the pattern of the idle load can make the P state appear stuck.

    The hold-off value of three sample times before using the scaling is
    to give a grace period for applications that have high performance
    requirements and spend a lot of time idle, The poster child for this
    behavior is the ffmpeg benchmark in the Phoronix test suite.

    Cc: 3.14+ # 3.14+
    Signed-off-by: Dirk Brandewie
    Signed-off-by: Rafael J. Wysocki

    Dirk Brandewie
     
  • Changing to fixed point math throughout the busy calculation in
    commit e66c1768 (Change busy calculation to use fixed point
    math.) Introduced some inaccuracies by rounding the busy value at two
    points in the calculation. This change removes roundings and moves
    the rounding to the output of the PID where the calculations are
    complete and the value returned as an integer.

    Fixes: e66c17683746 (intel_pstate: Change busy calculation to use fixed point math.)
    Reported-by: Doug Smythies
    Cc: 3.14+ # 3.14+
    Signed-off-by: Dirk Brandewie
    Signed-off-by: Rafael J. Wysocki

    Dirk Brandewie
     
  • Commit fcb6a15c (intel_pstate: Take core C0 time into account for core
    busy calculation) introduced a regression referenced below. The issue
    with "lockup" after suspend that this commit was addressing is now dealt
    with in the suspend path.

    Fixes: fcb6a15c2e7e (intel_pstate: Take core C0 time into account for core busy calculation)
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=66581
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=75121
    Reported-by: Doug Smythies
    Cc: 3.14+ # 3.14+
    Signed-off-by: Dirk Brandewie
    Signed-off-by: Rafael J. Wysocki

    Dirk Brandewie
     
  • The SDMA sometimes doesn't seem to work reliable.

    Signed-off-by: Christian König
    Cc: stable@vger.kernel.org

    Christian König
     
  • Only necessary if we don't use the same engine for buffer moves and table updates.

    Signed-off-by: Christian König

    Christian König
     
  • Only relevant if we got VM_BLOCK_SIZE>9, but better save than sorry.

    Signed-off-by: Christian König

    Christian König
     
  • Skip locking checks in drm_helper_*_in_use() if they are called in panicking
    path. See similar code in drm_warn_on_modeset_not_all_locked().

    After panic information has been output, these WARN_ONs go off outputing a lot
    of lines and scrolling the panic information out of the screen. Here is a
    partial call trace showing how execution reaches them:

    ? drm_helper_crtc_in_use()
    ? __drm_helper_disable_unused_functions()
    ? several *_set_config functions
    ? drm_fb_helper_restore_fbdev_mode()

    Reviewed-by: Daniel Vetter
    Signed-off-by: Sergei Antonov
    Signed-off-by: Dave Airlie

    Sergei Antonov
     
  • Setting the power state prior to restoring the display
    hardware leads to blank screens on some systems. Drop
    the power state set from dpm resume. The power state
    will get set as part of the mode set sequence. Also
    add an explicit power state set after mode set resume
    to cover PX and headless systems.

    bug:
    https://bugzilla.kernel.org/show_bug.cgi?id=76761

    Signed-off-by: Alex Deucher
    Cc: stable@vger.kernel.org
    Signed-off-by: Dave Airlie

    Alex Deucher
     
  • Signed-off-by: Aleksander Morgado
    Acked-by: Bjørn Mork
    Signed-off-by: David S. Miller

    Aleksander Morgado
     

01 Jun, 2014

2 commits

  • …/linux into ti-linux-3.15.y

    * 'master' of http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux:
    dcache: add missing lockdep annotation
    drm/radeon: Resume fbcon last
    drm/radeon: only allocate necessary size for vm bo list
    drm/radeon: don't allow RADEON_GEM_DOMAIN_CPU for command submission
    drm/radeon: avoid crash if VM command submission isn't available
    drm/radeon: lower the ref * post PLL maximum once more
    rtmutex: Fix deadlock detector for real
    drm/i915: Prevent negative relocation deltas from wrapping
    drm/i915: Only copy back the modified fields to userspace from execbuffer
    drm/i915: Fix dynamic allocation of physical handles
    futex: Prevent attaching to kernel threads
    futex: Add another early deadlock detection check

    Signed-off-by: Dan Murphy <DMurphy@ti.com>

    Dan Murphy
     
  • Pull drm fixes from Dave Airlie:
    "Mostly quiet now:

    i915:
    fixing userspace visiblie issues, all stable marked

    radeon:
    one more pll fix, two crashers, one suspend/resume regression"

    * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
    drm/radeon: Resume fbcon last
    drm/radeon: only allocate necessary size for vm bo list
    drm/radeon: don't allow RADEON_GEM_DOMAIN_CPU for command submission
    drm/radeon: avoid crash if VM command submission isn't available
    drm/radeon: lower the ref * post PLL maximum once more
    drm/i915: Prevent negative relocation deltas from wrapping
    drm/i915: Only copy back the modified fields to userspace from execbuffer
    drm/i915: Fix dynamic allocation of physical handles

    Linus Torvalds
     

31 May, 2014

9 commits

  • Marc Kleine-Budde says:

    ====================
    pull-request: can 2014-05-28

    here's a pull request for v3.15, hope it's not too late.

    Oliver Hartkopp fixed a bug in the CAN led trigger device renaming code.
    ====================

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Reset the GIDs assigned to a VF in the port RoCE GID table when
    that guest goes down (either crashes or goes down cleanly).

    As part of this fix, we refactor the RoCE gid table driver copy,
    moving it to the mlx4_port_info structure (together with the MAC
    and VLAN tables).

    As with the MAC and VLAN tables, we now use a mutex per port
    for the GID table so that modifying the driver copy and
    modifying the firmware copy of a port GID table becomes an
    atomic operation (thus avoiding driver-copy/FW-copy mismatches).

    Signed-off-by: Jack Morgenstein
    Signed-off-by: Or Gerlitz
    Signed-off-by: David S. Miller

    Jack Morgenstein
     
  • Aggreagation of version 1-2 because of version 1 can hit
    PLB errors too. If it's not set so we missing events for PLB bits
    and driver can't process those interrupts.

    Signed-off-by: Ivan Mikhaylov
    Signed-off-by: David S. Miller

    Ivan Mikhaylov
     
  • In chips of emac/rgmii b'000' for 0/1 channel isn't suitable which
    resulted in non working network interface in this mode.

    Signed-off-by: Ivan Mikhaylov
    Signed-off-by: David S. Miller

    Ivan Mikhaylov
     
  • So a few people complained that

    commit 177cf92de4aa97ec1435987e91696ed8b5023130
    Author: Daniel Vetter
    Date: Tue Apr 1 22:14:59 2014 +0200

    drm/crtc-helpers: fix dpms on logic

    which was merged into 3.15-rc1, broke resume on radeons. Strangely git
    bisect lead everyone to

    commit 25f397a429dfa43f22c278d0119a60a343aa568f
    Author: Daniel Vetter
    Date: Fri Jul 19 18:57:11 2013 +0200

    drm/crtc-helper: explicit DPMS on after modeset

    which was merged long ago and actually part of 3.14.

    Digging deeper I've noticed (again) that the call to
    drm_helper_resume_force_mode in the radeon resume handlers was a no-op
    previously because everything gets shut down on suspend. radeon does
    this with explicit calls to drm_helper_connector_dpms with DPMS_OFF.
    But with 177c we now force the dpms state to ON, so suddenly
    resume_force_mode actually forced the crtcs back on.

    This is the intention of the change after all, the problem is that
    radeon resumes the fbdev console layer _before_ restoring the display,
    through calling fb_set_suspend. And fbcon does an immediate ->set_par,
    which in turn causes the same forced mode restore to happen.

    Two concurrent modeset operations didn't lead to happiness. Fix this
    by delaying the fbcon resume until the end of the readeon resum
    functions.

    v2: Fix up a bit of the spelling fail.

    References: https://lkml.org/lkml/2014/5/29/1043
    References: https://lkml.org/lkml/2014/5/2/388
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=74751
    Tested-by: Ken Moffat
    Cc: Alex Deucher
    Cc: Ken Moffat
    Signed-off-by: Daniel Vetter
    Signed-off-by: Dave Airlie

    Daniel Vetter
     
  • …/linux into ti-linux-3.15.y

    * 'master' of http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux:
    x86_64: expand kernel stack to 16K
    firewire: revert to 4 GB RDMA, fix protocols using Memory Space
    dm mpath: really fix lockdep warning
    dm cache: always split discards on cache block boundaries
    Input: synaptics - change min/max quirk table to pnp-id matching
    Input: synaptics - add a matches_pnp_id helper function
    Input: synaptics - T540p - unify with other LEN0034 models
    dm thin: add 'no_space_timeout' dm-thin-pool module param
    Input: synaptics - add min/max quirk for the ThinkPad W540
    Input: ambakmi - request a shared interrupt for AMBA KMI devices
    Input: pxa27x-keypad - fix generating scancode
    Input: atmel-wm97xx - only build for AVR32
    Input: fix ps2/serio module dependency

    Signed-off-by: Dan Murphy <DMurphy@ti.com>

    Dan Murphy
     
  • Pull input subsystem fixes from Dmitry Torokhov:
    "A couple of driver/build fixups and also redone quirk for Synaptics
    touchpads on Lenovo boxes (now using PNP IDs instead of DMI data to
    limit number of quirks)"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: synaptics - change min/max quirk table to pnp-id matching
    Input: synaptics - add a matches_pnp_id helper function
    Input: synaptics - T540p - unify with other LEN0034 models
    Input: synaptics - add min/max quirk for the ThinkPad W540
    Input: ambakmi - request a shared interrupt for AMBA KMI devices
    Input: pxa27x-keypad - fix generating scancode
    Input: atmel-wm97xx - only build for AVR32
    Input: fix ps2/serio module dependency

    Linus Torvalds
     
  • Pull firewire fix from Stefan Richter:
    "A regression fix for the IEEE 1394 subsystem: re-enable IRQ-based
    asynchronous request reception at addresses below 128 TB"

    * tag 'firewire-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394:
    firewire: revert to 4 GB RDMA, fix protocols using Memory Space

    Linus Torvalds
     
  • Pull device-mapper fixes from Mike Snitzer:
    "A dm-cache stable fix to split discards on cache block boundaries
    because dm-cache cannot yet handle discards that span cache blocks.

    Really fix a dm-mpath LOCKDEP warning that was introduced in -rc1.

    Add a 'no_space_timeout' control to dm-thinp to restore the ability to
    queue IO indefinitely when no data space is available. This fixes a
    change in behavior that was introduced in -rc6 where the timeout
    couldn't be disabled"

    * tag 'dm-3.15-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
    dm mpath: really fix lockdep warning
    dm cache: always split discards on cache block boundaries
    dm thin: add 'no_space_timeout' dm-thin-pool module param

    Linus Torvalds
     

30 May, 2014

3 commits