1. 30 Jul, 2014 1 commit
    • David Vrabel's avatar
      x86/xen: safely map and unmap grant frames when in atomic context · b7dd0e35
      David Vrabel authored
      arch_gnttab_map_frames() and arch_gnttab_unmap_frames() are called in
      atomic context but were calling alloc_vm_area() which might sleep.
      
      Also, if a driver attempts to allocate a grant ref from an interrupt
      and the table needs expanding, then the CPU may already by in lazy MMU
      mode and apply_to_page_range() will BUG when it tries to re-enable
      lazy MMU mode.
      
      These two functions are only used in PV guests.
      
      Introduce arch_gnttab_init() to allocates the virtual address space in
      advance.
      
      Avoid the use of apply_to_page_range() by using saving and using the
      array of PTE addresses from the alloc_vm_area() call (which ensures
      that the required page tables are pre-allocated).
      Signed-off-by: default avatarDavid Vrabel <david.vrabel@citrix.com>
      Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      b7dd0e35
  2. 04 Jul, 2014 1 commit
  3. 03 Jul, 2014 1 commit
  4. 18 Jun, 2014 2 commits
  5. 05 Jun, 2014 2 commits
  6. 27 May, 2014 1 commit
  7. 23 May, 2014 6 commits
  8. 15 May, 2014 7 commits
  9. 12 May, 2014 2 commits
  10. 09 May, 2014 1 commit
  11. 08 May, 2014 1 commit
  12. 24 Apr, 2014 2 commits
    • Julien Grall's avatar
      arm/xen: Remove definiition of virt_to_pfn in asm/xen/page.h · adc01864
      Julien Grall authored
      virt_to_pfn has been defined in asm/memory.h by the commit e26a9e00 "ARM: Better
      virt_to_page() handling"
      
      This will result of a compilation warning when CONFIG_XEN is enabled.
      
      arch/arm/include/asm/xen/page.h:80:0: warning: "virt_to_pfn" redefined [enabled by default]
       #define virt_to_pfn(v)          (PFN_DOWN(__pa(v)))
       ^
      In file included from arch/arm/include/asm/page.h:163:0,
                       from arch/arm/include/asm/xen/page.h:4,
                       from include/xen/page.h:4,
                       from arch/arm/xen/grant-table.c:33:
      
      The definition in memory.h is nearly the same (it directly expand PFN_DOWN),
      so we can safely drop virt_to_pfn in xen include.
      Signed-off-by: default avatarJulien Grall <julien.grall@linaro.org>
      Signed-off-by: default avatarDavid Vrabel <david.vrabel@citrix.com>
      adc01864
    • Ian Campbell's avatar
      arm: xen: implement multicall hypercall support. · 5e40704e
      Ian Campbell authored
      As part of this make the usual change to xen_ulong_t in place of unsigned long.
      This change has no impact on x86.
      
      The Linux definition of struct multicall_entry.result differs from the Xen
      definition, I think for good reasons, and used a long rather than an unsigned
      long. Therefore introduce a xen_long_t, which is a long on x86 architectures
      and a signed 64-bit integer on ARM.
      
      Use uint32_t nr_calls on x86 for consistency with the ARM definition.
      
      Build tested on amd64 and i386 builds. Runtime tested on ARM.
      Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
      Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
      Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
      Signed-off-by: default avatarDavid Vrabel <david.vrabel@citrix.com>
      5e40704e
  13. 23 Apr, 2014 4 commits
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · 1aae31c8
      Linus Torvalds authored
      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()
      1aae31c8
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 6db8148c
      Linus Torvalds authored
      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
      6db8148c
    • Jordan Rife's avatar
      Input: elantech - add support for newer elantech touchpads · ae4bedf0
      Jordan Rife authored
      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: default avatarJordan Rife <jrife0@gmail.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      ae4bedf0
    • Lejun Zhu's avatar
      Input: soc_button_array - fix a crash during rmmod · 7740fc52
      Lejun Zhu authored
      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: default avatarLejun Zhu <lejun.zhu@linux.intel.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      7740fc52
  14. 22 Apr, 2014 9 commits