Skip to content

oprofile, x86: updates for AMD family 15h systems

Robert Richter lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 2 patches 0 repliesNew

1 of 2 patches is in this archive. The cover letter announces 2.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/2oprofile, x86: Add support for 6 counters (AMD family 15h)arch/x86/include/asm/msr-index.h arch/x86/oprofile/op_model_amd.c+40 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [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

Quoted 1 line

From [email protected] Fri Dec 10 12:29:57 2010 +0100

From: Robert Richter <[email protected]>
To: Ingo Molnar <[email protected]>
Cc: LKML <[email protected]>, oprofile-list <[email protected]>, Robert Richter <[email protected]>
Bcc: [email protected]
Subject: [PATCH 1/2] oprofile, x86: Add support for AMD family 15h
Date: Fri, 10 Dec 2010 12:29:57 +0100
Message-Id: <[email protected]>
X-Mailer: git-send-email 1.7.3.2
In-Reply-To: <[email protected]>
References: <[email protected]>

This patch adds support for AMD family 15h (Interlagos/Valencia/ Zambezi) cpus.

---
 arch/x86/oprofile/nmi_int.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/x86/oprofile/nmi_int.c +3 -0
index 4e8baad..358c8b9 100644
@@ -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;
 		}
Signature · 1 line
1.7.3.2