Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755200AbZCEONS (ORCPT ); Thu, 5 Mar 2009 09:13:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752817AbZCEOND (ORCPT ); Thu, 5 Mar 2009 09:13:03 -0500 Received: from hera.kernel.org ([140.211.167.34]:40388 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753888AbZCEOND (ORCPT ); Thu, 5 Mar 2009 09:13:03 -0500 Subject: Re: [git-pull -tip] x86: msr architecture debug code From: Jaswinder Singh Rajput To: Andreas Herrmann Cc: Ingo Molnar , "H. Peter Anvin" , x86 maintainers , LKML In-Reply-To: <20090305135444.GB7347@alberich.amd.com> References: <1236008575.3332.2.camel@localhost.localdomain> <20090302205437.GB14471@elte.hu> <20090305135444.GB7347@alberich.amd.com> Content-Type: text/plain Date: Thu, 05 Mar 2009 19:42:26 +0530 Message-Id: <1236262346.2527.3.camel@ht.satnam> Mime-Version: 1.0 X-Mailer: Evolution 2.24.4 (2.24.4-1.fc10) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 601 Lines: 24 On Thu, 2009-03-05 at 14:54 +0100, Andreas Herrmann wrote: > All nice suggestions but why in-kernel? > In Kernel Space: We can read/write MSRs and can change the bits and see it effect without writing any code. And we can also dump these value if something goes wrong in thats sections for kernel that's why I am also using printk. Thanks, -- JSR -- 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/