[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1291980598-21625-1-git-send-email-robert.richter@amd.com>
Date: Fri, 10 Dec 2010 12:29:56 +0100
From: Robert Richter <robert.richter@....com>
To: Ingo Molnar <mingo@...e.hu>
CC: LKML <linux-kernel@...r.kernel.org>,
oprofile-list <oprofile-list@...ts.sourceforge.net>
Subject: [PATCH 0/2] oprofile, x86: updates for AMD family 15h systems
This patch set adds support for AMD family 15h systems. It adds cpu
detection code for family 15h and implements support for 6 counters.
Suravee already sent updates for the oprofile userland to the oprofile
mailing list.
Please review. If the patches are fine I will apply them to the
oprofile git repostitory on kernel.org.
Thanks,
-Robert
>>From robert.richter@....com Fri Dec 10 12:29:57 2010 +0100
From: Robert Richter <robert.richter@....com>
To: Ingo Molnar <mingo@...e.hu>
Cc: LKML <linux-kernel@...r.kernel.org>, oprofile-list <oprofile-list@...ts.sourceforge.net>, Robert Richter <robert.richter@....com>
Bcc: osrc-patches@...e.amd.com
Subject: [PATCH 1/2] oprofile, x86: Add support for AMD family 15h
Date: Fri, 10 Dec 2010 12:29:57 +0100
Message-Id: <1291980598-21625-2-git-send-email-robert.richter@....com>
X-Mailer: git-send-email 1.7.3.2
In-Reply-To: <1291980598-21625-1-git-send-email-robert.richter@....com>
References: <1291980598-21625-1-git-send-email-robert.richter@....com>
This patch adds support for AMD family 15h (Interlagos/Valencia/
Zambezi) cpus.
Signed-off-by: Robert Richter <robert.richter@....com>
---
arch/x86/oprofile/nmi_int.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c
index 4e8baad..358c8b9 100644
--- a/arch/x86/oprofile/nmi_int.c
+++ b/arch/x86/oprofile/nmi_int.c
@@ -732,6 +732,9 @@ int __init op_nmi_init(struct oprofile_operations *ops)
case 0x14:
cpu_type = "x86-64/family14h";
break;
+ case 0x15:
+ cpu_type = "x86-64/family15h";
+ break;
default:
return -ENODEV;
}
--
1.7.3.2
--
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