1. 31 Dec, 2011 3 commits
  2. 30 Dec, 2011 16 commits
  3. 29 Dec, 2011 3 commits
  4. 28 Dec, 2011 3 commits
  5. 27 Dec, 2011 3 commits
    • Wim Van Sebroeck's avatar
      watchdog: iTCO_wdt.c - problems with newer hardware due to SMI clearing (part 2) · 0d098587
      Wim Van Sebroeck authored
      Redhat Bugzilla: Bug 727875 - TCO_EN bit is disabled by TCO driver
      
      The previous patch breaks reset watchdog behaviour on the older hardware.
      It is therefor better to make sure that the behaviour for older hardware (<=ICH5 or
      6300ESB) is preserved and that the behaviour for newer hardware is changed.
      We therefor use the iTCO_version to see if we need the clearing of the SMI_TCO_EN
      bit in the SMI_EN register.
      
      So the new behaviour becomes:
      turn_SMI_watchdog_clear_off=0 -> Do not turn off SMI clearing watchdog.
      turn_SMI_watchdog_clear_off=1 -> Turn off SMI clearing watchdog when iTCO_version=1
      				 (ICHO till ICH5 + 6300ESB only)
      turn_SMI_watchdog_clear_off=2 -> Turn off SMI clearing watchdog.
      Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
      0d098587
    • Keith Packard's avatar
      drm/i915: Disable RC6 on Sandybridge by default · 371de6e4
      Keith Packard authored
      RC6 fails again.
      
      > I found my system freeze mostly during starting up X and KDE. Sometimes it
      > works for some minutes, sometimes it freezes immediatly. When the freeze
      > happens, everything is dead (even the reset button does not work, I need to
      > power cycle).
      
      > I disabled RC6, and my system runs wonderfully.
      
      > The system is a Z68 Pro board with Sandybridge i5-2500K processor, 8
      > GB of RAM and UEFI firmware.
      Reported-by: default avatarKai Krakow <hurikhan77@gmail.com>
      Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      371de6e4
    • Keith Packard's avatar
      drm/i915: Disable semaphores by default on SNB · ebbd857e
      Keith Packard authored
      Semaphores still cause problems on some machines:
      
      > From Udo Steinberg:
      >
      > With Linux-3.2-rc6 I'm frequently seeing GPU hangs when large amounts of
      > text scroll in an xterm, such as when extracting a tar archive. Such as this
      > one (note the timestamps):
      >
      >  I can reproduce it fairly easily with something
      >  as simple as:
      >
      >	  while true; do dmesg; done
      
      This patch turns them off on SNB while leaving them on for IVB.
      Reported-by: default avatarUdo Steinberg <udo@hypervisor.org>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Eugeni Dodonov <eugeni@dodonov.net>
      Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ebbd857e
  6. 26 Dec, 2011 11 commits
  7. 25 Dec, 2011 1 commit
    • Alex Williamson's avatar
      KVM: Device assignment permission checks · 3d27e23b
      Alex Williamson authored
      Only allow KVM device assignment to attach to devices which:
      
       - Are not bridges
       - Have BAR resources (assume others are special devices)
       - The user has permissions to use
      
      Assigning a bridge is a configuration error, it's not supported, and
      typically doesn't result in the behavior the user is expecting anyway.
      Devices without BAR resources are typically chipset components that
      also don't have host drivers.  We don't want users to hold such devices
      captive or cause system problems by fencing them off into an iommu
      domain.  We determine "permission to use" by testing whether the user
      has access to the PCI sysfs resource files.  By default a normal user
      will not have access to these files, so it provides a good indication
      that an administration agent has granted the user access to the device.
      
      [Yang Bai: add missing #include]
      [avi: fix comment style]
      Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
      Signed-off-by: default avatarYang Bai <hamo.by@gmail.com>
      Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
      3d27e23b