1. 04 4月, 2009 1 次提交
    • K
      tc1100-wmi: Fix state reporting · 07de5bdb
      Krzysztof Kosiński 提交于
      The tc1100-wmi driver should print the current states of wireless LAN and
      jogdial brightness control when "cat /sys/devices/platform/tc1100-wmi/wireless"
      and "cat /sys/devices/platform/tc1100-wmi/jogdial" are executed, respectively.
      What actually happens is that both of those commands print 0 regardless of the
      hardware state. The cause is that wmi_query_block returns an ACPI_TYPE_INTEGER
      rather than ACPI_TYPE_BUFFER as the driver assumes. Additionally, the driver
      intends to return a jogdial state that is inverted with respect to the commands
      required to set it (e.g. it intends to return 1 after the jogdial file was
      written with 0).
      
      This patch fixes both of those issues - the commands to query the
      state now work, and should return the same state that was written.
      
      http://bugzilla.kernel.org/show_bug.cgi?id=12286Signed-off-by: NKrzysztof Kosiński <tweenk.pl@gmail.com>
      Acked-by: NCarlos Corbacho <carlos@strangeworlds.co.uk>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      07de5bdb
  2. 28 3月, 2009 1 次提交
    • P
      ACPI: cap off P-state transition latency from buggy BIOSes · a59d1637
      Pallipadi, Venkatesh 提交于
      Some BIOSes report very high frequency transition latency which are plainly
      wrong on CPus that can change frequency using native MSR interface.
      
      One such system is IBM T42 (2327-8ZU) as reported by Owen Taylor and
      Rik van Riel.
      
      cpufreq_ondemand driver uses this transition latency to come up with a
      reasonable sampling interval to sample CPU usage and with such high
      latency value, ondemand sampling interval ends up being very high
      (0.5 sec, in this particular case), resulting in performance impact due to
      slow response to increasing frequency.
      
      Fix it by capping-off the transition latency to 20uS for native MSR based
      frequency transitions.
      
      mjg: We've confirmed that this also helps on the X31
      Signed-off-by: NVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
      Acked-by: NMatthew Garrett <mjg@redhat.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      a59d1637
  3. 24 3月, 2009 6 次提交
  4. 23 3月, 2009 11 次提交
  5. 22 3月, 2009 2 次提交
  6. 21 3月, 2009 2 次提交
  7. 20 3月, 2009 11 次提交
  8. 19 3月, 2009 6 次提交