1. 11 Jun, 2007 29 commits
  2. 07 Jun, 2007 5 commits
  3. 24 May, 2007 2 commits
  4. 23 May, 2007 4 commits
    • Chris Wright's avatar
      Linux 2.6.21.2 · 7682ffa2
      Chris Wright authored
      7682ffa2
    • Herbert Xu's avatar
      [PATCH] CRYPTO: api: Read module pointer before freeing algorithm · 3dc006dd
      Herbert Xu authored
      The function crypto_mod_put first frees the algorithm and then drops
      the reference to its module.  Unfortunately we read the module pointer
      which after freeing the algorithm and that pointer sits inside the
      object that we just freed.
      
      So this patch reads the module pointer out before we free the object.
      
      Thanks to Luca Tettamanti for reporting this.
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
      3dc006dd
    • Daniel Drake's avatar
      [PATCH] CPUFREQ: powernow-k7: fix MHz rounding issue with perflib · ca5cf888
      Daniel Drake authored
      When the PST tables are broken, powernow-k7 uses ACPI's processor_perflib to
      deduce the available frequency multipliers from the _PSS tables.
      
      Upon frequency change, processor_perflib performs some verification on the
      frequency (checks that it's within allowable bounds).
      
      powernow-k7 deals with absolute frequencies in KHz, whereas perflib only
      deals with MHz values. When performing the above verification, perflib
      multiplies the MHz values by 1000 to obtain the KHz value.
      
      We then end up with situations like the following:
       - powernow-k7 multiplies the multiplier by the FSB, and obtains a value
         such as 1266768 KHz
       - perflib belives the same state has frequency of 1266 MHz
       - acpi_processor_ppc_notifier calls cpufreq_verify_within_limits to verify
         that 1266768 is in the allowable range of 0 to 1266000 (i.e. 1266 * 1000)
       - it's not, so that frequency is rejected
       - the maximum CPU frequency is not reachable
      
      This patch solves the problem by rounding up the MHz values stored in perflib's
      tables. Additionally it corrects a broken URL.
      
      It also fixes http://bugzilla.kernel.org/show_bug.cgi?id=8255 although this
      case is a bit different: the frequencies in the _PSS tables are wildly wrong,
      but we get better results if we force ACPI to respect the fsb * multiplier
      calculations (even though it seems that the multiplier values aren't entirely
      correct either).
      Signed-off-by: default avatarDaniel Drake <dsd@gentoo.org>
      Signed-off-by: default avatarDave Jones <davej@redhat.com>
      Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
      ca5cf888
    • Dave Jones's avatar
      [PATCH] CPUFREQ: Correct revision mask for powernow-k8 · 389955fd
      Dave Jones authored
      Mark Langsdorf points out that the correct define for this
      revision bump is 0x80000.  Also to save us having to keep
      renaming the #define, give it a more meaningful name.
      Signed-off-by: default avatarDave Jones <davej@redhat.com>
      Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
      389955fd