]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86/amd/ibs: Update IBS MSRs and feature definitions
authorAravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Mon, 10 Nov 2014 20:24:26 +0000 (14:24 -0600)
committerIngo Molnar <mingo@kernel.org>
Wed, 12 Nov 2014 14:12:32 +0000 (15:12 +0100)
commit732ef2b76a1732ec5f7651c7f415b0d4d5aa7ea5
tree722be6e055514ffee30935360b97c7833e33332d
parentee4fc8d9ec55554e8609cfca8f92e231e8e79f88
perf/x86/amd/ibs: Update IBS MSRs and feature definitions

New Fam15h models carry extra feature bits and extend
the MSR register space for IBS ops. Adding them here.

While at it, add functionality to read IbsBrTarget and
OpData4 depending on their availability if user wants a
PERF_SAMPLE_RAW.

Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Acked-by: Borislav Petkov <bp@suse.de>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Len Brown <len.brown@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: <paulus@samba.org>
Cc: <acme@kernel.org>
Link: http://lkml.kernel.org/r/1415651066-13523-1-git-send-email-Aravind.Gopalakrishnan@amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/perf_event.h
arch/x86/include/uapi/asm/msr-index.h
arch/x86/kernel/cpu/perf_event_amd_ibs.c