From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Juergen Beisert <juergen127@kreuzholzen.de>
Cc: linux-kernel@vger.kernel.org, Mikael Pettersson <mikpe@it.uu.se>
Subject: Re: [PATCH] [1/1] CPU-i386-Geode: Chipset access macros do not work as expected
Date: Mon, 30 Apr 2007 16:05:08 +0100 [thread overview]
Message-ID: <20070430160508.25315f16@the-village.bc.nu> (raw)
In-Reply-To: <200704301509.58776.juergen127@kreuzholzen.de>
On Mon, 30 Apr 2007 15:09:58 +0200
Juergen Beisert <juergen127@kreuzholzen.de> wrote:
> From: Juergen Beisert <juergen.beisert@weihenstephan.org>
>
> Replace NSC/Cyrix specific chipset access macros by inlined functions.
> With the macros a line like this fails (and does nothing):
> setCx86(CX86_CCR2, getCx86(CX86_CCR2) | 0x88);
> With inlined functions this line will work as expected.
>
> Note about a side effect: Seems on Geode GX1 based systems the
> "suspend on halt power saving feature" was never enabled due to this
> wrong macro expansion. With inlined functions it will be enabled, but
> this will stop the TSC when the CPU runs into a HLT instruction.
> Kernel output something like this:
> Clocksource tsc unstable (delta = -472746897 ns)
> Tested on a Geode GX1 system.
>
> Signed-off-by: Juergen Beisert <juergen.beisert@weihenstephan.org>
Acked-by: Alan Cox <alan@redhat.com>
next prev parent reply other threads:[~2007-04-30 15:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-30 13:09 Juergen Beisert
2007-04-30 15:05 ` Alan Cox [this message]
2007-04-30 15:32 ` Andi Kleen
2007-04-30 14:09 Mikael Pettersson
2007-04-30 15:24 Mikael Pettersson
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=20070430160508.25315f16@the-village.bc.nu \
--to=alan@lxorguk.ukuu.org.uk \
--cc=juergen127@kreuzholzen.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mikpe@it.uu.se \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®