Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755902Ab1EQQyB (ORCPT ); Tue, 17 May 2011 12:54:01 -0400 Received: from s15228384.onlinehome-server.info ([87.106.30.177]:58294 "EHLO mail.x86-64.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755277Ab1EQQx7 (ORCPT ); Tue, 17 May 2011 12:53:59 -0400 Date: Tue, 17 May 2011 18:53:18 +0200 From: Borislav Petkov To: =?iso-8859-1?Q?J=F6rg-Volker?= Peetz Cc: Borislav Petkov , Nick Bowler , "Ostrovsky, Boris" , "Herrmann3, Andreas" , Greg Kroah-Hartman , "Rosenfeld, Hans" , X86-ML , LKML Subject: Re: [PATCH 0/2] AMD ARAT fixes Message-ID: <20110517165318.GH30053@aftab> References: <1305636919-31165-1-git-send-email-bp@amd64.org> <4DD2A496.8000407@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4DD2A496.8000407@web.de> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1654 Lines: 48 On Tue, May 17, 2011 at 12:38:46PM -0400, J?rg-Volker Peetz wrote: > 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. Thanks for testing! > The only obvious difference I see is the message "using C1E aware idle routine" > in dmesg. That was your CPU, right: vendor_id : AuthenticAMD cpu family : 15 model : 36 model name : AMD Turion(tm) 64 Mobile Technology MT-40 stepping : 2 ? If so, then the C1E idle line above shouldn't appear. Can you check that around line 698 in you have the following: const int amd_erratum_400[] = AMD_OSVW_ERRATUM(1, AMD_MODEL_RANGE(0xf, 0x41, 0x2, 0xff, 0xf), AMD_MODEL_RANGE(0x10, 0x2, 0x1, 0xff, 0xf)); On your machine, you should be using the default_idle routine instead, since you don't have C1E. Thanks. -- Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach General Managers: Alberto Bozzo, Andrew Bowd Registration: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/