Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Apr 23, 2014

  1. Linus Torvalds

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/dtor/input
    
    Pull input updates from Dmitry Torokhov:
     "The main change is that we now publish "firmware ID" for the serio
      devices to help userspace figure out the kind of touchpads it is
      dealing with: i8042 will export PS/2 port's PNP IDs as firmware IDs.
    
      You will also get more quirks for Synaptics touchpads in various
      Lenovo laptops, a change to elantech driver to recognize even more
      models, and fixups to wacom and couple other drivers"
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
      Input: elantech - add support for newer elantech touchpads
      Input: soc_button_array - fix a crash during rmmod
      Input: synaptics - add min/max quirk for ThinkPad T431s, L440, L540, S1 Yoga and X1
      Input: synaptics - report INPUT_PROP_TOPBUTTONPAD property
      Input: Add INPUT_PROP_TOPBUTTONPAD device property
      Input: i8042 - add firmware_id support
      Input: serio - add firmware_id sysfs attribute
      Input: wacom - handle 1024 pressure levels in wacom_tpc_pen
      Input: wacom - references to 'wacom->data' should use 'unsigned char*'
      Input: wacom - override 'pressure_max' with value from HID_USAGE_PRESSURE
      Input: wacom - use full 32-bit HID Usage value in switch statement
      Input: wacom - missed the last bit of expresskey for DTU-1031
      Input: ads7846 - fix device usage within attribute show
      Input: da9055_onkey - remove use of regmap_irq_get_virq()
    authored April 23, 2014
  2. Linus Torvalds

    Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux

    Pull radeon drm fixes from Dave Airlie:
     "This is just radeon fixes, primarily the two pll fix and the aux fix,
      it also disables dpm on rv770 gpus, fixes driver reloading, and fixes
      two issues with runtime PM on some GPUS"
    
    * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
      drm/radeon: don't allow runpm=1 on systems with out ATPX
      drm/radeon: fix ATPX detection on non-VGA GPUs
      drm/radeon/pm: don't walk the crtc list before it has been initialized (v2)
      drm/radeon: properly unregister hwmon interface (v2)
      drm/radeon: fix count in cik_sdma_ring_test()
      drm/radeon/aux: fix hpd assignment for aux bus
      drm/radeon: improve PLL limit handling in post div calculation
      drm/radeon: use fixed PPL ref divider if needed
      drm/radeon: disable dpm on rv770 by default
    authored April 23, 2014
  3. jrife

    Input: elantech - add support for newer elantech touchpads

    Newer elantech touchpads are not recognized by the current driver, since it
    fails to detect their firmware version number. This prevents more advanced
    touchpad features from being usable such as two-finger scrolling. This
    patch allows newer touchpads to be detected and be fully functional. Tested
    on Sony Vaio SVF13N17PXB.
    
    Signed-off-by: Jordan Rife <jrife0@gmail.com>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    authored April 22, 2014 dtor committed April 22, 2014
  4. Input: soc_button_array - fix a crash during rmmod

    When the system has zero or one button available, trying to rmmod
    soc_button_array will cause crash. Fix this by properly handling -ENODEV
    in probe().
    
    Signed-off-by: Lejun Zhu <lejun.zhu@linux.intel.com>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    authored April 22, 2014 dtor committed April 22, 2014

Apr 22, 2014

  1. Merge branch 'drm-fixes-3.15' of git://people.freedesktop.org/~deaths…

    …imple/linux into drm-next
    
    1. Further PLL parameter fixes.
    2. Fixes for HPD on DP
    3. Could of different PM fixes
    4. Disabling DPM on RV770
    
    * 'drm-fixes-3.15' of git://people.freedesktop.org/~deathsimple/linux:
      drm/radeon: don't allow runpm=1 on systems with out ATPX
      drm/radeon: fix ATPX detection on non-VGA GPUs
      drm/radeon/pm: don't walk the crtc list before it has been initialized (v2)
      drm/radeon: properly unregister hwmon interface (v2)
      drm/radeon: fix count in cik_sdma_ring_test()
      drm/radeon/aux: fix hpd assignment for aux bus
      drm/radeon: improve PLL limit handling in post div calculation
      drm/radeon: use fixed PPL ref divider if needed
      drm/radeon: disable dpm on rv770 by default
    authored April 23, 2014
  2. Linus Torvalds

    mm: make fixup_user_fault() check the vma access rights too

    fixup_user_fault() is used by the futex code when the direct user access
    fails, and the futex code wants it to either map in the page in a usable
    form or return an error.  It relied on handle_mm_fault() to map the
    page, and correctly checked the error return from that, but while that
    does map the page, it doesn't actually guarantee that the page will be
    mapped with sufficient permissions to be then accessed.
    
    So do the appropriate tests of the vma access rights by hand.
    
    [ Side note: arguably handle_mm_fault() could just do that itself, but
      we have traditionally done it in the caller, because some callers -
      notably get_user_pages() - have been able to access pages even when
      they are mapped with PROT_NONE.  Maybe we should re-visit that design
      decision, but in the meantime this is the minimal patch. ]
    
    Found by Dave Jones running his trinity tool.
    
    Reported-by: Dave Jones <davej@redhat.com>
    Acked-by: Hugh Dickins <hughd@google.com>
    Cc: stable@vger.kernel.org
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored April 22, 2014
  3. Linus Torvalds

    Merge tag 'gpio-v3.15-2' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/linusw/linux-gpio
    
    Pull gpio fixes from Linus Walleij:
     "A small batch of GPIO fixes for the v3.15 series.  I expect more to
      come in but I'm a bit behind on mail, might as well get these to you
      right now:
    
       - Change a crucial semantic ordering in the GPIO irqchip helpers
    
       - Fix two nasty regressions in the ACPI gpiolib extensions"
    
    * tag 'gpio-v3.15-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio:
      gpio / ACPI: Prevent potential wrap of GPIO value on OpRegion read
      gpio / ACPI: Don't crash on NULL chip->dev
      gpio: set data first, then chip and handler
    authored April 22, 2014
  4. Linus Torvalds

    Merge branch 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/tip/tip
    
    Pull x86 vdso fix from Peter Anvin:
     "This is a single build fix for building with gold as opposed to GNU
      ld.  It got queued up separately and was expected to be pushed during
      the merge window, but it got left behind"
    
    * 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86, vdso: Make the vdso linker script compatible with Gold
    authored April 22, 2014
  5. drm/radeon: don't allow runpm=1 on systems with out ATPX

    vgaswitcheroo and the ATPX ACPI methods are required to
    power down the dGPU.
    
    bug:
    https://bugzilla.kernel.org/show_bug.cgi?id=73901
    
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Cc: stable@vger.kernel.org
    authored April 15, 2014 Christian König committed April 22, 2014
  6. drm/radeon: fix ATPX detection on non-VGA GPUs

    Some newer PX laptops have the pci device class
    set to DISPLAY_OTHER rather than DISPLAY_VGA.  This
    properly detects ATPX on those laptops.
    
    Based on a patch from: Pali Rohár <pali.rohar@gmail.com>
    
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Cc: stable@vger.kernel.org
    Cc: airlied@gmail.com
    authored April 15, 2014 Christian König committed April 22, 2014
  7. drm/radeon/pm: don't walk the crtc list before it has been initialize…

    …d (v2)
    
    Avoids a crash in certain cases when thermal irqs are generated
    before the display structures have been initialized.
    
    v2: fix the vblank and vrefresh helpers as well
    
    bug:
    https://bugzilla.kernel.org/show_bug.cgi?id=73931
    
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Cc: stable@vger.kernel.org
    authored April 15, 2014 Christian König committed April 22, 2014
  8. drm/radeon: properly unregister hwmon interface (v2)

    Need to properly unregister the hwmon device on driver
    unload.
    
    v2: minor clean up
    
    bug:
    https://bugzilla.kernel.org/show_bug.cgi?id=73931
    
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Cc: stable@vger.kernel.org
    authored April 15, 2014 Christian König committed April 22, 2014
  9. drm/radeon: fix count in cik_sdma_ring_test()

    Should be 5 rather than 4.
    
    Noticed-by: Mathias Fröhlich <Mathias.Froehlich@gmx.net>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Cc: stable@vger.kernel.org
    Signed-off-by: Christian König <christian.koenig@amd.com>
    authored April 22, 2014 Christian König committed April 22, 2014
  10. drm/radeon/aux: fix hpd assignment for aux bus

    The hpd (hot plug detect) pin assignment got lost
    in the conversion to to the common i2c over aux
    code.  Without this information, aux transactions
    do not work properly.  Fixes DP failures.
    
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: Christian König <christian.koenig@amd.com>
    authored April 22, 2014 Christian König committed April 22, 2014

Apr 21, 2014

  1. Linus Torvalds

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/rw/uml
    
    Pull UML fixes from Richard Weinberger:
     "Assorted fixes for UML"
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml:
      um: Memory corruption on startup
      um: Missing pipe handling
      uml: Simplify tempdir logic.
    authored April 21, 2014
  2. Linus Torvalds

    Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/tytso/ext4
    
    Pull ext4 fixes from Ted Ts'o:
     "These are regression and bug fixes for ext4.
    
      We had a number of new features in ext4 during this merge window
      (ZERO_RANGE and COLLAPSE_RANGE fallocate modes, renameat, etc.) so
      there were many more regression and bug fixes this time around.  It
      didn't help that xfstests hadn't been fully updated to fully stress
      test COLLAPSE_RANGE until after -rc1"
    
    * tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: (31 commits)
      ext4: disable COLLAPSE_RANGE for bigalloc
      ext4: fix COLLAPSE_RANGE failure with 1KB block size
      ext4: use EINVAL if not a regular file in ext4_collapse_range()
      ext4: enforce we are operating on a regular file in ext4_zero_range()
      ext4: fix extent merging in ext4_ext_shift_path_extents()
      ext4: discard preallocations after removing space
      ext4: no need to truncate pagecache twice in collapse range
      ext4: fix removing status extents in ext4_collapse_range()
      ext4: use filemap_write_and_wait_range() correctly in collapse range
      ext4: use truncate_pagecache() in collapse range
      ext4: remove temporary shim used to merge COLLAPSE_RANGE and ZERO_RANGE
      ext4: fix ext4_count_free_clusters() with EXT4FS_DEBUG and bigalloc enabled
      ext4: always check ext4_ext_find_extent result
      ext4: fix error handling in ext4_ext_shift_extents
      ext4: silence sparse check warning for function ext4_trim_extent
      ext4: COLLAPSE_RANGE only works on extent-based files
      ext4: fix byte order problems introduced by the COLLAPSE_RANGE patches
      ext4: use i_size_read in ext4_unaligned_aio()
      fs: disallow all fallocate operation on active swapfile
      fs: move falloc collapse range check into the filesystem methods
      ...
    authored April 20, 2014

Apr 20, 2014

  1. arivanov

    um: Memory corruption on startup

    The reverse case of this race (you must msync before read) is
    well known. This is the not so common one.
    
    It can be triggered only on systems which do a lot of task
    switching and only at UML startup. If you are starting 200+ UMLs
    ~ 0.5% will always die without this fix.
    
    Signed-off-by: Anton Ivanov <antivano@cisco.com>
    [rw: minor whitespace fixes]
    Signed-off-by: Richard Weinberger <richard@nod.at>
    authored March 07, 2014 richardweinberger committed April 20, 2014
  2. arivanov

    um: Missing pipe handling

    UML does not handle sigpipe. As a result when running it under
    expect or redirecting the IO from the console to an external program
    it will crash if the program stops or exits.
    
    Signed-off-by: Anton Ivanov <antivano@cisco.com>
    Signed-off-by: Richard Weinberger <richard@nod.at>
    authored March 07, 2014 richardweinberger committed April 20, 2014
  3. uml: Simplify tempdir logic.

    Inferring the mount hierarchy correctly from /proc/mounts is hard when MS_MOVE
    may have been used, and the previous code did it wrongly. This change simplifies
    the logic to only require that /dev/shm be _on_ tmpfs (which can be checked
    trivially with statfs) rather than that it be a _mountpoint_ of tmpfs, since
    there isn't a compelling reason to be that strict. We also now check for tmpfs
    on whatever directory we ultimately use so that the user is better informed.
    
    This change also moves the more standard TMPDIR environment variable check ahead
    of the others.
    
    Applies to 3.12.
    
    Signed-off-by: Tristan Schmelcher <tschmelcher@google.com>
    Signed-off-by: Richard Weinberger <richard@nod.at>
    authored November 11, 2013 richardweinberger committed April 20, 2014
  4. Linus Torvalds

    Linux 3.15-rc2

    authored April 20, 2014
  5. Linus Torvalds

    Merge branch 'fixes' of git://git.infradead.org/users/vkoul/slave-dma

    Pull slave-dmaengine fixes from Vinod Koul:
     "Back from long weekend here in India and now the time to send fixes
      for slave dmaengine.
       - Dan's fix of sirf xlate code
       - Jean's fix for timberland
       - edma fixes by Sekhar for SG handling and Yuan for changing init
         call"
    
    * 'fixes' of git://git.infradead.org/users/vkoul/slave-dma:
      dma: fix eDMA driver as a subsys_initcall
      dmaengine: sirf: off by one in of_dma_sirfsoc_xlate()
      platform: Fix timberdale dependencies
      dma: edma: fix incorrect SG list handling
    authored April 20, 2014
  6. Linus Torvalds

    Merge tag 'iommu-fixes-v3.15-rc1' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/joro/iommu
    
    Pull iommu fixes from Joerg Roedel:
     "Fixes for regressions:
    
       - fix wrong IOMMU enumeration causing some SCSI device drivers
         initialization failures
       - ARM-SMMU fixes for a panic condition and a wrong return value"
    
    * tag 'iommu-fixes-v3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
      iommu/arm-smmu: fix panic in arm_smmu_alloc_init_pte
      iommu/arm-smmu: Return 0 on unmap failure
      iommu/vt-d: fix bug in matching PCI devices with DRHD/RMRR descriptors
      iommu/vt-d: Fix get_domain_for_dev() handling of upstream PCIe bridges
      iommu/vt-d: fix memory leakage caused by commit ea8ea46
    authored April 20, 2014
  7. Linus Torvalds

    Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/tip/tip
    
    Pull perf tooling fixes from Ingo Molnar:
     "Three small tooling fixes"
    
    * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      perf tools: Improve error reporting
      perf tools: Adjust symbols in VDSO
      perf kvm: Fix 'Min time' counting in report command
    authored April 20, 2014
  8. drm/radeon: improve PLL limit handling in post div calculation

    This improves the PLL parameters when we work at
    the limits of the allowed ranges.
    
    Signed-off-by: Christian König <christian.koenig@amd.com>
    authored April 20, 2014
  9. Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/jolsa/perf into perf/urgent
    
    Pull perf/urgent fixes from Jiri Olsa:
    
    User visible changes:
    
      * Adjust symbols in VDSO to properly resolve its function names (Vladimir Nikulichev)
    
      * Improve error reporting for record session failure (Adrien BAK)
    
      * Fix 'Min time' counting in report command (Alexander Yarygin)
    
    Signed-off-by: Jiri Olsa <jolsa@redhat.com>
    Signed-off-by: Ingo Molnar <mingo@kernel.org>
    authored April 20, 2014
  10. Hans de Goede

    Input: synaptics - add min/max quirk for ThinkPad T431s, L440, L540, …

    …S1 Yoga and X1
    
    We expect that all the Haswell series will need such quirks, sigh.
    
    The T431s seems to be T430 hardware in a T440s case, using the T440s touchpad,
    with the same min/max issue.
    
    The X1 Carbon 3rd generation name says 2nd while it is a 3rd generation.
    
    The X1 and T431s share a PnPID with the T540p, but the reported ranges are
    closer to those of the T440s.
    
    HdG: Squashed 5 quirk patches into one. T431s + L440 + L540 are written by me,
    S1 Yoga and X1 are written by Benjamin Tissoires.
    
    Hdg: Standardized S1 Yoga and X1 values, Yoga uses the same touchpad as the
    X240, X1 uses the same touchpad as the T440.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    authored April 19, 2014 dtor committed April 19, 2014
  11. Hans de Goede

    Input: synaptics - report INPUT_PROP_TOPBUTTONPAD property

    Check PNP ID of the PS/2 AUX port and report INPUT_PROP_TOPBUTTONPAD
    property for for touchpads with top button areas.
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    authored April 19, 2014 dtor committed April 19, 2014
  12. Hans de Goede

    Input: Add INPUT_PROP_TOPBUTTONPAD device property

    On some newer laptops with a trackpoint the physical buttons for the
    trackpoint have been removed to allow for a larger touchpad. On these
    laptops the buttonpad has clearly marked areas on the top which are to be
    used as trackpad buttons.
    
    Users of the event device-node need to know about this, so that they can
    properly interpret BTN_LEFT events as being a left / right / middle click
    depending on where on the button pad the clicking finger is.
    
    This commits adds a INPUT_PROP_TOPBUTTONPAD device property which drivers
    for such buttonpads will use to signal to the user that this buttonpad not
    only has the normal bottom button area, but also a top button area.
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    authored April 19, 2014 dtor committed April 19, 2014
  13. Hans de Goede

    Input: i8042 - add firmware_id support

    Fill in the new serio firmware_id sysfs attribute for pnp instantiated
    8042 serio ports.
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    authored April 19, 2014 dtor committed April 19, 2014
  14. Hans de Goede

    Input: serio - add firmware_id sysfs attribute

    serio devices exposed via platform firmware interfaces such as ACPI may
    provide additional identifying information of use to userspace.
    
    We don't associate the serio devices with the firmware device (we don't
    set it as parent), so there's no way for userspace to make use of this
    information.
    
    We cannot change the parent for serio devices instantiated though a
    firmware interface as that would break suspend / resume ordering.
    
    Therefore this patch adds a new firmware_id sysfs attribute so that
    userspace can get a string from there with any additional identifying
    information the firmware interface may provide.
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    authored April 19, 2014 dtor committed April 19, 2014

Apr 19, 2014

  1. Adrien BAK

    perf tools: Improve error reporting

    In the current version, when using perf record, if something goes
    wrong in tools/perf/builtin-record.c:375
      session = perf_session__new(file, false, NULL);
    
    The error message:
    "Not enough memory for reading per file header"
    
    is issued. This error message seems to be outdated and is not very
    helpful. This patch proposes to replace this error message by
    "Perf session creation failed"
    
    I believe this issue has been brought to lkml:
    https://lkml.org/lkml/2014/2/24/458
    although this patch only tackles a (small) part of the issue.
    
    Additionnaly, this patch improves error reporting in
    tools/perf/util/data.c open_file_write.
    
    Currently, if the call to open fails, the user is unaware of it.
    This patch logs the error, before returning the error code to
    the caller.
    
    Reported-by: Will Deacon <will.deacon@arm.com>
    Signed-off-by: Adrien BAK <adrien.bak@metascale.org>
    Link: http://lkml.kernel.org/r/1397786443.3093.4.camel@beast
    [ Reorganize the changelog into paragraphs ]
    [ Added empty line after fd declaration in open_file_write ]
    Signed-off-by: Jiri Olsa <jolsa@redhat.com>
    authored April 18, 2014 Jiri Olsa committed April 20, 2014
  2. perf tools: Adjust symbols in VDSO

    pert-report doesn't resolve function names in VDSO:
    
    $ perf report --stdio -g flat,0.0,15,callee --sort pid
    ...
                8.76%
                   0x7fff6b1fe861
                   __gettimeofday
                   ACE_OS::gettimeofday()
    ...
    
    In this case symbol values should be adjusted the same way as for executables,
    relocatable objects and prelinked libraries.
    
    After fix:
    
    $ perf report --stdio -g flat,0.0,15,callee --sort pid
    ...
                8.76%
                   __vdso_gettimeofday
                   __gettimeofday
                   ACE_OS::gettimeofday()
    
    Signed-off-by: Vladimir Nikulichev <nvs@tbricks.com>
    Tested-by: Namhyung Kim <namhyung@kernel.org>
    Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
    Link: http://lkml.kernel.org/r/969812.163009436-sendEmail@nvs
    Signed-off-by: Jiri Olsa <jolsa@redhat.com>
    authored April 17, 2014 Jiri Olsa committed April 20, 2014
  3. perf kvm: Fix 'Min time' counting in report command

    Every event in the perf-kvm has a 'stats' structure, which contains
    max/min/average/etc times of handling this event.
    The problem is that the 'perf-kvm stat report' command always shows
    that 'min time' is 0us for every event. Example:
    
     # perf kvm stat report
    
     Analyze events for all VCPUs:
    
        VM-EXIT    Samples  Samples%     Time%   Min Time   Max Time Avg time
      [..]
      0xB2 MSCH         12     0.07%     0.00%        0us        8us 7.31us ( +-   2.11% )
      0xB2 CHSC         12     0.07%     0.00%        0us       18us 9.39us ( +-   9.49% )
      0xB2 STPX          8     0.05%     0.00%        0us        2us 1.88us ( +-   7.18% )
      0xB2 STSI          7     0.04%     0.00%        0us       44us 16.49us ( +-  38.20% )
      [..]
    
    This happens because the 'stats' structure is not initialized and
    stats->min equals to 0. Lets initialize the structure for every
    event after its allocation using init_stats() function. This initializes
    stats->min to -1 and makes 'Min time' statistics counting work:
    
     # perf kvm stat report
    
     Analyze events for all VCPUs:
    
        VM-EXIT    Samples  Samples%     Time%   Min Time   Max Time Avg time
      [..]
      0xB2 MSCH         12     0.07%     0.00%        6us        8us 7.31us ( +-   2.11% )
      0xB2 CHSC         12     0.07%     0.00%        7us       18us 9.39us ( +-   9.49% )
      0xB2 STPX          8     0.05%     0.00%        1us        2us 1.88us ( +-   7.18% )
      0xB2 STSI          7     0.04%     0.00%        1us       44us 16.49us ( +-  38.20% )
      [..]
    
    Signed-off-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com>
    Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
    Reviewed-by: David Ahern <dsahern@gmail.com>
    Link: http://lkml.kernel.org/r/1397053319-2130-3-git-send-email-borntraeger@de.ibm.com
    [ Fixing the perf examples changelog output ]
    Signed-off-by: Jiri Olsa <jolsa@redhat.com>
    authored April 09, 2014 Jiri Olsa committed April 20, 2014
  4. Jason Gerecke

    Input: wacom - handle 1024 pressure levels in wacom_tpc_pen

    Some tablet PC sensors (e.g. the 0xEC found in the Thinkpad Yoga) report
    more than 256 pressure levels and will experience wraparound unless the
    full range is read.
    
    Signed-off-by: Jason Gerecke <killertofu@gmail.com>
    Tested-by: Aaron Skomra <Aaron.Skomra@wacom.com>
    Reviewed-by: Carl Worth <cworth@cworth.org>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    authored April 19, 2014 dtor committed April 19, 2014
  5. Jason Gerecke

    Input: wacom - references to 'wacom->data' should use 'unsigned char*'

    'wacom->data' contains raw binary data and can lead to unexpected behavior
    if a byte under examination happens to have its MSB set.
    
    Signed-off-by: Jason Gerecke <killertofu@gmail.com>
    Tested-by: Aaron Skomra <Aaron.Skomra@wacom.com>
    Reviewed-by: Carl Worth <cworth@cworth.org>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    authored April 19, 2014 dtor committed April 19, 2014
Something went wrong with that request. Please try again.