Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1424397

[patch] events/amd/power add support for fam16h model30h

From Vince Weaver <vincent.weaver@maine.edu>
Newsgroups linux.kernel
Subject [patch] events/amd/power add support for fam16h model30h
Date 2016-06-16 23:10 +0200
Message-ID <rKMI1-4TD-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


According to the BKDG the AMD Family16h Model30h "Jaguar Mullins"
also supports the accumulated power interface.  I've tested on
hardware I have and with this patch I indeed get power readings using 
perf.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>

diff --git a/arch/x86/events/amd/power.c b/arch/x86/events/amd/power.c
index 55a3529..778b77d 100644
--- a/arch/x86/events/amd/power.c
+++ b/arch/x86/events/amd/power.c
@@ -292,6 +292,7 @@ static struct notifier_block power_cpu_notifier_nb = {
 
 static const struct x86_cpu_id cpu_match[] = {
 	{ .vendor = X86_VENDOR_AMD, .family = 0x15 },
+	{ .vendor = X86_VENDOR_AMD, .family = 0x16 },
 	{},
 };
 

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[patch] events/amd/power add support for fam16h model30h Vince Weaver <vincent.weaver@maine.edu> - 2016-06-16 23:10 +0200
  Re: [patch] events/amd/power add support for fam16h model30h Borislav Petkov <bp@alien8.de> - 2016-06-16 23:20 +0200
    Re: [patch] events/amd/power add support for fam16h model30h Borislav Petkov <bp@alien8.de> - 2016-06-17 12:40 +0200
      Re: [patch] events/amd/power add support for fam16h model30h Vince Weaver <vincent.weaver@maine.edu> - 2016-06-17 18:00 +0200
        Re: [patch] events/amd/power add support for fam16h model30h Borislav Petkov <bp@alien8.de> - 2016-06-17 18:30 +0200
          Re: [patch] events/amd/power add support for fam16h model30h Vince Weaver <vincent.weaver@maine.edu> - 2016-06-17 19:40 +0200
            Re: [patch] events/amd/power add support for fam16h model30h Borislav Petkov <bp@alien8.de> - 2016-06-17 20:20 +0200
              Re: [patch] events/amd/power add support for fam16h model30h Vince Weaver <vincent.weaver@maine.edu> - 2016-06-17 21:10 +0200
                Re: [patch] events/amd/power add support for fam16h model30h Vince Weaver <vincent.weaver@maine.edu> - 2016-06-17 21:50 +0200
                Re: [patch] events/amd/power add support for fam16h model30h Borislav Petkov <bp@alien8.de> - 2016-06-17 22:00 +0200
                Re: [patch] events/amd/power add support for fam16h model30h Borislav Petkov <bp@alien8.de> - 2016-06-17 22:00 +0200

csiph-web