All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruno Ducrot <ducrot@poupinou.org>
To: Pavel Machek <pavel@ucw.cz>
Cc: Dominik Brodowski <linux@dominikbrodowski.de>,
	Cpufreq mailing list <cpufreq@www.linux.org.uk>
Subject: Re: powernow-k8, more updates
Date: Wed, 17 Mar 2004 17:04:08 +0100	[thread overview]
Message-ID: <20040317160408.GP28592@poupinou.org> (raw)
In-Reply-To: <20040317120409.GA482@elf.ucw.cz>

On Wed, Mar 17, 2004 at 01:04:09PM +0100, Pavel Machek wrote:
> Hi!
> 
> [Cc-ed cpufreq list again]
> 
> Here are few typo fixes [I believe they are applicable to dominik's
> latest version]; I cleaned up puinfo_x86 stuff in check_supported_cpu
> (no ifdefs any more!) and introduced fill_powernow_table helper. It
> makes code nicer, and makes overriding tables way easier (and you get
> all the normal checks for your overrident table, so its harder to mess
> it up). Notice that values are now for my arima (1.8GHz), and I
> basically guessed them, Paul might have better values. Oh and I now
> print out frequencies to the user, so that dmesg output is
> informative.
> 
>  
>  #if 0
> + override:
>          /*
>  	 * hack for machines without a PSB - as an example values for
> -	 * 2.0/1.8/0.8 GHz are hardcoded. You need to assert that these
> +	 * 1.8/1.6/0.8 GHz are hardcoded. You need to assert that these
>  	 * values are correct and supported by your CPU / motherboard
> +	 *
...
> -	data->powernow_table = powernow_table;
> -
> -	return 0;
>  #endif

Why not just provide an override from userspace?


-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.

  parent reply	other threads:[~2004-03-17 16:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <99F2150714F93F448942F9A9F112634C1126A014@txexmtae.amd.com>
     [not found] ` <20040317100745.GA15284@dominikbrodowski.de>
2004-03-17 12:04   ` powernow-k8, more updates Pavel Machek
2004-03-17 12:44     ` Dominik Brodowski
2004-03-17 13:50       ` Mattia Dongili
2004-03-17 19:50       ` Pavel Machek
2004-03-17 20:25         ` Dominik Brodowski
2004-03-18 22:33           ` Pavel Machek
2004-03-19 12:43             ` Bruno Ducrot
2004-03-17 16:04     ` Bruno Ducrot [this message]
2004-03-17 19:52       ` Pavel Machek
2004-03-17 20:00 paul.devriendt
  -- strict thread matches above, loose matches on Subject: below --
2004-03-18 18:51 paul.devriendt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040317160408.GP28592@poupinou.org \
    --to=ducrot@poupinou.org \
    --cc=cpufreq@www.linux.org.uk \
    --cc=linux@dominikbrodowski.de \
    --cc=pavel@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.