1. 11 5月, 2012 1 次提交
    • J
      HID: logitech: read all 32 bits of report type bitfield · 44d27f7d
      Jonathan Nieder 提交于
      On big-endian systems (e.g., Apple PowerBook), trying to use a
      logitech wireless mouse with the Logitech Unifying Receiver does not
      work with v3.2 and later kernels.  The device doesn't show up in
      /dev/input.  Older kernels work fine.
      
      That is because the new hid-logitech-dj driver claims the device.  The
      device arrival notification appears:
      
      	20 00 41 02 00 00 00 00 00 00 00 00 00 00 00
      
      and we read the report_types bitfield (02 00 00 00) to find out what
      kind of device it is.  Unfortunately the driver only reads the first 8
      bits and treats that value as a 32-bit little-endian number, so on a
      powerpc the report type seems to be 0x02000000 and is not recognized.
      
      Even on little-endian machines, connecting a media center remote
      control (report type 00 01 00 00) with this driver loaded would
      presumably fail for the same reason.
      
      Fix both problems by using get_unaligned_le32() to read all four
      bytes, which is a little clearer anyway.  After this change, the
      wireless mouse works on Hugo's PowerBook again.
      
      Based on a patch by Nestor Lopez Casado.
      Addresses http://bugs.debian.org/671292Reported-by: NHugo Osvaldo Barrera <hugo@osvaldobarrera.com.ar>
      Inspired-by: NNestor Lopez Casado <nlopezcasad@logitech.com>
      Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NNestor Lopez Casado <nlopezcasad@logitech.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      44d27f7d
  2. 09 5月, 2012 1 次提交
  3. 24 4月, 2012 2 次提交
  4. 21 4月, 2012 2 次提交
  5. 20 4月, 2012 3 次提交
    • L
      Merge branch 'for-3.4' of git://linux-nfs.org/~bfields/linux · c6f5c930
      Linus Torvalds 提交于
      Pull nfsd bugfixes from J. Bruce Fields:
       "One bugfix, and one minor header fix from Jeff Layton while we're
        here"
      
      * 'for-3.4' of git://linux-nfs.org/~bfields/linux:
        nfsd: include cld.h in the headers_install target
        nfsd: don't fail unchecked creates of non-special files
      c6f5c930
    • L
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 19853301
      Linus Torvalds 提交于
      Pull drm fixes from Dave Airlie:
       "It's like a grab bag of one liners:
      
        - core: fix page flip error path, reorder object teardown.
        - usb: fix the drm_usb module license.
        - i915: VT switch on SNB with non-native modes fix, and a regression
          fix from 3.3.
        - radeon: missing unreserve on SI, AGP/VRAM setup fix (fixes radeon on
          IA64, but its a generic bug), an rn50 regression from 3.3, turn off
          MSIs on rv515 (it loses rearms every so often)."
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        nouveau: Set special lane map for the right chipset
        drm/radeon: fix load detect on rn50 with hardcoded EDIDs.
        drm: Releasing FBs before releasing GEM objects during drm_release
        drm/nouveau/pm: don't read/write beyond end of stack buffer
        drivers: gpu: drm: gma500: mdfld_dsi_output.h: Remove not unneeded include of version.h
        radeon: fix r600/agp when vram is after AGP (v3)
        drm: fix page_flip error handling
        drm/radeon/kms: fix the regression of DVI connector check
        drm/usb: fix module license on drm/usb layer.
        drm/i915: Do not set "Enable Panel Fitter" on SNB pageflips
        drm/i915: Hold mode_config lock whilst changing mode for lastclose()
        drm/radeon/si: add missing radeon_bo_unreserve in si_rlc_init() v2
        drm/radeon: disable MSI on RV515
        drm/i915: don't clobber the special upscaling lvds timings
      19853301
    • L
      Merge git://git.kernel.org/pub/scm/virt/kvm/kvm · 9e01297e
      Linus Torvalds 提交于
      Pull KVM updates from Marcelo Tosatti.
      
      * git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: lock slots_lock around device assignment
        KVM: VMX: Fix kvm_set_shared_msr() called in preemptible context
        KVM: unmap pages from the iommu when slots are removed
        KVM: PMU emulation: GLOBAL_CTRL MSR should be enabled on reset
      9e01297e
  6. 19 4月, 2012 23 次提交
  7. 18 4月, 2012 7 次提交
  8. 17 4月, 2012 1 次提交