1. 13 May, 2007 5 commits
    • Daniel Drake's avatar
      [CPUFREQ] powernow-k7: fix MHz rounding issue with perflib · dc2585eb
      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>
      dc2585eb
    • Dave Jones's avatar
      30046e58
    • Linus Torvalds's avatar
      Linux 2.6.22-rc1 · 39403865
      Linus Torvalds authored
      .. close the merge window
      39403865
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm · f7d02ae7
      Linus Torvalds authored
      * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (30 commits)
        [ARM] Use new get_irqnr_preamble
        [ARM] Ensure machine class menu is sorted alphabetically
        [ARM] 4333/2: KS8695: Micrel Development board
        [ARM] 4332/2: KS8695: Serial driver
        [ARM] 4331/3: Support for Micrel/Kendin KS8695 processor
        [ARM] 4371/1: AT91: Support for Atmel AT91SAM9RL-EK development board
        [ARM] 4372/1: Define byte sizes in asm-arm/sizes.h
        [ARM] 4370/3: AT91: Support for Atmel AT91SAM9RL processors.
        [ARM] Update mach-types
        [ARM] export symbol csum_partial_copy_from_user
        [ARM] iop13xx: msi support
        [ARM] stacktrace fix
        [ARM] Spinlock initializer cleanup
        [ARM] remove useless config option GENERIC_BUST_SPINLOCK
        [ARM] 4303/3: base kernel support for TI DaVinci
        [ARM] 4369/1: AT91: Fix circular dependency in header files
        [ARM] 4368/1: S3C24xx: build fix
        [ARM] 4364/1: AT91: LEDS on AT91SAM9261-EK
        [ARM] Fix iop32x/iop33x build
        [ARM] EBSA110: fix build errors caused by missing "const"
        ...
      f7d02ae7
    • Daniel Walker's avatar
      include/linux: trivial repair whitespace damage · 78db2ad6
      Daniel Walker authored
      Adding tabs where spaces currently are.
      Signed-off-by: default avatarDaniel Walker <dwalker@mvista.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      78db2ad6
  2. 12 May, 2007 35 commits