1. 26 Mar, 2006 8 commits
    • Eric Piel's avatar
      [PATCH] cpufreq_ondemand: Warn if it cannot run due to too long transition latency · ff8c288d
      Eric Piel authored
      Display a warning if the ondemand governor can not be selected due to a
      transition latency of the cpufreq driver which is too long.
      Signed-off-by: default avatarEric Piel <eric.piel@tremplin-utc.net>
      Acked-by: default avatarVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
      Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      ff8c288d
    • Alexander Clouter's avatar
      [PATCH] cpufreq_conservative: alternative initialise approach · a159b827
      Alexander Clouter authored
      Venki, author of cpufreq_ondemand, came up with a neater way to remove the
      initialiser code from the main loop of my code and out to the point when the
      governor is actually initialised.
      
      Not only does it look but it also feels cleaner, plus its simpler to
      understand.  It also saves a bunch of pointless conditional statements in the
      main loop.
      Signed-off-by: default avatarAlexander Clouter <alex-kernel@digriz.org.uk>
      Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      a159b827
    • Alexander Clouter's avatar
      [PATCH] cpufreq_conservative: make for_each_cpu() safe · 08a28e2e
      Alexander Clouter authored
      All these changes should make cpufreq_conservative safe in regards to the x86
      for_each_cpu cpumask.h changes and whatnot.
      
      Whilst making it safe a number of pointless for loops related to the cpu
      mask's were removed.  I was never comfortable with all those for loops,
      especially as the iteration is over the same data again and again for each
      CPU you had in a single poll, an O(n^2) outcome to frequency scaling.
      
      The approach I use is to assume by default no CPU's exist and it sets the
      requested_freq to zero as a kind of flag, the reasoning is in the source ;)
      If the CPU is queried and requested_freq is zero then it initialises the
      variable to current_freq and then continues as if nothing happened which
      should be the same net effect as before?
      Signed-off-by: default avatarAlexander Clouter <alex-kernel@digriz.org.uk>
      Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      08a28e2e
    • Alexander Clouter's avatar
      [PATCH] cpufreq_conservative: alter default responsiveness · e8a02572
      Alexander Clouter authored
      The sensible approach to making conservative less responsive than ondemand :)
      As mentioned in patch [1/4].  We do not want conservative to shoot through
      all the frequencies, its point (by default) is to slowly move through them.
      
      By default its ten times less responsive.
      Signed-off-by: default avatarAlexander Clouter <alex-kernel@digriz.org.uk>
      Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      e8a02572
    • Alexander Clouter's avatar
      [PATCH] cpufreq_conservative: aligning of codebase with ondemand · 2c906b31
      Alexander Clouter authored
      Since the conservative govenor was released its codebase has drifted from the
      the direction and updates that have been applied to the ondemand govornor.
      
      This patch addresses the lack of updates in that period and brings
      conservative back up to date.  The resulting diff file between
      cpufreq_ondemand.c and cpufreq_conservative.c is now much smaller and shows
      more clearly the differences between the two.
      
      Another reason to do this is ages ago, knowingly, I did a piss poor attempt
      at making conservative less responsive by knocking up
      DEF_SAMPLING_RATE_LATENCY_MULTIPLIER by two orders of magnitude.  I did fix
      this ages ago but in my dis-organisation I must have toasted the diff and
      left it the way it was.  About two weeks ago a user contacted me saying he
      was having problems with the conservative governor with his AMD Athlon XP-M
      2800+ as /sys/devices/system/cpu/cpu0/cpufreq/conservative showed
        sampling_rate_min   9950000
        sampling_rate_max   1360065408
      
      Nine seconds to decide about changing the frequency....not too responsive :)
      Signed-off-by: default avatarAlexander Clouter <alex-kernel@digriz.org.uk>
      Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      2c906b31
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/rmk/linux-2.6-serial · 36ddf5bb
      Linus Torvalds authored
      * master.kernel.org:/home/rmk/linux-2.6-serial:
        [ARM] 3383/3: ixp2000: ixdp2x01 platform serial conversion
        [SERIAL] amba-pl010: Remove accessor macros
        [SERIAL] remove 8250_acpi (replaced by 8250_pnp and PNPACPI)
        [SERIAL] icom: select FW_LOADER
      36ddf5bb
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/rmk/linux-2.6-arm · a41622ea
      Linus Torvalds authored
      * master.kernel.org:/home/rmk/linux-2.6-arm:
        [ARM] 3030/2: fix permission check in the obscur cmpxchg syscall
        [ARM] nommu: rename compressed/head.S symbols to a new style
        [ARM] select TLS_REG_EMUL and NEEDS_SYSCALL_FOR_CMPXCHG
        [ARM] nommu: Move hardware page table definitions to pgtable-hwdef.h
        [ARM] Move read of processor ID out of lookup_processor_type()
        [ARM] Fix typo in tlbflush.h
        [ARM] noMMU: removes TLB codes in nommu mode
        [ARM] noMMU: block sys_fork in nommu mode
        [ARM] 3399/1: Fix link problem when CONFIG_PRINTK is disabled
        [ARM] 3398/1: Fix the VFP registers loading/storing base address
        [ARM] 3397/1: AT91RM9200 Header update
        [ARM] 3385/1: Battery support for sharp zaurus sl-5500 (collie)
        [ARM] SMP: don't set cpu_*_map in smp_prepare_boot_cpu
        include/linux/clk.h is betraying its ARM origins
        [ARM] Move enable_irq and disable_irq to assembler.h
        [ARM] 3391/1: use PLAT8250_DEV_PLATFORM{,1} for platform device id instead of 0/1
      a41622ea
    • Andi Kleen's avatar
      [PATCH] Fix compilation of processor_idle.c on IA64 · 0b5c59a1
      Andi Kleen authored
      Broken earlier by me by a x86-64 patch.
      
      The code was optimized away, but the compiler still complained about an
      undeclared function.
      Signed-off-by: default avatarAndi Kleen <ak@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      0b5c59a1
  2. 25 Mar, 2006 32 commits