[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070502004824.9f9cbdfe.akpm@linux-foundation.org>
Date: Wed, 2 May 2007 00:48:24 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Juergen Beisert <juergen127@...uzholzen.de>
Cc: Mikael Pettersson <mikpe@...uu.se>, linux-kernel@...r.kernel.org,
Andi Kleen <ak@...e.de>
Subject: Re: [PATCH] [1/1] CPU-i386-Geode: Chipset access macros do not work
as expected (2nd try)
On Wed, 2 May 2007 09:16:59 +0200 Juergen Beisert <juergen127@...uzholzen.de> wrote:
> >
> > This clashes with Andi's "msr-index" patch:
> >
> > ftp://ftp.firstfloor.org/pub/ak/x86_64/quilt/patches/msr-index
>
> I see. He also moves these defines to another file. Not problem where they
> are. But it isn't possible to replace the macros by the inlined functions in
> processor.h. The used outb/inb macros fail for various other files.
Oh well. Please work out what you think needs to be done.
> > Perhaps it'd be best to wait until msr-index goes upstream and to raise a
> > patch then. Or to redo and retest against 2.6.21-rc7-mm2, which includes
> > msr-index.
>
> All right. To wait is no problem for me (my system works with my
> patch.... ;-) )
>
> > Also, include/asm-x86_64/processor.h has a getCx86(), too. Does it also
> > need fixing?
>
> As I can see the macros are used in:
> - i386/kernel/cpu/cpufreq/gx-suspmod.c (ups, its not in my patch, so it is
> currently no complete)
> - i386/kernel/cpu/mtrr/state.c (also not part of my patch yet)
> - i386/kernel/cpu/cyrix.c
> - i386/kernel/cpu/mtrr/cyrix.c
>
> Most comments states Cyrix CPUs when they are using the macros. Is anything
> with Cyrix 64 bit relevant? Maybe "include/asm-x86_64/processor.h" is a
> simple copy of "include/asm-i386/processor.h" and nobody delete the unused
> macros?
I don't think Cyrix make 64-bit stuff, surely. Andi?
> Please keep me informed and I will resend the patch.
>
Thanks. I think Andi was after a better explanation of what was going
wrong with the macros, too. Please include that in the changelog.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists