Re: [PATCH 0/2] AMD ARAT fixes

From: JÃrg-Volker Peetz
Date: Tue May 17 2011 - 12:38:46 EST


Borislav Petkov wrote, on 05/17/11 14:55:
> From: Borislav Petkov <borislav.petkov@xxxxxxx>
>
> Hi all,
>
> the following 2 patches address the fallout caused by
> b87cf80af3ba4b4c008b4face3c68d604e1715c6. They enable ARAT only on
> Fam10h and later, and leaves out K8 due to multiple problems there.
>
> Although the patches look almost trivial, I'd like to ask Nick and
> JÃrg-Volker to test them, please, so that we can have a confirmation,
> just in case.
>
> Then, if we're lucky and Linus hasn't released .39 yet, we might sneak
> them in, if we ask people politely :).
>
> Thanks.
>
>

A kernel version 2.6.38.6 patched with your two patches modifying only
arch/x86/kernel/cpu/amd.c starts and runs without problems on the affected
system with a AMD Turion 64 processor. The system is pure x86_64 (Debian
Release: wheezy/sid) with gcc version 4.6.1 20110428 (prerelease) (Debian
4.6.0-6) and GNU C Library (Debian EGLIBC 2.13-4) stable release version 2.13.

The only obvious difference I see is the message "using C1E aware idle routine"
in dmesg.
--
Best regards,
JÃrg-Volker.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/