On Wed, 2 May 2007 09:16:59 +0200 Juergen Beisert <[email protected]> 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]